1 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
3 * sysdeps/aarch64/strcpy.S: New file.
4 * sysdeps/aarch64/stpcpy.S: New file.
7 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
9 * sysdeps/aarch64/strrchr.S: New file.
12 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
15 * stdlib/setenv.c: Fix memory leak when setting large,
18 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
21 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
22 and tabs from buffer before parsing fstab entry.
23 * misc/tst-mntent.c (main): Add test for mount entry with
24 trailing spaces and tabs.
26 2015-01-06 Joseph Myers <joseph@codesourcery.com>
29 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
30 * math/fesetround.c (fesetround): Rename to __fesetround and
31 define as weak alias of __fesetround. Use libm_hidden_weak.
32 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
33 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
34 * sysdeps/arm/fesetround.c (fesetround): Likewise.
35 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
36 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
37 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
38 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
39 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
40 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
42 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
43 __fesetround_inline instead of __fesetround.
44 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
45 __fesetround and define as weak alias of __fesetround. Use
46 libm_hidden_weak. Call __fesetround_inline instead of
48 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
49 __fesetround and define as weak alias of __fesetround. Use
51 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
53 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
54 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
55 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
56 * sysdeps/tile/math_private.h (__fesetround): New inline function.
57 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
58 __fesetround and define as weak alias of __fesetround. Use
60 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
61 __fesetround instead of fesetround.
62 (default_libc_feholdexcept_setround): Likewise.
63 (libc_feholdsetround_ctx): Likewise.
64 (libc_feholdsetround_noex_ctx): Likewise.
67 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
68 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
69 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
70 and define as weak alias of __fesetenv. Use libm_hidden_weak.
71 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
72 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
73 define as weak alias of __fesetenv. Use libm_hidden_weak.
74 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
75 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
76 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
77 define as weak alias of __fesetenv. Use libm_hidden_weak.
78 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
79 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
80 define as weak alias of __fesetenv. Use libm_hidden_weak.
81 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
83 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
84 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
86 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
87 define as weak alias of __fesetenv. Use libm_hidden_weak.
88 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
89 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
90 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
91 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
92 and define as weak alias of __fesetenv. Use libm_hidden_weak.
93 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
94 __fesetenv instead of fesetenv.
95 (libc_feresetround_noex_ctx): Likewise.
96 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
97 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
98 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
99 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
100 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
101 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
102 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
103 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
104 (__feupdateenv): Likewise.
105 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
106 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
107 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
108 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
110 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
113 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
114 addresses have been freed.
116 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
118 * resolv/res_init.c (__res_vinit): Improve comments about nserv
121 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
123 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
124 Clean up check_pf allocation pattern. addresses
126 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
128 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
129 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
130 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
131 * nptl/pthread_exit.c (__pthread_exit): Likewise.
132 * nptl/pthread_join.c (pthread_join): Likewise.
133 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
134 * sysdeps/posix/waitid.c (__waitid): Likewise.
135 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
136 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
137 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
138 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
139 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
141 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
142 (__libc_pread64): Likewise.
143 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
144 (__libc_pwrite): Likewise.
145 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
146 (__libc_pwrite64): Likewsie.
147 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
148 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
149 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
150 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
151 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
152 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
153 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
157 (__libc_pread64): Likewise.
158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
161 (__libc_pwrite64): Likewise.
162 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
163 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
164 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
165 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
166 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
167 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
168 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
169 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
170 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
171 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
172 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
173 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
174 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
175 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
176 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
177 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
180 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
182 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
183 (CFLAGS-test-double.c): Likewise.
184 (CFLAGS-test-ldouble.c): Likewise.
185 (CPPFLAGS-test-ifloat.c): Likewise.
186 (CPPFLAGS-test-idouble.c): Likewise.
187 (CPPFLAGS-test-ildoubl.c): Likewise.
188 (CFLAGS-test-test-fenv.c): Remove variable.
189 (CFLAGS-test-misc.c): Likewise.
191 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
194 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
195 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
196 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
197 CLOCKS_PER_SEC == 1000000.
198 * time/clocktest.c (main): Replace %ld with %jd and cast to
201 2015-01-05 Roland McGrath <roland@hack.frob.com>
203 * sysdeps/generic/unwind-resume.h: New file.
204 * sysdeps/gnu/unwind-resume.c: Include it.
205 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
206 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
208 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
209 global rather than static.
210 (_Unwind_Resume): Update user.
211 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
212 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
213 rather than static. Add __attribute__ ((cold)).
214 (_Unwind_Resume, __gcc_personality_v0): Update callers.
215 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
216 * sysdeps/arm/arm-unwind-resume.S: New file.
217 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
218 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
219 * sysdeps/arm/Makefile [$(subdir) = csu]
220 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
221 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
222 Add rt-arm-unwind-resume.
224 (libpthread-sysdep_routines, libpthread-shared-only-routines):
225 Add pt-arm-unwind-resume.
226 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
227 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
229 2015-01-05 Joseph Myers <joseph@codesourcery.com>
232 * include/fenv.h (__feholdexcept): Declare. Use
234 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
235 define as weak alias of __feholdexcept. Use libm_hidden_weak.
236 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
237 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
238 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
239 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
240 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
241 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
242 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
243 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
244 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
245 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
246 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
247 (feholdexcept): Likewise.
248 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
249 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
250 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
251 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
252 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
253 __feholdexcept instead of feholdexcept.
254 (default_libc_feholdexcept_setround): Likewise.
256 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
258 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
259 to avoid using stl/str to align destination.
261 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
263 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
265 2015-01-05 Joseph Myers <joseph@codesourcery.com>
268 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
269 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
270 Define as weak alias not strong alias.
272 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
274 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
278 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
280 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
281 for __vdso_* functions in declarations.
282 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
284 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
285 INTERNAL_VSYSCALL): Use struct return types to check for error.
287 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
288 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
289 function with cast from llround().
290 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
291 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
294 2015-01-05 Joseph Myers <joseph@codesourcery.com>
297 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
298 Define as weak alias not strong alias.
301 * ctype/ctype-c99.c: New file. isblank implementation moved from
303 * ctype/ctype-extn.c: ... here.
304 (__isblank_l): Move to ...
305 * ctype/ctype-c99_l.c: ... here. New file.
306 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
307 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
309 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
310 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
311 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
312 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
313 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
316 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
317 (posix_fadvise64): Define as weak alias not strong alias.
318 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
319 (posix_fallocate64): Likewise.
320 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
322 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
323 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
324 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
325 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
326 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
328 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
331 * NEWS: Mention bug fix.
332 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
333 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
334 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
335 (HOST_STACK_END_ADDR): Likewise.
337 2015-01-02 Joseph Myers <joseph@codesourcery.com>
340 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
341 * math/fegetround.c (fegetround): Rename to __fegetround and
342 define as weak alias of __fegetround. Use libm_hidden_weak.
343 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
344 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
345 * sysdeps/arm/fegetround.c (fegetround): Likewise.
346 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
347 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
348 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
349 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
350 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
351 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
352 Undefine after rather than before function definition; use
353 parentheses around function name in definition.
354 (__fegetround): Also undefine macro after function definition.
355 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
356 __fegetround and define as weak alias of __fegetround. Use
357 libm_hidden_weak. Do not undefine as macro.
358 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
360 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
361 __fegetround and define as weak alias of __fegetround. Use
363 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
364 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
365 * sysdeps/tile/math_private.h (__fegetround): New inline function.
366 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
367 __fegetround and define as weak alias of __fegetround. Use
369 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
370 __fegetround instead of fegetround.
373 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
374 Condition macro definition on [__USE_MISC].
377 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
378 (struct sigaction): Change type of sa_flags field to int.
381 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
382 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
385 * nptl/version.c (banner): Use single year in copyright notice.
387 * NEWS: Update copyright dates.
388 * catgets/gencat.c (print_version): Likewise.
389 * csu/version.c (banner): Likewise.
390 * debug/catchsegv.sh: Likewise.
391 * debug/pcprofiledump.c (print_version): Likewise.
392 * debug/xtrace.sh (do_version): Likewise.
393 * elf/ldconfig.c (print_version): Likewise.
394 * elf/ldd.bash.in: Likewise.
395 * elf/pldd.c (print_version): Likewise.
396 * elf/sotruss.sh: Likewise.
397 * elf/sprof.c (print_version): Likewise.
398 * iconv/iconv_prog.c (print_version): Likewise.
399 * iconv/iconvconfig.c (print_version): Likewise.
400 * locale/programs/locale.c (print_version): Likewise.
401 * locale/programs/localedef.c (print_version): Likewise.
402 * login/programs/pt_chown.c (print_version): Likewise.
403 * malloc/memusage.sh (do_version): Likewise.
404 * malloc/memusagestat.c (print_version): Likewise.
405 * malloc/mtrace.pl: Likewise.
406 * manual/libc.texinfo: Likewise.
407 * nptl/version.c (banner): Likewise.
408 * nscd/nscd.c (print_version): Likewise.
409 * nss/getent.c (print_version): Likewise.
410 * nss/makedb.c (print_version): Likewise.
411 * posix/getconf.c (main): Likewise.
412 * scripts/test-installation.pl: Likewise.
413 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
415 2015-01-02 Will Newton <will.newton@linaro.org>
417 * sysdeps/arm/armv7/configure: Removed.
418 * sysdeps/arm/armv7/configure.ac: Likewise.
420 2015-01-02 Joseph Myers <joseph@codesourcery.com>
422 * All files with FSF copyright notices: Update copyright dates
423 using scripts/update-copyrights.
424 * intl/plural.c: Regenerated.
425 * locale/programs/charmap-kw.h: Likewise.
426 * locale/programs/locfile-kw.h: Likewise.
428 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
430 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
432 2014-12-31 Joseph Myers <joseph@codesourcery.com>
435 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
436 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
437 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
438 and define as weak alias of __fegetenv. Use libm_hidden_weak.
439 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
440 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
441 define as weak alias of __fegetenv. Use libm_hidden_weak.
442 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
443 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
444 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
445 define as weak alias of __fegetenv. Use libm_hidden_weak.
446 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
447 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
448 define as weak alias of __fegetenv. Use libm_hidden_weak.
449 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
451 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
452 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
454 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
455 define as weak alias of __fegetenv. Use libm_hidden_weak.
456 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
457 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
458 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
459 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
460 and define as weak alias of __fegetenv. Use libm_hidden_weak.
461 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
462 __fegetenv instead of fegetenv.
463 (libc_feholdsetround_noex_ctx): Likewise.
465 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
467 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
468 (Elf_MIPS_ABIFlags_v0): New structure.
469 (EF_MIPS_FP64): Define.
470 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
471 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
472 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
473 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
474 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
475 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
476 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
477 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
478 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
479 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
480 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
481 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
482 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
483 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
484 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
485 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
486 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
487 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
488 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
489 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
490 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
491 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
493 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
495 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
496 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
497 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
498 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
499 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
500 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
501 * sysdeps/mips/tst-abi-interlink.c: Likewise.
502 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
503 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
504 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
505 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
506 record the current FP ABI extension.
507 (mips-mode-switch): Define to show if kernel headers support mode
509 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
510 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
511 supported SYSV ABI version to 3.
512 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
515 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
516 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
518 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
520 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
522 2014-12-31 Joseph Myers <joseph@codesourcery.com>
524 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
525 __fegetround and redefine to call __fegetround. Remove condition
526 on [!__NO_MATH_INLINES].
527 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
529 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
530 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
532 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
533 instead of <fenv_libc.h>.
534 (__llrintl): Call fegetround instead of __fegetround.
535 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
536 instead of <fenv_libc.h>.
537 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
538 (__lrintl): Call fegetround instead of __fegetround.
539 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
540 instead of <fenv_libc.h>.
541 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
542 (__rintl): Call fegetround instead of __fegetround.
544 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
546 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
549 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
552 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
553 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
554 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
556 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
558 * sysdeps/i386/tls-macros.h: Include <features.h>.
559 (TLS_LE): Use non-PIC version for GCC >= 5.0.
563 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
564 define for GCC >= 5.0.
566 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
568 * math/test-fenv.c (test_single_exception, set_single_exc,
569 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
570 feexcp_mask_test, feenable_test, fe_single_test): Add
571 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
572 case where they are not used.
573 * math/libm-test.inc: Likewise.
574 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
575 unused in the absence of FP rounding/exception support.
576 * stdio-common/tst-printf-round.c: Likewise.
577 * stdlib/tst-strtod-round.c: Likewise.
578 * stdlib/tst-strtod-underflow.c: Likewise.
580 2014-12-30 Joseph Myers <joseph@codesourcery.com>
583 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
584 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
585 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
586 __feraiseexcept and define as weak alias of __feraiseexcept. Use
588 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
589 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
590 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
592 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
593 __feraiseexcept and define as weak alias of __feraiseexcept. Use
595 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
597 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
598 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
599 __feraiseexcept and define as weak alias of __feraiseexcept. Use
601 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
603 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
604 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
605 (__feraiseexcept): Likewise.
606 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
607 __feraiseexcept and define as weak alias of __feraiseexcept. Use
609 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
610 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
612 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
613 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
615 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
617 (feraiseexcept): Define as weak not strong alias. Use
619 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
620 New inline function. Factored out of ...
621 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
622 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
623 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
625 * math/w_acos.c (__acos): Likewise.
626 * math/w_asin.c (__asin): Likewise.
627 * math/w_ilogb.c (__ilogb): Likewise.
628 * math/w_j0.c (y0): Likewise.
629 * math/w_j1.c (y1): Likewise.
630 * math/w_jn.c (yn): Likewise.
631 * math/w_log.c (__log): Likewise.
632 * math/w_log10.c (__log10): Likewise.
633 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
634 * sysdeps/aarch64/fpu/math_private.h
635 (libc_feupdateenv_test_aarch64): Likewise.
636 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
637 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
638 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
639 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
640 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
641 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
642 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
643 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
644 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
645 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
647 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
650 * io/test-utime.c (main): Replace %ld with %jd and cast to
652 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
653 * nptl/tst-mutex5.c: Include <stdint.h>.
654 (do_test): Replace %ld with %jd and cast to intmax_t.
655 * posix/tst-regex.c (run_test): Likewise.
656 (run_test_backwards): Likewise.
657 * rt/tst-clock.c: Include <stdint.h>.
658 (clock_test): Replace %ld with %jd and cast to intmax_t.
659 * rt/tst-cpuclock1.c: Include <stdint.h>.
660 (do_test): Replace %lu with %ju and cast to uintmax_t.
661 * rt/tst-cpuclock2.c: Include <stdint.h>.
662 (do_test): Replace %lu with %ju and cast to uintmax_t.
663 * rt/tst-mqueue1.c: Include <stdint.h>.
664 (check_attrs): Replace %ld with %jd and cast to intmax_t.
665 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
667 * rt/tst-mqueue4.c (do_test): Likewise.
668 * rt/tst-timer4.c: Include <stdint.h>.
669 (check_ts): Replace %ld with %jd and cast to intmax_t.
671 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
672 and cast to intmax_t.
673 * sysdeps/pthread/tst-timer.c (main): Likewise.
674 * time/clocktest.c (main): Likewise.
675 * time/tst-posixtz.c (do_test): Likewise.
676 * timezone/tst-timezone.c (main): Likewise.
678 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
679 H.J. Lu <hongjiu.lu@intel.com>
681 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
682 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
683 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
684 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
685 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
686 version if bit_Fast_Unaligned_Load is set.
687 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
688 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
689 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
690 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
691 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
692 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
693 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
694 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
695 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
696 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
698 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
699 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
700 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
701 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
703 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
705 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
706 instead of #if to avoid a Wundef warning.
707 * stdlib/tst-limits.c (do_test): Likewise.
709 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
710 parallel other exception macros.
711 (fegetenv): Convert from macro to extern inline so that it applies
712 retroactively to inline functions already seen by the compiler.
713 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
715 * posix/Makefile (before-compile): Use $(objpfx) for
716 posix-conf-vars-def.h.
718 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
720 * posix/getconf.c (main): Use size_t for type of I.
721 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
724 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
725 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
726 * posix/posix-envs.def: Likewise.
727 * sysdeps/posix/sysconf.c: Likewise.
728 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
729 (specs): Remove array.
730 * scripts/gen-posix-conf-vars.awk: Support generation of specs
733 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
734 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
735 (__sysconf): Use CONF_IS_* macros.
737 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
738 ($(objpfx)posix-conf-vars-def.h): New target.
739 * posix/posix-conf-vars.list: New file.
740 * posix/posix-conf-vars.h: New file.
741 * posix/confstr.c: Include posix-conf-vars.h.
742 (confstr): Use CONF_IS_* macros.
743 * posix/posix-envs.def: Include posix-conf-vars.h. Use
745 * scripts/gen-posix-conf-vars.awk: New file.
747 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
749 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
750 fegetround): Add no-op macros to avoid linknamespace issues.
752 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
753 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
755 * sysdeps/unix/sysv/linux/tile/sysdep.h
756 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
757 assembly-specific section to avoid a redefinition warning.
759 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
760 long before casting to pointer to avoid a cast warning.
762 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
764 * sysdeps/tile/tilegx/Implies: New file.
766 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
768 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
770 2014-12-23 Florian Weimer <fweimer@redhat.com>
772 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
774 2014-12-22 Joseph Myers <joseph@codesourcery.com>
776 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
778 * sysdeps/unix/sysv/linux/utimes.c: Do not include
780 (__utimes) [__NR_utimes]: Make code unconditional.
781 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
782 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
783 (__ASSUME_UTIMES): Do not undefine.
784 * sysdeps/unix/sysv/linux/tile/kernel-features.h
785 (__ASSUME_UTIMES): Likewise.
786 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
787 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
788 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
789 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
791 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
793 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
795 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
798 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
799 alias to weak alias for j0l, y0l.
800 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
801 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
804 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
807 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
809 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
810 to zero if not already defined.
812 2014-12-22 Joseph Myers <joseph@codesourcery.com>
815 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
816 (__kernel_standard_f): Remove. Moved to k_standardf.c.
817 (__kernel_standard_l): Remove. Moved to k_standardl.c with
818 (char *) casts added.
819 * sysdeps/ieee754/k_standardf.c: New file.
820 * sysdeps/ieee754/k_standardl.c: Likewise.
821 * math/Makefile (libm-support): Remove k_standard.
822 (libm-calls): Add k_standard.
824 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
826 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
827 Optimize to avoid an unnecessary FPCR read.
829 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
831 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
832 Optimize to reduce FPCR/FPSR accesses.
834 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
836 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
837 Call libc_fetestexcept_aarch64.
839 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
841 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
842 Call libc_fesetround_aarch64.
844 2014-12-22 Joseph Myers <joseph@codesourcery.com>
847 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
848 (__bind): Do not define as weak alias.
849 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
851 (__getsockname): Do not define as weak alias.
853 2014-12-22 Will Newton <will.newton@linaro.org>
855 * manual/install.texi: Document that we require bison 2.7
857 * INSTALL: Regenerate.
858 * configure.ac: Use AC_CHECK_PROG_VER instead of
859 AC_PATH_PROG when checking for bison and check for
860 version 2.7 or above.
861 * configure: Regenerate.
863 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
866 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
867 * sysdeps/tile/ffsll.c (ffsll): To here.
869 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
871 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
873 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
875 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
877 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
878 hidden ___tls_get_addr.
879 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
880 hidden __tls_get_addr.
881 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
882 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
885 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
887 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
890 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
892 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
893 from "call _dl_init@PLT".
894 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
896 2014-12-21 Anders Kaseorg <andersk@mit.edu>
898 * manual/search.texi: (Array Sort Function): Clarify stable sorting
901 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
903 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
905 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
908 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
911 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
913 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
915 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
916 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
917 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
918 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
919 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
921 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
923 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
924 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
925 (PTR_SUBU): Use subu for mips32r6/mips64r6.
926 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
927 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
929 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
931 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
933 * string/strncat.c (STRNCAT): Simplify implementation.
935 2014-12-19 David S. Miller <davem@davemloft.net>
937 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
938 access the quad as both a long double and as a series of 4 words.
940 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
941 link_map->l_info array access.
943 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
945 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
947 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
948 * math/atest-exp2.c (TIMEOUT): Likewise.
949 * math/atest-sincos.c (TIMEOUT): Likewise.
951 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
953 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
954 -Wno-error with -fno-builtin-lround.
956 2014-12-19 Torvald Riegel <triegel@redhat.com>
958 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
959 Contains futex constants and functions moved over from ...
960 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
961 <lowlevellock-futex.h>.
962 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
963 (lll_timedwait_tid): Add comments and parentheses around macro
966 2014-12-19 Torvald Riegel <triegel@redhat.com>
968 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
969 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
970 (__lll_private_flag): Remove.
971 (lll_futex_wait): Likewise.
972 (lll_futex_timed_wait): Likewise.
973 (lll_futex_wake): Likewise.
974 (lll_futex_requeue): Likewise.
975 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
976 (__lll_timedwait_tid): Spell out argument names.
977 (lll_timedwait_tid): Add comments and parentheses around macro
979 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
980 LLL_SHARED and LLL_PRIVATE usable from assembly code.
982 2014-12-19 Torvald Riegel <triegel@redhat.com>
984 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
985 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
986 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
987 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
988 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
989 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
990 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
991 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
992 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
993 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
994 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
995 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
996 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
997 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
998 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
999 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
1000 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
1001 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
1002 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
1004 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1006 * sysdeps/x86_64/x32/Makefile: New file.
1008 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1010 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
1011 1L with (mp_limb_t) 1.
1013 2014-12-17 Roland McGrath <roland@hack.frob.com>
1015 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
1016 * nptl/libc_pthread_init.c: ... here.
1017 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
1018 * nptl/register-atfork.c: ... here.
1020 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
1021 Use pthread_sigmask rather than INTERNAL_SYSCALL.
1022 Use assert_perror to check its return value.
1023 (__gai_create_helper_thread): Likewise.
1025 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
1027 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
1029 2014-12-17 Joseph Myers <joseph@codesourcery.com>
1032 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
1034 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
1036 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
1038 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
1040 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
1041 (profil_counter): Likewise.
1042 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
1043 (profil_counter): Likewise.
1044 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
1046 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
1048 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
1049 (profil_counter): Likewise.
1050 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
1052 [!__profil_counter] (profil_counter): Define as weak alias of
1054 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
1055 (profil_counter): Rename to __profil_counter.
1056 [!__profil_counter] (profil_counter): Define as weak alias of
1058 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
1059 (profil_counter): Rename to __profil_counter.
1060 [!__profil_counter] (profil_counter): Define as weak alias of
1062 * sysdeps/posix/profil.c: Update comment referring to
1064 (__profil): Use __profil_counter instead of profil_counter.
1065 * sysdeps/posix/sprofil.c (profil_counter): Rename to
1066 __profil_counter. Use __profil_counter_ushort and
1067 __profil_counter_uint in definitions.
1068 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
1069 instead of profil_counter_uint and profil_counter_ushort.
1072 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
1073 define as weak alias of __inet_makeaddr.
1074 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
1075 as weak alias of __inet_addr.
1076 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
1077 as weak alias of __inet_pton. Use libc_hidden_weak.
1078 * include/arpa/inet.h (__inet_pton): Declare. Use
1080 (inet_makeaddr): Don't use libc_hidden_proto.
1081 (__inet_makeaddr): Declare. Use libc_hidden_proto.
1082 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
1083 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
1084 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
1086 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
1087 (test-xfail-POSIX/time.h/linknamespace): Likewise.
1089 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
1091 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
1093 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
1095 * stdio-common/bug-vfprintf-nargs.c (do_test):
1096 Cast value to intptr_t to avoid format warning
1097 for usage with PRIdPTR printing macro.
1099 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
1101 * libio/tst-widetext.c (do_test):
1102 Use format type %td instead of %Zd for ptrdiff_t
1103 in order to avoid format warning.
1105 2014-12-17 Andreas Schwab <schwab@suse.de>
1107 * nscd/mem.c (gc): Add size_t cast to match printf format.
1109 2014-12-16 Roland McGrath <roland@hack.frob.com>
1111 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
1112 (init): Apply PTR_MANGLE to pointers before storing them.
1113 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
1116 2014-12-16 Joseph Myers <joseph@codesourcery.com>
1119 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
1120 define as weak alias of __memrchr.
1121 (__memrchr): Do not define as strong alias of memrchr.
1122 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
1124 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
1125 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
1126 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
1129 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
1130 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
1131 (if_indextoname): Rename to __if_indextoname and define as weak
1132 alias of __if_indextoname. Use libc_hidden_weak.
1133 (if_freenameindex): Rename to __if_freenameindex and define as
1134 weak alias of __if_freenameindex.
1135 (if_nameindex): Rename to __if_nameindex and define as weak alias
1137 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
1138 __if_nametoindex and define as weak alias of __if_nametoindex.
1139 Use libc_hidden_weak.
1140 (if_freenameindex): Rename to __if_freenameindex and define as
1141 weak alias of __if_freenameindex.
1142 (if_nameindex): Rename to __if_nameindex and define as weak alias
1144 (if_indextoname): Rename to __if_indextoname and define as weak
1145 alias of __if_indextoname. Use libc_hidden_weak.
1146 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
1147 __if_nametoindex and define as weak alias of __if_nametoindex.
1148 Use libc_hidden_weak.
1149 (if_freenameindex): Rename to __if_freenameindex and define as
1150 weak alias of __if_freenameindex. Use libc_hidden_weak.
1151 (if_nameindex_netlink): Use __if_freenameindex instead of
1153 (if_nameindex): Rename to __if_nameindex and define as weak alias
1154 of __if_nameindex. Use libc_hidden_weak.
1155 (if_indextoname): Rename to __if_indextoname and define as weak
1156 alias of __if_indextoname. Use libc_hidden_weak.
1157 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
1159 [!_ISOMAC] (__if_freenameindex): Likewise.
1160 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
1162 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
1164 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
1165 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
1166 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
1167 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
1168 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
1169 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
1170 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
1172 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
1174 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
1175 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
1177 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1179 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
1180 subscript above bounds'
1182 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
1185 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
1187 * libio/tst-fopenloc.c: Use test-skeleton.c.
1189 * stdlib/tst-bsearch.c: Use test-skeleton.c.
1190 (entry): Rename to ITEM.
1191 (do_test, comp): Adjust.
1193 * stdio-common/tst-fseek.c: Use test-skeleton.c.
1195 2014-12-16 Torvald Riegel <triegel@redhat.com>
1197 * string/tester.c: Include <libc-internal.h>.
1198 (test_memset): Ignore -Wmemset-transposed-args.
1200 2014-12-16 Torvald Riegel <triegel@redhat.com>
1202 * misc/tst-mntent2.c (do_test): Fix warning.
1204 2014-12-16 Torvald Riegel <triegel@redhat.com>
1206 * elf/tst-unique4lib.cc(a): Mark as used.
1208 2014-12-16 Florian Weimer <fweimer@redhat.com>
1211 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
1214 2014-12-16 Allan McRae <allan@archlinux.org>
1216 * stdio-common/Makefile (tests): Re-add bug26.
1218 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
1221 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
1224 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
1226 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
1227 (__lll_lock_wait): Likewise.
1228 (__lll_timedlock_wait): Likewise.
1229 (__lll_timedwait_tid): Likewise.
1230 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
1231 (__lll_robust_timedlock_wait): Likewise.
1232 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
1233 (lll_cond_trylock): Likewise.
1234 (__lll_lock): Likewise.
1235 (__lll_robust_lock): Likewise.
1236 (__lll_cond_lock): Likewise.
1237 (lll_robust_cond_lock): Likewise.
1238 (__lll_timedlock): Likewise.
1239 (__lll_robust_timedlock): Likewise.
1240 (__lll_unlock): Likewise.
1241 (__lll_robust_unlock): Likewise.
1242 (lll_wait_tid): Likewise.
1243 (lll_timedwait_tid): Likewise.
1245 2014-12-15 Torvald Riegel <triegel@redhat.com>
1247 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
1249 2014-12-15 Torvald Riegel <triegel@redhat.com>
1251 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
1253 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
1255 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
1256 * stdio-common/tst-sprintf.c: Likewise.
1258 2014-12-15 Torvald Riegel <triegel@redhat.com>
1260 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
1262 2014-12-15 Jeff Law <law@redhat.com>
1265 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
1266 on the heap. (CVE-2012-3406)
1267 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
1268 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
1269 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
1271 2014-12-15 Will Newton <will.newton@linaro.org>
1273 * manual/install.texi: Bump required version of texinfo
1275 * INSTALL: Regenerated.
1276 * configure.ac: Check for makeinfo version 4.7 and above.
1277 * configure: Regenerated.
1279 2014-12-12 Roland McGrath <roland@hack.frob.com>
1281 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
1282 PREFIX, string constant to insert between directory and name.
1283 * sysdeps/posix/shm_open.c: Update caller.
1284 * sysdeps/posix/shm_unlink.c: Likewise.
1285 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
1286 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
1287 (SEM_SHM_PREFIX): New macro.
1288 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
1289 [$(have-thread-library) = no].
1290 * nptl/Makefile (libpthread-routines): Add shm-directory.
1291 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
1292 * sysdeps/nptl/shm-directory.h: New file.
1293 * sysdeps/posix/shm-directory.c
1294 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
1295 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
1296 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
1298 (__where_is_shmfs): Function removed.
1299 (mountpoint, defaultmount, defaultdir, __namedsem_once):
1301 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
1303 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
1305 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
1306 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
1307 unconditional for use inside libpthread.
1308 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
1310 2014-12-12 Roland McGrath <roland@hack.frob.com>
1312 * nptl/pthread_getaffinity.c: New file.
1313 * nptl/pthread_setaffinity.c: New file.
1314 * nptl/pthread_getname.c: New file.
1315 * nptl/pthread_setname.c: New file.
1317 * nptl/pthread_create.c (START_THREAD_DEFN)
1318 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
1320 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1321 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1323 * resolv/res_send.c (send_vc): Disable warning resplen may
1324 be used uninitialized.
1326 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1329 (ATTR_NULL): New define checks ATTR against NULL.
1330 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
1331 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
1333 2014-12-11 James Lemke <jwlemke@codesourcery.com>
1337 (mem2mem_check): Revert my previous change.
1338 (malloc_check_get_size): Revert my previous change.
1339 (mem2chunk_check): Revert my previous change.
1341 2014-12-11 Roland McGrath <roland@hack.frob.com>
1343 * sysdeps/posix/shm-directory.c: New file.
1344 * sysdeps/posix/shm-directory.h: New file.
1345 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
1346 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
1347 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
1348 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
1349 Transmute EPERM to EACCES.
1350 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
1352 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
1353 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
1355 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1357 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
1358 pointer and cast to uintptr_t.
1359 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
1360 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
1361 Add cast to avoid warning.
1362 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
1364 2014-12-11 Joseph Myers <joseph@codesourcery.com>
1366 * nptl/semaphore.h: Move to ...
1367 * sysdeps/pthread/semaphore.h: ... here.
1368 * Makefile (installed-headers): Change nptl/semaphore.h to
1369 sysdeps/pthread/semaphore.h.
1371 2014-12-11 Roland McGrath <roland@hack.frob.com>
1373 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
1374 generated error format strings.
1376 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
1377 -Wformat-extra-args warnings for scanf formats.
1378 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
1379 test of zero-length format (duh).
1380 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
1381 corner-case scanf format test.
1382 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
1383 generated fprintf format string.
1384 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
1385 corner-case sprintf format tests.
1386 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
1387 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
1388 -Wformat-extra-args warnings throughout.
1389 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
1390 (CFLAGS-scanf4.c): Likewise.
1391 (CFLAGS-scanf7.c): Likewise.
1392 (CFLAGS-tst-sprintf.c): Likewise.
1393 (CFLAGS-tst-printf.c): Likewise.
1394 (CFLAGS-tst-printfsz.c): Likewise.
1396 2014-12-11 Joseph Myers <joseph@codesourcery.com>
1398 * include/cpio.h: New file.
1399 * include/fmtmsg.h: Likewise.
1401 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
1402 corresponding format argument to size_t.
1403 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
1405 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
1406 corresponding format argument to size_t.
1407 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
1409 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
1410 corresponding format argument to size_t.
1411 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
1412 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
1413 (CFLAGS-tst-mbswcs2.c): Likewise.
1414 (CFLAGS-tst-mbswcs3.c): Likewise.
1415 (CFLAGS-tst-mbswcs4.c): Likewise.
1416 (CFLAGS-tst-mbswcs5.c): Likewise.
1417 (CFLAGS-tst-trans.c): Likewise
1419 2014-12-11 Roland McGrath <roland@hack.frob.com>
1421 * posix/regexbug1.c (main): Use "%s" format with regerror results,
1422 rather than assuming they won't contain any '%'s.
1424 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
1426 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
1427 inhibit_loop_to_libcall to avoid recursive calls.
1428 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
1429 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
1431 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
1433 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
1436 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
1438 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
1439 integer value instead of boolean.
1441 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
1443 * malloc/malloc.c: Fix powerof2 check.
1445 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1447 * locale/programs/locfile.h (maybe_swap_uint32):
1448 Remove inline and add unused attribute.
1450 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1452 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1453 Truncating assembler expression to a .long expression.
1455 2014-12-11 Andreas Schwab <schwab@suse.de>
1457 * elf/rtld.c (struct map_args): Constify str member.
1458 (do_preload): Constify fname argument.
1460 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1462 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
1463 constants definition.
1465 2014-12-11 Andreas Schwab <schwab@suse.de>
1468 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
1469 FORCE_ELISION instead of DO_ELISION.
1470 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
1472 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
1475 * iconvdata/gconv-modules: Remove duplicate entry.
1477 2014-12-11 Will Newton <will.newton@linaro.org>
1479 Merge gettext 0.19.3 into intl/.
1481 This involves a number of cosmetic changes to comments
1482 and ANSI function definitions and prototypes throughout
1483 all the files. The gettext copyright header is used but
1484 with the date ranges taken from the glibc copy.
1486 * NEWS: Add gettext merge to 2.21.
1487 * intl/bindtextdom.c: Switch to gettext copyright.
1488 Use ANSI definitions and prototypes.
1489 Use gl_* locking primitives rather than __libc_* ones.
1490 Use __builtin_expect rather than __glibc_likely/unlikely.
1491 * intl/dcgettext.c: Switch to gettext copyright.
1492 Use ANSI definitions and prototypes.
1493 * intl/dcigettext.c: Switch to gettext copyright.
1494 Use ANSI definitions and prototypes.
1495 (INTDIV0_RAISES_SIGFPE): New define.
1496 Use gl_* locking primitives rather than __libc_* ones.
1497 Include eval-plural.h instead of plural-eval.c.
1498 Use __builtin_expect rather than __glibc_likely/unlikely.
1499 * intl/dcngettext.c: Switch to gettext copyright.
1500 Use ANSI definitions and prototypes.
1501 * intl/dgettext.c: Likewise.
1502 * intl/dngettext.c: Likewise.
1503 * intl/plural-eval.c: Renamed to...
1504 * intl/eval-plural.h: ...this.
1505 * intl/explodename.c: Switch to gettext copyright.
1506 Use ANSI definitions and prototypes.
1507 (_nl_explode_name): Use strchr instead of __rawmemchr.
1508 * intl/finddomain.c: Switch to gettext copyright.
1509 Use ANSI definitions and prototypes.
1510 Use gl_* locking primitives rather than __libc_* ones.
1511 (_nl_find_domain): Use malloc rather than alloca for
1512 allocation of temporary locale name.
1513 * intl/gettext.c: Switch to gettext copyright.
1514 Use ANSI definitions and prototypes.
1515 * intl/gettextP.h: Switch to gettext copyright.
1516 Use ANSI definitions and prototypes.
1517 Use gl_* locking primitives rather than __libc_* ones.
1518 * intl/gmo.h: Switch to gettext copyright.
1519 (struct sysdep_string): Move struct segment_pair outside of
1521 * intl/hash-string.c: Use ANSI definitions and prototypes.
1522 * intl/hash-string.h: Switch to gettext copyright.
1523 Use ANSI definitions and prototypes.
1524 * intl/l10nflist.c: Switch to gettext copyright.
1525 Use ANSI definitions and prototypes.
1526 (_nl_normalize_codeset): Avoid integer overflow.
1527 * intl/loadinfo.h: Switch to gettext copyright.
1528 Use ANSI definitions and prototypes.
1529 (LIBINTL_DLL_EXPORTED): New define.
1530 (PATH_SEPARATOR): New define.
1531 * intl/loadmsgcat.c: Switch to gettext copyright.
1532 * intl/localealias.c: Switch to gettext copyright.
1533 Use ANSI definitions and prototypes.
1534 (_nl_expand_alias): Use PATH_SEPARATOR.
1535 * intl/ngettext.c: Switch to gettext copyright.
1536 Use ANSI definitions and prototypes.
1537 * intl/plural-exp.c: Likewise.
1538 * intl/plural-exp.h: Switch to gettext copyright.
1539 Use ANSI definitions and prototypes.
1540 (struct expression): Move definition of enum operator outside
1541 of struct definition.
1542 * intl/plural.c: Regenerate.
1543 * intl/plural.y: Switch to gettext copyright.
1544 Use ANSI definitions and prototypes.
1546 * intl/textdomain.c: Switch to gettext copyright.
1547 Use ANSI definitions and prototypes.
1548 Use gl_* locking primitives rather than __libc_* ones.
1550 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
1552 * debug/warning-nop.c: Add used atrribute.
1554 2014-12-10 Joseph Myers <joseph@codesourcery.com>
1556 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
1558 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
1559 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
1560 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
1562 2014-12-10 Joseph Myers <joseph@codesourcery.com>
1563 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1566 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
1567 Undefine after defining function. Define as weak alias of
1568 __wcschr. Use libc_hidden_weak.
1569 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
1570 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
1571 (libc_hidden_def): Also define __GI___wcschr alias.
1572 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
1573 __wcschr and define as weak alias of __wcschr.
1574 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
1576 [!WCSCHR] (DEFAULT_WCSCHR): Define.
1577 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
1578 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
1579 libc_hidden_weak. Do not use libc_hidden_def.
1580 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
1581 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
1582 __GI___wcschr alias.
1583 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
1584 [IS_IN (libc)] (wcschr): Define as macro expanding to
1586 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
1587 [IS_IN (libc)] (__wcschr_power6): Likewise.
1588 [IS_IN (libc)] (__wcschr_power7): Likewise.
1589 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
1591 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
1593 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
1594 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
1595 __wcschr and define as weak alias of __wcschr. Use
1596 libc_hidden_builtin_def.
1597 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
1598 as weak alias of __wcschr. Use libc_hidden_weak.
1599 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
1601 * time/era.c (_nl_init_era_entries): Likewise.
1602 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
1604 (test-xfail-XPG3/time.h/linknamespace): Likewise.
1605 (test-xfail-XPG4/time.h/linknamespace): Likewise.
1607 2014-12-10 Joseph Myers <joseph@codesourcery.com>
1609 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
1610 format for long int variable.
1612 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
1615 * manual/search.texi: (Array Sort Function): Remove claim how to make
1618 2014-12-10 Andreas Schwab <schwab@suse.de>
1621 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
1622 user-controlled locks.
1624 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
1626 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
1629 2014-12-10 Joseph Myers <joseph@codesourcery.com>
1631 * configure.ac (--disable-werror): New configure option.
1632 (enable_werror): New AC_SUBST.
1633 * configure: Regenerated.
1634 * config.make.in (enable-werror): New variable.
1635 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
1637 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
1638 * manual/install.texi (Configuring and compiling): Document
1640 * INSTALL: Regenerated.
1641 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
1642 (CFLAGS-tst-chk2.c): Likewise.
1643 (CFLAGS-tst-chk3.c): Likewise.
1644 (CFLAGS-tst-chk4.cc): Likewise.
1645 (CFLAGS-tst-chk5.cc): Likewise.
1646 (CFLAGS-tst-chk6.cc): Likewise.
1647 (CFLAGS-tst-lfschk1.c): Likewise.
1648 (CFLAGS-tst-lfschk2.c): Likewise.
1649 (CFLAGS-tst-lfschk3.c): Likewise.
1650 (CFLAGS-tst-lfschk4.cc): Likewise.
1651 (CFLAGS-tst-lfschk5.cc): Likewise.
1652 (CFLAGS-tst-lfschk6.cc): Likewise.
1654 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
1655 (main): Disable -Wdeprecated-declarations around calls to
1656 register_printf_function.
1658 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
1659 (do_test): Disable -Wdiv-by-zero around some calls to
1660 fwrite_unlocked and fread_unlocked.
1662 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
1663 (DIAG_POP_NEEDS_COMMENT): Likewise.
1664 (_DIAG_STR1): Likewise.
1665 (_DIAG_STR): Likewise.
1666 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
1667 * stdio-common/bug21.c: Include <libc-internal.h>.
1668 (do_test): Disable -Wformat around call to sscanf.
1669 * stdio-common/scanf14.c: Include <libc-internal.h>.
1670 (main): Disable -Wformat around some calls to scanf functions.
1672 2014-12-09 Torvald Riegel <triegel@redhat.com>
1674 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
1676 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1678 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
1679 stack variable alignment.
1681 2014-12-06 Joseph Myers <joseph@codesourcery.com>
1684 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
1685 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
1686 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
1687 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
1688 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
1689 __getrlimit instead of getrlimit.
1690 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
1691 __gettimeofday instead of gettimeofday.
1692 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1694 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1696 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
1697 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
1699 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
1700 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
1702 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1704 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
1705 for wide-character tests.
1707 2014-12-04 Roland McGrath <roland@hack.frob.com>
1709 * io/openat64.c: #include <libc-internal.h>
1710 (__openat64): Prototypify. Use ignore_value on MODE.
1711 * io/openat.c: Likewise.
1712 * misc/reboot.c: #include <libc-internal.h>
1713 (reboot): Prototypify. Use ignore_value on HOWTO.
1714 * misc/ptrace.c: #include <libc-internal.h>
1715 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
1717 2014-12-04 Joseph Myers <joseph@codesourcery.com>
1719 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
1720 XPG4, UNIX98 and XOPEN2K.
1721 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
1723 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
1725 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1727 * libio/fileops.c: Use ISO C style for function definitions.
1728 * libio/iofopen.c: Likewise.
1729 * libio/wfileops.c: Likewise.
1732 * libio/fileops.c (_IO_new_file_underflow): Unset cached
1734 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
1735 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
1736 (fgets_func): Function pointer to fgets and fgetws.
1737 (do_ftell_test): Add test to verify ftell value after read
1739 (do_test): Set fgets_func.
1741 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
1742 O_TRUNC flag for w and w+ modes.
1743 (do_rewind_test): Likewise.
1744 (do_ftell_test): Likewise.
1745 (do_write_test): Likewise.
1748 * libio/fileops.c (do_ftell): Seek only when there are
1750 * libio/wfileops.c (do_ftell_wide): Likewise.
1751 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
1753 (do_one_test): Call it.
1755 2014-12-03 Joseph Myers <joseph@codesourcery.com>
1757 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
1758 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
1759 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
1761 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
1762 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
1763 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
1765 2014-12-02 Joseph Myers <joseph@codesourcery.com>
1767 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
1769 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
1772 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
1773 as weak alias of __getifaddrs. Use libc_hidden_weak.
1774 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1775 __freeifaddrs. Use libc_hidden_weak.
1776 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
1777 define as weak alias of __getifaddrs. Use libc_hidden_weak.
1778 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1779 __freeifaddrs. Use libc_hidden_weak.
1780 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
1781 __getifaddrs and define as weak alias of __getifaddrs. Use
1783 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1784 __freeifaddrs. Use libc_hidden_weak.
1785 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
1787 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
1788 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
1790 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
1793 * sysdeps/mips/start.S (__start): Use indirect jump to call
1796 2014-12-02 Joseph Myers <joseph@codesourcery.com>
1798 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
1800 * nptl/tst-mutex1.c: Include <stdbool.h>.
1801 [!ATTR] (ATTR_NULL): New macro.
1802 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
1803 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
1804 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
1806 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
1810 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
1811 Change conditional to [__USE_MISC].
1814 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
1816 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
1818 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
1820 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
1822 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
1823 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
1824 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
1825 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
1826 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
1827 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
1828 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
1829 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
1830 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
1832 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
1834 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1836 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1837 Remove strpbrk objects.
1838 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1839 (__libc_ifunc_impl_list): Remove strpbrk implementation.
1840 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
1841 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
1842 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
1843 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
1845 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1846 Remove strcspn objects.
1847 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1848 (__libc_ifunc_impl_list): Remove strcspn implementation.
1849 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
1850 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
1851 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
1852 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
1854 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1855 Remove strspn objetcs.
1856 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1857 (__libc_ifunc_impl_list): Remove strspn implementation.
1858 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
1859 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
1860 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
1861 * sysdeps/powerpc/powerpc64/strspn.S: New file.
1863 2014-12-01 James Lemke <jwlemke@codesourcery.com>
1867 (mem2mem_check): Add a terminator to the chain of checking blocks.
1868 (malloc_check_get_size): Use it here.
1869 (mem2chunk_check): Ditto.
1871 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1873 * sysdeps/powerpc/powerpc64/strtok.S: New file.
1874 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
1876 2014-11-29 Carlos O'Donell <carlos@redhat.com>
1878 * bits/ioctl-types.h: Indent preprocessor directives correctly.
1880 * nptl/nptl-init.c: Include libc-internal.h.
1881 (__pthread_initialize_minimal_internal): Use ROUND_UP.
1883 * elf/ldconfig.c (search_dir): Expand comment.
1885 2014-11-29 Joseph Myers <joseph@codesourcery.com>
1887 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
1889 (linknamespace-symlist-stdlibs-tests): Likewise.
1890 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
1891 instead of $(objpfx)symlist-stdlibs.
1892 (linknamespace-libs-isoc): New variable.
1893 (linknamespace-libs): Use $(linknamespace-libs-isoc).
1894 (linknamespace-libs-ISO): New variable.
1895 (linknamespace-libs-ISO99): Likewise.
1896 (linknamespace-libs-ISO11): Likewise.
1897 (linknamespace-libs-XPG3): Likewise.
1898 (linknamespace-libs-XPG4): Likewise.
1899 (linknamespace-libs-POSIX): Likewise.
1900 (linknamespace-libs-UNIX98): Likewise.
1901 (linknamespace-libs-XOPEN2K): Likewise.
1902 (linknamespace-libs-POSIX2008): Likewise.
1903 (linknamespace-libs-XOPEN2K8): Likewise.
1904 ($(objpfx)symlist-stdlibs): Replace by
1905 $(linknamespace-symlist-stdlibs-tests). Use
1906 $(linknamespace-libs-$*) as set of libraries.
1907 ($(linknamespace-header-tests)): Update dependencies. Use
1908 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
1909 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
1910 * conform/linknamespace.pl: Remove comment about considering
1911 definitions of symbols from irrelevant libraries.
1913 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
1916 * elf/dl-tls.c: Include <atomic.h>.
1917 (oom): Remove #ifdef SHARED/#endif.
1918 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
1919 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
1920 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
1922 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
1923 * nptl/Makefile (tests): Add tst-stack4.
1924 (modules-names): Add tst-stack4mod.
1925 ($(objpfx)tst-stack4): New.
1926 (tst-stack4mod.sos): Likewise.
1927 ($(objpfx)tst-stack4.out): Likewise.
1928 ($(tst-stack4mod.sos)): Likewise.
1930 * nptl/tst-stack4.c: New file.
1931 * nptl/tst-stack4mod.c: Likewise.
1933 2014-11-27 J. Brown <jb999@gmx.de>
1935 * sysdeps/x86/bits/string.h: Add recent CPUs.
1937 2014-11-27 Joseph Myers <joseph@codesourcery.com>
1939 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
1942 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
1945 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
1948 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
1950 * nscd/connections.c: Include libc-internal.h because of macro
1953 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1955 * string/bits/string3.h (__warn_memset_zero_len): Don't
1956 declare for gcc newer than 5.0.
1957 (memset): Don't test for zero-length __LEN for gcc newer than
1960 2014-11-27 Joseph Myers <joseph@codesourcery.com>
1962 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
1963 size_t for %zu format.
1965 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
1966 difference, not %ju.
1968 2014-11-26 Joseph Myers <joseph@codesourcery.com>
1970 * include/libc-internal.h (ignore_value): New macro.
1971 * nscd/connections.c (restart): Wrap calls to setuid and setgid
1974 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
1977 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
1978 pthread_cleanup_push to void *.
1980 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
1985 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
1986 instead of 1L << 52.
1988 * libio/bug-rewind.c (do_test): Check fwscanf return values.
1989 * libio/bug-rewind2.c (do_test): Likewise.
1991 * debug/test-stpcpy_chk-ifunc.c: Remove file.
1992 * debug/test-strcpy_chk-ifunc.c: Likewise.
1993 * wcsmbs/test-wcschr-ifunc.c: Likewise.
1994 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
1995 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
1996 * wcsmbs/test-wcslen-ifunc.c: Likewise.
1997 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
1998 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
1999 * Rules [$(multi-arch) = no] (tests): Do not filter out
2001 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
2002 * debug/Makefile (tests-ifunc): Remove variable.
2003 (tests): Do not add $(tests-ifunc).
2004 * wcsmbs/Makefile (tests-ifunc): Remove variable.
2005 (tests): Do not add $(tests-ifunc).
2006 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
2007 [TEST_IFUNC]: Remove conditionals.
2008 * string/test-string.h (TEST_IFUNC): Remove macro.
2009 [TEST_IFUNC]: Remove conditionals.
2011 * string/test-strchr.c [!WIDE] (L): New macro.
2012 [WIDE] (L): Likewise.
2013 (check1): Use CHAR instead of char. Use L on string and character
2016 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
2018 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
2020 * sysdeps/powerpc/bits/atomic.h
2021 (__arch_atomic_exchange_and_add_32_acq): Add definition.
2022 (__arch_atomic_exchange_and_add_32_rel): Likewise.
2023 (atomic_exchange_and_add_acq): Likewise.
2024 (atomic_exchange_and_add_rel): Likewise.
2025 * sysdeps/powerpc/powerpc32/bits/atomic.h
2026 (__arch_atomic_exchange_and_add_64_acq): Add definition.
2027 (__arch_atomic_exchange_and_add_64_rel): Likewise.
2028 * sysdeps/powerpc/powerpc64/bits/atomic.h
2029 (__arch_atomic_exchange_and_add_64_acq): Add definition.
2030 (__arch_atomic_exchange_and_add_64_rel): Likewise.
2032 2014-11-26 Torvald Riegel <triegel@redhat.com>
2034 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
2035 Change synchronization of __sched_fifo_min_prio and
2036 __sched_fifo_max_prio.
2037 * nptl/pthread_mutexattr_getprioceiling.c
2038 (pthread_mutexattr_getprioceiling): Likewise.
2039 * nptl/pthread_mutexattr_setprioceiling.c
2040 (pthread_mutexattr_setprioceiling): Likewise.
2041 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
2042 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
2045 2014-11-26 Joseph Myers <joseph@codesourcery.com>
2047 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
2050 2014-11-25 Joseph Myers <joseph@codesourcery.com>
2052 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
2053 third argument const.
2055 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
2057 fnmatch: work around GCC compiler warning bug with uninit var
2058 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
2059 This works around a bug with x86-64 GCC 4.9.2 and earlier
2060 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
2061 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
2062 used uninitialized in this function [-Wmaybe-uninitialized]".
2064 2014-11-25 Joseph Myers <joseph@codesourcery.com>
2066 * posix/bug-regex31.c (main): Return RES not 0.
2068 2014-11-25 Anton Blanchard <anton@samba.org>
2070 * sysdeps/powerpc/bits/atomic.h
2071 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
2073 2014-11-24 Sterling Augustine <saugustine@google.com>
2075 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
2077 2014-11-24 Ryan Cumming <etaoins@gmail.com>
2080 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
2082 2014-11-24 Joseph Myers <joseph@codesourcery.com>
2085 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
2086 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
2088 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
2089 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
2091 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
2093 * string/strncpy.c (strncpy): Improve performance by using memset.
2095 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
2097 * string/strcpy.c (strcpy):
2098 Improve performance by using strlen and memcpy.
2100 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
2102 * string/strcoll_l.c (get_next_seq): __always_inline.
2103 * string/strcoll_l.c (do_compare): __always_inline.
2105 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2107 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
2109 * include/mqueue.h: Likewise.
2110 * include/stdlib.h: Likewise.
2112 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
2113 (get_null_defines): Adjust.
2114 * sunrpc/Makefile: Adjust comment.
2115 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
2116 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
2117 (CFLAGS-interp.c): Likewise.
2118 (CFLAGS-ldconfig.c): Likewise.
2119 (CPPFLAGS-.os): Likewise.
2120 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2121 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
2122 * extra-modules.mk (extra-modules.mk): Likewise.
2123 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
2124 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
2125 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
2126 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
2127 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
2128 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
2129 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
2130 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
2131 * iconvdata/Makefile (CPPFLAGS): Likewise.
2132 (cpp-srcs-left): Add libof for all iconvdata routines.
2133 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
2134 * include/assert.h: Likewise.
2135 * include/ctype.h: Likewise.
2136 * include/errno.h: Likewise.
2137 * include/libc-symbols.h: Likewise.
2138 * include/math.h: Likewise.
2139 * include/netdb.h: Likewise.
2140 * include/resolv.h: Likewise.
2141 * include/stdio.h: Likewise.
2142 * include/stdlib.h: Likewise.
2143 * include/string.h: Likewise.
2144 * include/sys/stat.h: Likewise.
2145 * include/wctype.h: Likewise.
2146 * intl/l10nflist.c: Likewise.
2147 * libidn/idn-stub.c: Likewise.
2148 * libio/libioP.h: Likewise.
2149 * nptl/libc_multiple_threads.c: Likewise.
2150 * nptl/pthreadP.h: Likewise.
2151 * posix/regex_internal.h: Likewise.
2152 * resolv/res_hconf.c: Likewise.
2153 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
2154 * sysdeps/arm/memmove.S: Likewise.
2155 * sysdeps/arm/sysdep.h: Likewise.
2156 * sysdeps/generic/_itoa.h: Likewise.
2157 * sysdeps/generic/symbol-hacks.h: Likewise.
2158 * sysdeps/gnu/errlist.awk: Likewise.
2159 * sysdeps/gnu/errlist.c: Likewise.
2160 * sysdeps/i386/i586/memcpy.S: Likewise.
2161 * sysdeps/i386/i586/memset.S: Likewise.
2162 * sysdeps/i386/i686/memcpy.S: Likewise.
2163 * sysdeps/i386/i686/memmove.S: Likewise.
2164 * sysdeps/i386/i686/mempcpy.S: Likewise.
2165 * sysdeps/i386/i686/memset.S: Likewise.
2166 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
2167 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2168 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
2169 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
2170 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2171 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2172 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
2173 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2174 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
2175 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
2176 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2177 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2178 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2179 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2180 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2181 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2182 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
2183 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
2184 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
2185 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2186 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2187 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2188 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2189 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2190 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2191 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2192 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
2193 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2194 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
2195 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
2196 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2197 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2198 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2199 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2200 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2201 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
2202 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2203 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2204 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
2205 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
2206 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2207 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2208 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
2209 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
2210 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2211 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2212 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
2213 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
2214 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2215 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
2216 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2217 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
2218 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
2219 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2220 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
2221 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
2222 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2223 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
2224 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
2225 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2226 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
2227 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2228 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
2229 * sysdeps/nptl/bits/libc-lock.h: Likewise.
2230 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
2231 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
2232 * sysdeps/posix/closedir.c: Likewise.
2233 * sysdeps/posix/opendir.c: Likewise.
2234 * sysdeps/posix/readdir.c: Likewise.
2235 * sysdeps/posix/rewinddir.c: Likewise.
2236 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
2237 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
2238 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
2239 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2240 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2241 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
2242 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
2243 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
2244 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
2245 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
2246 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
2247 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
2248 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
2249 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
2250 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
2251 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
2252 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
2253 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
2254 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
2255 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
2256 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
2257 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
2258 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
2259 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
2260 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
2261 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
2262 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
2263 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
2264 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
2265 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
2266 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
2267 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
2268 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
2269 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
2270 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
2271 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
2272 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2273 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2274 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
2275 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
2276 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
2277 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
2278 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
2279 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
2280 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
2281 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
2282 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
2283 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
2284 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
2285 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
2286 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
2287 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
2288 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
2289 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
2290 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
2291 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
2292 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
2293 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
2294 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
2295 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
2296 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
2297 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
2298 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
2299 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
2300 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
2301 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
2302 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
2303 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
2304 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
2305 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
2306 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
2307 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
2308 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
2309 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
2310 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
2311 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
2312 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
2313 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
2314 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
2315 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
2316 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
2317 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
2318 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
2319 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
2320 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
2321 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
2322 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
2323 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
2324 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
2325 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2326 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
2327 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
2328 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
2329 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2330 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2331 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
2332 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2333 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2334 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
2335 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
2336 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2337 * sysdeps/unix/alpha/sysdep.S: Likewise.
2338 * sysdeps/unix/alpha/sysdep.h: Likewise.
2339 * sysdeps/unix/make-syscalls.sh: Likewise.
2340 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2341 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2342 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2343 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
2344 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2345 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
2346 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
2347 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2348 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2349 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
2350 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2351 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2352 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2353 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
2354 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2355 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
2356 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2357 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2358 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
2359 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2360 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
2361 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2362 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2363 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2364 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2365 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2366 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
2368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
2369 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
2370 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2371 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2372 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
2373 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2374 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2375 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2376 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
2377 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2378 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2379 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
2380 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2381 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2382 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2383 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2384 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2385 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2386 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2387 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2388 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2389 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2390 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2391 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2392 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2393 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2394 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2395 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2396 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2397 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2398 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
2399 * sysdeps/x86_64/memcpy.S: Likewise.
2400 * sysdeps/x86_64/memmove.c: Likewise.
2401 * sysdeps/x86_64/memset.S: Likewise.
2402 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
2403 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2404 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
2405 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
2406 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
2407 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2408 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2409 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2410 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2411 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2412 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2413 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2414 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
2415 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2416 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2417 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
2418 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
2419 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2420 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
2421 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2422 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
2423 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2424 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2425 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
2426 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2427 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2428 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2429 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
2430 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
2431 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2432 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
2433 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2434 * sysdeps/x86_64/strcmp.S: Likewise.
2436 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
2438 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
2439 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
2440 * elf/rtld-Rules: Likewise.
2441 * elf/setup-vdso.h: Likewise.
2442 * include/assert.h: Likewise.
2443 * include/bits/stdlib-float.h: Likewise.
2444 * include/errno.h: Likewise.
2445 * include/sys/stat.h: Likewise.
2446 * include/unistd.h: Likewise.
2447 * sysdeps/aarch64/setjmp.S: Likewise.
2448 * sysdeps/alpha/setjmp.S: Likewise.
2449 * sysdeps/arm/__longjmp.S: Likewise.
2450 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
2451 * sysdeps/arm/setjmp.S: Likewise.
2452 * sysdeps/arm/sysdep.h: Likewise.
2453 * sysdeps/generic/_itoa.h: Likewise.
2454 * sysdeps/generic/dl-sysdep.h: Likewise.
2455 * sysdeps/generic/ldsodefs.h: Likewise.
2456 * sysdeps/i386/dl-tls.h: Likewise.
2457 * sysdeps/i386/setjmp.S: Likewise.
2458 * sysdeps/m68k/setjmp.c: Likewise.
2459 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
2460 * sysdeps/mach/hurd/opendir.c: Likewise.
2461 * sysdeps/posix/getcwd.c: Likewise.
2462 * sysdeps/posix/opendir.c: Likewise.
2463 * sysdeps/posix/profil.c: Likewise.
2464 * sysdeps/powerpc/dl-procinfo.h: Likewise.
2465 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2466 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
2467 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2468 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2469 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
2470 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2471 * sysdeps/s390/dl-tls.h: Likewise.
2472 * sysdeps/s390/s390-32/setjmp.S: Likewise.
2473 * sysdeps/s390/s390-64/setjmp.S: Likewise.
2474 * sysdeps/sh/sh3/setjmp.S: Likewise.
2475 * sysdeps/sh/sh4/setjmp.S: Likewise.
2476 * sysdeps/unix/alpha/sysdep.h: Likewise.
2477 * sysdeps/unix/arm/sysdep.S: Likewise.
2478 * sysdeps/unix/i386/sysdep.S: Likewise.
2479 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2480 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2481 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2482 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2483 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2484 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
2485 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2486 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2487 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2488 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
2489 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
2490 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2491 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2494 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2495 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2496 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2497 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2498 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2499 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2500 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2501 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2502 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2503 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2504 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2505 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2506 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2507 * sysdeps/x86_64/setjmp.S: Likewise.
2509 * include/math.h: Use IS_IN instead of IS_IN_libm.
2510 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
2511 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2512 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2513 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
2514 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2515 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2516 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2517 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2518 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2519 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2520 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
2521 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
2522 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
2523 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
2524 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
2525 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
2526 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
2527 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
2528 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
2529 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
2530 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
2531 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
2532 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
2533 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
2534 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
2535 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
2536 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
2537 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
2538 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
2539 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
2540 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
2541 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
2542 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
2545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
2547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
2549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
2551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
2553 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
2554 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
2555 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
2556 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2557 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2558 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
2560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
2561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
2562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
2563 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
2564 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
2565 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
2566 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2567 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2568 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2569 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2570 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2571 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2572 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2573 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
2574 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
2575 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
2576 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
2577 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
2578 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2579 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
2581 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
2582 * nptl/pthreadP.h: Likewise.
2583 * nptl_db/structs.def: Likewise.
2584 * sysdeps/arm/sysdep.h: Likewise.
2585 * sysdeps/nptl/bits/libc-lock.h: Likewise.
2586 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
2587 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
2588 * sysdeps/unix/alpha/sysdep.h: Likewise.
2589 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2590 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2591 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2592 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2593 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2594 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2595 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2596 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2597 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2598 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2599 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2600 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2601 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2602 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
2604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
2605 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2606 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2607 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2608 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2609 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2610 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2611 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2612 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2613 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
2614 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2616 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
2617 * nptl/pthreadP.h: Likewise.
2618 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2619 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2620 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2621 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2622 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2623 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2624 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2625 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2626 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2627 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2628 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2629 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
2632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
2634 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2635 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2636 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2637 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2638 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2639 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2640 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2641 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2643 * dlfcn/dladdr.c: Use IS_IN.
2644 * dlfcn/dladdr1.c: Likewise.
2645 * dlfcn/dlclose.c: Likewise.
2646 * dlfcn/dlerror.c: Likewise.
2647 * dlfcn/dlinfo.c: Likewise.
2648 * dlfcn/dlmopen.c: Likewise.
2649 * dlfcn/dlopen.c: Likewise.
2650 * dlfcn/dlsym.c: Likewise.
2651 * dlfcn/dlvsym.c: Likewise.
2653 * include/ifaddrs.h: Use IS_IN.
2654 * inet/check_pf.c: Likewise.
2655 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2656 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
2658 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
2660 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
2661 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
2663 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
2664 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
2667 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
2669 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
2670 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2671 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
2672 * include/libc-symbols.h (IS_IN_LIB): New macro.
2673 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
2674 * include/netdb.h: Likewise.
2675 * include/stap-probe.h: Remove all uses of IN_LIB.
2677 * Makeconfig (module-cppflags-real): Define MODULE_NAME
2678 instead of IN_MODULE.
2679 * include/libc-symbols.h (IN_MODULE): Define using
2681 (PASTE_NAME, PASTE_NAME1): New macros.
2682 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
2684 (STAP_PROBE_ASM): Likewise.
2686 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
2688 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
2689 __mach_init in dlopened libc.
2691 2014-11-22 Mike Frysinger <vapier@gentoo.org>
2693 * sysdeps/arm/preconfigure.ac: Delete EABI check.
2694 * sysdeps/arm/preconfigure: Regenerate.
2696 2014-11-21 Roland McGrath <roland@hack.frob.com>
2698 * nptl/pthread_create.c (__pthread_create_2_1): Set
2699 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
2700 when copying values from IATTR into PD.
2702 2014-11-21 Will Newton <will.newton@linaro.org>
2703 Andrew Pinski <andrew.pinski@caviumnetworks.com>
2705 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
2706 Refactor inline-asm. Also add comment.
2708 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
2709 ElfW macro instead of hardcoded Elf64 types.
2710 (la_aarch64_gnu_pltenter): Likewise.
2711 * sysdeps/aarch64/dl-machine.h
2712 (elf_machine_runtime_setup): Use ElfW(Addr).
2714 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
2715 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
2716 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
2717 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
2718 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
2719 (R_AARCH64_TLS_DTPMOD64): Rename to ..
2720 (R_AARCH64_TLS_DTPMOD): This.
2721 (R_AARCH64_TLS_DTPREL64): Rename to ...
2722 (R_AARCH64_TLS_DTPREL): This.
2723 (R_AARCH64_TLS_TPREL64): Rename to ...
2724 (R_AARCH64_TLS_TPREL): This.
2725 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
2726 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
2727 R_AARCH64_TLS_TPREL64.
2728 (elf_machine_rela): Likewise.
2730 2014-11-21 Torvald Riegel <triegel@redhat.com>
2732 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
2733 by setting it to 0. 64b atomics are not supported currently.
2735 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
2738 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
2739 search domain names.
2741 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
2745 * resolv/res_query.c (__libc_res_nquerydomain): Retain
2747 * posix/tst-getaddrinfo5.c: New.
2748 * posix/Makefile (tests): Add it.
2750 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
2754 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
2755 after parsing line but before break_if_match.
2756 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
2757 if there is a protocol mismatch.
2759 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
2761 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
2762 because the potential race is on the user-supplied stream.
2764 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
2766 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
2767 string literal if not passed a buffer.
2768 * manual/job.texi (ctermid): Update reasoning, note deviation
2769 from posix, suggest mtasurace when not passed a buffer, for
2770 future non-preliminary safety notes.
2772 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
2774 * manual/users.texi (cuserid): Fix MT-Safety note for the case
2775 of not passing it a buffer.
2776 Reported by Peng Haitao.
2778 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
2780 * manual/Makefile ($(objpfx)stamp-summary): Require
2781 check-safety.sh to pass.
2782 * manual/check-safety.sh: Wish for verification that every
2783 @deftypefn and @deftypefun is followed by a @safety remark.
2785 2014-11-20 Roland McGrath <roland@hack.frob.com>
2787 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
2789 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
2790 PTHREAD_CANCEL_ASYNCHRONOUS.
2791 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
2794 * nptl/default-sched.h: New file.
2795 * sysdeps/unix/sysv/linux/default-sched.h: New file.
2796 * nptl/pthread_create.c: Include it.
2797 (__pthread_create_2_1): Use collect_default_sched instead of making
2798 Linux syscalls here directly.
2800 2014-11-20 Torvald Riegel <triegel@redhat.com>
2802 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
2803 __pthread_once): Use C11 atomics.
2805 2014-11-20 Torvald Riegel <triegel@redhat.com>
2807 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
2809 2014-11-20 Torvald Riegel <triegel@redhat.com>
2811 * include/atomic.h (__atomic_link_error, __atomic_check_size,
2812 atomic_thread_fence_acquire, atomic_thread_fence_release,
2813 atomic_thread_fence_seq_cst, atomic_load_relaxed,
2814 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
2815 atomic_compare_exchange_weak_relaxed,
2816 atomic_compare_exchange_weak_acquire,
2817 atomic_compare_exchange_weak_release,
2818 atomic_exchange_acquire, atomic_exchange_release,
2819 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
2820 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
2821 atomic_fetch_and_acquire,
2822 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
2824 2014-11-20 Torvald Riegel <triegel@redhat.com>
2826 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
2827 USE_ATOMIC_COMPILER_BUILTINS): Define.
2828 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
2829 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2830 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
2831 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2832 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
2833 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2834 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
2835 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2836 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
2837 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2838 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
2839 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2840 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
2841 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2842 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
2843 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2844 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
2845 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2846 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
2847 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2848 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
2849 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2850 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
2851 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2852 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
2853 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2854 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
2855 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2856 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
2857 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2858 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
2859 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2860 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
2861 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2862 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
2863 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2864 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
2865 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2866 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
2867 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2869 2014-11-19 Roland McGrath <roland@hack.frob.com>
2871 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
2872 the sched_priority value here. It was already checked when the user
2873 called pthread_attr_setschedparam.
2875 * nptl/tst-bad-schedattr.c: New file.
2876 * nptl/Makefile (tests): Add it.
2878 2014-11-19 Carlos O'Donell <carlos@redhat.com>
2879 Florian Weimer <fweimer@redhat.com>
2880 Joseph Myers <joseph@codesourcery.com>
2881 Adam Conrad <adconrad@0c3.net>
2882 Andreas Schwab <schwab@suse.de>
2883 Brooks <bmoses@google.com>
2886 * wordexp-test.c (__dso_handle): Add prototype.
2887 (__register_atfork): Likewise.
2888 (__app_register_atfork): New function.
2889 (registered_forks): New global.
2890 (register_fork): New function.
2891 (test_case): Add 3 new tests for WRDE_CMDSUB.
2892 (main): Call __app_register_atfork.
2893 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
2894 fork count is non-zero fail the test.
2895 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
2897 (parse_dollars): Remove check for WRDE_NOCMD.
2898 (parse_dquote): Likewise.
2900 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2902 * Makeconfig (built-modules): List non-library modules to be
2904 (module-cppflags): Include libc-modules.h for
2905 everything except shlib-versions.v.i.
2907 (before-compile): Add libc-modules.h.
2908 ($(common-objpfx)libc-modules.h,
2909 $(common-objpfx)libc-modules.stmp): New targets.
2910 (common-generated): Add libc-modules.h and libc-modules.stmp.
2911 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
2912 * include/libc-symbols.h: Don't include libc-modules.h.
2913 * include/libc-modules.h: Remove file.
2914 * scripts/gen-libc-modules.awk: New script to generate
2916 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
2917 Depend on libc-modules.stmp.
2919 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
2921 * Makeconfig (in-module): Get value of libof set for the
2923 (CPPFLAGS): Use $(in-module).
2924 * Makerules: Don't suffix routine names for nonlib.
2925 * include/libc-modules.h: New file.
2926 * include/libc-symbols.h: Include libc-modules.h
2927 (IS_IN): New macro to replace IS_IN_* macros.
2928 * elf/Makefile: Set libof-* for each routine.
2929 * elf/rtld-Rules: Likewise.
2930 * extra-modules.mk: Likewise.
2931 * iconv/Makefile: Likewise.
2932 * iconvdata/Makefile: Likewise.
2933 * locale/Makefile: Likewise.
2934 * malloc/Makefile: Likewise.
2935 * nss/Makefile: Likewise.
2936 * sysdeps/gnu/Makefile: Likewise.
2937 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
2938 * sysdeps/unix/sysv/linux/Makefile: Likewise.
2939 * sysdeps/s390/s390-64/Makefile: Likewise.
2940 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
2941 CPPFLAGS for nscd instead of nonlib.
2943 2014-11-18 Roland McGrath <roland@hack.frob.com>
2945 * nptl/createthread.c: New file.
2947 * nptl/createthread.c: Moved ...
2948 * sysdeps/unix/sysv/linux/createthread.c: ... here.
2950 * nptl/createthread.c: Add proper top-line comment.
2951 (do_clone): Folded into ...
2952 (create_thread): ... here. Take new arguments STOPPED_START and
2953 THREAD_RAN. Always set PD->stopped_start to something here. Don't
2954 increment __nptl_threads, do event-reporting logic, do
2955 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
2956 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
2957 resource cleanup if sched_setaffinity or sched_setscheduler fails,
2958 just send SIGCANCEL.
2959 * nptl/pthread_create.c: Forward-declare create_thread before
2960 including createthread.c.
2961 (start_thread): Use new macro START_THREAD_DEFN to replace defining
2962 declaration, and new macro START_THREAD_SELF to replace argument.
2963 Remove return statement.
2964 (report_thread_creation): New function.
2965 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
2966 synchronization logic, and __nptl_nthreads increment here, around
2967 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
2968 PD->parent_cancelhandling here, before create_thread. When
2969 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
2970 __deallocate_stack, and ENOMEM translation here.
2972 2014-11-18 Joseph Myers <joseph@codesourcery.com>
2975 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
2976 (mptwo): Rename to __mptwo.
2977 (__inv): Use __mptwo instead of mptwo.
2978 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
2979 (mptwo): Rename to __mptwo.
2980 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
2981 of mpone and __mptwo instead of mptwo.
2982 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
2984 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2985 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
2986 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
2987 of mpone and __mptwo instead of mptwo.
2988 (__mpranred): Use __mpone instead of mpone.
2989 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
2991 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
2992 (test-xfail-ISO99/math.h/linknamespace): Likewise.
2993 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
2994 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
2995 (test-xfail-ISO11/math.h/linknamespace): Likewise.
2996 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
2997 (test-xfail-XPG3/math.h/linknamespace): Likewise.
2998 (test-xfail-XPG4/math.h/linknamespace): Likewise.
2999 (test-xfail-POSIX/math.h/linknamespace): Likewise.
3000 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
3001 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
3002 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
3003 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
3004 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
3005 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
3006 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
3007 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
3008 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
3009 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
3011 2014-11-18 Tom de Vries <tom@codesoucery.com>
3013 * manual/signal.texi (Primitives Interrupted by Signals): In section,
3014 replace BSD Handler xref with BSD Signal Handling.
3016 2014-11-17 Richard Henderson <rth@redhat.com>
3018 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
3019 (_FP_PACK_RAW_2): Remove.
3020 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
3021 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
3022 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
3023 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
3024 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
3025 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
3026 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
3027 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
3028 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
3029 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
3030 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
3031 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
3032 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
3033 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
3034 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
3035 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
3037 2014-11-14 Roland McGrath <roland@hack.frob.com>
3039 * signal/signal.h [__USE_MISC]
3040 (struct sigvec): Remove type.
3041 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
3042 (sigvec): Remove declaration.
3043 * sysdeps/posix/sigvec.c: Moved ...
3044 * signal/sigvec.c: ... here, replacing old file.
3045 (struct sigvec): New type, copied from old signal.h definition.
3046 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
3047 (__sigvec): Convert definition to prototype.
3048 (sigvec): Replace weak_alias with compat_symbol.
3049 * signal/Versions (libc: GLIBC_2.21): New version set.
3050 * include/signal.h: Remove __sigvec declaration.
3051 * sysdeps/unix/bsd/sigvec.c: Remove file.
3052 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
3053 * manual/signal.texi (BSD Handler): Remove subsection.
3054 Move siginterrupt up to ...
3055 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
3056 (Blocking in BSD): Fold subsection into its parent.
3057 * NEWS: Mention sigvec removal.
3059 2014-11-14 Joseph Myers <joseph@codesourcery.com>
3061 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
3062 (DLA_FMS): Make definition conditional only on [__FMA4__].
3063 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
3066 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
3067 Make definition conditional only on [PROF].
3068 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
3070 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
3071 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
3073 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
3075 * include/signal.h (__sigpause): Move declaration above call to
3077 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
3079 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
3080 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
3082 2014-11-14 David S. Miller <davem@davemloft.net>
3084 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
3085 Define before including <string/memcpy.c> and <string/mempcpy.c>.
3087 2014-11-14 Joseph Myers <joseph@codesourcery.com>
3089 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
3090 * configure: Regenerated.
3091 * manual/install.texi (Tools for Compilation): Document a
3092 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
3093 compiler verified to work.
3094 * INSTALL: Regenerated.
3096 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
3097 redeclare with asm name.
3098 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
3099 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
3100 including <string.h>.
3101 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3102 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
3103 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3104 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
3105 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3106 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
3107 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3109 2014-11-13 Joseph Myers <joseph@codesourcery.com>
3111 * stdlib/strtol.c (__strtol): Use prototype definition.
3114 * stdlib/strtol.c (SYM__): New macro.
3116 (__strtol): Likewise.
3117 (strtol): Rename to __strtol and define as weak alias of
3118 __strtol. Use libc_hidden_weak.
3120 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3122 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
3123 Use numbered labels in inline assembly.
3125 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3127 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
3128 Add setjmp LIBC_PROBE.
3129 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
3131 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
3132 Add longjmp, longjmp_target LIBC_PROBE.
3133 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
3136 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3138 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
3139 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
3140 to get rid of unused variable warning.
3142 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3144 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
3145 Check for unwind_backtrace == NULL only in SHARED case.
3146 (__backchain_backtrace): Compile only in SHARED case.
3147 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
3149 (__backchain_backtrace): Declare as static.
3151 2014-11-12 Roland McGrath <roland@hack.frob.com>
3153 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
3154 (__libc_multiple_threads_ptr): Variable moved ...
3155 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
3157 2014-11-12 Joseph Myers <joseph@codesourcery.com>
3159 * conform/GlibcConform.pm: New file.
3160 * conform/conformtest.pl: Use GlibcConform module.
3161 * conform/linknamespace.pl: New file.
3162 * conform/list-header-symbols.pl: Likewise.
3163 * conform/Makefile (linknamespace-symlists-base): New variable.
3164 (linknamespace-symlists-tests): Likewise.
3165 (linknamespace-header-base): Likewise.
3166 (linknamespace-header-tests): Likewise.
3167 (tests-special): Add new tests.
3168 ($(linknamespace-symlists-tests)): New rule.
3169 (linknamespace-libs): New variable.
3170 ($(objpfx)symlist-stdlibs): New rule.
3171 ($(linknamespace-header-tests)): Likewise.
3172 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
3173 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
3174 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
3175 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
3176 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
3177 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
3178 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
3179 (test-xfail-ISO/math.h/linknamespace): Likewise.
3180 (test-xfail-ISO/signal.h/linknamespace): Likewise.
3181 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
3182 (test-xfail-ISO/time.h/linknamespace): Likewise.
3183 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
3184 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
3185 (test-xfail-ISO99/math.h/linknamespace): Likewise.
3186 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
3187 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
3188 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
3189 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
3190 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
3191 (test-xfail-ISO11/math.h/linknamespace): Likewise.
3192 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
3193 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
3194 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
3195 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
3196 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
3197 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
3198 (test-xfail-XPG3/math.h/linknamespace): Likewise.
3199 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
3200 (test-xfail-XPG3/search.h/linknamespace): Likewise.
3201 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
3202 (test-xfail-XPG3/time.h/linknamespace): Likewise.
3203 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
3204 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
3205 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
3206 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
3207 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
3208 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
3209 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
3210 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
3211 (test-xfail-XPG4/math.h/linknamespace): Likewise.
3212 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
3213 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
3214 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
3215 (test-xfail-XPG4/search.h/linknamespace): Likewise.
3216 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
3217 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
3218 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
3219 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
3220 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
3221 (test-xfail-XPG4/time.h/linknamespace): Likewise.
3222 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
3223 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
3224 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
3225 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
3226 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
3227 (test-xfail-POSIX/math.h/linknamespace): Likewise.
3228 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
3229 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
3230 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
3231 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
3232 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
3233 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
3234 (test-xfail-POSIX/time.h/linknamespace): Likewise.
3235 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
3236 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
3237 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
3238 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
3239 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
3240 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
3241 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
3242 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
3243 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
3244 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
3245 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
3246 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
3247 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
3248 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
3249 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
3250 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
3251 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
3252 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
3253 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
3254 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
3255 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
3256 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
3257 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
3258 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
3259 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
3260 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
3261 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
3262 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
3263 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
3264 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
3265 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
3266 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
3267 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
3268 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
3269 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
3270 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
3271 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
3272 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
3273 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
3274 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
3275 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
3276 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
3277 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
3278 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
3279 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
3280 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
3281 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
3282 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
3283 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
3284 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
3285 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
3286 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
3287 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
3288 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
3289 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
3290 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
3291 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
3292 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
3293 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
3294 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
3295 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
3296 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
3297 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
3298 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
3299 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
3300 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
3301 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
3302 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
3303 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
3304 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
3305 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
3306 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
3307 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
3308 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
3309 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
3310 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
3311 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
3312 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
3313 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
3314 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
3315 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
3316 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
3317 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
3318 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
3319 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
3320 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
3321 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
3322 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
3323 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
3324 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
3325 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
3326 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
3327 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
3328 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
3329 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
3330 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
3331 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
3332 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
3335 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
3339 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
3340 (memmem): Rename to __memmem and define as weak alias of
3341 __memmem. Use libc_hidden_weak.
3342 (__memmem): Use libc_hidden_def.
3343 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
3344 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
3348 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
3349 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
3350 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
3351 and define as weak alias of __fgets_unlocked. Use
3353 (__fgets_unlocked): Use libc_hidden_def.
3354 * include/stdio.h (__fgets_unlocked): Declare. Use
3356 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
3357 __fgets_unlocked instead of fgets_unlocked.
3358 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
3359 (GET_NPROCS_CONF_PARSER): Likewise.
3360 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
3361 (GET_NPROCS_CONF_PARSER): Likewise.
3364 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
3365 weak alias of __wmemset. Use libc_hidden_weak.
3366 (__wmemset): Use libc_hidden_def.
3367 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
3368 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
3372 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
3373 with asm name __mempcpy.
3374 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
3377 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
3378 and define as weak alias of __rawmemchr.
3379 (__rawmemchr): Do not define as strong alias of rawmemchr.
3382 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
3384 (qsort): Call __qsort_r instead of qsort_r.
3385 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
3386 (__qsort_r): Declare. Call libc_hidden_proto.
3387 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
3389 * nscd/gai.c (__qsort_r): Define to qsort_r.
3390 * posix/tst-rfc3484.c (__qsort_r): Likewise.
3391 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
3392 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
3395 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
3396 define as weak alias of __malloc_info.
3399 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
3400 as weak alias of __rewinddir. Don't use libc_hidden_def.
3401 (__rewinddir): Use libc_hidden_def.
3402 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
3403 as weak alias of __rewinddir. Don't use libc_hidden_def.
3404 (__rewinddir): Use libc_hidden_def.
3405 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
3406 weak alias of __rewinddir. Don't use libc_hidden_def.
3407 (__rewinddir): Use libc_hidden_def.
3408 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
3409 (__rewinddir): Use libc_hidden_proto.
3410 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
3412 (__getcwd): Use __rewinddir instead of rewinddir.
3415 * libio/fileno.c (fileno): Rename to __fileno and define as weak
3416 alias of __fileno. Use libc_hidden_weak.
3417 (__fileno): Use libc_hidden_def.
3418 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
3419 * libio/ftello.c (ftello): Rename to __ftello and define as weak
3421 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
3423 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
3424 (__fread_unlocked): Define as strong alias of _IO_fread. Use
3426 (fread_unlocked): Don't use libc_hidden_ver.
3427 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
3428 and define as weak alias of __fread_unlocked. Don't use
3430 (__fread_unlocked): Use libc_hidden_def.
3431 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
3432 (ftello): Don't use libc_hidden_proto.
3433 (__ftello): Declare. Use libc_hidden_proto.
3434 (fread_unlocked): Don't use libc_hidden_proto.
3435 (__fread_unlocked): Declare. Use libc_hidden_proto.
3436 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
3437 and __ftello instead of fileno, fread_unlocked and ftello.
3439 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3441 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
3443 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
3445 (_dl_start_user): Likewise.
3446 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
3448 2014-11-12 Carlos O'Donell <carlos@redhat.com>
3449 Siddhesh Poyarekar <siddhesh@redhat.com>
3451 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
3452 Move argv and envp down instead of moving argc up.
3453 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
3455 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
3458 * test-skeleton.c (main): Return successful if one of
3459 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
3460 * string/tst-strcoll-overflow.c: Define expected status.
3462 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
3465 * locale/iso-639.def: Define Bhili and Tulu language codes.
3467 2014-11-11 Alan Hayward <alan.hayward@arm.com>
3469 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
3471 2014-11-10 Renlin Li <Renlin.Li@arm.com>
3474 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
3476 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
3478 * configure.ac: Updated check of minimal required version to
3480 * manual/install.texi (Tools for Compilation): Updated version
3482 * configure: Regenerated.
3483 * INSTALL: Likewise.
3485 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
3487 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
3490 2014-11-07 Joseph Myers <joseph@codesourcery.com>
3492 * include/sys/wait.h (__libc_waitpid): Remove declaration.
3493 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
3494 (__waitpid): Don't define as alias. Use libc_hidden_def not
3496 (waitpid): Define as alias of __waitpid.
3497 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
3499 (__waitpid): Don't define as alias. Use libc_hidden_def not
3501 (waitpid): Define as alias of __waitpid.
3502 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
3503 __libc_waitpid alias.
3504 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
3505 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
3507 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
3508 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
3509 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
3511 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
3513 (__waitpid): Don't define as alias. Use libc_hidden_def not
3515 (waitpid): Define as alias of __waitpid.
3517 2014-11-06 Carlos O'Donell <carlos@redhat.com>
3519 * manual/llio.texi: Add comment that write safety has been
3522 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
3523 (localplt-build-dso): Add elf/ld.so.
3524 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
3525 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
3527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
3528 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
3529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
3531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3533 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
3534 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
3535 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
3536 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
3537 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
3538 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
3539 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
3540 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
3541 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
3542 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
3543 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
3545 2014-11-05 Joseph Myers <joseph@codesourcery.com>
3548 * include/libc-symbols.h (INTUSE): Remove macro.
3550 (INTVARDEF): Likewise.
3551 (_INTVARDEF): Likewise.
3552 (INTDEF2): Likewise.
3553 (INTVARDEF2): Likewise.
3554 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
3555 rtld_hidden_def instead of INTVARDEF.
3556 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
3557 (_dl_starting_up_internal): Remove declaration.
3558 (_dl_starting_up): Use rtld_hidden_proto.
3559 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
3561 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
3562 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
3564 * elf/dl-writev.h (_dl_writev): Likewise.
3565 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
3566 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
3567 _dl_starting_up_internal.
3569 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3571 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
3574 2014-11-05 Will Newton <will.newton@linaro.org>
3576 * benchtests/Makefile: (bench-malloc): Add malloc thread
3577 scalability benchmark.
3578 * benchtests/bench-malloc-threads.c: New file.
3580 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
3582 * sysdeps/aarch64/strchrnul.S: New file.
3584 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3586 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
3588 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
3590 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
3592 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
3594 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
3596 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
3599 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
3601 * catgets/test-gencat.c: Use test-skeleton.c.
3602 * catgets/tst-catgets.c: Likewise.
3603 * csu/tst-empty.c: Likewise.
3604 * elf/tst-audit2.c: Likewise.
3605 * elf/tst-global1.c: Likewise.
3606 * elf/tst-pathopt.c: Likewise.
3607 * elf/tst-piemod1.c: Likewise.
3608 * elf/tst-tls10.c: Likewise.
3609 * elf/tst-tls11.c: Likewise.
3610 * elf/tst-tls12.c: Likewise.
3611 * gnulib/tst-gcc.c: Likewise.
3612 * iconvdata/tst-e2big.c: Likewise.
3613 * iconvdata/tst-loading.c: Likewise.
3614 * iconv/tst-iconv1.c: Likewise.
3615 * iconv/tst-iconv2.c: Likewise.
3616 * inet/test-inet6_opt.c: Likewise.
3617 * inet/tst-gethnm.c: Likewise.
3618 * inet/tst-network.c: Likewise.
3619 * inet/tst-ntoa.c: Likewise.
3620 * intl/tst-codeset.c: Likewise.
3621 * intl/tst-gettext2.c: Likewise.
3622 * intl/tst-gettext3.c: Likewise.
3623 * intl/tst-ngettext.c: Likewise.
3624 * intl/tst-translit.c: Likewise.
3625 * io/test-stat.c: Likewise.
3626 * libio/test-fmemopen.c: Likewise.
3627 * libio/tst-freopen.c: Likewise.
3628 * libio/tst-sscanf.c: Likewise.
3629 * libio/tst-ungetwc1.c: Likewise.
3630 * libio/tst-ungetwc2.c: Likewise.
3631 * libio/tst-widetext.c: Likewise.
3632 * localedata/tst-ctype.c: Likewise.
3633 * localedata/tst-digits.c: Likewise.
3634 * localedata/tst-leaks.c: Likewise.
3635 * localedata/tst-mbswcs1.c: Likewise.
3636 * localedata/tst-mbswcs2.c: Likewise.
3637 * localedata/tst-mbswcs3.c: Likewise.
3638 * localedata/tst-mbswcs4.c: Likewise.
3639 * localedata/tst-mbswcs5.c: Likewise.
3640 * localedata/tst-setlocale.c: Likewise.
3641 * localedata/tst-trans.c: Likewise.
3642 * localedata/tst-wctype.c: Likewise.
3643 * localedata/tst-xlocale1.c: Likewise.
3644 * login/tst-grantpt.c: Likewise.
3645 * malloc/tst-calloc.c: Likewise.
3646 * malloc/tst-malloc.c: Likewise.
3647 * malloc/tst-mallocstate.c: Likewise.
3648 * malloc/tst-mcheck.c: Likewise.
3649 * malloc/tst-mtrace.c: Likewise.
3650 * malloc/tst-obstack.c: Likewise.
3651 * math/atest-exp2.c: Likewise.
3652 * math/atest-exp.c: Likewise.
3653 * math/atest-sincos.c: Likewise.
3654 * math/test-matherr.c: Likewise.
3655 * math/test-misc.c: Likewise.
3656 * math/test-powl.c: Likewise.
3657 * math/tst-definitions.c: Likewise.
3658 * misc/tst-dirname.c: Likewise.
3659 * misc/tst-efgcvt.c: Likewise.
3660 * misc/tst-fdset.c: Likewise.
3661 * misc/tst-hsearch.c: Likewise.
3662 * misc/tst-mntent2.c: Likewise.
3663 * nptl/tst-sem7.c: Likewise.
3664 * nptl/tst-sem8.c: Likewise.
3665 * nptl/tst-sem9.c: Likewise.
3666 * nss/test-netdb.c: Likewise.
3667 * posix/tst-fnmatch.c: Likewise.
3668 * posix/tst-getlogin.c: Likewise.
3669 * posix/tst-gnuglob.c: Likewise.
3670 * posix/tst-mmap.c: Likewise.
3671 * pwd/tst-getpw.c: Likewise.
3672 * resolv/tst-inet_ntop.c: Likewise.
3673 * rt/tst-timer.c: Likewise.
3674 * stdio-common/test-fseek.c: Likewise.
3675 * stdio-common/test-popen.c: Likewise.
3676 * stdio-common/test-vfprintf.c: Likewise.
3677 * stdio-common/tst-cookie.c: Likewise.
3678 * stdio-common/tst-fileno.c: Likewise.
3679 * stdio-common/tst-gets.c: Likewise.
3680 * stdio-common/tst-obprintf.c: Likewise.
3681 * stdio-common/tst-perror.c: Likewise.
3682 * stdio-common/tst-sprintf2.c: Likewise.
3683 * stdio-common/tst-sprintf3.c: Likewise.
3684 * stdio-common/tst-sprintf.c: Likewise.
3685 * stdio-common/tst-swprintf.c: Likewise.
3686 * stdio-common/tst-tmpnam.c: Likewise.
3687 * stdio-common/tst-unbputc.c: Likewise.
3688 * stdio-common/tst-wc-printf.c: Likewise.
3689 * stdlib/tst-environ.c: Likewise.
3690 * stdlib/tst-fmtmsg.c: Likewise.
3691 * stdlib/tst-limits.c: Likewise.
3692 * stdlib/tst-rand48-2.c: Likewise.
3693 * stdlib/tst-rand48.c: Likewise.
3694 * stdlib/tst-random2.c: Likewise.
3695 * stdlib/tst-random.c: Likewise.
3696 * stdlib/tst-strtol.c: Likewise.
3697 * stdlib/tst-strtoll.c: Likewise.
3698 * stdlib/tst-tls-atexit.c: Likewise.
3699 * stdlib/tst-xpg-basename.c: Likewise.
3700 * string/test-ffs.c: Likewise.
3701 * string/tst-bswap.c: Likewise.
3702 * string/tst-inlcall.c: Likewise.
3703 * string/tst-strtok.c: Likewise.
3704 * string/tst-strxfrm.c: Likewise.
3705 * sysdeps/x86_64/tst-audit10.c: Likewise.
3706 * sysdeps/x86_64/tst-audit3.c: Likewise.
3707 * sysdeps/x86_64/tst-audit4.c: Likewise.
3708 * sysdeps/x86_64/tst-audit5.c: Likewise.
3709 * time/tst-ftime_l.c: Likewise.
3710 * time/tst-getdate.c: Likewise.
3711 * time/tst-mktime3.c: Likewise.
3712 * time/tst-mktime.c: Likewise.
3713 * time/tst-posixtz.c: Likewise.
3714 * time/tst-strptime2.c: Likewise.
3715 * time/tst-strptime3.c: Likewise.
3716 * wcsmbs/tst-btowc.c: Likewise.
3717 * wcsmbs/tst-mbrtowc.c: Likewise.
3718 * wcsmbs/tst-mbsrtowcs.c: Likewise.
3719 * wcsmbs/tst-wchar-h.c: Likewise.
3720 * wcsmbs/tst-wcpncpy.c: Likewise.
3721 * wcsmbs/tst-wcrtomb.c: Likewise.
3722 * wcsmbs/tst-wcsnlen.c: Likewise.
3723 * wcsmbs/tst-wcstof.c: Likewise.
3725 2014-11-04 Joseph Myers <joseph@codesourcery.com>
3728 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
3730 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
3732 (_dl_mcount): Use rtld_hidden_proto.
3733 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
3735 * elf/rtld.c (_rtld_global_ro): Likewise.
3738 * elf/dl-init.c (_dl_init): Don't use INTDEF.
3739 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
3740 of _dl_init_internal.
3741 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
3742 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
3743 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
3744 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
3745 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
3746 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
3747 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
3748 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
3749 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
3750 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
3751 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
3752 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
3753 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3754 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3755 * sysdeps/tile/dl-start.S (_start): Likewise.
3756 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
3757 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
3760 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
3761 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
3762 (rtld_progname): Make macro definition unconditional.
3763 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
3765 (dlmopen_doit): Do not use INTUSE with _dl_argv.
3766 (dl_main): Likewise.
3767 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
3768 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
3769 instead of _dl_argv_internal.
3770 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3771 __GI__dl_argv instead of INTUSE(_dl_argv).
3772 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
3773 __GI__dl_argv instead of _dl_argv_internal.
3775 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
3776 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
3778 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
3779 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
3781 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
3782 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
3784 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
3785 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
3787 2014-11-04 Andreas Schwab <schwab@suse.de>
3789 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
3791 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3793 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
3794 mtvsrd instruction in binary form.
3796 2014-11-03 Andreas Schwab <schwab@suse.de>
3799 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
3800 for less than MB_LEN_MAX use a local buffer of that size.
3801 * libio/tst-fputws.c: New file.
3802 * libio/Makefile (tests): Add tst-fputws.
3804 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
3806 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
3807 the size of the fpu_fr.fpu_dregs[] array.
3809 2014-11-01 Joseph Myers <joseph@codesourcery.com>
3811 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
3812 (__nanosleep): Do not define as alias.
3813 (nanosleep): Define as alias of __nanosleep.
3814 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
3815 __libc_nanosleep name.
3817 2014-10-31 Joseph Myers <joseph@codesourcery.com>
3819 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
3820 install.texi in comment.
3822 2014-10-31 Torvald Riegel <triegel@redhat.com>
3824 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
3825 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
3826 ... add here and use lwsync or sync ...
3827 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
3828 ... and add here using lwsync.
3830 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
3832 * elf/dl-machine-reject-phdr.h: New file.
3833 * elf/dl-load.c: #include that.
3834 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
3835 if that returned true.
3837 2014-10-31 Roland McGrath <roland@hack.frob.com>
3840 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
3841 gen-as-const-headers chunk. Add a big scare comment after the last
3842 safe place to touch before-compile.
3844 2014-10-31 Joseph Myers <joseph@codesourcery.com>
3846 * manual/install.texi (Tools for Compilation): Update autoconf
3847 version requirements.
3848 * INSTALL: Regenerated.
3850 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
3851 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
3852 (__libc_pselect): Likewise.
3855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
3856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3860 2014-10-31 Torvald Riegel <triegel@redhat.com>
3862 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
3863 correct barrier instruction.
3864 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
3866 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
3869 2014-10-30 Roland McGrath <roland@hack.frob.com>
3871 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
3872 after defining inlines. Instead, just use parens to defeat macro
3873 expansion of __isctype in its declaration.
3875 2014-10-30 Joseph Myers <joseph@codesourcery.com>
3877 * include/sys/uio.h (__libc_readv): Remove declaration.
3878 (__libc_writev): Likewise.
3879 * misc/readv.c (__libc_readv): Rename to __readv.
3880 (__readv): Do not define as alias.
3881 (readv): Define as alias of __readv.
3882 * misc/writev.c (__libc_writev): Rename to __writev.
3883 (__writev): Do not define as alias.
3884 (writev): Define as alias of __writev.
3885 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
3886 (__readv): Do not define as alias.
3887 (readv): Define unconditionally as alias of __readv.
3888 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
3889 (__writev): Do not define as alias.
3890 (writev): Define unconditionally as alias of __writev.
3891 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
3893 (writev): Do not define __libc_writev name.
3895 2014-10-30 Roland McGrath <roland@hack.frob.com>
3897 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
3898 (convert_charseq): New function, broken out of ...
3899 (use_from_charmap): ... here. Call it.
3900 (use_to_charmap): Use convert_charseq and free instead of duplicating
3901 its code with a variable-length stack struct.
3903 2014-10-30 Joseph Myers <joseph@codesourcery.com>
3905 * include/fcntl.h (__libc_creat): Remove declaration.
3906 * io/creat.c (__libc_creat): Rename to creat.
3907 (creat): Do not define as alias.
3908 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
3909 of creat instead of __libc_creat.
3910 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
3912 (creat): Do not define as alias.
3913 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
3915 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
3917 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
3920 2014-10-29 Carlos O'Donell <carlos@redhat.com>
3922 * manual/llio.texi: Add comments discussing why write() may be
3923 considered MT-unsafe on Linux.
3925 2014-10-28 Carlos O'Donell <carlos@redhat.com>
3927 * dl-load.c (local_strdup): Remove.
3928 (expand_dynamic_string_token): Use __strdup.
3929 (decompose_rpath): Likewise.
3930 (_dl_map_object): Likewise.
3932 2014-10-28 Joseph Myers <joseph@codesourcery.com>
3935 * sysdeps/generic/unwind-dw2-fde.c
3936 (__register_frame_info_bases_internal): Do not declare.
3937 (__register_frame_info_table_bases_internal): Likewise.
3938 (__deregister_frame_info_bases_internal): Likewise.
3939 (__register_frame_info_bases): Declare and use hidden_proto before
3940 definition. Use hidden_def instead of INTDEF.
3941 (__register_frame_info_table_bases): Likewise.
3942 (__deregister_frame_info_bases): Likewise.
3943 (__register_frame_info): Do not use INTUSE.
3944 (__register_frame): Likewise.
3945 (__register_frame_info_table): Likewise.
3946 (__register_frame_table): Likewise.
3947 (__deregister_frame_info): Likewise.
3948 (__deregister_frame): Likewise.
3950 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
3952 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3953 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
3955 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
3957 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
3960 2014-10-27 Joseph Myers <joseph@codesourcery.com>
3963 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
3964 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
3965 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
3966 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
3967 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
3968 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
3969 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
3970 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
3971 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
3972 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
3973 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
3974 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
3975 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
3977 (setfsuid): Likewise.
3978 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
3979 (setfsuid): Likewise.
3980 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
3981 (setfsuid): Likewise.
3982 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
3984 (setfsuid): Likewise.
3985 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
3986 (setfsuid): Likewise.
3987 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
3989 (setfsuid): Likewise.
3991 2014-10-27 Andreas Schwab <schwab@suse.de>
3994 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
3995 check for Slow_SSE4_2 feature bit.
3996 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
3997 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
3998 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
3999 Likewise. Fix check for Fast_Unaligned_Load feature bit.
4001 2014-10-24 Roland McGrath <roland@hack.frob.com>
4003 * configure.ac: Validate compiler version with a empirical test of
4004 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
4006 * configure: Regenerated.
4008 * inet/htons.c (htons): Prototypify.
4009 * inet/htonl.c (htonl): Likewise.
4011 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4013 * string/strncat.c (strncat): Improve performance by using strlen.
4015 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4017 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
4019 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4021 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
4022 Call libc_fetestexcept_aarch64.
4024 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4026 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
4027 Call libc_feholdexcept_aarch64.
4029 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4031 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
4032 Call get_rounding_mode.
4034 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4036 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
4039 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4041 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
4044 2014-10-24 Joseph Myers <joseph@codesourcery.com>
4047 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
4048 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
4049 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
4050 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
4051 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
4052 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
4053 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
4054 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
4055 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
4056 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
4057 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
4058 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
4059 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
4060 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
4061 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
4062 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
4063 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
4064 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
4065 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
4066 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
4067 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
4068 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
4069 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
4070 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
4071 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
4072 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
4073 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
4074 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
4075 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
4076 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
4077 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
4078 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
4079 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
4080 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
4081 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
4082 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
4083 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
4084 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
4085 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
4086 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
4087 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
4089 (geteuid): Likewise.
4092 (getresgid): Likewise.
4093 (getresuid): Likewise.
4094 (getgroups): Likewise.
4095 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
4096 (geteuid): Likewise.
4099 (getresgid): Likewise.
4100 (getresuid): Likewise.
4101 (getgroups): Likewise.
4102 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
4103 (geteuid): Likewise.
4106 (getresgid): Likewise.
4107 (getresuid): Likewise.
4108 (getgroups): Likewise.
4109 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
4111 (geteuid): Likewise.
4114 (getresgid): Likewise.
4115 (getresuid): Likewise.
4116 (getgroups): Likewise.
4117 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
4118 (geteuid): Likewise.
4121 (getresgid): Likewise.
4122 (getresuid): Likewise.
4123 (getgroups): Likewise.
4124 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
4126 (geteuid): Likewise.
4129 (getgroups): Likewise.
4132 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
4133 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
4134 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
4135 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
4136 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
4137 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
4138 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
4139 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
4140 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
4141 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
4142 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
4143 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
4144 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
4146 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
4149 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
4153 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
4156 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
4161 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4163 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
4166 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4168 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
4171 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4173 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
4174 Remove unused include.
4176 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4178 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
4179 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
4180 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
4181 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
4183 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
4184 Helge Deller <deller@gmx.de>
4187 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
4188 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
4189 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
4191 2014-10-23 Joseph Myers <joseph@codesourcery.com>
4194 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
4195 Remove macro definition.
4196 (__ashrdi3_v_glibc20): Likewise.
4197 (__lshrdi3_v_glibc20): Likewise.
4198 (__cmpdi2_v_glibc20): Likewise.
4199 (__ucmpdi2_v_glibc20): Likewise.
4200 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
4201 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
4202 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
4203 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
4204 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
4205 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
4207 2014-10-22 Roland McGrath <roland@hack.frob.com>
4209 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
4210 old GNU extension [0] syntax.
4211 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
4212 alloca rather than an array member with variable length.
4213 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
4214 * nscd/nscd.c (invalidate_db): New function, broken out of ...
4215 (parse_opt): ... here. Likewise use alloca there.
4216 Validate the -i argument before checking for rootness.
4217 (send_shutdown): New function, broken out of ...
4218 (parse_opt): ... here.
4220 2014-10-22 Roland McGrath <roland@hack.frob.com>
4222 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
4223 macro to get at the _rt_local_ro field.
4224 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
4225 ([PIC] case) or _dl_hwcap ([!PIC] case).
4226 * sysdeps/arm/setjmp.S: Likewise.
4228 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
4229 * sysdeps/arm/configure.ac: New check to define it.
4230 * sysdeps/arm/configure: Regenerated.
4231 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
4232 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
4233 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
4234 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
4235 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
4236 Use move/movt pair instead of a load.
4237 (LDST_GLOBAL): Macro removed.
4238 (LDR_GLOBAL): New macro replaces it.
4239 (LDR_HIDDEN): New macro.
4240 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
4241 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
4243 * setjmp/tst-setjmp-static.c: New file.
4244 * setjmp/Makefile (tests): Add it.
4245 (tests-static): New variable.
4247 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
4250 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
4252 2014-10-21 Joseph Myers <joseph@codesourcery.com>
4255 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
4257 2014-10-21 Roland McGrath <roland@hack.frob.com>
4259 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
4261 2014-10-20 Roland McGrath <roland@hack.frob.com>
4263 * io/fts.c (dirent_not_directory): New function.
4264 (fts_build): Call it.
4266 2014-10-20 Roland McGrath <roland@hack.frob.com>
4268 * nptl/version.c (__nptl_main): Use normal __write rather than
4270 (banner): Update copyright years.
4272 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
4274 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
4275 * nptl/pthread_cond_timedwait.c: Likewise.
4276 * nptl/pthread_mutex_timedlock.c: Likewise.
4277 * nptl/sem_timedwait.c: Likewise.
4279 * sysdeps/nptl/bits/libc-lock.h
4280 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
4281 (__libc_lock_init_recursive): Return void, not 0.
4282 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
4283 (__libc_rwlock_init): Likewise.
4284 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
4286 2014-10-20 Torvald Riegel <triegel@redhat.com>
4289 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
4290 (__pthread_once_slow): ... here.
4291 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
4292 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
4294 2014-10-20 Torvald Riegel <triegel@redhat.com>
4297 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
4298 __PTHREAD_ONCE_FORK_GEN_INCR): New.
4299 * sysdeps/nptl/fork.c (__libc_fork): Use them.
4300 * nptl/pthread_once.c (__pthread_once): Likewise.
4303 2014-10-20 Joseph Myers <joseph@codesourcery.com>
4306 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
4308 (writev): Use __libc_writev as strong name.
4309 * sysdeps/unix/sysv/linux/readv.c: Remove file.
4310 * sysdeps/unix/sysv/linux/writev.c: Likewise.
4312 2014-10-17 Roland McGrath <roland@hack.frob.com>
4314 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
4316 * sysdeps/i386/nptl/tls.h
4317 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
4318 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
4320 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
4321 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
4322 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
4323 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
4324 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
4325 Call CHECK_THREAD_SYSINFO instead of doing an assert.
4327 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
4328 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
4330 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
4332 (__pthread_mutex_init): ... here. Call it.
4333 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
4334 Conditionalize PI cases on [__NR_futex].
4335 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
4336 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
4337 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4339 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
4340 conditional on [SIGSETXID].
4341 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
4342 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
4343 is defined. Likewise for SIGSETXID.
4344 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
4345 Conditionalize definitions on [SIGSETXID].
4346 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
4347 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
4348 unblocking on [SIGCANCEL].
4350 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
4351 [__NR_set_robust_list].
4353 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4355 * string/strcoll_l.c (get_next_seq): Fix up formatting.
4356 (do_compare): Likewise.
4358 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
4361 * string/strcoll_l.c: Don't include stdio.h.
4362 (coll_seq): Remove members idxarr and rulearr.
4363 (get_next_seq_cached): Remove function.
4364 (get_next_seq): Likewise.
4365 (get_next_seq_nocache): Rename to get_next_seq.
4366 (do_compare): Remove function.
4367 (do_compare_nocache): Rename to do_compare.
4368 (STRCOLL): Remove weight and rules cache.
4370 2014-10-16 Roland McGrath <roland@hack.frob.com>
4372 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
4373 * sysdeps/arm/sfp-machine.h: ... to here.
4374 * sysdeps/arm/Implies: Remove arm/soft-fp.
4376 2014-10-14 Joseph Myers <joseph@codesourcery.com>
4378 * conform/data/sys/utsname.h-data (*_t): Allow.
4379 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
4380 [POSIX] (WEXITED): Do not expect constant.
4381 [POSIX] (WSTOPPED): Likewise.
4382 [POSIX] (WNOHANG): Likewise.
4383 [POSIX] (WNOWAIT): Likewise.
4384 [POSIX] (siginfo_t): Do not expect type or elements.
4385 [POSIX] (pid_t): Do not expect type.
4386 [POSIX] (signal.h): Do not allow header.
4387 [POSIX] (sys/resource.h): Likewise.
4388 [POSIX] (si_*): Do not allow pattern.
4389 [POSIX] (W*): Likewise.
4390 [POSIX] (P_*): Likewise.
4391 [POSIX] (BUS_*): Likewise.
4392 [POSIX] (CLD_*): Likewise.
4393 [POSIX] (FPE_*): Likewise.
4394 [POSIX] (ILL_*): Likewise.
4395 [POSIX] (POLL_*): Likewise.
4396 [POSIX] (SEGV_*): Likewise.
4397 [POSIX] (SI_*): Likewise.
4398 [POSIX] (TRAP_*): Likewise.
4399 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
4402 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
4405 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
4406 infinite loop when __recvmsg returns 0.
4408 2014-10-10 Joseph Myers <joseph@codesourcery.com>
4410 * CANCEL-FCT-WAIVE: Remove file.
4411 * CANCEL-FILE-WAIVE: Likewise.
4414 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
4415 instead of INTVARDEF.
4416 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
4417 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
4418 rtld_hidden_data_def instead of INTVARDEF.
4419 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
4420 * elf/dl-deps.c (expand_dst): Likewise.
4421 * elf/dl-load.c (_dl_dst_count): Likewise.
4422 (_dl_dst_substitute): Likewise.
4423 (decompose_rpath): Likewise.
4424 (_dl_init_paths): Likewise.
4425 (open_path): Likewise.
4426 (_dl_map_object): Likewise.
4427 * elf/rtld.c (dl_main): Likewise.
4428 (process_dl_audit): Likewise.
4429 (process_envvars): Likewise.
4430 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
4432 (__libc_enable_secure): Use rtld_hidden_proto.
4434 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4437 (add_path): New function broken out of _dl_rtld_di_serinfo.
4438 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
4440 2014-10-09 Joseph Myers <joseph@codesourcery.com>
4442 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
4443 parentheses around macro arguments.
4444 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
4445 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
4446 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
4447 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
4448 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
4449 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
4450 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
4451 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
4452 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
4453 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
4454 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
4455 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
4456 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
4457 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
4458 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
4459 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
4460 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
4461 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
4462 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
4463 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
4464 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
4465 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
4466 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
4467 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
4468 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
4469 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
4470 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
4471 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
4472 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
4473 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
4474 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
4475 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
4476 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
4477 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
4478 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
4479 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
4481 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
4482 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
4483 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
4484 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
4485 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
4486 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
4487 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
4488 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
4489 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
4490 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
4491 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
4492 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
4493 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
4494 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
4495 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
4496 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
4497 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
4498 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
4499 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
4500 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
4501 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
4502 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
4503 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
4504 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
4505 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
4506 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
4507 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
4508 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
4509 (_FP_FRAC_SRS_1): Likewise.
4510 (_FP_FRAC_CLZ_1): Likewise.
4511 (_FP_MUL_MEAT_1_imm): Likewise.
4512 (_FP_MUL_MEAT_1_wide): Likewise.
4513 (_FP_MUL_MEAT_1_hard): Likewise.
4514 (_FP_SQRT_MEAT_1): Likewise.
4515 (_FP_FRAC_ASSEMBLE_1): Likewise.
4516 (_FP_FRAC_DISASSEMBLE_1): Likewise.
4517 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
4518 (__FP_CLZ_2): Likewise.
4519 (_FP_MUL_MEAT_2_wide): Likewise.
4520 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
4521 (_FP_MUL_MEAT_2_gmp): Likewise.
4522 (_FP_MUL_MEAT_2_120_240_double): Likewise.
4523 (_FP_SQRT_MEAT_2): Likewise.
4524 (_FP_FRAC_ASSEMBLE_2): Likewise.
4525 (_FP_FRAC_DISASSEMBLE_2): Likewise.
4526 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
4527 (_FP_FRAC_CLZ_4): Likewise.
4528 (_FP_MUL_MEAT_4_wide): Likewise.
4529 (_FP_MUL_MEAT_4_gmp): Likewise.
4530 (_FP_SQRT_MEAT_4): Likewise.
4531 (_FP_FRAC_ASSEMBLE_4): Likewise.
4532 (_FP_FRAC_DISASSEMBLE_4): Likewise.
4533 * soft-fp/op-common.h (_FP_CMP): Likewise.
4534 (_FP_CMP_EQ): Likewise.
4535 (_FP_CMP_UNORD): Likewise.
4536 (_FP_TO_INT): Likewise.
4537 (_FP_FROM_INT): Likewise.
4538 [!__FP_CLZ] (__FP_CLZ): Likewise.
4539 (_FP_DIV_HELP_imm): Likewise.
4540 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
4542 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
4543 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
4544 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
4545 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
4546 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
4547 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
4548 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
4549 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
4550 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
4551 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
4552 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
4553 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
4554 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
4555 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
4556 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
4557 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
4558 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
4559 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
4560 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
4561 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
4562 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
4563 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
4564 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
4565 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
4566 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
4567 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
4568 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
4569 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
4570 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
4571 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
4572 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
4573 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
4574 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
4575 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
4576 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
4577 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
4578 (FP_UNPACK_RAW_SP): Likewise.
4579 (FP_PACK_RAW_S): Likewise.
4580 (FP_PACK_RAW_SP): Likewise.
4581 (FP_UNPACK_S): Likewise.
4582 (FP_UNPACK_SP): Likewise.
4583 (FP_UNPACK_SEMIRAW_S): Likewise.
4584 (FP_UNPACK_SEMIRAW_SP): Likewise.
4585 (FP_PACK_S): Likewise.
4586 (FP_PACK_SP): Likewise.
4587 (FP_PACK_SEMIRAW_S): Likewise.
4588 (FP_PACK_SEMIRAW_SP): Likewise.
4589 (_FP_SQRT_MEAT_S): Likewise.
4590 (FP_CMP_S): Likewise.
4591 (FP_CMP_EQ_S): Likewise.
4592 (FP_CMP_UNORD_S): Likewise.
4593 (FP_TO_INT_S): Likewise.
4594 (FP_FROM_INT_S): Likewise.
4596 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
4598 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
4599 (FP_EX_INVALID_IMZ): Likewise.
4600 (FP_EX_INVALID_IMZ_FMA): Likewise.
4601 (FP_EX_INVALID_ISI): Likewise.
4602 (FP_EX_INVALID_ZDZ): Likewise.
4603 (FP_EX_INVALID_IDI): Likewise.
4604 (FP_EX_INVALID_SQRT): Likewise.
4605 (FP_EX_INVALID_CVI): Likewise.
4606 (FP_EX_INVALID_VC): Likewise.
4607 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
4608 "invalid" exceptions.
4609 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
4610 (_FP_ADD_INTERNAL): Likewise.
4611 (_FP_MUL): Likewise.
4612 (_FP_FMA): Likewise.
4613 (_FP_DIV): Likewise.
4614 (_FP_CMP_CHECK_NAN): Likewise.
4615 (_FP_SQRT): Likewise.
4616 (_FP_TO_INT): Likewise.
4617 (FP_EXTEND): Likewise.
4619 2014-10-09 Allan McRae <allan@archlinux.org>
4621 * po/fr.po: Update French translation from translation project.
4623 2014-10-09 Joseph Myers <joseph@codesourcery.com>
4626 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
4628 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
4629 (__cxa_atexit): Use libc_hidden_proto.
4630 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
4633 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
4635 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
4636 [!_ISOMAC] (__iswspace_l_internal): Likewise.
4637 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
4638 [!_ISOMAC] (__iswctype_internal): Likewise.
4639 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
4640 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
4642 (fcntl): Remove __fcntl_internal alias.
4643 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
4644 __connect_internal alias.
4645 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
4648 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
4649 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
4651 (_FP_CHECK_FLUSH_ZERO): New macro.
4652 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
4653 (_FP_CMP): Likewise.
4654 (_FP_CMP_EQ): Likewise.
4655 (_FP_TO_INT): Do not set inexact for subnormal arguments if
4657 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
4658 (FP_TRUNC): Likewise.
4660 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
4661 treated as invalid conversion, not as normal exponent.
4663 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
4664 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
4665 (_FP_CMP_EQ): Likewise.
4666 (_FP_CMP_UNORD): Likewise.
4667 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
4668 (FP_CMP_EQ_D): Likewise.
4669 (FP_CMP_UNORD_D): Likewise.
4670 * soft-fp/extended.h (FP_CMP_E): Likewise.
4671 (FP_CMP_EQ_E): Likewise.
4672 (FP_CMP_UNORD_E): Likewise.
4673 * soft-fp/quad.h (FP_CMP_Q): Likewise.
4674 (FP_CMP_EQ_Q): Likewise.
4675 (FP_CMP_UNORD_Q): Likewise.
4676 * soft-fp/single.h (FP_CMP_S): Likewise.
4677 (FP_CMP_EQ_S): Likewise.
4678 (FP_CMP_UNORD_S): Likewise.
4679 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
4680 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
4681 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
4682 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
4683 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
4684 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
4685 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
4686 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
4687 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
4688 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
4689 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
4690 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
4691 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
4693 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
4695 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
4696 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
4698 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
4700 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
4701 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
4702 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
4703 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
4705 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
4707 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
4708 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
4710 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
4712 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
4713 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
4714 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
4715 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
4718 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
4719 a subnormal result, set the underflow exception if trapping on
4720 underflow is enabled.
4721 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
4722 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
4723 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
4725 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
4726 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
4727 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
4728 * soft-fp/extendxftf2.c (__extendxftf2): Use
4729 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
4731 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
4732 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
4733 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4734 FP_HANDLE_EXCEPTIONS.
4735 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
4736 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4737 FP_HANDLE_EXCEPTIONS.
4738 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
4739 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4740 FP_HANDLE_EXCEPTIONS.
4741 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
4742 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4743 FP_HANDLE_EXCEPTIONS.
4745 2014-10-08 Joseph Myers <joseph@codesourcery.com>
4748 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
4749 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
4751 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
4752 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
4754 (__adjtimex): Define using libc_hidden_ver.
4755 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
4757 (ntp_gettime): Call __adjtimex directly.
4758 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
4760 (ntp_gettimex): Call __adjtimex directly.
4761 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
4762 __adjtimex_internal alias.
4764 2014-10-08 Roland McGrath <roland@hack.frob.com>
4767 * nscd/nscd.c (more_help): Rewrite list of tables collection
4768 using xstrdup and asprintf.
4770 * nscd/nscd_conf.c: Remove local xstrdup declaration.
4772 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4773 Roland McGrath <roland@hack.frob.com>
4775 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
4776 (do_lookup_unique): ... local function 'enter' here; update callers.
4778 2014-10-06 Joseph Myers <joseph@codesourcery.com>
4780 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
4781 compat_symbol calls on [SHARED].
4782 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
4783 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
4785 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4786 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
4787 (oldsetrlimit): Remove.
4788 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
4790 (lchown): New syscall entry.
4791 (oldsetrlimit): Remove.
4792 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4793 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
4794 (oldsetrlimit): Remove.
4795 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4798 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
4799 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
4800 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
4801 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
4802 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
4803 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
4805 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
4807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
4810 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4812 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
4813 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
4814 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
4815 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
4816 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
4818 (__old_sem_post): Likewise.
4820 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
4822 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
4823 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
4824 HAVE_CLOCK_GETTIME_VSYSCALL macros.
4825 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
4826 Use INLINE_VSYSCALL macro.
4827 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
4828 __vdso_clock_gettime.
4829 * sysdeps/unix/sysv/linux/tile/init-first.c
4830 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
4831 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
4832 __vdso_clock_gettime.
4834 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
4835 to set up frame more cleanly.
4837 * sysdeps/tile/memcmp.c: New file.
4839 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
4841 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
4842 * sysdeps/tile/tilegx/strcasestr.c: New file.
4843 * sysdeps/tile/tilegx/strnlen.c: New file.
4844 * sysdeps/tile/tilegx/strstr.c: New file.
4846 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
4848 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
4850 * nptl/tst-setuid3.c: Write errors to stdout.
4852 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4855 (preload): New functions broken out of _dl_map_object_deps.
4856 (_dl_map_object_deps): Remove a nested function. Update call sites.
4858 2014-10-01 Joseph Myers <joseph@codesourcery.com>
4861 * sysdeps/unix/sysv/linux/execve.c: Remove file.
4862 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
4864 2014-10-01 Steve Ellcey <sellcey@mips.com>
4866 * sysdeps/mips/strcmp.S: New.
4868 2014-09-30 Joseph Myers <joseph@codesourcery.com>
4871 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
4873 (mkdirat): Likewise.
4874 (readlinkat): Likewise.
4875 (renameat): Likewise.
4876 (symlinkat): Likewise.
4877 (unlinkat): Likewise.
4878 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
4879 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
4880 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
4881 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
4882 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
4883 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
4884 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
4886 2014-09-30 Will Newton <will.newton@linaro.org>
4888 * math/math.h: Define long double math functions if
4889 _LIBC_TEST is defined.
4890 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
4892 * localedata/Makefile: Move assignment to tests-special
4893 into an ifdef testing run-built-tests.
4894 * timezone/Makefile: Likewise.
4896 2014-09-29 Joseph Myers <joseph@codesourcery.com>
4898 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
4899 with $(BASH) not $(SHELL).
4901 2014-09-29 Carlos O'Donell <carlos@redhat.com>
4902 Matthew LeGendre <legendre1@llnl.gov>
4905 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
4908 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4910 * stdio-common/printf_fp.c
4911 (hack_digit): New function, broken out of ...
4912 (__printf_fp): ... local function here. Update call sites.
4913 hack_digit now takes an additional parameter that is a pointer
4914 to a struct of the referenced locals. Those locals moved inside
4915 the struct and references updated.
4917 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
4919 * aclocal.m4: Require autoconf 2.69.
4920 * configure: Regenerated.
4921 * sysdeps/aarch64/configure: Likewise.
4922 * sysdeps/alpha/configure: Likewise.
4923 * sysdeps/arm/armv7/configure: Likewise.
4924 * sysdeps/arm/configure: Likewise.
4925 * sysdeps/ia64/configure: Likewise.
4926 * sysdeps/mach/configure: Likewise.
4927 * sysdeps/mips/configure: Likewise.
4928 * sysdeps/s390/configure: Likewise.
4929 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
4930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
4932 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
4934 * sysdeps/ia64/configure.ac: Likewise.
4936 2014-09-26 Joseph Myers <joseph@codesourcery.com>
4938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
4939 specify symbol version for ld.so. Do not include entry for
4941 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4942 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
4943 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4946 * Makeconfig [$(build-shared) = yes]
4947 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
4949 [$(build-shared) = yes && $(soversions.mk-done) = t]
4950 ($(common-objpfx)gnu/lib-names.h): Remove rule.
4951 [$(build-shared) = yes && $(soversions.mk-done) = t]
4952 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
4954 [$(build-shared) = yes && $(soversions.mk-done) = t]
4955 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
4957 [$(build-shared) = yes && $(soversions.mk-done) = t]
4958 (common-generated): Don't append gnu/lib-names.h and
4959 gnu/lib-names.stmp here.
4960 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
4961 (lib-names-h-abi): New variable.
4962 [$(build-shared) = yes && $(soversions.mk-done) = t]
4963 (lib-names-stmp-abi): Likewise.
4964 [$(build-shared) = yes && $(soversions.mk-done) = t &&
4965 abi-variants] (before-compile): Append
4966 $(common-objpfx)$(lib-names-h-abi).
4967 [$(build-shared) = yes && $(soversions.mk-done) = t &&
4968 abi-variants] (common-generated): Append gnu/lib-names.h.
4969 [$(build-shared) = yes && $(soversions.mk-done) = t &&
4970 abi-variants] (install-others-nosubdir): Depend on
4971 $(inst_includedir)/$(lib-names-h-abi).
4972 [$(build-shared) = yes && $(soversions.mk-done) = t &&
4973 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
4974 [$(build-shared) = yes && $(soversions.mk-done) = t]
4975 ($(common-objpfx)$(lib-names-h-abi)): New rule.
4976 [$(build-shared) = yes && $(soversions.mk-done) = t]
4977 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
4978 [$(build-shared) = yes && $(soversions.mk-done) = t]
4979 (common-generated): Append $(lib-names-h-abi) and
4980 $(lib-names-stmp-abi).
4981 * scripts/lib-names.awk: Do not handle multi being set.
4982 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
4984 (abi-lp64_be-ld-soname): Likewise.
4985 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
4987 (abi-hard-ld-soname): Likewise.
4988 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
4989 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
4991 (abi-o32_hard-ld-soname): Likewise.
4992 (abi-o32_soft_2008-ld-soname): Likewise.
4993 (abi-o32_hard_2008-ld-soname): Likewise.
4994 (abi-n32_soft-ld-soname): Likewise.
4995 (abi-n32_hard-ld-soname): Likewise.
4996 (abi-n32_soft_2008-ld-soname): Likewise.
4997 (abi-n32_hard_2008-ld-soname): Likewise.
4998 (abi-n64_soft-ld-soname): Likewise.
4999 (abi-n64_hard-ld-soname): Likewise.
5000 (abi-n64_soft_2008-ld-soname): Likewise.
5001 (abi-n64_hard_2008-ld-soname): Likewise.
5002 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
5004 (abi-64-v2-ld-soname): Likewise.
5005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
5007 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
5009 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
5011 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
5013 (abi-64-ld-soname): Likewise.
5014 (abi-x32-ld-soname): Likewise.
5015 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
5017 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5019 2014-09-23 Joseph Myers <joseph@codesourcery.com>
5022 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
5023 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
5024 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
5025 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
5026 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
5027 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
5028 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
5029 syscall entry for GLIBC_2.2 symbol version.
5030 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
5032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
5033 (setrlimit): Likewise.
5034 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
5037 2014-09-23 Will Newton <will.newton@linaro.org>
5039 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
5040 _LINUX_ARM_SYSDEP_H include guard too.
5041 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
5044 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
5046 * sysdeps/unix/sysv/linux/eventfd.c:
5047 Make first argument unsigned.
5048 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
5049 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
5051 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
5053 * socket/recvmmsg.c (recvmmsg): Drop const argument.
5054 * socket/sys/socket.h: Likewise
5055 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
5057 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5059 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
5061 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
5063 * time/tst-ftime.c: New test.
5064 * time/Makefile (tests): Add tst-ftime.
5066 2014-09-17 Joseph Myers <joseph@codesourcery.com>
5068 * soft-fp/extended.h: Fix comment formatting.
5069 * soft-fp/op-1.h: Likewise.
5070 * soft-fp/op-2.h: Likewise.
5071 * soft-fp/op-4.h: Likewise.
5072 * soft-fp/op-8.h: Likewise.
5073 * soft-fp/op-common.h: Likewise.
5074 * soft-fp/soft-fp.h: Likewise.
5076 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
5078 2014-09-16 Joseph Myers <joseph@codesourcery.com>
5081 * Makeconfig (soversions-default-setname): Remove variable.
5082 ($(common-objpfx)soversions.i): Don't pass default_setname to
5084 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
5085 oldest_abi to abi-versions.awk.
5086 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
5087 * config.make.in (oldest-abi): Remove variable.
5088 * configure.ac (--enable-oldest-abi): Remove configure option.
5089 * configure: Regenerated.
5090 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
5092 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
5093 * scripts/soversions.awk: Do not handle default_setname variable.
5094 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
5096 * sysdeps/mach/hurd/configure: Regenerated.
5097 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
5099 * sysdeps/unix/sysv/linux/configure: Regenerated.
5101 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5103 * elf/Makefile (CFLAGS-interp.c): Remove.
5104 ($(elf-objpfx)runtime-linker.h): Generate header with linker
5106 * elf/interp.c: Include generated runtime-linker.h
5108 * Makerules (lib%.so): Don't include $(+interp) in
5110 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
5111 * dlfcn/eval.c: Remove file.
5113 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
5117 * misc/sys/cdefs.h: Define __extern_always_inline for clang
5121 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
5123 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5124 Jakub Jelinek <jakub@redhat.com>
5127 * libio/stdio.h: Check definition of __fortify_function
5128 instead of __extern_always_inline to include bits/stdio2.h.
5129 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
5130 check if __extern_always_inline is defined.
5131 [__USE_MISC || __USE_XOPEN]: Likewise.
5132 [__USE_ISOC99] Likewise.
5133 * misc/sys/cdefs.h (__fortify_function): Define only if
5134 __extern_always_inline is defined.
5135 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
5136 __extern_always_inline and __extern_inline only for g++-4.3
5137 and newer or a compatible gcc.
5139 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
5142 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
5143 last change to handle zero prefix length.
5145 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5147 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
5150 * posix/getconf.c (vars): Add _POSIX_IPV6 and
5153 2014-09-13 Allan McRae <allan@archlinux.org>
5155 * po/ru.po: Update Russian translation from translation project.
5157 2014-09-12 Roland McGrath <roland@hack.frob.com>
5159 * locale/programs/locale.c (show_locale_vars): Inline local function
5160 into its sole call site. Clean up some style nits.
5161 (print_item): New function, broken out of ...
5162 (show_info): ... local function here. Clean up style nits.
5164 * locale/programs/ld-ctype.c (set_one_default): New function, broken
5166 (set_class_defaults): ... local function set_default here.
5167 Define set_default as a macro locally to pass constant parameters.
5168 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
5169 rather than a shared local.
5171 * stdlib/rpmatch.c (try): New function, broken out of ...
5172 (rpmatch): ... local function here. Also, prototypify definition.
5174 2014-09-12 Joseph Myers <joseph@codesourcery.com>
5176 * scripts/soversions.awk: Do not handle configuration names.
5177 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
5178 vendor and os variables to soversions.awk.
5179 * configure.ac: Do not modify gnu-* host_os.
5180 * configure: Regenerated
5181 * shlib-versions: Remove first column with configuration names.
5182 * nptl/shlib-versions: Likewise.
5183 * nptl_db/shlib-versions: Likewise.
5184 * sysdeps/hppa/shlib-versions: Likewise.
5185 * sysdeps/m68k/shlib-versions: Likewise.
5186 * sysdeps/mach/hurd/shlib-versions: Likewise.
5187 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
5188 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
5189 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
5190 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
5191 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
5192 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
5193 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
5194 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
5195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
5197 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5198 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
5199 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
5200 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
5201 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
5202 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
5203 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
5204 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5207 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
5208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
5210 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
5211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
5212 Condition symbol version definitions on [HAVE_ELFV2_ABI].
5214 * shlib-versions: Remove OS-specific entries. Moved to files in
5216 * sysdeps/mach/hurd/shlib-versions: New file.
5217 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
5219 * nptl/shlib-versions: Remove architecture-specific entries.
5220 Moved to files in sysdeps.
5221 * shlib-versions: Likewise.
5222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
5224 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5225 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
5226 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
5227 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
5229 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
5230 (UDP_NO_CHECK6_RX): Likewise.
5232 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5234 * sysdeps/posix/sysconf.c (__sysconf): Spell
5235 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
5237 2014-08-12 Florian Weimer <fweimer@redhat.com>
5239 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
5241 * iconv/Versions (__gconv_transliterate): Export for use from
5243 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
5244 (struct __gconv_trans_data, __gconv_trans_fct,
5245 __gconv_trans_context_fct, __gconv_trans_query_fct,
5246 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
5248 (struct __gconv_step_data): Remove __trans member.
5249 (__gconv_transliterate): Declaration moved from gconv_int.h. No
5250 longer hidden. Remove unused trans_data argument.
5251 * iconv/gconv_int.h (struct trans_struct): Remove definition.
5252 (__gconv_translit_find): Remove declaration.
5253 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
5255 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
5256 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
5257 trans_data argument. Add hidden definition.
5258 (__gconv_translit_find): Remove.
5259 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
5260 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
5261 * iconv/skeleton.c: Remove transliteration initialization.
5262 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
5263 __gconv_step_data initialization.
5264 * libio/iofwide.c (__libio_translit_): Remove.
5265 (_IO_fwide): Adjust struct __gconv_step_data initialization.
5266 * wcsmbs/btowc.c (__btowc): Likewise.
5267 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5268 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
5269 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
5270 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
5271 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
5272 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
5273 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
5274 * wcsmbs/wctob.c (wctob): Likewise.
5276 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5279 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
5280 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
5282 * sysdeps/x86/Makefile: Adjust.
5284 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5285 Roland McGrath <roland@hack.frob.com>
5287 * locale/weight.h: Add include guard.
5288 (findidx): Make static rather than auto; take new parameters
5289 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
5290 * locale/weightwc.h: Likewise.
5291 * posix/fnmatch_loop.c
5292 (FCT): Change type of EXTRA from int32_t to wint_t.
5293 Don't include either header inside the function.
5294 Call FINDIDX rather than findidx, and pass new arguments.
5295 #undef FINDIDX at the end of the file.
5296 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
5297 FINDIDX before including fnmatch_loop.c for the non-wide version.
5298 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
5299 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
5300 for the wide version.
5301 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
5302 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
5303 Pass new arguments to findidx.
5304 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
5305 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
5306 Don't #include it inside the function. Pass new arguments to findidx.
5307 * posix/regex_internal.h
5308 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
5309 (re_string_elem_size_at): Don't #include it inside the function.
5310 Pass new arguments to findidx.
5311 * string/strcoll_l.c: #include WEIGHT_H at top level.
5312 (get_next_seq): Don't #include it inside the function.
5313 Pass new arguments to findidx.
5314 (get_next_seq_nocache): Likewise.
5315 * string/strxfrm_l.c: #include WEIGHT_H at top level.
5316 (STRXFRM): Don't #include it inside the function.
5317 Pass new arguments to findidx.
5319 2014-09-11 Florian Weimer <fweimer@redhat.com>
5322 * malloc/malloc.c (unlink): Turn asserts into a call to
5325 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
5328 * libio/wfileops (do_ftell_wide): Free OUT.
5330 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
5332 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
5334 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5337 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
5338 group if the current group is empty.
5340 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5342 * benchtests/bench-memset.c (test_main): Add more test from size
5343 from 32 to 512 bytes.
5344 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5345 Add POWER8 memset object.
5346 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5347 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
5348 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
5350 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
5352 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
5353 multiarch POWER8 memset optimization.
5354 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
5355 POWER8 memset optimization.
5357 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5358 Remove bzero multiarch objects.
5359 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
5360 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
5361 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
5362 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
5364 [__bzero]: Redefine to specific name.
5365 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
5366 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
5367 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
5369 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5370 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
5372 2014-09-10 Florian Weimer <fweimer@redhat.com>
5374 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
5375 warnings into errors.
5377 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
5378 __cxa_thread_atexit_impl prototype.
5380 2014-09-09 Steve Ellcey <sellcey@mips.com>
5382 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
5383 Fix capitalization of error message.
5385 2014-09-09 Steve Ellcey <sellcey@mips.com>
5387 * sysdeps/mips/preconfigure: Modify ABI tests.
5389 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
5391 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
5393 2014-09-07 Roland McGrath <roland@hack.frob.com>
5394 Carlos O'Donell <carlos@systemhalted.org>
5396 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
5397 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
5398 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
5399 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
5400 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
5401 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
5402 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
5403 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
5404 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
5405 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
5406 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
5407 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
5408 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
5409 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
5410 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
5411 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
5412 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
5413 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
5414 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
5415 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
5416 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
5417 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
5418 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
5419 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
5420 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
5421 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
5422 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
5423 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
5424 Deconditionalize the code that was previously under [RESET_PID].
5425 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
5426 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
5427 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
5428 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
5431 2014-09-08 Allan McRae <allan@archlinux.org>
5433 * version.h (RELEASE): Set to "development".
5434 (VERSION): Set to "2.20.90"
5436 2014-09-07 Allan McRae <allan@archlinux.org
5438 * version.h (RELEASE): Set to "stable".
5439 (VERSION): Set to "2.20"
5440 * include/features.h (__GLIBC_MINOR__): Set to 20.
5442 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
5445 * po/ko.po: Update Korean translation from translation project.
5447 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
5450 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
5451 macro for handling signed relocations.
5453 2014-09-03 Florian Weimer <fweimer@redhat.com>
5456 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
5457 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
5459 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
5460 * iconvdata/ibm935.c (BODY): Likewise.
5461 * iconvdata/ibm937.c (BODY): Likewise.
5462 * iconvdata/ibm939.c (BODY): Likewise.
5463 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
5465 * iconvdata/Makefile (iconv-test.out): Pass module list to test
5467 * iconvdata/run-iconv-test.sh: New test loop for checking for
5470 2014-09-02 Khem Raj <raj.khem@gmail.com>
5472 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
5475 2014-09-01 Allan McRae <allan@archlinux.org>
5477 * po/eo.po: Update Esperanto translation from translation project.
5479 * po/ca.po: Update Catalan translation from translation project.
5481 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
5483 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
5486 2014-08-27 Mark Wielaard <mjw@redhat.com>
5489 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
5490 to call set_thread_area instead of hand written asm.
5491 (__NR_set_thread_area): Removed define.
5492 (TLS_FLAG_WRITABLE): Likewise.
5493 (__ASSUME_SET_THREAD_AREA): Remove check.
5494 (TLS_EBX_ARG): Remove define.
5495 (TLS_LOAD_EBX): Likewise.
5497 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
5499 Simplify atomicity of socket creation in bind.
5501 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
5502 looking up the name after linking the file.
5504 2014-08-27 Allan McRae <allan@archlinux.org>
5506 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5508 2014-08-26 Florian Weimer <fweimer@redhat.com>
5511 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
5512 trans_compare, open_translit, __gconv_translit_find):
5513 Remove module loading code.
5515 2014-08-26 Allan McRae <allan@archlinux.org>
5517 * po/vi.po: Update Vietnamese translation from translation project.
5519 * po/uk.po: Update Ukrainian translation from translation project.
5521 * po/fr.po: Update French translation from translation project.
5523 * po/ru.po: Update Russian translation from translation project.
5525 * po/pl.po: Update Polish translation from translation project.
5527 * po/cs.po: Update Czech translation from translation project.
5529 * po/de.po: Update German translation from translation project.
5531 * po/bg.po: Update Bulgarian translation from translation project.
5533 * po/sv.po: Update Sweedish translation from translation project.
5535 * po/nl.po: Update Dutch translation from translation project.
5537 * po/es.po: Update Spanish translation from translation project.
5539 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5541 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
5543 * catgets/Makefile (CPPFLAGS-gencat): Remove.
5544 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
5545 (CPPFLAGS-iconvconfig): Likewise.
5546 * timezone/Makefile (CPPFLAGS-zic): Likewise.
5548 * include/libc-symbols.h: Remove unnecessary check for
5550 * nptl/pthreadP.h: Likewise.
5551 * sysdeps/aarch64/setjmp.S: Likewise.
5552 * sysdeps/alpha/setjmp.S: Likewise.
5553 * sysdeps/arm/sysdep.h: Likewise.
5554 * sysdeps/i386/setjmp.S: Likewise.
5555 * sysdeps/m68k/setjmp.c: Likewise.
5556 * sysdeps/posix/getcwd.c: Likewise.
5557 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5558 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
5559 * sysdeps/s390/s390-32/setjmp.S: Likewise.
5560 * sysdeps/s390/s390-64/setjmp.S: Likewise.
5561 * sysdeps/sh/sh3/setjmp.S: Likewise.
5562 * sysdeps/sh/sh4/setjmp.S: Likewise.
5563 * sysdeps/unix/alpha/sysdep.h: Likewise.
5564 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5565 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5566 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
5567 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5570 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5571 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5572 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5573 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5574 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5575 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5576 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5577 * sysdeps/x86_64/setjmp.S: Likewise.
5579 2014-08-13 Joseph Myers <joseph@codesourcery.com>
5582 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
5584 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
5585 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
5587 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5589 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
5592 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
5593 and __x86_64__ when disabling x87 inline functions.
5595 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
5598 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
5599 asm statement with __cpuid_count.
5601 2014-08-12 Mike Frysinger <vapier@gentoo.org>
5603 * configure.ac: Change __ehdr_start code to dereference the struct.
5604 Run readelf on the output to look for relocations.
5605 * configure: Regenerated.
5607 2014-08-12 Joseph Myers <joseph@codesourcery.com>
5610 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
5612 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
5614 2014-08-12 Roland McGrath <roland@hack.frob.com>
5616 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
5618 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
5621 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
5622 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
5624 2014-08-12 Sean Anderson <seanga2@gmail.com>
5626 * malloc/malloc.c: Fix typo in comment.
5628 2014-08-09 Allan McRae <allan@archlinux.org>
5630 * Regenerate libc.po.
5632 2014-08-08 Mike Frysinger <vapier@gentoo.org>
5634 * intl/tst-gettext2.sh: Check every lang file for creation.
5636 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
5638 * sysdeps/aarch64/fpu/math_private.h
5639 (libc_feholdsetround_noex_aarch64_ctx): New function.
5641 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
5643 * sysdeps/arm/armv6/strcpy.S (strcpy):
5644 Fix performance issue in misaligned cases.
5646 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5648 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
5649 Move definition from termios.h.
5650 (struct termio): Likewise.
5651 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5652 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
5653 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
5654 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
5656 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
5657 Move definition to ioctl-types.h
5658 (struct termio): Likewise.
5659 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5660 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
5661 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
5662 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
5665 2014-08-05 Richard Henderson <rth@redhat.com>
5667 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
5669 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
5671 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5672 Use __feraiseexcept.
5673 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
5674 Protect libm symbols with IS_IN_libm.
5676 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
5678 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
5680 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
5682 2014-08-04 Will Newton <will.newton@linaro.org>
5684 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
5687 2014-08-04 Mike Frysinger <vapier@gentoo.org>
5689 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
5690 variants for each function.
5692 2014-08-04 Roland McGrath <roland@hack.frob.com>
5694 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
5696 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
5697 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
5699 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
5700 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
5701 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
5702 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
5703 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
5704 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
5705 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
5706 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
5707 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
5708 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
5709 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
5710 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
5711 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
5712 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
5713 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
5714 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
5715 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
5716 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
5717 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
5718 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
5719 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
5720 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
5721 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
5722 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
5723 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
5724 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
5725 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
5726 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
5727 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
5728 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
5729 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
5730 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
5731 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
5732 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
5733 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
5734 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
5735 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
5736 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
5737 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
5738 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
5739 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
5740 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
5741 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
5742 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
5743 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
5744 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
5745 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
5746 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
5747 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
5748 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
5749 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
5750 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
5751 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
5753 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
5754 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
5756 2014-08-04 Roland McGrath <roland@hack.frob.com>
5758 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
5759 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
5760 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
5761 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
5762 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
5763 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
5765 2014-08-04 Roland McGrath <roland@hack.frob.com>
5767 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
5768 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
5769 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5770 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
5772 2014-08-04 Roland McGrath <roland@hack.frob.com>
5774 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
5775 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
5776 (__libc_vfork): Define function under this name.
5777 (__vfork): Define as an alias.
5778 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
5779 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
5781 2014-08-04 Roland McGrath <roland@hack.frob.com>
5783 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
5784 that was previously under [RESET_PID].
5785 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
5787 2014-08-04 Andreas Schwab <schwab@suse.de>
5789 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
5791 2014-08-03 Mike Frysinger <vapier@gentoo.org>
5793 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
5796 2014-08-01 Roland McGrath <roland@hack.frob.com>
5798 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
5800 2014-08-01 Richard Henderon <rth@redhat.com>
5802 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
5803 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
5804 typo in exact zero test.
5805 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5806 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5807 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5809 2014-08-01 Roland McGrath <roland@hack.frob.com>
5811 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
5812 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
5813 * sysdeps/arm/sysdep.h: ... here.
5814 [!__ASSEMBLER__]: Include <stdint.h>.
5816 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5818 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
5819 (HAVE_WCTYPE_H): Likewise.
5820 (HAVE_ISWCTYPE): Likewise.
5821 (ENABLE_NLS): Likewise.
5822 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
5823 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
5825 * posix/regex_internal.c: Check if DEBUG is defined and is
5828 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
5829 (HAVE_MBSRTOWCS): Likewise.
5830 * posix/fnmatch.c: Include string.h unconditionally.
5832 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
5834 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
5837 2014-07-31 Roland McGrath <roland@hack.frob.com>
5839 * sysdeps/generic/safe-fatal.h: New file.
5840 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
5841 * nptl/forward.c: Include it.
5842 (__pthread_unwind): Use __safe_fatal as default action, rather
5843 than a bogus use of INTERNAL_SYSCALL that could never work.
5845 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
5846 * configure.ac (libc_cv_builtin_trap): New test.
5847 * configure: Regenerated.
5848 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
5849 (ABORT_INSTRUCTION): Define using __builtin_trap.
5851 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
5852 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
5853 * sysdeps/nptl/nptl-signals.h: New file.
5854 * nptl/pthreadP.h: Include <nptl-signals.h>.
5856 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
5858 * sysdeps/s390/s390-64/utf16-utf32-z9.c
5859 (ONE_DIRECTION): Define.
5860 * sysdeps/s390/s390-64/utf8-utf16-z9.c
5861 (ONE_DIRECTION): Define.
5862 * sysdeps/s390/s390-64/utf8-utf32-z9.c
5863 (ONE_DIRECTION): Define.
5865 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
5867 * sysdeps/s390/Makefile: Delete file.
5868 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
5869 * sysdeps/s390/__longjmp.c: Delete file.
5870 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
5871 Remove fields __flags and __reserved.
5872 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
5874 * sysdeps/s390/rtld-__longjmp.c: Delete file.
5875 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
5876 * sysdeps/s390/rtld-setjmp.S: Likewise.
5877 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
5878 * sysdeps/s390/s390-32/__longjmp.c: ... here.
5879 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
5880 * sysdeps/s390/s390-32/setjmp.S: ... here.
5882 (__sigsetjmp): Remove setting __flags field.
5883 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
5884 * sysdeps/s390/s390-64/__longjmp.c: ... here.
5885 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
5886 * sysdeps/s390/s390-64/setjmp.S: ... here.
5888 (__sigsetjmp): Remove setting __flags field.
5889 * sysdeps/s390/setjmp.S: Delete file.
5890 * sysdeps/s390/sigjmp.c: Likewise.
5891 * sysdeps/s390/v1-longjmp.c: Likewise.
5892 * sysdeps/s390/v1-setjmp.h: Likewise.
5893 * sysdeps/s390/v1-sigjmp.c: Likewise.
5894 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
5895 Remove v1-longjmp_chk.
5896 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
5897 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
5898 Include debug/longjmp_chk.c and add versioning.
5899 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
5900 Include nptl/pt-longjmp.c and add versioning.
5901 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
5902 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
5903 Include __longjmp.c.
5904 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5906 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
5907 (__getcontext): Remove setting __flags field.
5909 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5910 Don't restore upper high grps.
5911 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
5913 (__swapcontext): Remove setting uc_flags field.
5914 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
5916 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5917 Include __longjmp.c.
5918 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5920 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
5921 (__getcontext): Remove setting __flags field.
5923 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
5924 (__swapcontext): Remove setting uc_flags field.
5925 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
5926 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
5927 Remove fields uc_high_gprs and __reserved.
5928 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
5929 New file with reverted content.
5930 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
5931 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
5933 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
5936 2014-07-31 Andreas Schwab <schwab@suse.de>
5938 * config.h.in (HAVE_IFUNC): Define to 0.
5939 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
5942 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
5944 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5945 memmove-avx-unaligned, memcpy-avx-unaligned and
5946 mempcpy-avx-unaligned.
5947 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5948 Add tests for AVX memcpy functions.
5949 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
5950 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
5952 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
5953 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
5955 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
5956 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
5958 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
5959 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
5960 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
5962 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5965 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
5968 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
5971 * manual/llio.texi: Add section about open file description locks.
5972 * manual/examples/ofdlocks.c: Example of open file description
5974 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
5975 F_OFD_SETLK, and F_OFD_SETLKW.
5977 2014-07-23 Allan McRae <allan@archlinux.org>
5979 * po/es.po: Update Spanish translation from translation project.
5981 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
5983 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
5985 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
5988 * sysdeps/arm/dl-machine.h (elf_machine_rela)
5989 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
5990 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
5992 2014-07-17 Joseph Myers <joseph@codesourcery.com>
5995 * math/fesetenv.c (__fesetenv)
5996 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
5997 * math/feupdateenv.c (__feupdateenv)
5998 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
6000 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
6001 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6002 (__ASSUME_SOCKETCALL): Do not define.
6004 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
6005 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
6006 (__ASSUME_SOCKETCALL): Do not define.
6007 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
6008 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
6009 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6010 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
6011 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6012 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
6013 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6014 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6016 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
6017 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
6018 (__ASSUME_SOCKETCALL): Do not define.
6019 (__ASSUME_IPC64): Define unconditionally.
6020 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
6021 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6022 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
6023 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6024 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
6025 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6026 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
6029 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
6030 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
6031 (__ASSUME_SOCKETCALL): Do not define.
6032 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
6033 (__ASSUME_FUTEX_LOCK_PI): Likewise.
6034 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6035 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
6036 (__ASSUME_REQUEUE_PI): Define unconditionally.
6037 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
6038 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
6039 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6040 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
6041 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6042 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6044 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
6045 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
6046 (__ASSUME_SOCKETCALL): Do not define.
6047 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
6048 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6049 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6050 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
6051 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6052 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6054 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
6055 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
6056 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6057 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
6058 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6059 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
6060 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6061 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
6062 (__ASSUME_GETCPU_SYSCALL): Likewise.
6064 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
6065 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
6066 cases for individual architectures.
6067 * sysdeps/gnu/configure: Regenerated.
6068 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
6069 LIBC_SLIBDIR_RTLDDIR.
6070 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
6071 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
6072 LIBC_SLIBDIR_RTLDDIR.
6073 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
6074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
6075 LIBC_SLIBDIR_RTLDDIR.
6076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
6078 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
6079 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
6081 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
6082 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
6084 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
6085 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
6086 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
6087 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
6089 * sysdeps/aarch64/shlib-versions: Move to ...
6090 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
6091 * sysdeps/alpha/shlib-versions: Move to ...
6092 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
6093 * sysdeps/arm/shlib-versions: Move to ...
6094 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
6095 * sysdeps/hppa/shlib-versions: Move all contents except for
6096 libgcc_s entry to ...
6097 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
6099 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
6100 * sysdeps/ia64/shlib-versions: Move to ...
6101 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
6103 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
6104 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
6105 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
6106 * sysdeps/microblaze/shlib-versions: Move to ...
6107 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
6108 * sysdeps/mips/shlib-versions: Move to ...
6109 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
6111 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
6112 * sysdeps/tile/shlib-versions: Move to ...
6113 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
6114 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
6116 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
6117 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
6119 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
6121 2014-07-17 Will Newton <will.newton@linaro.org>
6123 * sysdeps/arm/bits/atomic.h
6124 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
6125 (__arch_compare_and_exchange_bool_16_int): Likewise.
6126 (__arch_compare_and_exchange_bool_64_int): Likewise.
6128 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
6129 into an #else block.
6131 2014-07-16 Roland McGrath <roland@hack.frob.com>
6133 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
6134 just Linux configurations. Test empirically that the compiler sets
6135 __ARM_EABI__, rather than using the tuple to decide.
6136 * sysdeps/arm/preconfigure: Regenerated.
6137 * sysdeps/unix/sysv/linux/arm/configure: File removed.
6138 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
6139 contents appended ...
6140 * sysdeps/arm/configure.ac: ... here.
6141 * sysdeps/arm/configure: Regenerated.
6143 2014-07-15 Roland McGrath <roland@hack.frob.com>
6145 * nptl/pthread_kill.c: New file.
6146 * nptl/pthread_sigmask.c: New file.
6147 * nptl/pthread_sigqueue.c: New file.
6149 * sysdeps/nptl/lowlevellock.h: New file.
6150 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
6151 * sysdeps/nptl/lowlevellock-futex.h: New file.
6153 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
6154 Remove dead declarations.
6156 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
6158 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
6159 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
6161 * sysdeps/x86_64/configure.ac: Likewise.
6162 * sysdeps/i386/configure: Regenerated.
6163 * sysdeps/x86_64/configure: Likewise.
6164 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6165 memset-avx2 only if config-cflags-avx2 is yes.
6166 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6167 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
6169 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
6170 only if HAVE_AVX2_SUPPORT is defined.
6171 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6173 2014-07-14 Alan Modra <amodra@gmail.com>
6176 * elf/elf.h (DT_PPC64_NUM): Correct value.
6177 * NEWS: Add to fixed bug list.
6179 2014-07-13 Jim Meyering <meyering@fb.com>
6182 regex: don't deref NULL upon heap allocation failure
6183 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
6184 failure in one more place.
6185 To trigger the segfault, configure grep -with-included-regex,
6186 build it, and run these commands:
6187 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
6189 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
6191 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
6193 2014-07-11 Richard Henderson <rth@redhat.com>
6195 * sysdeps/aarch64/libm-test-ulps: Update.
6197 2014-07-10 Florian Weimer <fweimer@redhat.com>
6200 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
6201 * nptl/allocatestack.c (__nptl_setxid_error): New function.
6202 (__nptl_setxid): Initialize error member. Call
6203 __nptl_setxid_error.
6204 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
6205 * nptl/descr.h (struct xid_command): Add error member.
6206 * nptl/tst-setuid3.c: New file.
6207 * nptl/Makefile (tests): Add it.
6209 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6211 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
6213 (__lll_trylock): Use __lll_base_trylock.
6214 (__lll_cond_trylock): Likewise.
6216 2014-07-10 Roland McGrath <roland@hack.frob.com>
6218 * nptl/pthread_create.c (start_thread): Use atomic_or and
6219 lll_futex_wake directly rather than lll_robust_dead.
6220 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
6221 (lll_robust_dead): Macro removed.
6222 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
6223 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
6224 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
6225 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6226 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6227 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
6228 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
6229 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6230 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
6231 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6232 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6233 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6234 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6235 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6236 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6238 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
6239 Use atomic_compare_and_exchange_val_acq directly rather than
6241 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
6242 (__lll_robust_trylock, lll_robust_trylock): Removed.
6243 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
6244 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
6245 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6246 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6247 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
6248 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
6249 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6250 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
6251 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6252 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6253 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6254 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6255 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6256 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6258 2014-07-02 Florian Weimer <fweimer@redhat.com>
6260 * manual/locale.texi (Locale Names): New section documenting
6261 locale name syntax. Adjust menu and node chaining accordingly.
6262 (Choosing Locale): Reference Locale Names, Locale Categories.
6263 Mention setting LC_ALL=C. Reflect that name syntax is now
6265 (Locale Categories): New section title. Reference Locale Names.
6266 LC_ALL is an environment variable, but not a category.
6267 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
6268 description, now in Locale Name. Reference that section. Locale
6269 name syntax is now documented.
6271 2014-07-02 Florian Weimer <fweimer@redhat.com>
6274 * locale/findlocale.c (name_present, valid_locale_name): New
6276 (_nl_find_locale): Use the loc_name variable to store name
6277 candidates. Call name_present and valid_locale_name to check and
6278 validate locale names. Return an error if the locale is invalid.
6280 2014-07-02 Florian Weimer <fweimer@redhat.com>
6282 * locale/setlocale.c (setlocale): Use strdup for allocating
6283 composite name copy.
6285 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6287 Sync up with gnulib.
6288 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
6289 [!_LIBC && ENABLE_NLS]: Include gettext.h.
6290 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
6291 and _GL_ARG_NONNULL.
6292 [USE_UNLOCKED_IO]: Include unlocked-io.h.
6293 [!_LIBC]: Include code for Windows and Cygwin.
6294 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
6295 Include prototype for int strerror_r.
6296 [!_LIBC] (is_open): New function.
6297 (flush_stdout): New function.
6298 (print_errno_message): Use it.
6300 (error_at_line): Likewise.
6301 (error_tail) Add function attribute macros. Use
6304 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
6306 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
6308 * io/ftw.c: Include sys/param.h unconditionally.
6310 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
6313 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
6315 (freecache): New function to free CACHE on exit.
6317 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
6320 2014-07-09 David S. Miller <davem@davemloft.net>
6322 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6324 * sysdeps/sparc/nptl/internaltypes.h: Delete.
6325 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
6326 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
6327 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
6328 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
6329 * sysdeps/sparc/nptl/sem_init.c: Likewise.
6330 * sysdeps/sparc/nptl/sem_post.c: Likewise.
6331 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
6332 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
6333 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
6334 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
6335 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
6336 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
6338 2014-07-09 Andreas Schwab <schwab@suse.de>
6340 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
6342 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
6343 (do_test): Likewise.
6345 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6347 2014-07-09 Will Newton <will.newton@linaro.org>
6349 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
6350 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
6351 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
6352 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
6353 * sysdeps/hppa/start.S (_start): Likewise.
6355 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
6357 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
6359 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
6362 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6364 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
6365 after checking that it is non-NULL.
6367 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
6369 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6371 * sysdeps/powerpc/memmove.c: Remove file.
6372 * sysdeps/powerpc/powerpc32/power4/memcopy.h
6373 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
6374 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
6375 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
6376 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
6377 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
6378 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
6379 string memmove instead of removed powerpc one.
6381 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6382 [weak_alias]: Fix compiler warning due trailing data.
6383 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
6384 [weak_alias]: Likewise.
6385 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
6386 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
6388 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6389 (__libc_ifunc_impl_list): Add memmove functions.
6391 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6393 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
6395 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
6397 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
6399 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
6401 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
6403 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
6405 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
6407 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
6409 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
6411 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
6413 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
6415 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
6417 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
6419 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
6421 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
6423 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
6425 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
6428 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6430 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
6431 to avoid alignment traps in non-cacheable memory.
6432 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
6434 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
6436 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
6437 file: multiarch power7 memmove.
6438 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
6439 multiarch default memmove.
6440 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
6441 multiarch memove for powerpc32/power4.
6443 * string/bcopy.c: Use full path to include memmove.c.
6444 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
6446 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
6447 bcopy for powerpc64.
6448 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
6449 bcopy for powerpc64.
6450 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
6451 and memmove implementations.
6452 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
6453 optimized multiarch memmove for POWER7/powerpc64.
6454 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
6455 default multiarch memmove for powerpc64.
6456 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
6457 multiarch for powerpc64.
6458 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
6459 for POWER7/powerpc64.
6460 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
6461 memmove for POWER7/powerpc64.
6463 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
6466 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
6467 __ELF_NATIVE_CLASS equal to 64.
6469 2014-07-07 Roland McGrath <roland@hack.frob.com>
6471 * sysdeps/nptl/lowlevellock.h: File removed.
6473 * NEWS: NPTL is no longer an add-on!
6474 * nptl/internaltypes.h: Moved ...
6475 * sysdeps/nptl/internaltypes.h: ... here.
6476 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
6477 * sysdeps/nptl/fork.c: Likewise.
6478 * sysdeps/nptl/gai_misc.h: Likewise.
6479 * sysdeps/nptl/librt-cancellation.c: Likewise.
6480 * sysdeps/nptl/jmp-unwind.c: Likewise.
6481 * sysdeps/nptl/setxid.h: Likewise.
6482 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
6483 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
6484 * sysdeps/unix/sysv/linux/arm/Implies: New file.
6485 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
6486 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
6487 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
6488 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
6489 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
6490 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
6491 * sysdeps/unix/sysv/linux/mips/Implies: New file.
6492 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
6493 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
6494 * sysdeps/unix/sysv/linux/sh/Implies: New file.
6495 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
6496 * sysdeps/unix/sysv/linux/tile/Implies: New file.
6497 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
6498 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
6499 * nptl/Makeconfig: Moved ...
6500 * sysdeps/nptl/Makeconfig: ... here.
6501 * nptl/configure: File removed.
6502 * nptl/ANNOUNCE: File removed.
6503 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
6504 * sysdeps/unix/sysv/linux/configure: Regenerated.
6506 * nptl/Makefile (routines): Add libc_pthread_init,
6507 libc_multiple_threads, register-atfork and unregister-atfork.
6508 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
6509 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
6510 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
6511 pthread-pi-defines.sym, structsem.sym.
6512 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
6513 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
6514 [$(subdir) = nptl] (tests): Add tst-setgetname.
6515 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
6516 * sysdeps/unix/sysv/linux/sigaction.c: Just include
6517 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
6518 [!LIBC_SIGACTION]: Remove aliases.
6519 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
6520 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
6521 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6522 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
6523 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
6524 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
6525 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6526 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6527 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
6528 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
6529 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
6530 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
6531 __libc_allocate_rtsig_private.
6532 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
6533 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
6534 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
6535 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
6536 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
6537 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
6538 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
6539 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
6540 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
6541 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
6542 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
6543 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
6544 * nptl/internaltypes.h: ... here.
6545 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
6546 * sysdeps/nptl/jmp-unwind.c: ... here.
6547 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
6548 * nptl/libc-lowlevellock.c: ... here.
6549 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
6550 * nptl/libc_multiple_threads.c: ... here.
6551 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
6552 * nptl/libc_pthread_init.c: ... here.
6553 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
6554 * nptl/lowlevelbarrier.sym: ... here.
6555 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
6556 * nptl/lowlevelcond.sym: ... here.
6557 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
6558 * nptl/lowlevellock.c: ... here.
6559 * nptl/lowlevellock.h: Moved ...
6560 * sysdeps/nptl/lowlevellock.h: ... here.
6561 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
6562 * nptl/lowlevelrobustlock.c: ... here.
6563 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
6564 * nptl/lowlevelrobustlock.sym: ... here.
6565 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
6566 * nptl/lowlevelrwlock.sym: ... here.
6567 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
6568 * nptl/pt-fork.c: ... here.
6569 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
6570 * nptl/pthread-pi-defines.sym: ... here.
6571 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
6572 * nptl/pthread_attr_getaffinity.c: ... here.
6573 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
6574 * nptl/pthread_attr_setaffinity.c: ... here.
6575 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
6576 * nptl/pthread_mutex_cond_lock.c: ... here.
6577 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6579 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
6580 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
6581 * nptl/pthread_once.c: ... here, replacing old file.
6582 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
6583 * nptl/pthread_yield.c: ... here.
6584 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
6585 * nptl/register-atfork.c: ... here.
6586 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
6587 * nptl/sem_post.c: ... here.
6588 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
6589 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
6590 * nptl/sem_timedwait.c: ... here.
6591 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
6592 * nptl/sem_trywait.c: ... here.
6593 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
6594 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
6595 * nptl/sem_wait.c: ... here.
6596 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
6597 * nptl/structsem.sym: ... here.
6598 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
6599 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
6600 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
6601 * nptl/unregister-atfork.c: ... here.
6602 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
6603 * nptl/unwindbuf.sym: ... here.
6604 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
6605 * sysdeps/nptl/fork.c: ... here.
6606 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
6607 * sysdeps/nptl/fork.h: ... here.
6608 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
6609 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
6610 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
6611 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
6612 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
6613 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
6614 * sysdeps/unix/sysv/linux/getpid.c: ... here.
6615 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
6616 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
6617 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
6618 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
6619 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
6620 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
6621 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
6622 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
6623 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
6624 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
6625 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
6626 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
6627 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
6628 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
6629 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
6630 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
6631 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
6632 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
6633 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
6634 * sysdeps/unix/sysv/linux/raise.c: ... here.
6635 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
6636 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
6637 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
6638 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
6639 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
6640 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
6641 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
6642 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
6643 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
6644 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
6645 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
6646 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
6647 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
6648 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
6649 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
6651 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6653 * sysdeps/generic/memcopy.h: Add comment for
6654 MEMCPY_OK_FOR_FWD_MEMMOVE.
6656 2014-07-04 Will Newton <will.newton@linaro.org>
6658 * string/memchr.c: Merge from gnulib.
6659 [_LIBC]: Remove conditionals.
6660 (__ptr_t): Remove define.
6661 (LONG_MAX_32_BITS): Likewise.
6662 (LONG_MAX): Likewise.
6663 (MEMCHR): Use ANSI prototype and optimize algorithm.
6665 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
6667 2014-07-03 Roland McGrath <roland@hack.frob.com>
6669 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
6670 (lll_futex_timed_wait_bitset): Fix syscall argument count.
6672 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
6673 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
6674 in a bare environment with no <stdlib.h> installed.
6675 * sysdeps/nptl/configure: Regenerated.
6677 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
6679 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
6680 AC_EGREP_CPP for kernel header checks, so they only succeed if
6681 including <linux/version.h> actually works right.
6682 * sysdeps/unix/sysv/linux/configure: Regenerated.
6684 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
6685 value so it's not diagnosed as unused.
6687 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
6688 thing) with "ifeq ($(subdir),rt)".
6690 2014-07-03 Richard Henderson <rth@redhat.com>
6692 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
6693 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
6694 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
6696 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
6697 (math_force_eval): New.
6699 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
6700 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
6702 * sysdeps/alpha/fpu/s_round.c: Remove file.
6703 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
6705 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
6706 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
6707 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
6708 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
6709 (_dl_start, print_statistics): Likewise.
6710 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
6711 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
6713 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6714 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6715 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6716 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6717 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6718 (HP_SMALL_TIMING_AVAIL): Define.
6719 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6720 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
6721 (HP_SMALL_TIMING_AVAIL): Define.
6722 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6723 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6725 * sysdeps/aarch64/hp-timing.h: New file.
6727 * sysdeps/generic/hp-timing.h: Remove dead comment.
6728 * sysdeps/generic/hp-timing-common.h: New file.
6729 * sysdeps/alpha/hp-timing.h: Include it.
6730 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
6731 * sysdeps/i386/i686/hp-timing.h: Likewise.
6732 * sysdeps/ia64/hp-timing.h: Likewise.
6733 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6734 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6735 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
6736 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
6737 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
6738 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
6741 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
6742 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
6743 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
6744 * elf/rtld.c (_dl_start_final): Likewise.
6745 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
6746 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6747 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6748 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6749 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6750 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6751 (HP_TIMING_DIFF_INIT): Remove.
6752 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6753 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
6754 (HP_TIMING_DIFF_INIT): Remove.
6755 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6756 * sysdeps/i386/i686/hp-timing.c: Remove file.
6757 * sysdeps/x86_64/hp-timing.c: Remove file.
6758 * sysdeps/ia64/hp-timing.c: Remove file.
6759 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
6760 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
6761 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
6762 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
6764 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
6765 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
6766 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
6767 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6768 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6769 (HP_TIMING_ACCUM): Remove.
6770 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6771 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
6772 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6774 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
6775 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
6776 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
6777 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
6778 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
6779 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
6780 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
6781 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
6783 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
6785 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
6787 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
6789 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6791 Sync up with gettext.
6792 * intl/loadmsgcat.c: Define O_BINARY if not defined.
6793 [_MSC_VER]: Include malloc.h
6794 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
6795 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
6796 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
6797 TEMP_FAILURE_RETRY. Cast return of alloca.
6798 [!_LIBC] Call gl_rwlock_init.
6799 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
6801 2014-07-02 Roland McGrath <roland@hack.frob.com>
6803 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
6804 before checking its value.
6806 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6808 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
6810 * debug/memcpy_chk.c: Don't include pagecopy.h.
6811 * debug/mempcpy_chk.c: Likewise.
6812 * string/memcpy.c: Likewise.
6813 * string/memmove.c: Likewise.
6814 * sysdeps/powerpc/memmove.c: Likewise.
6815 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
6816 definition of PAGE_COPY_FWD_MAYBE here...
6817 * sysdeps/generic/pagecopy.h: ... from here.
6818 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
6820 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6821 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6823 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
6824 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
6826 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6827 (__libc_ifunc_impl_list): Likewise.
6828 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
6829 multiarch strcat for PPC64.
6830 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
6831 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
6833 2014-07-02 Roland McGrath <roland@hack.frob.com>
6835 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
6837 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6839 * intl/loadmsgcat.c: Remove declaration of
6840 get_sysdep_segment_value.
6841 (get_sysdep_segment_value): Use ISO C style.
6842 (_nl_load_domain): Use ISO C style. Get rid of redundant
6843 semicolon. Fix typo and formatting in comment.
6844 (_nl_unload_domain): Use ISO C style.
6846 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
6848 2014-07-02 Will Newton <will.newton@linaro.org>
6850 * malloc/obstack.c: Merge from gnulib master.
6851 [HAVE_CONFIG_H]: Remove conditional code.
6852 [!_LIBC]: Include config.h.
6853 [!ELIDE_CODE]: Don't include inttypes.h, include
6854 stdint.h unconditionally.
6855 (print_and_abort): Mark as _Noreturn.
6856 (_obstack_allocated_p): Mark as __attribute_pure__.
6857 (obstack_free): Rename to __obstack_free.
6858 [!__attribute__]: Remove conditional code.
6859 * malloc/obstack.h: Merge from gnulib master.
6860 [__cplusplus]: Move conditional down.
6861 [!__attribute_pure__]: Define __attribute_pure__ here
6862 if it is not already defined.
6863 (_obstack_memory_used): Mark as __attribute_pure__.
6864 [!__obstack_free]: Define as obstack_free.
6865 [__GNUC__]: Remove check for ancient NeXT gcc.
6867 2014-07-02 Will Newton <will.newton@linaro.org>
6868 Paul Eggert <eggert@cs.ucla.edu>
6870 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
6872 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6874 * resolv/gethnamaddr.c: Add comment warning that the file is
6877 2014-07-01 Carlos O'Donell <carlos@redhat.com>
6879 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
6882 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
6883 entry for aio_cancel and aio_cancel64.
6884 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
6885 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
6886 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
6887 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
6888 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
6889 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
6890 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
6891 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
6892 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
6893 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
6894 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
6895 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
6896 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
6898 2014-07-01 Roland McGrath <roland@hack.frob.com>
6900 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
6901 * nptl/pthread_mutex_lock.c: Likewise.
6902 * nptl/pthread_mutex_timedlock.c: Likewise.
6903 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
6905 2014-07-01 Richard henderson <rth@redhat.com>
6907 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
6908 (__isnan, __isnanl): Remove.
6909 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
6911 * sysdeps/alpha/fpu/libm-test-ulps: Update.
6913 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
6915 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6917 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6919 * resolv/nss_dns/dns-host.c (getanswer_r)
6920 [MULTI_PTRS_ARE_ALIASES]: Remove code.
6922 2014-07-01 Joseph Myers <joseph@codesourcery.com>
6924 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6925 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
6927 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
6928 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
6930 2014-07-01 Roland McGrath <roland@hack.frob.com>
6932 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
6933 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
6935 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
6936 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
6938 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
6939 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
6941 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
6942 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
6944 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
6945 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
6946 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
6947 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
6949 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
6950 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
6951 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
6952 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
6953 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
6955 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
6957 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
6958 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
6959 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
6960 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
6961 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
6962 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
6963 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
6964 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
6965 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
6966 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
6967 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
6968 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
6969 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
6970 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
6971 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
6972 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
6973 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
6974 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
6975 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
6976 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
6978 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
6979 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
6980 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
6981 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
6982 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
6983 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
6984 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
6985 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
6987 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
6989 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
6990 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
6991 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
6994 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6996 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6998 2014-06-30 Joseph Myers <joseph@codesourcery.com>
7000 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
7001 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7003 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7005 * sysdeps/arm/libm-test-ulps: Regenerated.
7007 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
7008 Roland McGrath <roland@hack.frob.com>
7010 * test-skeleton.c (signal_handler): Kill the whole process group
7011 before killing the child individually.
7012 (main): Report any failure on `setpgid'.
7014 2014-06-30 Roland McGrath <roland@hack.frob.com>
7016 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
7017 from _TLS_H to _ARM_NPTL_TLS_H.
7018 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
7019 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
7021 2014-06-30 Joseph Myers <joseph@codesourcery.com>
7024 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
7025 (__expm1l): Return argument unchanged when small but not
7028 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
7030 (_FP_UNPACK_RAW_1_P): Likewise.
7031 (_FP_PACK_RAW_1): Likewise.
7032 (_FP_PACK_RAW_1_P): Likewise.
7033 (_FP_MUL_MEAT_1_wide): Likewise.
7034 (_FP_MUL_MEAT_DW_1_hard): Likewise.
7035 (_FP_MUL_MEAT_1_hard): Likewise.
7036 (_FP_DIV_MEAT_1_imm): Likewise.
7037 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
7038 (_FP_DIV_MEAT_1_udiv): Likewise.
7039 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
7040 (_FP_UNPACK_RAW_2): Likewise.
7041 (_FP_UNPACK_RAW_2_P): Likewise.
7042 (_FP_PACK_RAW_2): Likewise.
7043 (_FP_PACK_RAW_2_P): Likewise.
7044 (_FP_MUL_MEAT_DW_2_wide): Likewise.
7045 (_FP_MUL_MEAT_2_wide): Likewise.
7046 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
7047 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
7048 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
7049 (_FP_MUL_MEAT_2_gmp): Likewise.
7050 (_FP_DIV_MEAT_2_udiv): Likewise.
7051 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
7052 (_FP_FRAC_SRL_4): Likewise.
7053 (_FP_FRAC_SRST_4): Likewise.
7054 (_FP_FRAC_SRS_4): Likewise.
7055 (_FP_UNPACK_RAW_4): Likewise.
7056 (_FP_UNPACK_RAW_4_P): Likewise.
7057 (_FP_PACK_RAW_4): Likewise.
7058 (_FP_PACK_RAW_4_P): Likewise.
7059 (_FP_MUL_MEAT_DW_4_wide): Likewise.
7060 (_FP_MUL_MEAT_4_wide): Likewise.
7061 (_FP_MUL_MEAT_4_gmp): Likewise.
7062 (umul_ppppmnnn): Likewise.
7063 (_FP_DIV_MEAT_4_udiv): Likewise.
7064 (__FP_FRAC_ADD_4): Likewise.
7065 (__FP_FRAC_SUB_3): Likewise.
7066 (__FP_FRAC_SUB_4): Likewise.
7067 (__FP_FRAC_DEC_3): Likewise.
7068 (__FP_FRAC_DEC_4): Likewise.
7069 (__FP_FRAC_ADDI_4): Likewise.
7070 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
7071 (_FP_FRAC_SRL_8): Likewise.
7072 (_FP_FRAC_SRS_8): Likewise.
7074 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
7076 (FP_UNPACK_RAW_EP): Likewise.
7077 (FP_PACK_RAW_E): Likewise.
7078 (FP_PACK_RAW_EP): Likewise.
7079 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
7080 (_FP_ISSIGNAN): Likewise.
7081 (_FP_ADD_INTERNAL): Likewise.
7082 (_FP_FMA): Likewise.
7083 (_FP_CMP): Likewise.
7084 (_FP_SQRT): Likewise.
7085 (_FP_TO_INT): Likewise.
7086 (_FP_FROM_INT): Likewise.
7087 (FP_EXTEND): Likewise.
7088 (_FP_DIV_MEAT_N_loop): Likewise.
7090 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
7092 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
7095 2014-06-29 Joseph Myers <joseph@codesourcery.com>
7098 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
7099 result with correct sign in case of exponents that produce
7100 overflow except for X very close to 1.
7102 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
7104 mktime: merge #if/#ifdef usage from glibc
7105 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
7106 as that works with both Glibc's and Gnulib's style.
7107 See thread starting at Siddhesh Poyarekar's bug report at:
7108 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
7110 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7112 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
7113 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
7114 * sysdeps/tile/tilegx/memmove.c: Remove file.
7116 2014-06-27 Joseph Myers <joseph@codesourcery.com>
7118 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
7119 abi-name definition.
7120 * scripts/soversions.awk: Do not handle or generate ABI lines.
7121 * shlib-versions: Remove ABI entries.
7122 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
7123 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
7125 2014-06-27 Roland McGrath <roland@hack.frob.com>
7127 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
7128 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
7129 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
7130 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
7131 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
7132 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
7133 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
7135 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
7137 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
7138 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
7139 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
7140 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
7141 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
7142 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
7143 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
7144 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
7145 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
7146 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
7147 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
7148 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
7149 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
7151 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
7152 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
7153 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
7154 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
7155 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
7156 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
7158 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
7159 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
7161 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
7162 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
7163 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
7164 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
7166 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
7167 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
7168 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
7169 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
7170 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
7171 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
7172 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
7173 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
7175 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
7176 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
7177 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
7178 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
7180 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
7181 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
7183 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
7184 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
7185 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
7186 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
7188 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
7190 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
7191 Identical file removed.
7192 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
7194 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
7195 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
7196 Identical file removed.
7197 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
7198 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
7199 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
7201 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
7202 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
7203 Identical file removed.
7204 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
7205 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
7206 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
7207 Identical file removed.
7208 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
7209 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
7210 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
7211 Identical file removed.
7212 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
7213 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
7214 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
7215 Identical file removed.
7216 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
7218 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
7219 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
7220 Identical file removed.
7221 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
7223 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
7224 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
7225 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
7226 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
7227 Identical file removed.
7228 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
7230 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
7232 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
7233 Identical file removed.
7234 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
7236 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
7237 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
7238 Identical file removed.
7239 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
7241 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
7242 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
7243 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
7244 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
7245 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
7246 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
7248 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
7249 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
7250 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
7252 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
7253 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
7254 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
7255 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
7256 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
7258 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
7261 * nscd/nscd.c (monitor_child): Return exit status of child
7262 instead of return value from wait syscall.
7264 2014-06-27 Joseph Myers <joseph@codesourcery.com>
7266 * configure.ac (libc_commonpagesize): Remove variable.
7267 (libc_relro_required): Likewise.
7268 (libc_cv_z_relro): Remove configure test.
7269 * configure: Regenerated.
7270 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
7272 (libc_relro_required): Likewise.
7273 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
7274 (libc_relro_required): Likewise.
7275 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
7276 (libc_relro_required): Likewise.
7277 * sysdeps/arm/preconfigure: Regenerated.
7278 * sysdeps/ia64/preconfigure: Remove file.
7279 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
7281 (libc_relro_required): Likewise.
7285 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
7286 (__ieee754_yn): Set FE_TONEAREST mode internally and then
7287 recompute overflowing results in original rounding mode.
7288 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
7289 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
7290 recompute overflowing results in original rounding mode.
7291 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
7292 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7293 recompute overflowing results in original rounding mode.
7294 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
7295 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7296 recompute overflowing results in original rounding mode.
7297 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
7298 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7299 recompute overflowing results in original rounding mode.
7300 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
7301 (libc_feholdsetround_ctx): New macro.
7302 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
7303 * sysdeps/i386/fpu/libm-test-ulps: Update.
7304 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
7306 2014-06-26 Joseph Myers <joseph@codesourcery.com>
7308 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
7309 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
7310 corresponding .cpsetup call.
7312 2014-06-26 Roland McGrath <roland@hack.frob.com>
7314 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
7315 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
7316 * sysdeps/arm/Makefile [$(subdir) = csu]
7317 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
7318 (static-only-routines): Add aeabi_read_tp here.
7319 (shared-only-routines): Add libc-aeabi_read_tp here.
7320 (CFLAGS-libc-start.c): Add -fexceptions here.
7321 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
7322 (sysdep_routines, static-only-routines, shared-only-routines):
7323 Don't add to these here.
7324 (CFLAGS-libc-start.c): Likewise.
7326 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
7327 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
7328 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
7329 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
7330 * sysdeps/arm/Makefile [$(subdir) = rt]
7331 (librt-sysdep_routines, librt-shared-only-routines):
7332 Append rt-aeabi_unwind_cpp_pr1 here.
7333 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
7334 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
7335 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
7336 (libpthread-sysdep_routines, libpthread-shared-only-routines):
7337 Append nptl-aeabi_unwind_cpp_pr1 here.
7338 (tests): Filter out tst-cleanupx4 here.
7339 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
7340 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
7341 Don't do those here.
7343 2014-06-26 Joseph Myers <joseph@codesourcery.com>
7345 * scripts/list-sources.sh: Do not handle ports specially.
7347 2014-06-26 Roland McGrath <roland@hack.frob.com>
7349 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
7350 * sysdeps/arm/feupdateenv.c: Likewise.
7352 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
7354 2014-06-26 Joseph Myers <joseph@codesourcery.com>
7356 * manual/texinfo.tex: Update to version 2014-05-05.10 with
7357 trailing whitespace removed.
7358 * scripts/config.guess: Update to version 2014-03-23.
7359 * scripts/config.sub: Update to version 2014-05-01
7360 * scripts/install-sh: Update to version 2013-12-25.23.
7361 * scripts/move-if-change: Update from gnulib.
7363 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7365 * debug/memmove_chk.c: Remove pagecopy.h include.
7367 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
7369 * time/mktime.c (leapyear): Remove inline keyword. The code is now
7370 identical to gnulib mktime.
7372 2014-06-26 Joseph Myers <joseph@codesourcery.com>
7374 * configure.ac: Do not test for machine being rs6000. Do not test
7376 * configure: Regenerated.
7378 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
7380 * configure: Regenerated.
7381 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
7382 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
7383 Remove configure test.
7384 * sysdeps/arm/configure: Regenerated.
7385 * sysdeps/nptl/configure.ac: Do not check
7386 libc_cv_asm_cfi_directives.
7387 * sysdeps/nptl/configure: Regenerated.
7388 * sysdeps/x86_64/nptl/configure.ac: Remove file.
7389 * sysdeps/x86_64/nptl/configure: Remove generated file.
7390 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
7392 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
7394 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7396 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
7397 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
7398 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
7401 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
7402 instead of whether it is defined.
7403 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
7404 * sysdeps/hppa/dl-machine.h: Likewise.
7405 * sysdeps/ia64/dl-machine.h: Likewise.
7406 * sysdeps/m68k/dl-machine.h: Likewise.
7407 * sysdeps/microblaze/dl-machine.h: Likewise.
7408 * sysdeps/mips/dl-machine.: Likewise.
7409 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7410 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7411 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7412 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7413 * sysdeps/sh/dl-machine.h: Likewise.
7414 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7415 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7416 * sysdeps/tile/dl-machine.h: Likewise.
7417 * sysdeps/x86_64/dl-machine.h: Likewise.
7419 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
7421 (verify_persistent_db): Likewise.
7423 2014-06-26 Roland McGrath <roland@hack.frob.com>
7425 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
7426 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
7427 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
7428 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
7429 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7431 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
7433 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
7434 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
7435 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
7436 Identical file removed.
7437 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
7438 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
7439 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
7440 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
7441 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
7442 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
7443 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
7444 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
7445 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
7446 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
7447 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7449 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
7450 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
7451 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
7452 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
7453 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
7454 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7456 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
7457 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
7458 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
7459 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
7460 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
7461 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
7462 Identical file removed.
7463 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
7464 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
7465 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
7466 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
7467 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7469 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
7471 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
7472 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
7473 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
7474 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
7475 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
7476 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
7477 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
7478 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
7479 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
7480 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
7481 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7483 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
7484 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
7486 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
7487 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
7488 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
7489 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7491 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
7492 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
7493 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
7495 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
7497 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
7498 * sysdeps/unix/sysv/linux/s390/Versions
7499 (libpthread: GLIBC_2.19): New version set.
7500 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
7501 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
7502 (librt: GLIBC_2.3.3): New version set.
7503 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
7504 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
7505 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
7506 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
7507 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
7508 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
7509 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
7510 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
7511 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
7512 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
7513 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
7514 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
7515 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
7516 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
7517 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
7518 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
7519 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
7520 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
7521 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
7522 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
7523 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
7524 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
7525 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
7526 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
7527 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
7528 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
7529 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
7530 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
7531 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
7532 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
7533 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
7534 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
7535 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
7536 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
7537 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
7538 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
7539 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
7540 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
7541 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
7542 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
7543 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
7544 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
7545 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
7546 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
7547 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
7549 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
7550 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
7551 (__libc_vfork): Define the function under this name.
7552 [!NOT_IN_libc] (__vfork): Make this an alias.
7553 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
7554 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
7555 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
7556 (__libc_vfork): Define the function under this name.
7557 [!NOT_IN_libc] (__vfork): Make this an alias.
7558 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
7559 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
7560 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
7561 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
7562 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
7563 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7565 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
7566 code that was previously under [RESET_PID].
7567 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
7568 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
7569 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
7571 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
7572 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
7573 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
7574 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
7575 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
7576 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
7577 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
7578 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
7579 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
7580 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
7581 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
7583 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
7584 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
7585 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
7586 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
7587 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
7588 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
7589 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
7590 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
7591 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
7592 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
7593 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
7594 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
7595 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
7596 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
7597 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
7598 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
7599 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
7600 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
7601 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
7602 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
7603 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
7604 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
7605 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
7606 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
7607 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
7608 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
7609 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
7610 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
7611 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
7613 2014-06-25 Roland McGrath <roland@hack.frob.com>
7615 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
7616 that was previously under [RESET_PID].
7617 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
7619 2014-06-25 Joseph Myers <joseph@codesourcery.com>
7621 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
7622 not undefine and redefine.
7623 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
7624 [O_CLOEXEC]: Make code unconditional.
7625 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
7626 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
7627 <kernel-features.h>.
7628 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
7629 conditional variable definition.
7630 (shm_open) [O_CLOEXEC]: Make code unconditional.
7631 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
7634 * configure.ac (USE_REGPARMS): Don't define here.
7635 * configure: Regenerated.
7636 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
7637 * sysdeps/i386/configure: Regenerated.
7639 * nptl/createthread.c: Don't include kernel-features.h.
7640 * nptl/pthread_cancel.c: Likewise.
7641 * nptl/pthread_condattr_setclock.c: Likewise.
7642 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
7643 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
7644 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
7645 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
7646 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
7647 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
7648 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
7649 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
7650 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
7651 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
7652 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
7653 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
7654 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
7655 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
7656 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
7657 * nscd/gai.c: Likewise.
7658 * nss/nss_db/db-open.c: Likewise.
7659 * sysdeps/generic/ldsodefs.h: Likewise.
7660 * sysdeps/sh/nptl/tls.h: Likewise.
7661 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
7662 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
7663 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
7664 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
7665 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
7666 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
7667 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
7668 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7669 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7670 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
7671 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
7672 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7673 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
7674 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
7675 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
7676 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
7677 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
7678 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
7679 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
7680 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
7681 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
7682 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
7683 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
7684 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
7685 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
7686 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
7687 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
7688 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
7689 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
7690 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
7691 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
7692 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
7693 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
7694 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7695 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
7696 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7697 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
7698 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
7699 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
7700 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
7701 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
7702 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
7703 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
7704 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7705 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
7706 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
7707 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
7708 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
7709 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
7710 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
7711 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
7712 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
7713 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
7714 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
7715 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
7716 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
7717 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7718 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
7719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
7721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
7722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
7723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
7724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
7725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
7726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
7727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
7730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
7731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
7732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
7733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
7734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
7735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
7739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
7740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
7741 * sysdeps/unix/sysv/linux/pread.c: Likewise.
7742 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
7743 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
7744 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
7745 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
7746 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
7747 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
7748 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
7749 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
7750 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
7751 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
7752 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
7753 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
7754 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
7755 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
7756 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
7757 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7758 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
7759 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
7760 * sysdeps/unix/sysv/linux/system.c: Likewise.
7761 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
7762 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
7763 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7764 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7765 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7766 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7767 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
7769 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
7770 * configure: Regenerated.
7771 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
7773 * configure.ac (base_machine): Do not set specially for particular
7775 * configure: Regenerated.
7776 * sysdeps/powerpc/preconfigure: Move machine and base_machine
7777 settings from configure.ac.
7778 * sysdeps/i386/preconfigure: New file.
7779 * sysdeps/s390/preconfigure: Likewise.
7780 * sysdeps/sh/preconfigure: Likewise.
7781 * sysdeps/sparc/preconfigure: Likewise.
7783 2014-06-25 Roland McGrath <roland@hack.frob.com>
7785 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
7786 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
7787 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
7788 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
7789 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
7790 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
7791 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
7792 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
7793 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
7794 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
7795 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
7796 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
7797 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
7798 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
7799 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
7800 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
7801 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
7802 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
7803 * sysdeps/sparc/sparc64/Makefile: ... appended here.
7805 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
7806 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
7807 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
7808 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
7809 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
7810 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
7811 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
7812 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
7813 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
7814 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
7815 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
7816 * sysdeps/sparc/sparc32/sem_post.c: ... here.
7817 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
7818 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
7819 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
7820 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
7821 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
7822 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
7823 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
7824 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
7825 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
7826 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
7827 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
7828 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
7829 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
7830 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
7831 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
7832 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
7833 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
7834 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
7835 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
7836 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
7837 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
7838 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
7839 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
7840 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
7841 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
7842 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
7844 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
7845 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
7846 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
7847 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
7848 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7850 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
7852 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
7853 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
7854 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
7855 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
7856 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
7858 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
7859 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
7860 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
7861 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
7862 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
7863 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
7864 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
7865 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7867 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
7868 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7870 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
7871 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
7872 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
7873 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7875 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
7876 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
7877 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
7878 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
7879 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
7880 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
7881 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
7882 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
7883 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
7884 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7886 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
7888 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
7889 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
7890 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
7891 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
7892 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
7894 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
7895 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
7896 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
7897 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
7898 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
7899 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
7900 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
7901 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7903 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
7904 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7906 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
7907 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
7908 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
7909 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7911 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
7912 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
7913 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
7914 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
7915 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
7917 2014-06-25 Joseph Myers <joseph@codesourcery.com>
7919 * timezone/checktab.awk: Update from tzcode 2014e.
7920 * timezone/private.h: Likewise.
7921 * timezone/tzfile.h: Likewise.
7922 * timezone/zdump.c: Likewise.
7923 * timezone/zic.c: Likewise.
7925 * sysdeps/unix/sysv/linux/kernel-features.h
7926 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
7927 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
7928 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
7929 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
7930 Remove conditional code.
7932 2014-06-25 Will Newton <will.newton@linaro.org>
7934 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
7935 (_dl_arm_cap_flags): Add HWCAP2 values.
7936 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
7937 (_DL_HWCAP_COUNT): Increase to 37.
7938 (_DL_HWCAP_LAST): New define.
7939 (_DL_HWCAP2_LAST): New define.
7940 (_dl_procinfo): Add support for printing
7942 (_dl_string_hwcap): Use _dl_hwcap_string.
7944 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7946 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7948 2014-06-25 Joseph Myers <joseph@codesourcery.com>
7950 * README: Do not mention ports directory.
7952 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
7954 * sysdeps/unix/sysv/linux/futimes.c: Do not include
7955 <kernel-features.h>.
7956 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
7957 conditional variable definition.
7958 (__futimes): Update comment.
7959 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
7960 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
7963 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
7964 arguments close to 0.
7965 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
7967 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
7969 * math/auto-libm-test-in: Add more tests of exp10.
7970 * math/auto-libm-test-out: Regenerated.
7971 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7973 * sysdeps/unix/sysv/linux/kernel-features.h
7974 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
7975 * sysdeps/unix/sysv/linux/readv.c: Do not include
7976 <kernel-features.h>.
7977 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
7978 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
7979 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
7981 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
7983 * sysdeps/unix/sysv/linux/writev.c: Do not include
7984 <kernel-features.h>.
7985 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
7986 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
7987 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
7989 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
7992 2014-06-25 Will Newton <will.newton@linaro.org>
7994 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
7995 comment changes throughout the file. Remove checks
7996 for HAVE_*_H definitions that are not required.
7997 (__gen_tempname): Call abort if an unknown kind value is
8000 2014-06-25 Andreas Schwab <schwab@suse.de>
8003 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
8004 scalbln, scalblnf, scalblnl in libc.
8006 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8009 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
8010 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
8011 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
8013 2014-06-24 Roland McGrath <roland@hack.frob.com>
8015 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
8016 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
8017 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
8018 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
8020 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
8021 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
8023 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
8024 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
8025 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
8026 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
8027 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
8028 * sysdeps/x86/bits/pthreadtypes.h: ... here.
8029 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
8030 * sysdeps/x86/bits/semaphore.h: ... here.
8031 * sysdeps/x86/nptl/elide.h: Moved ...
8032 * sysdeps/x86/elide.h: ... here.
8033 * sysdeps/x86_64/nptl/Implies: File removed.
8034 * sysdeps/i386/nptl/Implies: File removed.
8036 2014-06-24 Joseph Myers <joseph@codesourcery.com>
8039 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
8040 return the argument for normal arguments with exponent below -64.
8041 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
8043 * math/auto-libm-test-in: Add another test of expm1.
8044 * math/auto-libm-test-out: Regenerated.
8047 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
8048 calling __erfcl for arguments at least 16.
8049 * math/auto-libm-test-in: Add more tests of erf.
8050 * math/auto-libm-test-out: Regenerated.
8052 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
8053 individual architectures.
8054 * sysdeps/unix/sysv/linux/configure: Regenerated.
8055 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
8056 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
8057 * sysdeps/unix/sysv/linux/powerpc/configure.ac
8058 (ldd_rewrite_script): Define variable.
8059 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
8060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
8062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
8064 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
8065 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
8066 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
8067 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
8068 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
8069 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
8070 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
8071 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
8073 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8076 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
8077 Rename member __data.d to __data.__elision_data.
8079 2014-06-24 Wilco <wdijkstr@arm.com>
8081 * NEWS: Add 16918 to fixed bug list.
8083 2014-06-24 Wilco <wdijkstr@arm.com>
8085 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
8087 2014-06-24 Wilco <wdijkstr@arm.com>
8089 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
8090 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
8091 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
8092 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
8093 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
8094 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
8095 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
8098 2014-06-24 Wilco <wdijkstr@arm.com>
8100 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
8102 2014-06-24 Wilco <wdijkstr@arm.com>
8104 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
8105 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
8106 * sysdeps/arm/fesetround.c (fesetround): Remove space.
8107 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
8109 2014-06-24 Wilco <wdijkstr@arm.com>
8112 * sysdeps/arm/feupdateenv.c (feupdateenv):
8113 Rewrite to reduce FPSCR accesses and fix return value.
8115 2014-06-24 Wilco <wdijkstr@arm.com>
8117 * sysdeps/arm/fclrexcpt.c (feclearexcept):
8118 Optimize to avoid unnecessary FPSCR writes.
8119 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
8120 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
8121 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
8122 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
8124 2014-06-24 Wilco <wdijkstr@arm.com>
8126 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
8127 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
8128 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
8129 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
8130 Call libc_fetestexcept_vfp.
8131 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
8132 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
8133 __SOFTFP__ ifdef so that they can be built for softfp.
8135 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8137 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
8138 argument type signed char.
8140 * Makerules (check-abi): Dump diff of symlist if the test
8143 2014-06-23 Roland McGrath <roland@hack.frob.com>
8145 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
8148 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
8149 Remove unused variable ST.
8151 2014-06-23 Joseph Myers <joseph@codesourcery.com>
8155 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
8156 small arguments before calling __expm1.
8157 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
8158 small arguments before calling __expm1f.
8159 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
8160 small arguments before calling __expm1l.
8161 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
8163 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
8164 * math/auto-libm-test-in: Add more cosh tests. Do not allow
8165 spurious underflow for some cosh tests.
8166 * math/auto-libm-test-out: Regenerated.
8167 * sysdeps/i386/fpu/libm-test-ulps: Update.
8170 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
8171 (__ieee754_y1): Set errno if return value overflows.
8172 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
8173 (__ieee754_y1f): Set errno if return value overflows.
8174 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
8175 (__ieee754_y1l): Set errno if return value overflows.
8176 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
8177 (__ieee754_y1l): Set errno if return value overflows.
8178 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
8179 * math/auto-libm-test-out: Regenerated.
8181 * math/gen-auto-libm-tests.c: Document use of
8182 ignore-zero-inf-sign.
8183 (input_flag_type): Add value flag_ignore_zero_inf_sign.
8184 (input_flags): Add ignore-zero-inf-sign.
8185 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
8186 * math/gen-libm-test.pl (generate_testfile): Handle
8187 ignore-zero-inf-sign.
8188 * math/auto-libm-test-in: Mark some cpow tests with
8189 ignore-zero-inf-sign and some with xfail-rounding.
8190 * math/auto-libm-test-out: Regenerated.
8191 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
8192 * sysdeps/i386/fpu/libm-test-ulps: Update.
8193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8196 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
8197 overflowing or underflowing operations take place with sign of
8199 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8200 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8201 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
8202 (__ieee754_pow): Recompute overflowing and underflowing results in
8203 original rounding mode.
8204 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
8205 (__powl_helper): Allow negative argument X and scale negated value
8206 as needed. Avoid passing value outside [-1, 1] to f2xm1.
8207 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
8208 overflowing or underflowing operations take place with sign of
8210 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
8212 * math/auto-libm-test-in: Add more tests of pow.
8213 * math/auto-libm-test-out: Regenerated.
8214 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
8215 (pow_tonearest_test_data): Remove.
8216 (pow_test_tonearest): Likewise.
8217 (pow_towardzero_test_data): Likewise.
8218 (pow_test_towardzero): Likewise.
8219 (pow_downward_test_data): Likewise.
8220 (pow_test_downward): Likewise.
8221 (pow_upward_test_data): Likewise.
8222 (pow_test_upward): Likewise.
8223 (main): Don't call removed functions.
8224 * sysdeps/i386/fpu/libm-test-ulps: Update.
8225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8227 2014-06-23 Roland McGrath <roland@hack.frob.com>
8229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
8231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
8232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
8235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
8237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
8238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
8240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
8241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
8243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
8245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
8247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
8249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
8251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
8253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
8255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
8259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
8261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
8263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
8265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
8267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
8268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
8270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
8272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
8274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
8275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
8277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
8278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
8280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
8281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
8283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
8284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
8286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
8287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
8289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
8290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
8292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
8293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
8294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
8296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
8298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
8299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
8301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
8305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
8311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
8313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
8314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
8317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
8318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
8319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
8323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
8325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
8327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
8330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
8332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
8333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
8336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
8339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
8341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
8343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
8345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
8346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
8348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
8349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
8351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
8352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
8354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
8355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
8356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
8357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
8359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
8360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
8362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
8363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
8365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
8367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
8371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
8373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
8375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
8377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
8378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
8380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
8381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
8383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
8384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
8386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
8388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
8390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
8392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
8394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
8396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
8398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
8399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
8401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
8403 2014-06-23 Will Newton <will.newton@linaro.org>
8404 Wilco <wdijkstr@arm.com>
8406 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
8407 implementation. Include get-rounding-mode.h.
8408 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
8409 [!libc_feholdsetround_noex_ctx]: Define
8410 libc_feholdsetround_noex_ctx.
8411 [!libc_feholdsetround_noexf_ctx]: Define
8412 libc_feholdsetround_noexf_ctx.
8413 [!libc_feholdsetround_noexl_ctx]: Define
8414 libc_feholdsetround_noexl_ctx.
8415 (libc_feholdsetround_ctx): New function.
8416 (libc_feresetround_ctx): New function.
8417 (libc_feholdsetround_noex_ctx): New function.
8418 (libc_feresetround_noex_ctx): New function.
8420 2014-06-23 Roland McGrath <roland@hack.frob.com>
8422 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
8423 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
8424 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
8425 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
8426 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
8427 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
8429 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
8430 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
8431 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
8432 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
8433 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
8434 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
8435 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
8436 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
8437 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
8438 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
8439 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
8441 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
8443 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
8444 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
8445 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
8446 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
8447 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
8449 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
8450 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
8451 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
8452 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
8453 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
8454 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
8455 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
8456 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
8458 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
8459 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
8461 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
8462 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
8463 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
8464 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
8466 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
8467 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
8468 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
8469 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
8470 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
8471 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
8472 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
8473 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
8474 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
8475 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
8477 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
8479 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
8480 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
8481 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
8482 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
8483 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
8484 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
8485 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
8486 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
8487 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
8488 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
8489 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
8490 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
8491 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
8493 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
8494 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
8495 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
8496 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
8497 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
8498 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
8500 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
8501 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
8502 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
8503 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
8504 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
8506 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
8507 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
8508 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
8509 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
8510 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
8511 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
8512 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
8513 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
8514 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
8515 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
8516 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
8517 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
8518 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
8519 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
8520 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
8521 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
8522 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
8523 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
8524 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
8525 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
8526 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
8527 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
8528 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
8529 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
8530 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
8531 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
8532 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
8533 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
8535 2014-06-23 Joseph Myers <joseph@codesourcery.com>
8537 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
8538 (FALLOC_FL_COLLAPSE_RANGE): New macro.
8539 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
8540 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
8541 (IPV6_PMTUDISC_INTERFACE): Likewise.
8542 (IPV6_PMTUDISC_OMIT): Likewise.
8544 2014-06-23 Andreas Schwab <schwab@suse.de>
8546 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
8547 Remove unused errout label.
8549 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8551 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
8552 macro: hardware supports Vector Crypto instructions.
8554 2014-06-23 Will Newton <will.newton@linaro.org>
8556 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
8557 rather than __builtin_expect.
8559 * elf/dl-lookup.c (undefined_msg): Remove variable.
8560 (_dl_lookup_symbol_x): Replace undefined_msg with string
8563 * elf/dl-lookup.c (do_lookup_unique): New function.
8564 (do_lookup_x): Move STB_GNU_UNIQUE handling code
8565 to a separate function.
8567 2014-06-23 Andreas Schwab <schwab@suse.de>
8570 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
8571 before reading the next line.
8573 2014-06-23 Will Newton <will.newton@linaro.org>
8575 * test-skeleton.c (signal_handler): Use printf and %m
8576 rather than perror. Use printf rather than fprintf to
8577 stderr. Use puts rather than fputs to stderr.
8580 2014-06-22 Ludovic Courtès <ludo@gnu.org>
8582 * nscd/nscd.c (thread_info_t): Remove typedef.
8583 (thread_info): Remove variable.
8585 2014-06-21 Allan McRae <allan@archlinux.org>
8587 * NEWS: Mention CVE-2014-4043.
8589 2014-06-20 Roland McGrath <roland@hack.frob.com>
8591 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
8592 * nptl/smp.h: ... here.
8594 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
8596 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
8597 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
8598 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
8599 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
8601 * nptl/allocatestack.c: Include <stack-aliasing.h>.
8602 * nptl/stack-aliasing.h: New file.
8603 * sysdeps/i386/i686/stack-aliasing.h: New file.
8604 * sysdeps/i386/i686/nptl/Makefile: File removed.
8605 * sysdeps/x86_64/stack-aliasing.h: New file.
8606 * sysdeps/x86_64/nptl/Makefile
8607 (CFLAGS-pthread_create.c): Variable removed.
8609 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
8610 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
8612 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
8613 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
8616 2014-06-21 Joseph Myers <joseph@codesourcery.com>
8618 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8619 (__ASSUME_SIGFRAME_V2): Remove macro.
8620 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
8621 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
8622 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
8623 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
8624 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
8625 Declare as function. Remove conditional macro definitions.
8626 (__default_rt_sa_restorer): Likewise.
8627 (__default_sa_restorer_v1): Remove declaration.
8628 (__default_sa_restorer_v2): Likewise.
8629 (__default_rt_sa_restorer_v1): Likewise.
8630 (__default_rt_sa_restorer_v2): Likewise.
8631 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
8632 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
8633 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
8635 2014-06-20 Roland McGrath <roland@hack.frob.com>
8637 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
8638 (libpthread-routines): Add sysdep.
8639 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
8640 * sysdeps/unix/sysv/linux/sparc/Versions
8641 (libpthread: GLIBC_2.3.3): New version set.
8642 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
8643 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
8644 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
8645 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
8646 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
8647 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
8649 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
8650 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
8651 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
8652 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
8653 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
8654 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
8655 * sysdeps/sparc/nptl/sem_init.c: ... here.
8656 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
8657 * sysdeps/sparc/nptl/sem_post.c: ... here.
8658 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
8659 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
8660 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
8661 * sysdeps/sparc/nptl/sem_wait.c: ... here.
8662 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
8663 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
8664 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
8665 (libpthread-routines): Add cpu_relax.
8666 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
8668 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
8669 (librt: GLIBC_2.3.3): New version set.
8670 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
8671 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
8672 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
8673 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
8674 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
8675 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
8676 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
8677 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
8679 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
8680 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
8681 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
8682 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
8683 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
8684 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
8685 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
8686 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
8687 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
8688 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
8690 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
8692 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
8694 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
8696 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
8698 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
8700 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
8702 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
8704 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
8706 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
8708 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
8710 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
8712 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
8713 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
8714 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
8715 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
8716 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
8717 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
8718 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
8719 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
8720 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
8721 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
8722 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
8724 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
8725 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
8726 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
8727 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
8728 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
8730 2014-06-20 Joseph Myers <joseph@codesourcery.com>
8732 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
8733 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
8734 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
8735 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
8736 * nscd/nscd.c: Likewise.
8737 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
8738 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
8739 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
8740 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
8742 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
8743 <kernel-features.h>.
8744 (init_mq_netlink): Remove conditional have_sock_cloexec
8745 definitions. Remove code conditional on have_sock_cloexec < 0.
8746 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
8747 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
8748 * sysdeps/unix/sysv/linux/opensock.c: Do not include
8749 <kernel-features.h>.
8750 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
8751 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
8753 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
8755 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8756 Add tests for memset_chk and memset.
8758 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
8761 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
8764 * elf/tst-dl-iter-static.c: New file.
8765 * elf/Makefile (tests-static): Add tst-dl-iter-static.
8767 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
8770 2014-06-20 Joseph Myers <joseph@codesourcery.com>
8772 * sysdeps/unix/sysv/linux/kernel-features.h
8773 (__ASSUME_F_GETOWN_EX): Remove macro.
8774 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
8775 <kernel-features.h>.
8776 (miss_F_GETOWN_EX): Remove variable or macro.
8777 (do_fcntl): Do not check miss_F_GETOWN_EX.
8778 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
8780 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
8782 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
8783 [!__ASSUME_AT_RANDOM]: Remove conditional code.
8784 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
8786 * sysdeps/unix/sysv/linux/kernel-features.h
8787 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
8788 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
8789 [ADJ_OFFSET_SS_READ]: Make code unconditional.
8790 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
8792 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
8795 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
8796 Fix calculation of the symbol's value.
8797 * sysdeps/arm/tst-armtlsdescloc.c: New file.
8798 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
8799 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
8800 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
8801 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
8802 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
8803 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
8804 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
8805 (modules-names): Add `tst-armtlsdescmod',
8806 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
8807 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
8808 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
8809 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
8810 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
8811 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
8812 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
8813 ($(objpfx)tst-armtlsdescloc): New dependency.
8814 ($(objpfx)tst-armtlsdescextnow): Likewise.
8815 ($(objpfx)tst-armtlsdescextlazy): Likewise.
8816 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
8818 * sysdeps/arm/configure: Regenerate.
8820 2014-06-20 Joseph Myers <joseph@codesourcery.com>
8822 * include/fcntl.h (__atfct_seterrno): Remove prototype.
8823 (__atfct_seterrno_2): Likewise.
8824 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
8825 <kernel-features.h>.
8826 (__ASSUME_ATFCTS): Do not undefine and redefine.
8827 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
8828 (__have_atfcts): Remove conditional definition.
8829 (__fxstatat([__NR_fstatat64]: Make code unconditional.
8830 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
8831 unreachable if [__ASSUME_ATFCTS].
8832 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
8833 not undefine and redefine.
8834 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
8835 <kernel-features.h>.
8836 (faccessat) [__NR_faccessat]: Make code unconditional.
8837 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
8838 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
8839 <kernel-features.h>.
8840 (fchmodat) [__NR_fchmodat]: Make code unconditional.
8841 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
8842 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
8843 <kernel-features.h>.
8844 (fchownat) [__NR_fchownat]: Make code unconditional.
8845 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
8846 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
8847 <kernel-features.h>.
8848 (futimesat) [__NR_futimesat]: Make code unconditional.
8849 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
8850 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8851 <kernel-features.h>.
8852 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
8853 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8854 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8855 <kernel-features.h>.
8856 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
8857 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
8858 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
8859 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8860 <kernel-features.h>.
8861 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
8862 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8863 * sysdeps/unix/sysv/linux/linkat.c: Do not include
8864 <kernel-features.h>.
8865 (linkat) [__NR_linkat]: Make code unconditional.
8866 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8867 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
8868 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
8869 <kernel-features.h>.
8870 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
8871 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
8872 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
8873 <kernel-features.h>.
8874 (mkdirat) [__NR_mkdirat]: Make code unconditional.
8875 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
8876 * sysdeps/unix/sysv/linux/openat.c: Do not include
8877 <kernel-features.h>.
8878 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
8879 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
8880 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
8881 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
8882 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
8883 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
8884 <kernel-features.h>.
8885 (readlinkat) [__NR_readlinkat]: Make code unconditional.
8886 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
8887 result of INLINE_SYSCALL directly, not via int variable.
8888 * sysdeps/unix/sysv/linux/renameat.c: Do not include
8889 <kernel-features.h>.
8890 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
8891 (renameat) [__NR_renameat]: Make code unconditional.
8892 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
8893 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
8894 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
8895 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
8896 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
8897 (__ASSUME_ATFCTS): Do not undefine and redefine.
8898 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
8899 <kernel-features.h>.
8900 (symlinkat) [__NR_symlinkat]: Make code unconditional.
8901 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8902 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
8903 <kernel-features.h>.
8904 (unlinkat) [__NR_unlinkat]: Make code unconditional.
8905 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8906 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
8907 (__ASSUME_ATFCTS): Do not undefine and redefine.
8908 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8909 <kernel-features.h>.
8910 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
8911 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8912 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
8913 <kernel-features.h>.
8914 (__xmknodat) [__NR_mknodat]: Make code unconditional.
8915 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
8917 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
8919 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
8921 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
8924 * posix/regcomp.c (parse_reg_exp): Deallocate partially
8925 constructed tree before returning error.
8926 * posix/bug-regexp36.c: Expand test case.
8928 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
8931 * math/libm-test.inc (scalbln_test_date):
8932 Add errno expectations.
8933 * math/w_scalblnf.c: New File.
8934 Add wrapper which checks for setting errno to ERANGE.
8935 Add weak_alias for corresponding scalbln function.
8936 * math/w_scalbln.c: Likewise.
8937 * math/w_scalblnl.c: Likewise.
8938 * math/Makefile (libm-calls): Add w_scalbln.
8939 * sysdeps/ieee754/flt-32/s_scalblnf.c:
8940 Remove weak_alias for corresponding scalbln function.
8941 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8942 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
8943 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8944 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8945 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
8946 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
8947 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
8948 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
8949 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
8950 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
8951 Remove long_double_symbol for scalblnl function in libm, libc.
8952 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
8953 Add wrapper which checks for setting errno to ERANGE.
8954 Add long_double_symbol for scalblnl function in libm, libc.
8955 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
8956 Remove long_double_symbol for scalblnl in libm.
8957 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
8958 Add wrapper which checks for setting errno to ERANGE.
8959 Add long_double_symbol for scalblnl function in libm.
8960 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
8961 Do not use wrapper because of own implementation.
8963 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
8965 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
8966 3 bytes for __pad1 for x32.
8967 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
8969 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
8970 H.J. Lu <hongjiu.lu@intel.com>
8972 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
8973 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
8974 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8975 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8976 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
8978 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
8981 * posix/regcomp.c (parse_expression): Deallocate partially
8982 constructed tree before returning error.
8983 * posix/Makefile.c (tests): Add bug-regex36.
8984 (generated): Add bug-regex36.mtrace.
8985 (tests-special): Add $(objpfx)bug-regex36-mem.out
8986 (bug-regex36-ENV): New variable.
8987 ($(objpfx)bug-regex36-mem.out): New rule.
8988 * posix/bug-regex36.c: New file.
8990 2014-06-19 Will Newton <will.newton@linaro.org>
8992 * malloc/malloc.c (systrim): If extra is zero then return
8995 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8997 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
8999 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
9001 * sysdeps/aarch64/strchr.S: New file.
9003 2014-06-18 Joseph Myers <joseph@codesourcery.com>
9006 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
9007 from arguments -2 or below.
9008 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9009 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
9011 2014-06-18 Andreas Schwab <schwab@suse.de>
9014 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
9015 of a bracket expr not to run off the end of the string.
9016 * posix/Makefile (tests): Add tst-fnmatch3.
9017 * posix/tst-fnmatch3.c: New file.
9019 2014-06-18 Joseph Myers <joseph@codesourcery.com>
9021 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
9022 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9023 [$(cross-compiling) = no]: Likewise.
9024 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9025 [$(cross-compiling) = no]: Likewise.
9027 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9030 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
9031 double, adjusted for any remainder from the high double.
9032 * math/libm-test.inc (nearbyint): Add tests.
9035 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9037 * nptl/sysdeps/powerpc/Makefile: Moved ...
9038 * sysdeps/powerpc/nptl/Makefile: ... here.
9039 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
9040 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
9041 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
9042 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
9043 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
9044 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
9045 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
9046 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
9047 * nptl/sysdeps/powerpc/tls.h: Moved ...
9048 * sysdeps/powerpc/nptl/tls.h: ... here.
9050 2014-06-16 Joseph Myers <joseph@codesourcery.com>
9053 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
9054 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
9055 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
9056 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
9057 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
9058 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
9059 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
9060 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
9061 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
9063 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
9065 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
9067 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
9069 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
9072 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
9075 2014-06-16 Florian Weimer <fweimer@redhat.com>
9078 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
9079 non-executed part of the test.
9081 2014-06-16 Andreas Schwab <schwab@suse.de>
9083 * string/bits/string2.h (strdup, strndup): Update feature guard.
9085 2014-06-14 David S. Miller <davem@davemloft.net>
9087 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9089 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
9091 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
9092 that was previously under [RESET_PID].
9093 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
9095 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
9096 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
9097 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
9098 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9099 (__libc_vfork): New strong alias.
9100 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
9102 2014-06-14 Andi Kleen <ak@linux.intel.com>
9104 * sysdeps/generic/elide.h: New file.
9106 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9108 * Makefile (installed-headers): Adjust path of pthread.h header.
9110 2014-06-13 Roland McGrath <roland@hack.frob.com>
9112 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
9113 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
9114 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
9115 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
9117 * nptl/sysdeps/s390/Makefile: Moved ...
9118 * sysdeps/s390/nptl/Makefile: ... here.
9119 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
9120 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
9121 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
9122 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
9123 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
9124 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
9125 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
9126 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
9127 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
9128 * sysdeps/s390/nptl/pthreaddef.h: ... here.
9129 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
9130 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
9131 * nptl/sysdeps/s390/tls.h: Moved ...
9132 * sysdeps/s390/nptl/tls.h: ... here.
9134 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
9135 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
9137 2014-06-13 David S. Miller <davem@davemloft.net>
9139 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
9140 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
9141 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
9142 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
9143 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
9144 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
9145 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
9146 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
9147 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
9148 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
9149 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
9150 Remove RESET_PID cpp guards.
9151 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
9152 Remove RESET_PID cpp guards.
9153 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
9155 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
9157 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
9160 2014-06-13 Andi Kleen <ak@linux.intel.com>
9162 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
9163 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
9164 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
9165 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
9166 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
9167 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
9168 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
9169 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
9170 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
9171 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
9172 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
9173 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
9174 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
9175 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
9176 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
9177 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
9178 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
9179 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
9180 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
9181 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
9183 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
9184 (pthread_rwlock_rdlock): Add elision.
9185 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
9186 (pthread_rwlock_wrlock): Add elision.
9187 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
9188 (pthread_rwlock_trywrlock): Add elision.
9189 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
9190 (pthread_rwlock_tryrdlock): Add elision.
9191 * nptl/pthread_rwlock_unlock.c: Include elide.h.
9192 (pthread_rwlock_tryrdlock): Add elision unlock.
9193 * nptl/sysdeps/pthread/pthread.h:
9194 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
9195 (PTHREAD_RWLOCK_INITIALIZER,
9196 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
9197 Handle new elision field.
9198 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
9199 * sysdeps/arm/nptl/bits/pthreadtypes.h
9200 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9201 * sysdeps/sh/nptl/bits/pthreadtypes.h
9202 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9203 * sysdeps/tile/nptl/bits/pthreadtypes.h
9204 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9205 * sysdeps/a/nptl/bits/pthreadtypes.h
9206 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9207 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
9208 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9209 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
9210 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9211 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
9212 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9213 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
9214 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9215 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
9216 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9217 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
9218 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9219 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
9220 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9221 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
9222 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9223 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
9224 (elision_init): Set try_xbegin to zero when no RTM.
9225 * sysdeps/x86/nptl/bits/pthreadtypes.h
9226 (pthread_rwlock_t): Change __pad1 to __rwelision.
9227 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9229 2014-06-13 Andi Kleen <ak@linux.intel.com>
9231 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
9232 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
9233 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
9234 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
9236 2014-06-13 Meador Inge <meadori@codesourcery.com>
9239 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
9240 that the cached result has been set before returning it.
9242 2014-06-12 Roland McGrath <roland@hack.frob.com>
9244 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
9245 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
9246 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
9247 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
9248 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
9249 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
9251 * nptl/sysdeps/sparc/Makefile: Moved ...
9252 * sysdeps/sparc/nptl/Makefile: ... here.
9253 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
9254 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
9255 * nptl/sysdeps/sparc/tls.h: Moved ...
9256 * sysdeps/sparc/nptl/tls.h: ... here.
9257 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
9258 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
9259 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
9260 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
9261 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
9262 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
9263 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
9264 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
9265 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
9266 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
9267 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
9268 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
9269 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
9270 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
9271 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
9272 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
9273 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
9274 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
9276 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
9277 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
9279 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
9280 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
9282 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
9283 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
9286 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
9288 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
9289 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
9291 * sysdeps/pthread/posix-timer.h: Include <list.h>.
9292 (struct list_links): Type removed.
9293 (struct thread_node, struct timer_node): Replace struct list_links
9294 with struct list_head.
9295 (list_unlink_ip): Likewise.
9296 * sysdeps/pthread/timer_routines.c
9297 (timer_free_list, thread_free_list, thread_active_list): Likewise.
9298 (list_append, list_insbefore): Likewise.
9299 (list_init): Function removed.
9300 (thread_init, init_module): Use INIT_LIST_HEAD instead.
9301 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
9302 * sysdeps/pthread/Makefile: ... here, new file.
9304 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
9305 * sysdeps/nptl/Implies: ... here.
9306 * sysdeps/unix/sysv/linux/Implies: Add nptl.
9307 * nptl/sysdeps/pthread/list.h: Moved ...
9308 * include/list.h: ... here.
9309 * nptl/sysdeps/pthread/createthread.c: Moved ...
9310 * nptl/createthread.c: ... here.
9311 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
9312 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
9313 * nptl/pt-longjmp.c: ... here.
9314 * nptl/sysdeps/pthread/Makefile: Moved ...
9315 * sysdeps/nptl/Makefile: ... here.
9316 * nptl/sysdeps/pthread/Subdirs: Moved ...
9317 * sysdeps/nptl/Subdirs: ... here.
9318 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
9319 * sysdeps/nptl/aio_misc.h: ... here.
9320 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
9321 * sysdeps/nptl/bits/libc-lock.h: ... here.
9322 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
9323 * sysdeps/nptl/bits/libc-lockP.h: ... here.
9324 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
9325 * sysdeps/nptl/bits/stdio-lock.h: ... here.
9326 * nptl/sysdeps/pthread/configure: Moved ...
9327 * sysdeps/nptl/configure: ... here.
9328 * nptl/sysdeps/pthread/configure.ac: Moved ...
9329 * sysdeps/nptl/configure.ac: ... here.
9330 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
9331 * sysdeps/nptl/gai_misc.h: ... here.
9332 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
9333 * sysdeps/nptl/librt-cancellation.c: ... here.
9334 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
9335 * sysdeps/nptl/malloc-machine.h: ... here.
9336 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
9337 * sysdeps/nptl/pthread-functions.h: ... here.
9338 * nptl/sysdeps/pthread/pthread.h: Moved ...
9339 * sysdeps/nptl/pthread.h: ... here.
9340 * nptl/sysdeps/pthread/setxid.h: Moved ...
9341 * sysdeps/nptl/setxid.h: ... here.
9342 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
9343 * sysdeps/nptl/sigfillset.c: ... here.
9344 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
9345 * sysdeps/nptl/tcb-offsets.h: ... here.
9346 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
9347 * sysdeps/nptl/tst-mqueue8x.c: ... here.
9348 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
9349 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
9350 * nptl/sysdeps/pthread/allocalim.h: Moved ...
9351 * sysdeps/pthread/allocalim.h: ... here.
9352 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
9353 * sysdeps/pthread/bits/sigthread.h: ... here.
9354 * nptl/sysdeps/pthread/flockfile.c: Moved ...
9355 * sysdeps/pthread/flockfile.c: ... here.
9356 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
9357 * sysdeps/pthread/ftrylockfile.c: ... here.
9358 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
9359 * sysdeps/pthread/funlockfile.c: ... here.
9360 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
9361 * sysdeps/pthread/posix-timer.h: ... here.
9362 * nptl/sysdeps/pthread/timer_create.c: Moved ...
9363 * sysdeps/pthread/timer_create.c: ... here.
9364 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
9365 * sysdeps/pthread/timer_delete.c: ... here.
9366 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
9367 * sysdeps/pthread/timer_getoverr.c: ... here.
9368 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
9369 * sysdeps/pthread/timer_gettime.c: ... here.
9370 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
9371 * sysdeps/pthread/timer_routines.c: ... here.
9372 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
9373 * sysdeps/pthread/timer_settime.c: ... here.
9374 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
9375 * sysdeps/pthread/tst-timer.c: ... here.
9376 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
9377 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
9379 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
9380 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
9382 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
9383 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
9384 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
9385 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
9386 Update #include target.
9387 * nptl/sysdeps/i386/i686/Makefile: Moved ...
9388 * sysdeps/i386/i686/nptl/Makefile: ... here.
9389 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
9390 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
9391 Update #include target.
9392 * nptl/sysdeps/i386/i686/tls.h: Moved ...
9393 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
9394 * nptl/sysdeps/i386/Makefile: Moved ...
9395 * sysdeps/i386/nptl/Makefile: ... here.
9396 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
9397 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
9398 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
9399 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
9400 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
9401 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
9402 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
9403 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
9404 * sysdeps/i386/nptl/pthreaddef.h: ... here.
9405 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
9406 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
9407 * nptl/sysdeps/i386/tls.h: Moved ...
9408 * sysdeps/i386/nptl/tls.h: ... here.
9410 * sysdeps/sh/Makefile [$(subdir) = csu]
9411 (gen-as-const-headers): Add tcb-offsets.sym.
9412 * nptl/sysdeps/sh/Makefile: File removed.
9413 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
9414 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
9415 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
9416 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
9417 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
9418 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
9419 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
9420 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
9421 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
9422 * sysdeps/sh/nptl/pthreaddef.h: ... here.
9423 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
9424 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
9425 * nptl/sysdeps/sh/tls.h: Moved ...
9426 * sysdeps/sh/nptl/tls.h: ... here.
9427 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
9428 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
9429 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
9430 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
9431 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
9432 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
9433 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
9434 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
9435 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
9436 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
9437 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
9438 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
9439 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
9440 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
9441 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
9442 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
9443 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
9444 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
9445 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
9446 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
9447 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
9448 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
9449 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
9450 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
9451 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
9453 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
9454 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
9456 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
9457 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
9458 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
9459 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
9460 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
9461 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
9462 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
9463 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
9464 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
9465 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
9466 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
9467 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
9468 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
9469 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
9470 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
9471 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
9472 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
9473 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
9474 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
9476 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
9478 * posix/spawn_faction_addopen.c: Include string.h.
9480 2014-06-11 Roland McGrath <roland@hack.frob.com>
9482 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
9483 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
9484 * nptl/sysdeps/x86_64/Makefile: Moved ...
9485 * sysdeps/x86_64/nptl/Makefile: ... here.
9486 * nptl/sysdeps/x86_64/configure: Moved ...
9487 * sysdeps/x86_64/nptl/configure: ... here.
9488 * nptl/sysdeps/x86_64/configure.ac: Moved ...
9489 * sysdeps/x86_64/nptl/configure.ac: ... here.
9490 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
9491 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
9492 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
9493 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
9494 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
9495 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
9496 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
9497 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
9498 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
9499 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
9500 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
9501 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
9502 * nptl/sysdeps/x86_64/tls.h: Moved ...
9503 * sysdeps/x86_64/nptl/tls.h: ... here.
9504 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
9505 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
9506 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
9507 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
9509 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
9511 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9513 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9515 2014-06-11 Joseph Myers <joseph@codesourcery.com>
9517 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
9519 [POSIX] (off_t): Likewise.
9520 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
9521 [POSIX] (S_ISBLK): Require macro.
9522 [POSIX] (S_ISCHR): Likewise.
9523 [POSIX] (S_ISDIR): Likewise.
9524 [POSIX] (S_ISFIFO): Likewise.
9525 [POSIX] (S_ISREG): Likewise.
9526 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
9528 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
9530 [POSIX] (time_t): Likewise.
9531 [POSIX] (timer_t): Likewise.
9533 2014-06-11 Florian Weimer <fweimer@redhat.com>
9536 * posix/spawn_int.h (struct __spawn_action): Make the path string
9537 non-const to support deallocation.
9538 * posix/spawn_faction_addopen.c
9539 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
9540 * posix/spawn_faction_destroy.c
9541 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
9542 path in all spawn_do_open actions.
9543 * posix/tst-spawn.c (do_test): Exercise the copy operation in
9544 posix_spawn_file_actions_addopen.
9546 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
9548 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
9549 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
9550 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
9551 conditional code always true.
9552 (__libc_vfork): New alias.
9554 2014-06-11 Roland McGrath <roland@hack.frob.com>
9556 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9557 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
9559 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
9561 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9562 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
9564 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
9565 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
9567 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9568 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
9570 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9572 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
9573 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
9574 multiarch strcmp for PPC64.
9575 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
9576 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
9577 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
9578 multiarch optimizations.
9579 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9580 (__libc_ifunc_impl_list): Likewise.
9582 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9584 * benchtests/scripts/validate_benchout.py: New script.
9585 * benchtests/Makefile (bench-func): Call it.
9586 * benchtests/scripts/benchout.schema.json: New file.
9588 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
9590 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
9591 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
9592 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
9593 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
9594 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
9595 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
9596 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
9597 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
9598 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
9599 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
9600 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
9601 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
9602 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
9603 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
9604 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
9605 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
9606 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
9608 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
9610 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
9612 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
9613 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
9615 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
9617 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
9619 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
9621 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
9623 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
9624 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
9626 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
9628 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
9630 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
9632 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
9634 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
9635 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
9637 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
9639 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
9641 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
9643 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
9645 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
9647 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
9649 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
9650 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
9652 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
9654 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
9656 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
9658 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
9660 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
9662 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
9664 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
9665 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
9667 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
9669 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
9671 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
9673 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
9675 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
9676 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
9678 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
9680 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
9682 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
9683 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
9685 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
9686 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
9688 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
9690 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
9692 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
9694 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
9696 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
9698 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
9700 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
9701 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
9703 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
9705 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
9707 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
9709 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
9710 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
9711 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
9712 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
9713 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
9715 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
9717 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
9718 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
9719 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
9720 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
9721 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
9722 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
9723 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
9724 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
9725 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
9726 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
9727 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
9728 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
9729 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
9731 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
9732 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
9734 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
9735 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
9736 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
9737 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
9739 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
9740 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
9741 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
9742 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
9743 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
9744 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
9745 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
9747 2014-06-10 Wilco <wdijkstr@arm.com>
9749 * math/test-fenv-return.c: New file.
9750 * math/Makefile: Add new test test-fenv-return.
9752 2014-06-10 Joseph Myers <joseph@codesourcery.com>
9755 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
9757 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
9758 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
9759 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
9760 0.0L for an argument of 1.0L.
9761 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
9763 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
9764 value when x - 1 is zero.
9765 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
9766 * sysdeps/i386/fpu/libm-test-ulps: Update.
9767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9769 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
9772 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
9774 2014-06-09 Roland McGrath <roland@hack.frob.com>
9776 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
9777 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
9779 2014-06-09 Roland McGrath <roland@hack.frob.com>
9781 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9782 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
9784 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9785 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
9787 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9788 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
9790 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9791 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
9793 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
9794 if not already defined.
9795 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
9796 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
9797 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
9798 (TLS_INIT_TP): Use it.
9799 (TLS_DEFINE_INIT_TP): New macro.
9800 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
9802 2014-06-09 Joseph Myers <joseph@codesourcery.com>
9804 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
9806 [POSIX] (IXANY): Likewise.
9807 [POSIX] (OLCUC): Likewise.
9808 [POSIX || POSIX2008] (CBAUD): Do not allow.
9809 [POSIX || POSIX2008] (DEFECHO): Likewise.
9810 [POSIX || POSIX2008] (ECHOCTL): Likewise.
9811 [POSIX || POSIX2008] (ECHOKE): Likewise.
9812 [POSIX || POSIX2008] (ECHOPRT): Likewise.
9813 [POSIX || POSIX2008] (EXTA): Likewise.
9814 [POSIX || POSIX2008] (EXTB): Likewise.
9815 [POSIX || POSIX2008] (FLUSHO): Likewise.
9816 [POSIX || POSIX2008] (LOBLK): Likewise.
9817 [POSIX || POSIX2008] (PENDIN): Likewise.
9818 [POSIX || POSIX2008] (SWTCH): Likewise.
9819 [POSIX || POSIX2008] (VDISCARD): Likewise.
9820 [POSIX || POSIX2008] (VDSUSP): Likewise.
9821 [POSIX || POSIX2008] (VLNEXT): Likewise.
9822 [POSIX || POSIX2008] (VREPRINT): Likewise.
9823 [POSIX || POSIX2008] (VSTATUS): Likewise.
9824 [POSIX || POSIX2008] (VWERASE): Likewise.
9825 (B*): Change to B[0123456789]*.
9826 * conform/data/time.h-data [POSIX || UNIX98]
9827 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
9828 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9829 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
9830 [POSIX] (tm_*): Do not allow.
9832 2014-06-07 Joseph Myers <joseph@codesourcery.com>
9834 * Makefile (install): Don't set LANGUAGE.
9835 * Makefile.in (install): Likewise.
9836 * assert/Makefile (test-assert-ENV): Remove variable.
9837 (test-assert-perr-ENV): Likewise.
9838 * elf/Makefile (neededtest4-ENV): Likewise.
9839 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9840 [$(cross-compiling) = no]: Don't set LANGUAGE.
9841 * io/ftwtest-sh (LANG): Remove variable.
9842 * libio/Makefile (tst-widetext-ENV): Likewise.
9843 * manual/install.texi (Running make install): Don't refer to
9844 environment settings for make install.
9845 * INSTALL: Regenerated.
9846 * nptl/tst-tls6.sh: Don't set LANG.
9847 * posix/globtest.sh (LANG): Remove variable.
9848 * string/Makefile (tester-ENV): Likewise.
9849 (inl-tester-ENV): Likewise.
9850 (noinl-tester-ENV): Likewise.
9851 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9852 [$(cross-compiling) = no]: Don't set LANGUAGE.
9853 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
9854 without explicit environment settings.
9856 2014-06-06 Roland McGrath <roland@hack.frob.com>
9858 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
9859 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
9860 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
9861 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
9863 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
9865 * crypt/crypt-private.h [DOS]: Add some includes taken from the
9866 other files in the crypt directory.
9867 * crypt/crypt.c: Remove duplicate includes.
9868 * crypt/crypt-entry.c: Likewise.
9869 * crypt/crypt_util.c: Likewise.
9871 2014-06-06 Joseph Myers <joseph@codesourcery.com>
9873 * Makeconfig (run-program-env): New variable.
9874 (run-program-prefix-before-env): Likewise.
9875 (run-program-prefix-after-env): Likewise.
9876 (run-program-prefix): Define in terms of new variables.
9877 (built-program-cmd-before-env): New variable.
9878 (built-program-cmd-after-env): Likewise.
9879 (built-program-cmd): Define in terms of new variables.
9880 (test-program-prefix-before-env): New variable.
9881 (test-program-prefix-after-env): Likewise.
9882 (test-program-prefix): Define in terms of new variables.
9883 (test-program-cmd-before-env): New variable.
9884 (test-program-cmd-after-env): Likewise.
9885 (test-program-cmd): Define in terms of new variables.
9886 * Rules (make-test-out): Use $(run-program-env).
9887 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
9888 (help): Do not mention environment variables. Mention
9889 --timeoutfactor option.
9890 (timeoutfactor): New variable.
9891 (blacklist_exports): Remove function.
9892 (exports): Remove variable.
9893 (command): Do not include ${exports}.
9894 * manual/install.texi (Configuring and compiling): Do not mention
9895 test wrappers preserving environment variables. Mention that last
9896 assignment to a variable must take precedence.
9897 * INSTALL: Regenerated.
9898 * benchtests/Makefile (run-bench): Use $(run-program-env).
9899 * catgets/Makefile ($(objpfx)test1.cat): Use
9900 $(built-program-cmd-before-env), $(run-program-env) and
9901 $(built-program-cmd-after-env).
9902 ($(objpfx)test2.cat): Do not specify environment variables
9904 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
9905 $(run-program-env) and $(built-program-cmd-after-env).
9906 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
9907 $(run-program-env) and $(test-program-cmd-after-env).
9908 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
9910 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
9911 run_program_env and test_program_cmd_after_env arguments.
9912 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
9913 * elf/tst-pathopt.sh: Use run_program_env argument.
9914 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
9915 $(test-wrapper-env) and $(run-program-env).
9916 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
9917 run_program_env arguments.
9918 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
9919 * intl/Makefile ($(objpfx)tst-gettext.out): Use
9920 $(test-program-prefix-before-env), $(run-program-env) and
9921 $(test-program-prefix-after-env).
9922 ($(objpfx)tst-gettext2.out): Likewise.
9923 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
9924 run_program_env and test_program_prefix_after_env arguments.
9925 * intl/tst-gettext2.sh: Likewise.
9926 * intl/tst-gettext4.sh: Do not set environment variables
9928 * intl/tst-gettext6.sh: Likewise.
9929 * intl/tst-translit.sh: Likewise.
9930 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
9931 $(test-program-prefix-before-env), $(run-program-env) and
9932 $(test-program-prefix-after-env).
9933 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
9934 run_program_env and test_program_prefix_after_env arguments.
9935 * math/Makefile (run-regen-ulps): Use $(run-program-env).
9936 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
9937 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
9938 explicitly with each use of ${test_wrapper_env}.
9939 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
9940 $(test-program-prefix-before-env), $(run-program-env) and
9941 $(test-program-prefix-after-env).
9942 * posix/tst-getconf.sh: Do not set environment variables
9944 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
9945 run_program_env and test_program_prefix_after_env arguments.
9946 * stdio-common/tst-printf.sh: Do not set environment variables
9948 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
9949 $(test-program-prefix-before-env), $(run-program-env) and
9950 $(test-program-prefix-after-env).
9951 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
9952 run_program_env and test_program_prefix_after_env arguments.
9953 Split $test calls into $test_pre and $test.
9954 * timezone/Makefile (build-testdata): Use
9955 $(built-program-cmd-before-env), $(run-program-env) and
9956 $(built-program-cmd-after-env).
9958 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9960 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
9961 strlen for non SHARED builds.
9963 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9965 * nptl/allocatestack.c (check_list): Inlined function...
9966 (__reclaim_stacks): ... here.
9968 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
9971 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
9974 2014-06-05 Joseph Myers <joseph@codesourcery.com>
9976 * Rules (make-test-out): Include
9977 LOCPATH=$(common-objpfx)localedata in default environment.
9978 * debug/Makefile (tst-chk1-ENV): Remove variable.
9979 (tst-chk2-ENV): Likewise.
9980 (tst-chk3-ENV): Likewise.
9981 (tst-chk4-ENV): Likewise.
9982 (tst-chk5-ENV): Likewise.
9983 (tst-chk6-ENV): Likewise.
9984 (tst-lfschk1-ENV): Likewise.
9985 (tst-lfschk2-ENV): Likewise.
9986 (tst-lfschk3-ENV): Likewise.
9987 (tst-lfschk4-ENV): Likewise.
9988 (tst-lfschk5-ENV): Likewise.
9989 (tst-lfschk6-ENV): Likewise.
9990 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
9991 (tst-iconv7-ENV): Likewise.
9992 * intl/Makefile (LOCPATH-ENV): Likewise.
9993 (tst-codeset-ENV): Likewise.
9994 (tst-gettext3-ENV): Likewise.
9995 (tst-gettext5-ENV): Likewise.
9996 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
9997 (tst-fopenloc-ENV): Likewise.
9998 (tst-fgetws-ENV): Remove variable.
9999 (tst-ungetwc1-ENV): Likewise.
10000 (tst-ungetwc2-ENV): Likewise.
10001 (bug-ungetwc2-ENV): Likewise.
10002 (tst-swscanf-ENV): Likewise.
10003 (bug-ftell-ENV): Likewise.
10004 (tst-fgetwc-ENV): Likewise.
10005 (tst-fseek-ENV): Likewise.
10006 (tst-ftell-partial-wide-ENV): Likewise.
10007 (tst-ftell-active-handler-ENV): Likewise.
10008 (tst-ftell-append-ENV): Likewise.
10009 * posix/Makefile (tst-fnmatch-ENV): Likewise.
10010 (tst-regexloc-ENV): Likewise.
10011 (bug-regex1-ENV): Likewise.
10012 (tst-regex-ENV): Likewise.
10013 (tst-regex2-ENV): Likewise.
10014 (bug-regex5-ENV): Likewise.
10015 (bug-regex6-ENV): Likewise.
10016 (bug-regex17-ENV): Likewise.
10017 (bug-regex18-ENV): Likewise.
10018 (bug-regex19-ENV): Likewise.
10019 (bug-regex20-ENV): Likewise.
10020 (bug-regex22-ENV): Likewise.
10021 (bug-regex23-ENV): Likewise.
10022 (bug-regex25-ENV): Likewise.
10023 (bug-regex26-ENV): Likewise.
10024 (bug-regex30-ENV): Likewise.
10025 (bug-regex32-ENV): Likewise.
10026 (bug-regex33-ENV): Likewise.
10027 (bug-regex34-ENV): Likewise.
10028 (bug-regex35-ENV): Likewise.
10029 (tst-rxspencer-ENV): Likewise.
10030 (tst-rxspencer-no-utf8-ENV): Likewise.
10031 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
10032 (tst-sscanf-ENV): Likewise.
10033 (tst-swprintf-ENV): Likewise.
10034 (tst-swscanf-ENV): Likewise.
10035 (test-vfprintf-ENV): Likewise.
10036 (scanf13-ENV): Likewise.
10037 (bug14-ENV): Likewise.
10038 (tst-grouping-ENV): Likewise.
10039 * stdlib/Makefile (tst-strtod-ENV): Likewise.
10040 (tst-strtod3-ENV): Likewise.
10041 (tst-strtod4-ENV): Likewise.
10042 (tst-strtod5-ENV): Likewise.
10043 (testmb2-ENV): Likewise./
10044 * string/Makefile (tst-strxfrm-ENV): Likewise.
10045 (tst-strxfrm2-ENV): Likewise.
10046 (bug-strcoll1-ENV): Likewise.
10047 (test-strcasecmp-ENV): Likewise.
10048 (test-strncasecmp-ENV): Likewise.
10049 * time/Makefile (tst-strptime-ENV): Likewise.
10050 (tst-ftime_l-ENV): Likewise.
10051 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
10052 (tst-mbrtowc-ENV): Likewise.
10053 (tst-wcrtomb-ENV): Likewise.
10054 (tst-mbrtowc2-ENV): Likewise.
10055 (tst-c16c32-1-ENV): Likewise.
10056 (tst-mbsnrtowcs-ENV): Likewise.
10058 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
10060 * manual/resource.texi (How to get information about the memory
10061 subsystem?): Fix typo.
10062 Reported by Peon de la Parra Ivan <peon@keba.com>
10064 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
10067 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
10068 (pthread_spin_lock): Branch out of spin loop to proper location.
10069 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
10070 (pthread_spin_lock): Likewise.
10072 * nptl/tst-spin4.c: New test.
10073 * nptl/Makefile (tests): Add tst-spin4.
10075 2014-06-03 Andreas Schwab <schwab@suse.de>
10078 * resolv/res_send.c (send_dg): Reload file descriptor after
10081 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
10083 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10085 2014-06-03 Richard Henderson <rth@redhat.com>
10087 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
10088 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
10089 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
10090 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
10091 in the SAVE_PID block.
10092 (__libc_vfork): New alias.
10093 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
10095 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
10096 child in registers, not on the stack. Remove RESET_PID conditionals.
10097 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
10099 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
10101 * sysdeps/aarch64/libm-test-ulps: Regenerate.
10103 2014-06-03 Wilco <wdijkstr@arm.com>
10105 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
10106 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
10107 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
10108 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
10109 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
10112 2014-06-03 Wilco <wdijkstr@arm.com>
10114 * sysdeps/aarch64/fpu/math_private.h
10115 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
10116 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
10117 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
10118 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
10121 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10123 * crypt/crypt-private.h: Include ufc-crypt.h.
10124 (__b64_from_24bit): Declare extern.
10125 * crypt/crypt_util.c(__b64_from_24bit): New function.
10126 (b64t): New static const variable.
10127 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
10128 (b64t): Remove variable.
10129 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
10130 * crypt/sha256-crypt.c: Include crypt-private.h.
10131 (b64t): Remove variable.
10132 (__sha256_crypt_r): Remove b64_from_24bit and replace
10133 with __b64_from_24bit.
10134 * crypt/sha512-crypt.c: Likewise.
10136 2014-06-02 Roland McGrath <roland@hack.frob.com>
10138 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
10139 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
10140 Label the code __libc_vfork rather than __vfork.
10141 [!NOT_IN_libc] (vfork): Define as weak alias.
10142 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
10143 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
10144 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
10146 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10148 * malloc/malloc.c (malloc_info): Fix format specifier for
10151 2014-06-02 Wilco <wdijkstr@arm.com>
10153 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
10156 2014-06-02 Wilco <wdijkstr@arm.com>
10159 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
10160 Rewrite to reduce FPCR/FPSR accesses.
10162 2014-06-01 David S. Miller <davem@davemloft.net>
10164 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10166 2014-05-31 David S. Miller <davem@davemloft.net>
10168 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
10169 to occur in round to nearest mode when |x| >= 2.0
10171 2014-05-30 Richard Henderson <rth@twiddle.net>
10173 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
10174 (PSEUDO_RET_NOERRNO): Remove.
10175 (ret): Don't redefine.
10176 (ret_NOERRNO): Define in terms of ret.
10177 (ret_ERRVAL): Likewise.
10179 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
10180 use of PSEUDO_RET; perform the error check directly.
10182 2014-05-30 Marko Myllynen <myllynen@redhat.com>
10184 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
10187 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10189 * malloc/malloc (malloc_info): Fix formatting.
10191 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10192 Roland McGrath <roland@hack.frob.com>
10194 * malloc/malloc (malloc_info): Also print mmapped statistics.
10196 2014-05-30 Roland McGrath <roland@hack.frob.com>
10198 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
10199 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
10201 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
10203 * malloc/malloc.c (malloc_info): Inline mi_arena.
10205 2014-05-29 Richard Henderson <rth@twiddle.net>
10207 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
10208 Remove comma before expanding ASM_ARGS_##nr.
10209 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
10210 Make _x0 a strict output; make _x8 a strict input; adjust expansion
10212 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
10213 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
10214 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
10215 (ASM_ARGS_1): Add leading comma.
10217 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
10218 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
10219 to __errno_location.
10220 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
10221 Remove the expected plt for __errno_location.
10223 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10224 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
10227 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10228 Always allocate 64 bytes of stack frame. Use ldp/stp to create
10229 it and break it down.
10230 (DOCARGS_0, DOCARGS_1): Do nothing.
10231 (DOCARGS_2): Update to store into the new stack frame.
10232 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
10233 (UNDOCARGS_1): Update to restore from the new stack frame.
10234 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
10235 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
10237 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10238 (SINGLE_THREAD_P): New parameter for result regno.
10239 (PSEUDO): Update to match; use cbz instead of beq.
10241 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10242 Use ENTRY to define the _nocancel entry point. Share the syscall
10243 and syscall error check paths with the cancel path.
10246 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
10247 whitespace; tabs before and after asm mnemonics.
10249 2014-05-29 Eric Wong <normalperson@yhbt.net>
10252 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10253 Call fstat64 or stat64 internally, depending on arguments passed.
10254 Replace stat buffer argument with file descriptor argument.
10255 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
10256 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
10257 Pass fd to __internal_statvfs instead of calling fstat64.
10258 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
10259 Pass fd to __internal_statvfs64 instead of calling fstat64.
10260 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
10261 Pass -1 to __internal_statvfs instead of calling stat64.
10262 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
10263 Pass -1 to __internal_statvfs64 instead of calling stat64.
10265 2014-05-28 Roland McGrath <roland@hack.frob.com>
10267 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
10268 that was previously under [RESET_PID].
10269 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
10271 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
10272 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
10274 2014-05-27 Roland McGrath <roland@hack.frob.com>
10276 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
10278 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
10279 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
10281 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
10283 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
10285 2014-05-27 Andreas Schwab <schwab@suse.de>
10287 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
10289 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
10290 * elf/rtld.c (init_tls, dl_main): Likewise.
10291 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
10292 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
10293 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
10294 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
10295 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
10296 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
10297 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
10298 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
10299 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
10300 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
10301 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
10302 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
10303 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
10304 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
10305 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
10306 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
10307 * sysdeps/generic/tls.h: Update description.
10309 2014-05-27 Will Newton <will.newton@linaro.org>
10312 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
10313 and restore r2 rather than just restoring.
10315 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10318 * libio/tst-ftell-append.c: New test case.
10319 * libio/Makefile (tests): Add test case.
10320 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
10322 * libio/wfileops.c (do_ftell_wide): Likewise.
10324 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10326 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10328 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
10330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
10331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
10332 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
10333 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
10334 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
10335 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
10336 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
10337 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
10338 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
10340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
10341 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
10343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
10344 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
10345 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
10346 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
10347 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
10348 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
10350 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
10351 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
10353 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
10355 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
10357 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
10358 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
10359 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
10361 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
10362 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
10363 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
10364 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
10366 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
10368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
10369 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
10371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
10372 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
10374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
10375 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
10377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
10379 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
10381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
10382 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
10384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
10386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
10387 conditional [RESET_PID].
10388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
10389 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
10391 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
10394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
10396 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10397 (__libc_vfork): New strong alias.
10398 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
10400 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
10403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
10405 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
10406 (__libc_vfork): New strong alias.
10407 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
10409 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
10412 2014-05-26 Carlos O'Donell <carlos@redhat.com>
10414 * malloc/malloc.c (mi_arena): New function.
10415 (malloc_info): Remove nested function mi_arena. Call non-nosted
10418 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10420 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
10422 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
10423 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
10424 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
10425 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
10426 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
10427 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
10428 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
10430 2014-05-26 Andreas Schwab <schwab@suse.de>
10433 * locale/programs/repertoire.c (repertoire_read): Add slash
10434 between I18NPATH element and file name.
10435 * locale/programs/locfile.c (locfile_read): Likewise.
10437 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
10439 * nptl/pthread_mutexattr_settype.c
10440 (__pthread_mutexattr_settype):
10441 Disable lock elision for PTHREAD_MUTEX_NORMAL.
10443 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
10445 * nptl/tst-mutex5 (do_test):
10446 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
10448 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10450 * benchtests/README: Document 'init' directive.
10451 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
10453 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
10454 (parse_file): Recognize 'init' directive.
10456 2014-05-26 Kyle McMartin <kyle@redhat.com>
10459 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
10460 alignment of struct pthread.
10462 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10465 * nscd/netgroupcache.c (addgetnetgrentX): Look for
10466 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
10467 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
10468 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
10470 2014-05-25 Richard Henderson <rth@twiddle.net>
10472 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10473 (SINGLE_THREAD_P_PIC): Remove.
10474 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
10475 (SINGLE_THREAD_P_PIC): Remove.
10477 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
10478 branch to syscall error ...
10479 (PSEUDO): ... here.
10480 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
10481 from __local_syscall_error to .Lsyscall_error.
10482 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
10483 (SYSCALL_ERROR): Update label name.
10485 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10486 Do not use DOARGS/UNDOARGS.
10487 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
10488 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
10489 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
10490 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
10491 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
10493 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
10496 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
10497 define if !NOT_IN_libc.
10498 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
10499 define with non-default symbol versions.
10501 2014-05-23 Richard Henderson <rth@twiddle.net>
10503 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
10504 (vfork, __vfork): Define via compat_symbol.
10506 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
10507 [!HAVE_IFUNC] (vfork_compat): Remove.
10508 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
10510 2014-05-23 Joseph Myers <joseph@codesourcery.com>
10513 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
10514 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
10517 2014-05-23 Richard Henderson <rth@twiddle.net>
10519 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
10520 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
10521 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
10522 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
10524 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
10525 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
10526 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
10527 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
10528 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
10529 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
10530 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
10531 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
10532 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
10533 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
10534 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
10535 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
10536 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
10537 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
10538 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
10539 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
10540 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
10541 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
10542 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
10543 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
10544 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
10545 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
10546 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
10547 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
10548 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
10549 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
10550 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
10551 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
10552 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
10553 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
10554 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
10555 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
10556 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
10557 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
10558 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
10559 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
10560 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
10561 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
10562 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
10563 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
10564 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
10565 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
10566 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
10567 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
10568 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
10569 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
10570 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
10571 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
10572 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
10573 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
10574 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
10575 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
10576 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
10577 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
10578 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
10579 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
10581 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
10582 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
10583 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
10584 before exiting on error.
10585 (__libc_vfork): New strong alias.
10586 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
10587 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
10589 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
10590 that was previously under [RESET_PID].
10591 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
10593 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
10595 2014-05-23 Joseph Myers <joseph@codesourcery.com>
10598 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
10599 value when x - 1 is zero.
10600 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
10601 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
10602 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
10603 0.0L for an argument of 1.0L.
10604 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
10606 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
10607 value when x - 1 is zero.
10608 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
10609 * sysdeps/i386/fpu/libm-test-ulps: Update.
10610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10612 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
10614 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
10615 alphasort and versionsort.
10617 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10619 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
10621 [copysignf]: Likewise.
10623 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10625 * crypt/md5-crypt.c: Fix formatting.
10627 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10629 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
10630 (b64_from_24bit): New function.
10632 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10634 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
10635 libc_hidden_builtin_def to ifunc.
10636 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
10637 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
10639 2014-05-21 Roland McGrath <roland@hack.frob.com>
10641 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
10642 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
10644 2014-05-21 Joseph Myers <joseph@codesourcery.com>
10646 * nscd/Depend (linuxthreads): Remove.
10648 * resolv/Depend (linuxthreads): Remove.
10649 * rt/Depend (linuxthreads): Remove.
10651 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
10652 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
10653 $(common-objpfx)elf/.
10654 (link-libc-before-gnulib): Likewise.
10655 (elfobjdir): Remove variable.
10656 * Makefile (install): Use $(elf-objpfx) instead of
10657 $(common-objpfx)elf/.
10658 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
10660 (link-libc-deps): Likewise.
10661 ($(common-objpfx)libc.so): Likewise.
10662 ($(common-objpfx)linkobj/libc.so): Likewise.
10663 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
10664 instead of $(common-objpfx)elf/.
10665 (symbolic-link-list): Likewise.
10666 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10667 [$(cross-compiling) = no]: Likewise.
10668 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
10670 (static-gnulib-arch): Likewise.
10671 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10672 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
10673 $(common-objpfx)elf/.
10675 2014-05-21 Richard Henderson <rth@redhat.com>
10677 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10678 (SINGLE_THREAD_P): Use the correct width load. Fold
10679 into the ldr offset.
10681 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
10682 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
10684 2014-05-20 Joseph Myers <joseph@codesourcery.com>
10686 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
10687 (libgcc_s_resume): Use __attribute_used__.
10688 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
10691 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10693 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
10694 optimization when used with float constants.
10696 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10698 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
10701 * locale/nl_langinfo_l.c: Make direct reference to every
10702 _nl_current_CATEGORY symbol.
10703 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
10704 (tests-static): Add tst-langinfo-static.
10705 (tests-special): Add tst-langinfo-static.out.
10706 ($(objpfx)tst-langinfo.out): Redirect output.
10707 ($(objpfx)tst-langinfo-static.out): New.
10708 * localedata/tst-langinfo.sh: Send output to stdout.
10709 * localedata/tst-langinfo-static.c: New file.
10712 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
10713 when the shift amount is modulo the limb size.
10715 2014-05-20 Richard Henderson <rth@redhat.com>
10718 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
10719 Change type of sa_flags from unsigned int to int.
10722 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
10724 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
10726 2014-05-20 Will Newton <will.newton@linaro.org>
10728 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10729 Test the return value of the system call in the nocancel case.
10731 2014-05-20 Will Newton <will.newton@linaro.org>
10732 Yvan Roux <yvan.roux@linaro.org>
10734 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
10735 #include of asm/ptrace.h.
10736 (PTRACE_GET_THREAD_AREA): Remove #undef.
10737 (PTRACE_GETHBPREGS): Likewise.
10738 (PTRACE_SETHBPREGS): Likewise.
10739 (struct user_regs_struct): New structure.
10740 (struct user_fpsimd_struct): New structure.
10741 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
10742 #include of asm/ptrace.h and second #include of sys/user.h.
10743 (PTRACE_GET_THREAD_AREA): Remove #undef.
10744 (PTRACE_GETHBPREGS): Likewise.
10745 (PTRACE_SETHBPREGS): Likewise.
10746 (ELF_NGREG): Use new struct user_regs_struct.
10747 (elf_fpregset_t): Use new struct user_fpsimd_struct.
10749 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10751 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
10752 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
10754 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
10757 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
10758 membar to avoid block loads/stores to overlap previous stores.
10760 2014-05-17 Richard Henderson <rth@redhat.com>
10762 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
10763 Create the __##syscall_name##_nocancel entry point.
10764 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
10765 Remove; let the sysdep-cancel.h code create it.
10767 2014-05-17 David S. Miller <davem@davemloft.net>
10769 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
10770 Protect with __USE_GNU.
10771 (TIOCSET_TEMPT): Likewise.
10772 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
10773 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
10774 these are already provided in bits/ioctl-types.h
10776 2014-05-16 Roland McGrath <roland@hack.frob.com>
10778 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
10779 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
10781 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
10782 Use wait4 regardless of [__NR_waitpid].
10784 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
10787 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
10788 (_FP_NANSIGN_Q): Set the quiet bit.
10790 2014-05-16 Joseph Myers <joseph@codesourcery.com>
10792 * benchtests/Makefile
10793 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
10794 not $(common-objpfx)math/libm.so.
10795 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
10796 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
10797 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
10798 $(common-objpfx)dlfcn/libdl.so.
10799 ($(objpfx)tst-audit8): Depend on $(libm), not
10800 $(common-objpfx)math/libm.so.
10801 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
10802 not $(common-objpfx)dlfcn/libdl.so.
10804 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10805 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
10806 [$(build-shared) = yes].
10807 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
10808 $(common-objpfx)nptl/libpthread.so.
10809 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
10810 $(common-objpfx)math/libm.so$(libm.so-version) or
10811 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
10812 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
10813 $(common-objpfx)dlfcn/libdl.so.
10814 * setjmp/Makefile (link-libm): Remove variable.
10815 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
10816 * stdio-common/Makefile (link-libm): Remove variable.
10817 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
10818 * stdlib/Makefile (link-libm): Remove variable.
10819 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
10820 ($(objpfx)tst-strtod-round): Likewise.
10821 ($(objpfx)tst-tininess): Likewise.
10822 ($(objpfx)tst-strtod-underflow): Likewise.
10823 ($(objpfx)tst-strtod6): Likewise.
10824 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
10825 $(libdl), not $(common-objpfx)nptl/libpthread.so and
10826 $(common-objpfx)dlfcn/libdl.so.
10828 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10830 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
10831 BSD terminal modes definitions.
10833 2014-05-16 Roland McGrath <roland@hack.frob.com>
10835 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
10836 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
10838 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
10839 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
10840 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
10841 Don't do #include_next.
10842 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
10843 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
10844 Don't do #include_next.
10845 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
10846 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
10847 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
10848 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
10850 2014-05-16 Allan McRae <allan@archlinux.org>
10852 * po/sv.po: Update Swedish translation from translation project.
10854 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
10857 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
10860 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
10861 errno if the TIOCGPTN ioctl fails with an error different than
10863 * login/tst-ptsname.c: New file.
10864 * login/Makefile (tests): Add tst-ptsname.
10867 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
10870 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10873 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
10874 herrno to return EAI_AGAIN.
10876 2014-05-14 Roland McGrath <roland@hack.frob.com>
10878 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
10879 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
10880 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
10881 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
10882 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
10883 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
10884 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
10885 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
10886 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
10887 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
10888 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
10889 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
10890 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
10891 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
10892 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
10893 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
10894 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
10895 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
10896 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
10897 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
10898 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
10899 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
10900 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
10901 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
10902 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
10903 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
10904 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
10905 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
10906 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
10907 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
10908 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
10909 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
10910 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
10911 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
10912 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
10914 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
10915 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
10916 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
10917 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
10918 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
10919 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
10920 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
10921 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
10922 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
10923 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
10924 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
10925 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
10926 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
10927 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
10928 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
10929 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
10930 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
10931 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
10932 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
10933 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
10934 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
10935 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
10936 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
10937 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
10938 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
10939 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
10940 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
10941 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
10943 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
10944 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
10945 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
10946 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
10947 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
10948 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
10949 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
10950 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
10951 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
10952 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
10953 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
10954 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
10955 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
10956 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
10957 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
10958 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
10959 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
10960 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
10961 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
10962 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
10964 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
10965 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
10966 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
10968 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
10969 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
10970 (libpthread-sysdep_routines): Add elision-related stuff here instead.
10971 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
10972 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
10973 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
10974 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
10975 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
10976 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
10977 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
10978 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
10979 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
10980 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
10981 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
10982 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
10983 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
10984 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
10985 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
10986 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
10987 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
10988 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
10989 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
10990 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
10991 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
10992 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
10993 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
10994 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
10995 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
10996 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
10997 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
10998 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
11000 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
11001 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
11003 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
11004 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
11005 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
11006 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
11007 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
11008 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
11010 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
11011 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
11013 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
11014 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
11016 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
11017 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
11019 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
11020 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
11021 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
11022 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
11024 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
11025 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
11026 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
11027 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
11028 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
11029 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
11030 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
11031 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
11033 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
11034 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
11036 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
11038 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
11039 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
11040 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
11041 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
11042 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
11044 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
11046 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
11048 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
11049 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
11050 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
11051 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
11052 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
11053 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
11055 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
11056 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
11058 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
11059 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
11061 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
11062 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
11064 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
11065 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
11066 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
11067 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
11069 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
11070 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
11071 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
11072 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
11073 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
11074 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
11075 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
11076 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
11078 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
11079 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
11081 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
11083 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
11084 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
11085 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
11086 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
11087 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
11089 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
11091 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
11093 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
11094 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
11095 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
11096 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
11097 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
11098 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
11099 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
11100 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
11101 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
11102 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
11104 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
11105 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
11107 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
11108 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
11110 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
11111 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
11113 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
11114 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
11115 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
11116 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
11117 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
11118 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
11120 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
11121 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
11122 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
11123 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
11124 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
11125 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
11126 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
11127 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
11129 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
11130 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
11132 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
11134 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
11135 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
11136 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
11137 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
11138 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
11140 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
11142 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
11144 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
11145 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
11146 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
11147 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
11148 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
11149 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
11150 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
11151 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
11152 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
11153 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
11154 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
11156 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
11157 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
11159 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
11160 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
11162 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
11163 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
11164 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
11165 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
11166 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
11167 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
11168 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
11169 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
11170 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
11171 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
11172 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
11173 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
11174 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
11175 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
11176 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
11177 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
11178 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
11179 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
11181 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
11182 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
11183 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
11184 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
11186 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
11187 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
11188 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
11189 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
11190 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
11191 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
11192 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
11193 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
11195 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
11196 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
11198 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
11199 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
11200 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
11201 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
11202 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
11203 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
11204 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
11205 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
11206 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
11207 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
11208 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
11209 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
11210 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
11211 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
11212 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
11213 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
11214 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
11216 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
11217 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
11218 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
11219 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
11220 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
11222 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
11223 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
11224 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
11225 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
11226 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
11227 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
11228 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
11229 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
11230 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
11231 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
11233 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
11234 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
11236 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
11237 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
11238 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
11239 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
11240 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
11241 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
11242 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
11243 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
11244 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
11245 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
11246 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
11247 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
11248 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
11249 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
11250 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
11252 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
11254 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
11256 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
11258 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
11260 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
11262 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
11264 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
11266 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
11268 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
11270 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
11271 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
11272 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
11273 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
11274 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
11275 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
11276 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
11277 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
11278 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
11279 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
11280 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
11281 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
11282 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
11283 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
11284 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
11286 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
11287 that was previously under [RESET_PID].
11288 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11289 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
11290 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
11292 * sysdeps/i386/nptl/Implies: New file.
11293 * sysdeps/x86_64/nptl/Implies: New file.
11294 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
11295 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
11296 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
11297 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
11299 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
11300 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11301 (__libc_vfork): New strong alias.
11302 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
11303 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
11305 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
11306 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11307 (__libc_vfork): New strong alias.
11308 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
11309 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
11311 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
11312 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11313 (__libc_vfork): New strong alias.
11314 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
11315 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
11316 * nptl/pt-vfork.c: New file.
11317 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
11318 (libpthread: GLIBC_2.20): New version set (empty).
11320 2014-05-14 Will Newton <will.newton@linaro.org>
11322 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
11325 2014-05-14 Joseph Myers <joseph@codesourcery.com>
11328 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
11329 arguments with exponent 65 or above.
11330 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
11331 arguments 0x1p113L or above.
11332 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
11333 to arguments 0x1p107L or above.
11334 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
11335 positive arguments with exponent 65 or above.
11336 * math/auto-libm-test-in: Add more tests of log1p.
11337 * math/auto-libm-test-out: Regenerated.
11340 * math/s_cacos.c (__cacos): Ensure zero real part of result from
11341 non-finite arguments is +0.
11342 * math/s_cacosf.c (__cacosf): Likewise.
11343 * math/s_cacosl.c (__cacosl): Likewise.
11344 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
11345 * sysdeps/i386/fpu/libm-test-ulps: Update.
11346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11349 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
11351 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
11352 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
11353 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
11354 for explicit high bit of mantissa when testing for argument equal
11356 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
11357 * sysdeps/i386/fpu/libm-test-ulps: Update.
11358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11361 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
11362 (__erf): Scale by 16 instead of 8 in potentially underflowing
11363 case. Ensure exception if result actually underflows.
11364 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
11365 (__erff): Scale by 16 instead of 8 in potentially underflowing
11366 case. Ensure exception if result actually underflows.
11367 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
11368 (efx8): Remove variable.
11369 (__erfl): Scale by 16 instead of 8 in potentially underflowing
11370 case. Ensure exception if result actually underflows.
11371 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
11372 (efx8): Remove variable.
11373 (__erfl): Scale by 16 instead of 8 in potentially underflowing
11374 case. Ensure exception if result actually underflows.
11375 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
11376 (efx8): Remove variable.
11377 (__erfl): Scale by 16 instead of 8 in potentially underflowing
11378 case. Ensure exception if result actually underflows.
11379 * math/auto-libm-test-in: Add more tests of erf.
11380 * math/auto-libm-test-out: Regenerated.
11382 2014-05-14 Andreas Schwab <schwab@suse.de>
11384 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
11385 Remove code conditionalized on USE___THREAD.
11387 * config.h.in (HAVE_PT_CHOWN): Define as 0.
11388 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
11391 2014-05-14 Joseph Myers <joseph@codesourcery.com>
11393 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
11394 Define unconditionally.
11395 (__ASSUME_O_CLOEXEC): Likewise.
11396 (__ASSUME_SOCK_CLOEXEC): Likewise.
11397 (__ASSUME_IN_NONBLOCK): Likewise.
11398 (__ASSUME_PIPE2): Likewise.
11399 (__ASSUME_EVENTFD2): Likewise.
11400 (__ASSUME_SIGNALFD4): Likewise.
11401 (__ASSUME_DUP3): Likewise.
11402 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11403 (__ASSUME_DUP3): Do not define.
11404 (__ASSUME_EVENTFD2): Likewise.
11405 (__ASSUME_IN_NONBLOCK): Likewise.
11406 (__ASSUME_O_CLOEXEC): Likewise.
11407 (__ASSUME_PIPE2): Likewise.
11408 (__ASSUME_SIGNALFD4): Likewise.
11409 (__ASSUME_SOCK_CLOEXEC): Likewise.
11410 (__ASSUME_UTIMES): Undefine.
11411 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11412 (__ASSUME_UTIMES): Do not define.
11413 (__ASSUME_O_CLOEXEC): Likewise.
11414 (__ASSUME_SOCK_CLOEXEC): Likewise.
11415 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
11416 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
11418 (__ASSUME_PIPE2): Likewise.
11419 (__ASSUME_EVENTFD2): Likewise.
11420 (__ASSUME_SIGNALFD4): Likewise.
11421 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
11422 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
11424 (__ASSUME_EVENTFD2): Likewise.
11425 (__ASSUME_SIGNALFD4): Likewise.
11426 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11427 (__ASSUME_32BITUIDS): Likewise.
11428 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
11429 (__ASSUME_IPC64): Likewise.
11430 (__ASSUME_ST_INO_64_BIT): Likewise.
11431 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
11432 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
11433 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11434 (__ASSUME_UTIMES): Do not define.
11435 (__ASSUME_PSELECT): Likewise.
11436 (__ASSUME_PPOLL): Likewise.
11437 (__ASSUME_O_CLOEXEC): Likewise.
11438 (__ASSUME_SOCK_CLOEXEC): Likewise.
11439 (__ASSUME_IN_NONBLOCK): Likewise.
11440 (__ASSUME_PIPE2): Likewise.
11441 (__ASSUME_EVENTFD2): Likewise.
11442 (__ASSUME_SIGNALFD4): Likewise.
11443 (__ASSUME_DUP3): Likewise.
11444 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11445 (__ASSUME_UTIMES): Likewise.
11446 (__ASSUME_O_CLOEXEC): Likewise.
11447 (__ASSUME_SOCK_CLOEXEC): Likewise.
11448 (__ASSUME_IN_NONBLOCK): Likewise.
11449 (__ASSUME_PIPE2): Likewise.
11450 (__ASSUME_EVENTFD2): Likewise.
11451 (__ASSUME_SIGNALFD4): Likewise.
11452 (__ASSUME_DUP3): Likewise.
11453 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11454 (__ASSUME_UTIMES): Likewise.
11455 (__ASSUME_O_CLOEXEC): Likewise.
11456 (__ASSUME_SOCK_CLOEXEC): Likewise.
11457 (__ASSUME_IN_NONBLOCK): Likewise.
11458 (__ASSUME_PIPE2): Likewise.
11459 (__ASSUME_EVENTFD2): Likewise.
11460 (__ASSUME_SIGNALFD4): Likewise.
11461 (__ASSUME_DUP3): Likewise.
11462 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
11464 (__ASSUME_UTIMES): Likewise.
11465 (__ASSUME_EVENTFD2): Likewise.
11466 (__ASSUME_SIGNALFD4): Likewise.
11467 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11468 (__ASSUME_O_CLOEXEC): Likewise.
11469 (__ASSUME_SOCK_CLOEXEC): Likewise.
11470 (__ASSUME_IN_NONBLOCK): Likewise.
11471 (__ASSUME_PIPE2): Likewise.
11472 (__ASSUME_EVENTFD2): Likewise.
11473 (__ASSUME_SIGNALFD4): Likewise.
11474 (__ASSUME_DUP3): Likewise.
11475 (__ASSUME_UTIMES): Undefine.
11477 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
11478 feclearexcept. Remove symbol versioning code.
11479 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
11480 symbol versioning code.
11481 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
11482 symbol versioning code.
11483 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
11484 feupdateenv. Remove symbol versioning code.
11485 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
11486 fegetexceptflag. Remove symbol versioning code.
11487 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
11488 fesetexceptflag. Remove symbol versioning code.
11489 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
11490 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
11491 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
11492 (__posix_fadvise64_l32): Remove prototype.
11493 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
11496 2014-05-13 Roland McGrath <roland@hack.frob.com>
11498 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
11499 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
11500 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
11501 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
11503 2014-05-13 Sami Kerola <kerolasa@iki.fi>
11505 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
11506 current working directory
11508 2014-05-13 Roland McGrath <roland@hack.frob.com>
11510 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
11511 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
11512 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
11513 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
11514 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
11515 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
11516 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
11517 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
11518 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
11519 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
11520 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
11521 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
11522 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
11523 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
11524 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
11525 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
11526 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
11527 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
11528 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
11529 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
11530 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
11531 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
11532 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
11533 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
11534 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
11535 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
11536 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
11537 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
11538 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
11539 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
11540 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
11541 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
11542 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
11543 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
11544 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
11545 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
11546 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
11547 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
11548 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
11549 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
11550 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
11551 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
11553 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
11554 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
11556 * sysdeps/unix/sysv/linux/arm/Makefile
11557 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
11558 Add rt-aeabi_unwind_cpp_pr1.
11559 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
11560 Add nptl-aeabi_unwind_cpp_pr1.
11561 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
11562 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
11563 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
11564 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
11565 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
11566 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
11568 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
11569 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
11570 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
11571 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
11573 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
11574 Deconditionalize the code that was previously under [RESET_PID].
11575 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
11577 * sysdeps/generic/exit-thread.h: New file.
11578 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
11579 * include/unistd.h (__exit_thread): Remove declaration.
11580 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
11581 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
11582 * csu/libc-start.c: Include <exit-thread.h>.
11583 (LIBC_START_MAIN): Pass no argument to __exit_thread.
11584 * nptl/pthread_create.c: Include <exit-thread.h>.
11585 (start_thread): Call __exit_thread in place of __exit_thread_inline.
11586 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
11587 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
11588 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
11589 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
11590 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
11591 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
11592 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
11593 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
11594 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
11595 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
11596 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
11597 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
11598 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
11599 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
11600 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
11601 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
11603 2014-05-13 Andreas Schwab <schwab@suse.de>
11605 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
11607 2014-05-12 Joseph Myers <joseph@codesourcery.com>
11609 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
11610 (__ASSUME_UTIMES): Do not condition on kernel version.
11611 (__ASSUME_PSELECT): Define unconditionally.
11612 (__ASSUME_PPOLL): Likewise.
11613 (__ASSUME_ATFCTS): Likewise.
11614 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
11615 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
11616 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
11617 (__ASSUME_UTIMENSAT): Define unconditionally.
11618 (__ASSUME_PRIVATE_FUTEX): Likewise.
11619 (__ASSUME_FALLOCATE): Likewise.
11620 (__ASSUME_O_CLOEXEC): Likewise.
11621 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
11622 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
11623 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
11624 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
11625 (__ASSUME_IN_NONBLOCK): Likewise.
11626 (__ASSUME_PIPE2): Likewise.
11627 (__ASSUME_EVENTFD2): Likewise.
11628 (__ASSUME_SIGNALFD4): Likewise.
11629 (__ASSUME_DUP3): Likewise.
11630 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11631 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
11632 (__ASSUME_AT_RANDOM): Likewise.
11633 (__ASSUME_PREADV): Likewise.
11634 (__ASSUME_PWRITEV): Likewise.
11635 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
11636 (__ASSUME_F_GETOWN_EX): Define unconditionally.
11637 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
11638 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
11639 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
11640 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11641 (__ASSUME_O_CLOEXEC): Define unconditionally.
11642 (__ASSUME_PSELECT): Do not undefine conditionally.
11643 (__ASSUME_PPOLL): Likewise.
11644 (__ASSUME_ATFCTS): Likewise.
11645 (__ASSUME_SET_ROBUST_LIST): Likewise.
11646 (__ASSUME_UTIMENSAT): Likewise.
11647 (__ASSUME_FDATASYNC): Define unconditionally.
11648 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11649 (__ASSUME_SIGFRAME_V2): Likewise.
11650 )__ASSUME_EVENTFD2): Likewise.
11651 (__ASSUME_SIGNALFD4): Likewise.
11652 (__ASSUME_PSELECT): Do not undefine conditionally.
11653 (__ASSUME_PPOLL): Likewise.
11654 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11655 (__ASSUME_PSELECT): Define unconditionally.
11656 (__ASSUME_PPOLL): Likewise.
11657 (__ASSUME_O_CLOEXEC): Likewise.
11658 (__ASSUME_SOCK_CLOEXEC): Likewise.
11659 (__ASSUME_IN_NONBLOCK): Likewise.
11660 (__ASSUME_PIPE2): Likewise.
11661 (__ASSUME_EVENTFD2): Likewise.
11662 (__ASSUME_SIGNALFD4): Likewise.
11663 (__ASSUME_DUP3): Likewise.
11664 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11665 (__ASSUME_O_CLOEXEC): Likewise.
11666 (__ASSUME_SOCK_CLOEXEC): Likewise.
11667 (__ASSUME_IN_NONBLOCK): Likewise.
11668 (__ASSUME_PIPE2): Likewise.
11669 (__ASSUME_EVENTFD2): Likewise.
11670 (__ASSUME_SIGNALFD4): Likewise.
11671 (__ASSUME_DUP3): Likewise.
11672 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11673 (__ASSUME_EVENTFD2): Likewise.
11674 (__ASSUME_SIGNALFD4): Likewise.
11675 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11677 2014-05-12 Andreas Schwab <schwab@suse.de>
11680 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
11681 (_nss_nis_gethostbyname4_r): Return error if item length is larger
11682 than maximum RPC packet size.
11683 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
11684 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
11685 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
11686 (_nss_nis_getservbyport_r): Likewise.
11688 2014-05-12 Will Newton <will.newton@linaro.org>
11690 * malloc/Makefile (tests): Add tst-mallopt.
11691 * malloc/tst-mallopt.c: New file.
11693 2014-05-09 Roland McGrath <roland@hack.frob.com>
11695 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
11696 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
11698 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11700 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
11701 (tst-tlsmod6.so): Likewise.
11703 2014-05-09 Roland McGrath <roland@hack.frob.com>
11705 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
11707 2014-05-09 Joseph Myers <joseph@codesourcery.com>
11710 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
11711 and <dl-procinfo.h>.
11712 (__fegetenv): Save SSE state in envp->__eip if supported.
11713 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
11714 envp->__eip if supported.
11715 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
11716 and <dl-procinfo.h>.
11717 (__fesetenv): Always set __eip, __cs_selector, __opcode,
11718 __data_offset and __data_selector in environment to 0. Set SSE
11719 state if supported.
11720 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
11722 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
11724 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
11726 2014-05-09 Will Newton <will.newton@linaro.org>
11728 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
11729 and libc_relro_required for ARM.
11730 * sysdeps/arm/preconfigure: Regenerate.
11732 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
11733 Stefan Liebler <stli@linux.vnet.ibm.com>
11735 * config.make.in (enable-lock-elision): New Makefile variable.
11736 * configure.ac: Likewise.
11737 * configure: Regenerate.
11738 * sysdeps/s390/configure.ac:
11739 Add check for gcc transactions support.
11740 * sysdeps/s390/configure: Regenerate.
11741 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
11742 Build elision files if enabled.
11743 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
11744 Add lock elision support for s390.
11745 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
11746 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
11747 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
11748 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
11749 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
11750 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
11751 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
11753 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
11755 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
11757 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
11759 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
11760 (__lll_timedlock_elision, __lll_lock_elision)
11761 (__lll_unlock_elision, __lll_trylock_elision)
11762 (lll_timedlock_elision, lll_lock_elision)
11763 (lll_unlock_elision, lll_trylock_elision): Add.
11764 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11765 (pthread_mutex_t): Add lock elision support for s390.
11767 2014-05-14 Wilco <wdijkstr@arm.com>
11769 * sysdeps/arm/fclrexcpt.c: Cleanup.
11770 * sysdeps/arm/fedisblxcpt.c: Cleanup.
11771 * sysdeps/arm/feenablxcpt.c: Cleanup.
11772 * sysdeps/arm/fegetenv.c: Cleanup.
11773 * sysdeps/arm/fegetexcept.c: Cleanup.
11774 * sysdeps/arm/fegetround.c: Cleanup.
11775 * sysdeps/arm/feholdexcpt.c: Cleanup.
11776 * sysdeps/arm/fesetenv.c: Cleanup.
11777 * sysdeps/arm/fesetround.c: Cleanup.
11778 * sysdeps/arm/feupdateenv.c: Cleanup.
11779 * sysdeps/arm/fgetexcptflg.c: Cleanup.
11780 * sysdeps/arm/fraiseexcpt.c: Cleanup.
11781 * sysdeps/arm/fsetexcptflg.c: Cleanup.
11782 * sysdeps/arm/ftestexcept.c: Cleanup.
11783 * sysdeps/arm/get-rounding-mode.h: Cleanup.
11784 * sysdeps/arm/setfpucw.c: Cleanup.
11786 2014-05-09 Will Newton <will.newton@linaro.org>
11788 * sysdeps/arm/armv7/strcmp.S: New file.
11789 * NEWS: Mention addition of ARMv7 optimized strcmp.
11791 2014-05-08 Roland McGrath <roland@hack.frob.com>
11793 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
11794 look for %.ac rather than %.in.
11796 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
11797 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
11798 * sysdeps/mach/hurd/configure: Regenerated.
11799 * sysdeps/unix/sysv/linux/configure: Regenerated.
11801 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
11803 2014-05-07 Steve Ellcey <sellcey@mips.com>
11806 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
11810 2014-05-07 Andreas Schwab <schwab@suse.de>
11812 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
11813 when skipping over non-matching result from nscd.
11815 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
11818 * nptl/sockperf.c (client): Check socket return value.
11821 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
11822 nscd security class.
11824 2014-05-06 Roland McGrath <roland@hack.frob.com>
11826 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
11827 * sysdeps/arm/unwind.h: ... here.
11829 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
11832 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
11835 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11837 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
11838 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
11839 multiarch strncpy for PPC64.
11840 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
11841 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
11842 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
11843 multiarch optimizations.
11844 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11845 (__libc_ifunc_impl_list): Likewise.
11846 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
11847 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
11848 multiarch stpncpy for PPC64.
11849 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
11850 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
11852 2014-05-06 Andreas Schwab <schwab@suse.de>
11855 * gmon/mcount.c (_MCOUNT_DECL): Use
11856 atomic_compare_and_exchange_bool_acq instead of
11857 catomic_compare_and_exchange_bool_acq.
11859 2014-05-05 Roland McGrath <roland@hack.frob.com>
11861 * elf/Makefile (others, install-bin): Remove pldd.
11862 (pldd-modules): Variable removed.
11863 ($(objpfx)pldd): Target removed.
11864 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
11865 (others, install-bin): Append pldd here.
11866 ($(objpfx)pldd): New target.
11868 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
11869 to 0, so the first #if test emitted later doesn't see it undefined.
11870 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
11871 * sysdeps/gnu/errlist.c: Regenerated.
11873 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11875 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
11876 [libc_hidden_builtin_def]: Define to empty value.
11877 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
11878 [libc_hidden_builtin_def]: Likewise.
11879 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
11880 [libc_hidden_builtin_def]: Likewise.
11881 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
11882 [libc_hidden_builtin_def]: Likewise.
11883 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
11884 __redirect_memcpy and define ifunc as default hidden symbol.
11885 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
11886 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
11888 2014-05-04 Adam Conrad <adconrad@0c3.net>
11890 * locale/iso-4217.def: Reintroduce XDR currency.
11892 2014-05-04 Allan McRae <allan@archlinux.org>
11894 * po/eo.po: Update Esperanto translation from translation project.
11896 2014-05-02 Carlos O'Donell <carlos@redhat.com>
11898 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
11899 and FEATURE_INDEX_MAX to 1.
11900 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
11902 2014-05-01 Steve Ellcey <sellcey@mips.com>
11904 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
11905 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
11906 * iconvdata/big5.c (ONE_DIRECTION): Define.
11907 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
11908 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
11909 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
11910 * iconvdata/cp932.c (ONE_DIRECTION): Define.
11911 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
11912 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
11913 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
11914 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
11915 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
11916 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
11917 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
11918 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
11919 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
11920 * iconvdata/gbk.c (ONE_DIRECTION): Define.
11921 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
11922 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
11923 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
11924 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
11925 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
11926 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
11927 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
11928 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
11929 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
11930 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
11931 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
11932 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
11933 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
11934 * iconvdata/iso646.c (ONE_DIRECTION): Define.
11935 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
11936 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
11937 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
11938 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
11939 * iconvdata/johab.c (ONE_DIRECTION): Define.
11940 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
11941 * iconvdata/sjis.c (ONE_DIRECTION): Define.
11942 * iconvdata/t.61.c (ONE_DIRECTION): Define.
11943 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
11944 * iconvdata/tscii.c (ONE_DIRECTION): Define.
11945 * iconvdata/uhc.c (ONE_DIRECTION): Define.
11946 * iconvdata/unicode.c (ONE_DIRECTION): Define.
11947 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
11948 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
11949 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
11951 2014-05-01 Roland McGrath <roland@hack.frob.com>
11953 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
11954 (_IO_JUMPS_OFFSET): Define to 0.
11956 * nptl/sysdeps/pthread/bits/libc-lock.h
11957 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
11958 (__libc_lock_define_initialized_recursive): Always define using
11959 initializer. Modern compilers treat uninitialized (implicit zero) and
11960 explicit zero initializers the same (i.e. put the datum in bss).
11962 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
11964 * nscd/nscd-client.h: Include <string.h>.
11966 2014-05-01 David S. Miller <davem@davemloft.net>
11969 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
11970 multiple zero bytes exist at the end of a string.
11971 Reported by Aurelien Jarno <aurelien@aurel32.net>
11973 * string/test-strcmp.c (check): Add explicit test for situations where
11974 there are multiple zero bytes after the first.
11976 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
11979 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
11980 when compiling wprintf.
11981 * stdio-common/tstdiomisc.c (t3): New function.
11984 2014-05-01 Steve Ellcey <sellcey@mips.com>
11986 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
11987 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
11988 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
11989 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
11991 2014-05-01 Steve Ellcey <sellcey@mips.com>
11993 * stdlib/longlong.h: Updated from GCC.
11995 2014-05-01 Will Newton <will.newton@linaro.org>
11996 Bernard Ogden <bernie.ogden@linaro.org>
11998 * NEWS: Update fixed bug list.
12001 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
12003 2014-04-30 David S. Miller <davem@davemloft.net>
12005 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
12006 (libc_feholdexcept_setround_sparc_ctx): New function.
12007 (libc_fesetenv_sparc_ctx): Likewise.
12008 (libc_feupdateenv_sparc_ctx): Likewise.
12009 (libc_feholdsetround_sparc_ctx): Likewise.
12010 (libc_feholdexcept_setround_ctx): Define.
12011 (libc_feholdexcept_setroundf_ctx): Likewise.
12012 (libc_feholdexcept_setroundl_ctx): Likewise.
12013 (libc_fesetenv_ctx): Likewise.
12014 (libc_fesetenvf_ctx): Likewise.
12015 (libc_fesetenvl_ctx): Likewise.
12016 (libc_feupdateenv_ctx): Likewise.
12017 (libc_feupdateenvf_ctx): Likewise.
12018 (libc_feupdateenvl_ctx): Likewise.
12019 (libc_feresetround_ctx): Likewise.
12020 (libc_feresetroundf_ctx): Likewise.
12021 (libc_feresetroundl_ctx): Likewise.
12022 (libc_feholdsetround_ctx): Likewise.
12023 (libc_feholdsetroundf_ctx): Likewise.
12024 (libc_feholdsetroundl_ctx): Likewise.
12026 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
12027 with __USE_GNU instead of XOPEN cpp guards.
12029 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
12032 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
12033 with XOPEN cpp guards.
12035 2014-04-30 Julian Brown <julian@codesourcery.com>
12038 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
12041 2014-04-30 Joseph Myers <joseph@codesourcery.com>
12044 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
12046 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
12047 * sysdeps/unix/sysv/linux/configure: Regenerated.
12048 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
12049 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
12050 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
12051 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
12052 * README: Update reference to required Linux kernel version.
12053 * manual/install.texi (Linux): Update reference to required Linux
12054 kernel headers version.
12055 * INSTALL: Regenerated.
12057 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
12059 [POSIX] (limits.h): Likewise.
12060 [POSIX] (math.h): Likewise.
12061 [POSIX] (sys/wait.h): Likewise.
12062 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
12064 [POSIX] (stddef.h): Do not allow header inclusion.
12066 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12068 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
12070 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
12072 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
12073 Return immediately after lll_futex_wake.
12075 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12078 * nscd/nscd-client.h (datahead_init_common): Initialize entire
12080 (datahead_init_pos): Call datahead_init_common early.
12081 (datahead_init_neg): Likewise.
12083 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
12084 datahead_init_neg): New functions.
12085 * nscd/aicache.c (addhstaiX): Use them.
12086 * nscd/grpcache.c (cache_addgr): Likewise.
12087 * nscd/hstcache.c (cache_addhst): Likewise.
12088 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12089 * nscd/netgroupcache.c (do_notfound): Likewise.
12090 (addgetnetgrentX): Likewise.
12091 (addinnetgrX): Likewise.
12092 * nscd/pwdcache.c (cache_addpw): Likewise.
12093 * nscd/servicescache.c (cache_addserv): Likewise.
12095 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12096 Atsushi Onoe <atsushi@onoe.org>
12101 * resolv/res_query.c (__libc_res_nsearch): Return if at least
12102 one response is valid.
12103 * resolv/res_send.c (send_dg): Check for validity of other
12104 response if the current response is a referral.
12106 2014-04-29 Steve Ellcey <sellcey@mips.com>
12108 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
12110 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
12113 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
12114 Always divide by positive zero when computing -Inf result.
12115 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
12116 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
12118 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12120 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
12121 FPSCR if value do not change.
12122 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12123 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
12124 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
12125 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12126 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
12127 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
12130 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
12132 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
12133 * sysdeps/unix/sysv/linux/hppa: Move directory from
12134 ports/systeps/unix/sysv/linux/hppa.
12135 * README: Update listing for hppa-*-linux-gnu.
12137 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
12140 * manual/stdio.texi (Hook functions): Fix types of stream hook
12143 * socket/sys/socket.h: Fix typo in comment.
12145 2014-04-28 Wilco <wdijkstr@arm.com>
12147 * sysdeps/arm/fenv_private.h: New file.
12148 * sysdeps/arm/math_private.h: New file.
12149 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
12151 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
12153 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
12155 (La_x86_64_retval): Likewise.
12157 2014-04-24 Ian Bolton <ian.bolton@arm.com>
12159 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
12160 fpsr if value didn't change.
12161 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
12162 to fpcr if value didn't change.
12163 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
12164 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
12165 fpsr or fpcr if value didn't change.
12166 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
12167 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
12168 fpcr if value didn't change.
12169 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
12170 to fpsr if value didn't change.
12172 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
12174 * nptl/tst-sem3.c: Use test-skeleton.c
12175 (main): Rename to do_test. Use return instead of
12177 * nptl/tst-sem4.c: Use test-skeleton.c
12178 (main): Rename to do_test.
12180 2014-04-22 David S. Miller <davem@davemloft.net>
12182 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
12183 (struct sigaction): New struct member __glibc_reserved0, change
12184 type of sa_flags to int.
12186 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
12188 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
12189 (COUNT_LEADING_ZEROS_0): Define for AArch64.
12191 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12193 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
12194 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
12196 2014-04-22 Will Newton <will.newton@linaro.org>
12197 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
12199 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
12200 (__longjmp): Add longjmp and longjmp_target SystemTap
12202 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
12203 (__sigsetjmp): Add setjmp SystemTap probe.
12205 2014-04-17 Carlos O'Donell <carlos@redhat.com>
12207 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
12208 match manual order.
12210 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12212 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
12214 * sysdeps/powerpc/fpu/fenv_private.h
12215 (libc_feholdexcept_setroundl_ctx): Define to
12216 libc_feholdexcept_setround_ppc_ctx.
12217 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
12218 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
12219 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
12220 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
12222 2014-04-17 Ian Bolton <ian.bolton@arm.com>
12224 * sysdeps/aarch64/math-tests.h: New file.
12226 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
12228 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
12230 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12231 Check and set bit_AVX2_Usable.
12232 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
12234 (bit_AVX2): Likewise.
12235 (index_AVX2_Usable): Likewise.
12236 (CPUID_AVX2): Likewise.
12237 (HAS_AVX2): Likewise.
12239 2014-04-17 Will Newton <will.newton@linaro.org>
12241 * manual/setjmp.texi (System V contexts): Add note that
12242 calling setcontext on a context created by a call to a
12243 signal handler is undefined. Update text to note that
12244 setcontext from a signal handler is possible but not
12248 * stdlib/tst-setcontext.c: Include signal.h.
12249 (main): Check that the signal stack before and
12250 after swapcontext is the same.
12252 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
12253 Re-implement to restore registers in user code and avoid
12254 rt_sigreturn system call.
12256 2014-04-17 Wilco <wdijkstr@arm.com>
12258 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
12259 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
12260 * math/test-fenv.c: Skip exception trap tests on targets which only
12261 support non-stop mode.
12263 2014-04-17 Ian Bolton <ian.bolton@arm.com>
12264 Wilco Dijkstra <wilco.dijkstra@arm.com>
12266 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
12267 (libc_feholdsetround_aarch64_ctx)
12268 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
12269 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
12270 (libc_feresetround_ctx, libc_feresetroundf_ctx)
12271 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
12272 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
12273 (libc_feresetround_noexl_ctx): Define.
12275 2014-04-16 Richard Henderson <rth@redhat.com>
12277 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
12279 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
12282 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
12283 const from the non-libc, non-ldso copy.
12285 * sysdeps/alpha/libm-test-ulps: Regenerate.
12287 2014-04-16 Ian Bolton <ian.bolton@arm.com>
12288 Wilco Dijkstra <wilco.dijkstra@arm.com>
12290 * sysdeps/aarch64/fpu/math_private.h: New file.
12292 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
12294 * sysdeps/aarch64/libm-test-ulps: Regenerate.
12296 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
12299 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
12300 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
12301 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
12302 Intel MPX bound registers before _dl_profile_fixup.
12303 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
12304 registers after _dl_profile_fixup. Save and restore bound
12305 registers bnd0/bnd1 when calling _dl_call_pltexit.
12306 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
12307 (LR_BND_OFFSET): Likewise.
12308 (LRV_BND0_OFFSET): Likewise.
12309 (LRV_BND1_OFFSET): Likewise.
12311 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12313 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
12315 * sysdeps/mach/hurd/i386/tls.h: ... here.
12316 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
12317 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
12320 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12322 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
12324 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
12326 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12328 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
12331 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
12332 * sysdeps/s390/configure: Regenerate.
12335 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
12336 Set round-to-nearest internally to reduce error accumulation.
12338 2014-04-16 Alan Modra <amodra@gmail.com>
12342 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
12343 * math/libm-test.inc (frexp_test_data): Add tests.
12344 * NEWS: Update fixed bug list.
12346 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12348 * benchtests/Makefile: Depend on libraries in build directory.
12349 (bench-math): Separate out math tests.
12350 (bench-pthread): Separate out pthread tests.
12351 (bench): Include math and pthread tests.
12353 2014-04-14 Carlos O'Donell <carlos@redhat.com>
12356 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
12357 _dl_debug_initialize.
12359 * configure.ac: Remove SELinux header check.
12360 * configure: Regenerate.
12361 * nscd/selinux.c (perms): Array of const char* to permission names.
12362 (nscd_request_avc_has_perm): Call security_deny_unknown to find
12363 default policy. Call string_to_security_class and string_to_av_perm to
12364 translate strings. Enforce default policy and call avs_has_perm with
12365 results of translated strings.
12367 2014-04-13 David S. Miller <davem@davemloft.net>
12369 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12371 2014-04-12 Allan McRae <allan@archlinux.org>
12374 * manual/string.texi (Collation Functions): Fix qsort argument
12376 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
12378 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
12380 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
12381 Make the test a no-op if there are no exceptions defined.
12383 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
12385 * elf/Makefile (tests): make tst-dlopen-aout conditional on
12386 enable-hardcoded-path-in-tests
12388 2014-04-11 Will Newton <will.newton@linaro.org>
12390 * benchtests/Makefile (extra-objs): Add json-lib.o.
12391 (bench-func): Tidy up JSON output.
12392 * benchtests/bench-skeleton.c: Include json-lib.h.
12393 (main): Use JSON library functions to do output of
12395 * benchtests/bench-timing-type.c (main): Output the
12396 timing type simply, leaving formatting to the user.
12397 * benchtests/json-lib.c: New file.
12398 * benchtests/json-lib.h: Likewise.
12400 2014-04-11 Torvald Riegel <triegel@redhat.com>
12403 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
12404 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
12405 memory barriers. Add comments.
12406 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
12407 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
12408 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
12409 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
12410 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
12411 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
12413 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
12415 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
12416 * sysdeps/s390/s390-64/configure.ac: ... this ...
12417 * sysdeps/s390/configure.ac: ... to here.
12418 * sysdeps/s390/s390-32/configure: Delete file.
12419 * sysdeps/s390/s390-64/configure: Delete file.
12420 * sysdeps/s390/configure: Regenerate.
12422 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
12424 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
12426 2014-04-11 Will Newton <will.newton@linaro.org>
12428 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
12429 to zero if it is not defined elsewhere. (mtrim): Test
12430 the value of MALLOC_DEBUG with #if rather than #ifdef.
12432 2014-04-10 Torvald Riegel <triegel@redhat.com>
12434 * benchtests/pthread_once-inputs: New file.
12435 * benchtests/pthread_once-source.c: New file.
12436 * benchtests/README: Update documentation.
12438 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
12439 H.J. Lu <hongjiu.lu@intel.com>
12442 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
12443 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
12444 * sysdeps/x86_64/configure: Regenerated.
12445 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
12447 (REGISTER_SAVE_RAX): Likewise.
12448 (REGISTER_SAVE_RCX): Likewise.
12449 (REGISTER_SAVE_RDX): Likewise.
12450 (REGISTER_SAVE_RSI): Likewise.
12451 (REGISTER_SAVE_RDI): Likewise.
12452 (REGISTER_SAVE_R8): Likewise.
12453 (REGISTER_SAVE_R9): Likewise.
12454 (REGISTER_SAVE_BND0): Likewise.
12455 (REGISTER_SAVE_BND1): Likewise.
12456 (REGISTER_SAVE_BND2): Likewise.
12457 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
12458 bound registers when calling _dl_fixup.
12460 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12462 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
12463 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
12465 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
12466 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
12467 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
12468 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
12469 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
12470 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
12471 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
12473 2014-04-09 Peter Brett <peter@peter-b.co.uk>
12476 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
12477 pathconf(_PC_NAME_MAX).
12479 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12481 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
12482 Remove macro usage.
12483 (__PTHREAD_SPINS): Move definition to ...
12484 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
12485 (__PTHREAD_SPINS): ... here.
12486 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12487 (__PTHREAD_SPIN): Likewise.
12488 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
12489 (__PTHREAD_SPIN): Likewise.
12490 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
12491 (__PTHREAD_SPIN): Likewise.
12492 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
12493 (__PTHREAD_SPIN): Likewise.
12494 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
12495 (__PTHREAD_SPIN): Likewise.
12496 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
12497 (__PTHREAD_SPIN): Likewise.
12498 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
12499 (__PTHREAD_SPIN): Likewise.
12500 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
12501 (__PTHREAD_SPIN): Likewise.
12502 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
12503 (__PTHREAD_SPIN): Likewise.
12504 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
12505 (__PTHREAD_SPIN): Likewise.
12506 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
12507 (__PTHREAD_SPIN): Likewise.
12508 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
12509 (__PTHREAD_SPIN): Likewise.
12511 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
12512 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
12513 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
12514 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
12516 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
12517 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
12518 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
12519 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
12520 correct imply path.
12521 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
12522 strlen symbol for non multi-arch builds.
12523 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
12524 missing hidden_def and weak_alias.
12526 2014-04-08 Carlos O'Donell <carlos@redhat.com>
12528 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
12530 2014-04-07 Will Newton <will.newton@linaro.org>
12532 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
12533 and contents. [!_LIBC] Remove #ifndef and contents.
12534 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
12535 * string/memccpy.c (__memccpy): Use ANSI prototype.
12536 * string/memfrob.c (memfrob): Likewise.
12537 * string/strcoll.c (STRCOLL): Likewise.
12538 * string/strlen.c (strlen): Likewise.
12539 * string/strtok.c (STRTOK): Likewise.
12540 * string/strcat.c: Remove unused #include of memcopy.h.
12541 (strcat): Use ANSI prototype.
12542 * string/strchr.c: Remove unused #include of memcopy.h.
12543 (strchr): Use ANSI prototype.
12544 * string/strcmp.c: Remove unused #include of memcopy.h.
12545 (strcmp): Use ANSI prototype.
12546 * string/strcpy.c: Remove unused #include of memcopy.h.
12547 (strcpy): Use ANSI prototype.
12549 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12551 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
12552 * config.make.in (config-extra-cppflags): Set it from
12553 libc_extra_cppflags.
12554 * configure.ac (libc_extra_cflags): Make it accumulate over
12555 configure fragments.
12556 (libc_extra_cppflags): New flag.
12557 * configure. Regenerate.
12558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
12559 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
12560 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
12561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
12564 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
12565 result for FE_DOWNWARD rounding mode.
12566 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
12568 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12570 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
12572 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
12573 in function argument name.
12575 2014-04-03 David Svoboda <svoboda@cert.org>
12578 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
12581 2014-04-03 Roland McGrath <roland@hack.frob.com>
12583 * elf/dl-unmap-segments.h: New file.
12584 * sysdeps/generic/ldsodefs.h
12585 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
12586 * elf/dl-close.c: Include <dl-unmap-segments.h>.
12587 * elf/dl-fptr.c: Likewise.
12588 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
12589 * sysdeps/aarch64/tlsdesc.c: Likewise.
12590 * sysdeps/arm/tlsdesc.c: Likewise.
12591 * sysdeps/i386/tlsdesc.c: Likewise.
12592 * sysdeps/tile/dl-runtime.c: Likewise.
12593 * sysdeps/x86_64/tlsdesc.c: Likewise.
12594 * elf/dl-load.h: New file.
12595 * elf/dl-load.c: Include it.
12596 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
12597 Macros moved to dl-load.h.
12598 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
12599 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
12600 Use _dl_unmap_segments in place of __munmap.
12601 Break out segment-mapping loop into ...
12602 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
12604 2014-04-03 Will Newton <will.newton@linaro.org>
12606 * elf/dl-lookup.c (do_lookup_x): Remove comment
12607 referring to nested function and move variable
12608 declarations down to before first use.
12610 2014-04-02 Joseph Myers <joseph@codesourcery.com>
12614 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
12616 * math/s_catanf.c (__catanf): Likewise.
12617 * math/s_catanh.c (__catanh): Likewise.
12618 * math/s_catanhf.c (__catanhf): Likewise.
12619 * math/s_catanhl.c (__catanhl): Likewise.
12620 * math/s_catanl.c (__catanl): Likewise.
12621 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
12622 by positive zero when computing -Inf result.
12623 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
12624 (catanh_test): Likewise.
12625 * sysdeps/i386/fpu/libm-test-ulps: Update.
12626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12629 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
12630 instead of using underflowing value in computing result.
12631 * math/s_clog10.c (__clog10): Likewise.
12632 * math/s_clog10f.c (__clog10f): Likewise.
12633 * math/s_clog10l.c (__clog10l): Likewise.
12634 * math/s_clogf.c (__clogf): Likewise.
12635 * math/s_clogl.c (__clogl): Likewise.
12636 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
12637 (clog10_test): Likewise.
12638 * sysdeps/i386/fpu/libm-test-ulps: Update.
12639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12641 2014-04-02 Alan Modra <amodra@gmail.com>
12644 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
12645 output when value is near a power of two. Use int64_t for lx and
12646 remove casts. Use decimal rather than hex exponent constants.
12647 Don't use long double multiplication when double will suffice.
12648 * math/libm-test.inc (nextafter_test_data): Add tests.
12649 * NEWS: Add 16739 and 16786 to bug list.
12651 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
12653 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
12655 2014-04-01 Will Newton <will.newton@linaro.org>
12657 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
12658 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
12660 2014-04-01 Florian Weimer <fweimer@redhat.com>
12663 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
12664 * nptl/tst-setuid2.c: New file.
12665 * nptl/Makefile (xtests): Add tst-setuid2.
12667 2014-04-01 Alan Modra <amodra@gmail.com>
12670 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
12672 2014-03-31 Joseph Myers <joseph@codesourcery.com>
12676 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
12677 set errno as appropriate.
12678 * math/w_scalbf.c (__scalbf): Likewise.
12679 * math/w_scalbl.c (__scalbl): Likewise.
12680 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
12681 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
12682 * math/libm-test.inc (scalb_test_data): Add errno expectations.
12683 Add more NaN tests.
12686 * math/w_atan2.c: Include <errno.h>.
12687 (__atan2): Set errno for result underflowing to zero.
12688 * math/w_atan2f.c: Include <errno.h>.
12689 (__atan2f): Set errno for result underflowing to zero.
12690 * math/w_atan2l.c: Include <errno.h>.
12691 (__atan2l): Set errno for result underflowing to zero.
12692 * math/auto-libm-test-in: Don't allow missing errno for some atan2
12694 * math/auto-libm-test-out: Regenerated.
12696 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12698 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
12699 Encode instruction correctly in little endian.
12700 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
12702 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
12704 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
12706 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
12709 2014-03-31 Joseph Myers <joseph@codesourcery.com>
12712 * sysdeps/unix/sysv/linux/kernel-features.h
12713 [__sparc__ && !__arch64__ && !__sparc_v9__]
12714 (__ASSUME_SET_ROBUST_LIST): Do not define.
12715 [__sparc__ && !__arch64__ && !__sparc_v9__]
12716 (__ASSUME_FUTEX_LOCK_PI): Likewise.
12717 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
12719 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12720 (__ASSUME_FUTEX_LOCK_PI): Undefine.
12721 (__ASSUME_REQUEUE_PI): Likewise.
12722 (__ASSUME_SET_ROBUST_LIST): Likewise.
12723 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12724 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
12726 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12727 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
12729 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
12731 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
12733 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12734 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
12736 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
12737 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
12741 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12742 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
12743 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
12745 2014-03-31 Will Newton <will.newton@linaro.org>
12747 * benchtests/Makefile (bench): Add ffs and ffsll to list
12749 * benchtests/ffs-inputs: New file.
12750 * benchtests/ffsll-inputs: Likewise.
12752 2014-03-29 Joseph Myers <joseph@codesourcery.com>
12755 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
12756 too large before casting to int.
12757 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
12758 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
12759 * math/libm-test.inc (scalb_test_data): Add more tests.
12761 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12763 * benchtests/Makefile (DETAILED_OPT): New make option.
12764 (bench-func): Run benchmark program with -d if DETAILED_OPT is
12766 * benchtests/bench-skeleton.c: Include stdbool.h.
12767 (main): Store and print timings per input.
12768 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
12769 member to each argument value.
12770 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
12771 (_print_arg_data): Initialize per-input timing to 0.
12773 * benchtests/Makefile (timing-type): New binary.
12774 (bench-clean): Also remove bench-timing-type.
12775 (bench): New target for timing-type.
12776 (bench-func): Print output in JSON format.
12777 * benchtests/bench-skeleton.c (main): Print output in JSON
12779 * benchtests/bench-timing-type.c: New file.
12780 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
12781 (TIMING_PRINT_STATS): Remove.
12782 * benchtests/scripts/bench.py (_print_arg_data): Store variant
12785 * benchtests/bench-modf.c: Remove.
12786 * benchtests/modf-inputs: New inputs file.
12788 2014-03-28 Joseph Myers <joseph@codesourcery.com>
12791 * math/s_clog10.c (M_PI_LOG10E): New macro.
12792 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
12793 imaginary parts are 0.
12794 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
12795 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
12796 imaginary parts are 0.
12797 * math/s_clog10l.c (M_PI_LOG10El): New macro.
12798 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
12799 imaginary parts are 0.
12800 * math/libm-test.inc (clog10_test_data): Update expected results
12801 for when real and imaginary parts are 0.
12803 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
12805 * elf/dl-load.c: Finish conversion of __builtin_expect into
12806 __glibc_{un}likely.
12808 2014-03-27 Joseph Myers <joseph@codesourcery.com>
12811 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
12812 1+x for argument with exponent below -67.
12813 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
12815 * math/auto-libm-test-in: Add more tests of exp.
12816 * math/auto-libm-test-out: Regenerated.
12818 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12821 * inet/getnetgrent_r.c (get_nonempty_val): New function.
12822 (nscd_getnetgrent): Use it.
12825 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
12828 2014-03-27 Andi Kleen <ak@linux.intel.com>
12830 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
12831 (lll_robust_lock, lll_cond_lock, lll_timedlock)
12832 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
12833 (lll_robust_unlock): Remove out of line section. Use cfi
12835 (LLL_STUB_UNWIND_INFO*): Remove.
12836 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
12837 (lll_robust_lock, lll_cond_lock, lll_timedlock)
12838 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
12839 (lll_robust_unlock): Remove out of line section. Use cfi
12841 (LLL_STUB_UNWIND_INFO*): Remove.
12843 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12846 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
12849 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
12851 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
12853 2014-03-26 Joseph Myers <joseph@codesourcery.com>
12856 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
12858 * math/test-fenv-preserve.c: New file.
12859 * math/Makefile (tests): Add test-fenv-preserve.
12861 2014-03-26 Will Newton <will.newton@linaro.org>
12863 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
12865 2014-03-25 Roland McGrath <roland@hack.frob.com>
12867 * scripts/versionlist.awk: Partition the version sets and emit all
12868 GLIBC_* (sorted) before all others (sorted).
12870 2014-03-25 Joseph Myers <joseph@codesourcery.com>
12872 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
12873 GLIBC_2.2.5 version.
12875 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12877 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
12880 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
12883 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12885 2014-03-25 Andreas Schwab <schwab@suse.de>
12887 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
12888 label to be used after in6ailist is initialized.
12890 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12892 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
12893 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
12895 2014-03-25 Joseph Myers <joseph@codesourcery.com>
12899 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
12901 (fp_formats): Update initializers.
12902 (init_fp_formats): Initialize new field.
12903 (output_for_one_input_case): Allow underflow for results up to
12905 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
12906 * math/auto-libm-test-in: Don't mark some underflows from asin and
12908 * math/auto-libm-test-out: Regenerated.
12909 * sysdeps/i386/fpu/libm-test-ulps: Update.
12910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12912 2014-03-25 Andreas Schwab <schwab@suse.de>
12914 * libio/Makefile (tst-ftell-partial-wide-ENV)
12915 (tst-ftell-active-handler-ENV): Define.
12917 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
12919 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
12921 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
12923 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
12925 2014-03-24 Joseph Myers <joseph@codesourcery.com>
12927 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
12928 * sysdeps/x86_64/fpu/multiarch/e_exp.c
12929 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12931 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
12934 * elf/dl-load.c (open_verify): Add mode parameter.
12935 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
12936 (open_path): Change from boolean 'secure' to complete flag 'mode'
12937 (_dl_map_object): Adjust.
12938 * elf/Makefile (tests): Add tst-dlopen-aout.
12939 * elf/tst-dlopen-aout.c: New test.
12941 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
12944 * sysdeps/unix/sysv/linux/s390/bits/stat.h
12945 (struct stat): Rename member pad0 to __glibc_reserved0.
12948 * sysdeps/s390/s390-32/bits/wordsize.h
12949 (__WORDSIZE32_SIZE_ULONG): New define.
12950 * sysdeps/s390/s390-64/bits/wordsize.h
12951 (__WORDSIZE32_SIZE_ULONG): Likewise.
12952 * sysdeps/generic/stdint.h (SIZE_MAX):
12953 Define as UL if __WORDSIZE32_SIZE_ULONG.
12956 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
12957 (__glibc_reserved0): New variable.
12958 (sa_flags): Change type to int.
12960 * posix/Makefile (before-compile): Use += before-compile instead
12963 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12964 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
12966 2014-03-20 Andreas Schwab <schwab@suse.de>
12969 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
12970 non-matching result from nscd.
12972 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12974 * scripts/bench.py: Moved to ...
12975 * benchtests/scripts/bench.py: ... here.
12976 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
12978 2014-03-24 Andreas Schwab <schwab@suse.de>
12981 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
12982 alloca_account and account alloca use for struct in6ailist.
12984 2014-03-24 Joseph Myers <joseph@codesourcery.com>
12987 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
12988 rounding mode to recompute results that overflow to infinity or
12990 * math/auto-libm-test-in: Don't mark tests as expected to fail for
12992 * math/auto-libm-test-out: Regenerated.
12993 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
12994 (ccosh_test): Likewise.
12995 (csin_test_data): Use plus_oflow.
12996 (csin_test): Use ALL_RM_TEST.
12997 (csinh_test_data): Use plus_oflow.
12998 (csinh_test): Use ALL_RM_TEST.
12999 * sysdeps/i386/fpu/libm-test-ulps: Update.
13000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13002 2014-03-21 Joseph Myers <joseph@codesourcery.com>
13004 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
13005 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
13006 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
13009 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
13010 when x - 1 is zero.
13011 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
13012 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
13013 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
13014 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
13016 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
13017 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
13019 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
13020 * sysdeps/i386/fpu/libm-test-ulps: Update.
13021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13023 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13025 * scripts/bench.pl: Remove file.
13026 * scripts/bench.py: New benchmark script.
13027 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
13028 * benchtests/README: Mention python dependency.
13029 * scripts/pylintrc: New file.
13030 * scripts/pylint: New file.
13032 * bits/mathdef.h: Use #ifdef instead of #if.
13033 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
13034 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13035 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
13036 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13037 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
13038 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13040 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13041 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13043 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
13044 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
13045 and strpbrk-ppc64 objects.
13046 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13047 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
13048 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
13049 multiarch strpbrk for POWER7.
13050 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
13051 multiarch strpbrk for PPC64.
13052 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
13054 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
13055 strpbrk for POWER7.
13057 2014-03-20 Joseph Myers <joseph@codesourcery.com>
13059 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
13060 (atan_test): Likewise.
13061 (atanh_test_data): Use NO_TEST_INLINE for two tests.
13062 (atanh_test): Use ALL_RM_TEST.
13063 (atan2_test_data): Likewise.
13064 (cabs_test): Likewise.
13065 (cacosh_test): Likewise.
13066 (carg_test): Likewise.
13067 (casin_test): Likewise.
13068 (casinh_test): Likewise.
13069 (cbrt_test): Likewise.
13070 (csqrt_test): Likewise.
13071 (erf_test): Likewise.
13072 (erfc_test): Likewise.
13073 (pow10_test): Likewise.
13074 (exp2_test): Likewise.
13075 (hypot_test): Likewise.
13076 (j0_test): Likewise.
13077 (j1_test): Likewise.
13078 (lgamma_test): Likewise.
13079 (gamma_test): Likewise.
13080 (sincos_test): Likewise.
13081 (tanh_test): Likewise.
13082 (y0_test): Likewise.
13083 (y1_test): Likewise.
13084 * sysdeps/i386/fpu/libm-test-ulps: Update.
13085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13087 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13089 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
13090 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
13091 and strcspn-ppc64 objects.
13092 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13093 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
13094 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
13095 multiarch strcspn for POWER7.
13096 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
13097 multiarch strcspn for PPC64.
13098 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
13100 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
13101 strcspn for POWER7.
13103 2014-03-20 Joseph Myers <joseph@codesourcery.com>
13105 * math/gen-libm-test.pl (generate_testfile): Expect only function
13106 name as argument to AUTO_TESTS_* and pass results for all rounding
13107 modes to parse_args.
13108 (parse_auto_input): Separate inputs of automatic tests from
13109 outputs before storing in %auto_tests.
13110 * math/libm-test.inc (acos_test_data): Update call to
13112 (acos_test): Use ALL_RM_TEST.
13113 (acos_tonearest_test_data): Remove.
13114 (acos_test_tonearest): Likewise.
13115 (acos_towardzero_test_data): Likewise.
13116 (acos_test_towardzero): Likewise.
13117 (acos_downward_test_data): Likewise.
13118 (acos_test_downward): Likewise.
13119 (acos_upward_test_data): Likewise.
13120 (acos_test_upward): Likewise.
13121 (acosh_test_data): Update call to AUTO_TESTS_f_f.
13122 (asin_test_data): Likewise.
13123 (asin_test): Use ALL_RM_TEST.
13124 (asin_tonearest_test_data): Remove.
13125 (asin_test_tonearest): Likewise.
13126 (asin_towardzero_test_data): Likewise.
13127 (asin_test_towardzero): Likewise.
13128 (asin_downward_test_data): Likewise.
13129 (asin_test_downward): Likewise.
13130 (asin_upward_test_data): Likewise.
13131 (asin_test_upward): Likewise.
13132 (asinh_test_data): Update call to AUTO_TESTS_f_f.
13133 (atan_test_data): Likewise.
13134 (atanh_test_data): Likewise.
13135 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
13136 (cabs_test_data): Update call to AUTO_TESTS_c_f.
13137 (carg_test_data): Likewise.
13138 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
13139 (ccos_test_data): Update call to AUTO_TESTS_c_c.
13140 (ccosh_test_data): Likewise.
13141 (cexp_test_data): Likewise.
13142 (clog_test_data): Likewise.
13143 (clog10_test_data): Likewise.
13144 (cos_test_data): Update call to AUTO_TESTS_f_f.
13145 (cos_test): Use ALL_RM_TEST.
13146 (cos_tonearest_test_data): Remove.
13147 (cos_test_tonearest): Likewise.
13148 (cos_towardzero_test_data): Likewise.
13149 (cos_test_towardzero): Likewise.
13150 (cos_downward_test_data): Likewise.
13151 (cos_test_downward): Likewise.
13152 (cos_upward_test_data): Likewise.
13153 (cos_test_upward): Likewise.
13154 (cosh_test_data): Update call to AUTO_TESTS_f_f.
13155 (cosh_test): Use ALL_RM_TEST.
13156 (cosh_tonearest_test_data): Remove.
13157 (cosh_test_tonearest): Likewise.
13158 (cosh_towardzero_test_data): Likewise.
13159 (cosh_test_towardzero): Likewise.
13160 (cosh_downward_test_data): Likewise.
13161 (cosh_test_downward): Likewise.
13162 (cosh_upward_test_data): Likewise.
13163 (cosh_test_upward): Likewise.
13164 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
13165 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
13166 (ctan_test_data): Likewise.
13167 (ctan_test): Use ALL_RM_TEST.
13168 (ctan_tonearest_test_data): Remove.
13169 (ctan_test_tonearest): Likewise.
13170 (ctan_towardzero_test_data): Likewise.
13171 (ctan_test_towardzero): Likewise.
13172 (ctan_downward_test_data): Likewise.
13173 (ctan_test_downward): Likewise.
13174 (ctan_upward_test_data): Likewise.
13175 (ctan_test_upward): Likewise.
13176 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
13177 (ctanh_test): Use ALL_RM_TEST.
13178 (ctanh_tonearest_test_data): Remove.
13179 (ctanh_test_tonearest): Likewise.
13180 (ctanh_towardzero_test_data): Likewise.
13181 (ctanh_test_towardzero): Likewise.
13182 (ctanh_downward_test_data): Likewise.
13183 (ctanh_test_downward): Likewise.
13184 (ctanh_upward_test_data): Likewise.
13185 (ctanh_test_upward): Likewise.
13186 (erf_test_data): Update call to AUTO_TESTS_f_f.
13187 (erfc_test_data): Likewise.
13188 (exp_test_data): Likewise.
13189 (exp_test): Use ALL_RM_TEST.
13190 (exp_tonearest_test_data): Remove.
13191 (exp_test_tonearest): Likewise.
13192 (exp_towardzero_test_data): Likewise.
13193 (exp_test_towardzero): Likewise.
13194 (exp_downward_test_data): Likewise.
13195 (exp_test_downward): Likewise.
13196 (exp_upward_test_data): Likewise.
13197 (exp_test_upward): Likewise.
13198 (exp10_test_data): Update call to AUTO_TESTS_f_f.
13199 (exp10_test): Use ALL_RM_TEST.
13200 (exp10_tonearest_test_data): Remove.
13201 (exp10_test_tonearest): Likewise.
13202 (exp10_towardzero_test_data): Likewise.
13203 (exp10_test_towardzero): Likewise.
13204 (exp10_downward_test_data): Likewise.
13205 (exp10_test_downward): Likewise.
13206 (exp10_upward_test_data): Likewise.
13207 (exp10_test_upward): Likewise.
13208 (exp2_test_data): Update call to AUTO_TESTS_f_f.
13209 (expm1_test_data): Likewise.
13210 (expm1_test): Use ALL_RM_TEST.
13211 (expm1_tonearest_test_data): Remove.
13212 (expm1_test_tonearest): Likewise.
13213 (expm1_towardzero_test_data): Likewise.
13214 (expm1_test_towardzero): Likewise.
13215 (expm1_downward_test_data): Likewise.
13216 (expm1_test_downward): Likewise.
13217 (expm1_upward_test_data): Likewise.
13218 (expm1_test_upward): Likewise.
13219 (fma_test_data): Update call to AUTO_TESTS_fff_f.
13220 (fma_test): Use ALL_RM_TEST.
13221 (fma_towardzero_test_data): Remove.
13222 (fma_test_towardzero): Likewise.
13223 (fma_downward_test_data): Likewise.
13224 (fma_test_downward): Likewise.
13225 (fma_upward_test_data): Likewise.
13226 (fma_test_upward): Likewise.
13227 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
13228 (j0_test_data): Update call to AUTO_TESTS_f_f.
13229 (j1_test_data): Likewise.
13230 (jn_test_data): Update call to AUTO_TESTS_if_f.
13231 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
13232 (log_test_data): Update call to AUTO_TESTS_f_f.
13233 (log10_test_data): Likewise.
13234 (log1p_test_data): Likewise.
13235 (log2_test_data): Likewise.
13236 (pow_test_data): Update call to AUTO_TESTS_ff_f.
13237 (pow_tonearest_test_data): Likewise.
13238 (sin_test_data): Update call to AUTO_TESTS_f_f.
13239 (sin_test): Use ALL_RM_TEST.
13240 (sin_tonearest_test_data): Remove.
13241 (sin_test_tonearest): Likewise.
13242 (sin_towardzero_test_data): Likewise.
13243 (sin_test_towardzero): Likewise.
13244 (sin_downward_test_data): Likewise.
13245 (sin_test_downward): Likewise.
13246 (sin_upward_test_data): Likewise.
13247 (sin_test_upward): Likewise.
13248 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
13249 (sinh_test_data): Update call to AUTO_TESTS_f_f.
13250 (sinh_test): Use ALL_RM_TEST.
13251 (sinh_tonearest_test_data): Remove.
13252 (sinh_test_tonearest): Likewise.
13253 (sinh_towardzero_test_data): Likewise.
13254 (sinh_test_towardzero): Likewise.
13255 (sinh_downward_test_data): Likewise.
13256 (sinh_test_downward): Likewise.
13257 (sinh_upward_test_data): Likewise.
13258 (sinh_test_upward): Likewise.
13259 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
13260 (sqrt_test): Use ALL_RM_TEST.
13261 (sqrt_tonearest_test_data): Remove.
13262 (sqrt_test_tonearest): Likewise.
13263 (sqrt_towardzero_test_data): Likewise.
13264 (sqrt_test_towardzero): Likewise.
13265 (sqrt_downward_test_data): Likewise.
13266 (sqrt_test_downward): Likewise.
13267 (sqrt_upward_test_data): Likewise.
13268 (sqrt_test_upward): Likewise.
13269 (tan_test_data): Update call to AUTO_TESTS_f_f.
13270 (tan_test): Use ALL_RM_TEST.
13271 (tan_tonearest_test_data): Remove.
13272 (tan_test_tonearest): Likewise.
13273 (tan_towardzero_test_data): Likewise.
13274 (tan_test_towardzero): Likewise.
13275 (tan_downward_test_data): Likewise.
13276 (tan_test_downward): Likewise.
13277 (tan_upward_test_data): Likewise.
13278 (tan_test_upward): Likewise.
13279 (tanh_test_data): Update call to AUTO_TESTS_f_f.
13280 (tgamma_test_data): Likewise.
13281 (y0_test_data): Likewise.
13282 (y1_test_data): Likewise.
13283 (yn_test_data): Update call to AUTO_TESTS_if_f.
13284 (main): Do not call removed functions.
13286 2014-03-19 Joseph Myers <joseph@codesourcery.com>
13288 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
13289 (ldexp_test_data): Remove.
13290 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
13292 (scalb_test): Use ALL_RM_TEST.
13294 2014-03-19 Andreas Schwab <schwab@suse.de>
13296 * nscd/nscd.service: Also invalidate netgroup cache on reload.
13298 2014-03-19 Joseph Myers <joseph@codesourcery.com>
13301 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13302 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
13303 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
13304 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13305 (__ASSUME_PREADV): Undefine.
13306 (__ASSUME_PWRITEV): Likewise.
13308 2014-03-18 Roland McGrath <roland@hack.frob.com>
13310 * bits/mman-linux.h: Add comment about non-Linux use.
13311 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
13312 bits/mman-linux.h resting place.
13314 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
13315 * bits/mman-linux.h: ... here.
13317 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13319 * conform/conformtest.pl: Add standard definition when calling C
13320 preprocessor on data files.
13321 (checknamespace): Remove unused variable.
13323 2014-03-18 Joseph Myers <joseph@codesourcery.com>
13325 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
13326 minus_oflow, plus_uflow and minus_uflow in expected results.
13327 * math/libm-test.inc (scalbn_test_data): Add more tests of
13328 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
13330 (scalbn_test): Use ALL_RM_TEST.
13331 (scalbln_test_data): Add more tests of negative arguments. Use
13332 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
13333 (scalbln_test): Use ALL_RM_TEST.
13335 2014-03-18 Roland McGrath <roland@hack.frob.com>
13337 * scripts/abilist.awk: Ignore symbols marked with .hidden.
13339 2014-03-18 Will Newton <will.newton@linaro.org>
13341 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
13342 inaccurate comment.
13344 2014-03-18 Joseph Myers <joseph@codesourcery.com>
13346 * Makerules [!subdir] (check-abi): Exit with error status if a
13349 2014-03-17 Joseph Myers <joseph@codesourcery.com>
13351 * math/libm-test.inc (nearbyint_test_data): Include all tests used
13352 for rint. Include results for all rounding modes.
13353 (nearbyint_test): Use ALL_RM_TEST.
13354 (rint_test_data): Include all tests used for nearbyint.
13356 2014-03-17 Will Newton <will.newton@linaro.org>
13358 * nptl/sysdeps/pthread/pthread.h: Revert previous
13361 * sysdeps/generic/ldsodefs.h: Revert previous
13364 * libio/genops.c: Revert previous change.
13365 * libio/libioP.h: Likewise.
13366 * stdio-common/vfprintf.c: Likewise.
13368 * sysdeps/generic/math_private.h: Revert previous
13371 * sysdeps/generic/math_private.h: Check whether
13372 HAVE_RM_CTX is defined with #ifdef rather
13375 * argp/argp-fmtstream.h: Check whether
13376 __STRICT_ANSI__ is defined with #ifdef rather
13378 * argp/argp.h: Likewise.
13380 * libio/genops.c: Check whether
13381 _IO_JUMPS_OFFSET is defined with #ifdef rather
13383 * libio/libioP.h: Likewise.
13384 * stdio-common/vfprintf.c: Likewise.
13386 * sysdeps/generic/ldsodefs.h: Check whether
13387 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
13390 * nptl/sysdeps/pthread/pthread.h: Check
13391 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
13394 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13396 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
13398 * libio/tst-ftell-active-handler.c (do_append_test): Add a
13402 * libio/fileops.c (_IO_file_open): Seek to end of file but
13403 don't cache the offset.
13404 (get_file_offset): Remove function.
13405 (do_ftell): Use cached offset when available.
13406 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
13407 don't cache the offset.
13408 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
13410 (do_one_test): Call it.
13411 (do_ftell_test): Fix up expected old offset for a+ mode.
13412 * libio/wfileops.c (do_ftell_wide): Used cached offset when
13415 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
13416 up test status with function return status.
13417 (do_write_test): Likewise.
13418 (do_append_test): Likewise.
13420 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
13421 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
13424 2014-03-17 Joseph Myers <joseph@codesourcery.com>
13426 * math/gen-libm-test.pl (parse_args): Handle results specified for
13427 each rounding mode separately.
13428 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
13429 tests and results from lrint_tonearest_test_data,
13430 lrint_towardzero_test_data, lrint_downward_test_data and
13431 lrint_upward_test_data.
13432 (lrint_test): Use ALL_RM_TEST.
13433 (lrint_tonearest_test_data): Remove.
13434 (lrint_test_tonearest): Likewise.
13435 (lrint_towardzero_test_data): Likewise.
13436 (lrint_test_towardzero): Likewise.
13437 (lrint_downward_test_data): Likewise.
13438 (lrint_test_downward): Likewise.
13439 (lrint_upward_test_data): Likewise.
13440 (lrint_test_upward): Likewise.
13441 (llrint_test_data): Merge in per-rounding-mode tests and results
13442 from llrint_tonearest_test_data, llrint_towardzero_test_data,
13443 llrint_downward_test_data and llrint_upward_test_data.
13444 (llrint_test): Use ALL_RM_TEST.
13445 (llrint_tonearest_test_data): Remove.
13446 (llrint_test_tonearest): Likewise.
13447 (llrint_towardzero_test_data): Likewise.
13448 (llrint_test_towardzero): Likewise.
13449 (llrint_downward_test_data): Likewise.
13450 (llrint_test_downward): Likewise.
13451 (llrint_upward_test_data): Likewise.
13452 (llrint_test_upward): Likewise.
13453 (rint_test_data): Merge in per-rounding-mode tests and results
13454 from rint_tonearest_test_data, rint_towardzero_test_data,
13455 rint_downward_test_data and rint_upward_test_data. Add
13456 per-rounding-mode results for tests not in those arrays.
13457 (rint_test): Use ALL_RM_TEST.
13458 (rint_tonearest_test_data): Remove.
13459 (rint_test_tonearest): Likewise.
13460 (rint_towardzero_test_data): Likewise.
13461 (rint_test_towardzero): Likewise.
13462 (rint_downward_test_data): Likewise.
13463 (rint_test_downward): Likewise.
13464 (rint_upward_test_data): Likewise.
13465 (rint_test_upward): Likewise.
13466 (main): Don't call removed functions.
13468 2014-03-14 Roland McGrath <roland@hack.frob.com>
13470 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
13471 "Compiled on ..." crapola. It is anti-useful.
13473 2014-03-14 Joseph Myers <joseph@codesourcery.com>
13475 * scripts/evaluate-test.sh: Handle fourth argument to determine
13476 whether test run should stop on failure.
13477 * Makeconfig (stop-on-test-failure): New variable.
13478 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
13479 $(stop-on-test-failure).
13480 * Makefile (tests): Give a summary of results from testing and
13481 exit with failure status if they include an ERROR or FAIL.
13482 (xtests): Likewise.
13483 * manual/install.texi (Configuring and compiling): Mention
13484 stop-on-test-failure=y.
13485 * INSTALL: Regenerated.
13487 2014-03-14 Roland McGrath <roland@hack.frob.com>
13489 * scripts/versionlist.awk: New file.
13490 * Makerules [$(build-shared) = yes]
13491 (postclean-generated): Add Versions.def, not Versions.def.v and
13493 ($(common-objpfx)Versions.def.v.i): Target removed.
13494 ($(common-objpfx)Versions.def): New target.
13495 ($(common-objpfx)Versions.all): Depend on that rather that
13496 $(common-objpfx)Versions.def.v.
13497 * Versions.def: File removed.
13499 * Makeconfig (+gccwarn): Add -Wundef.
13500 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
13501 a dl-sysdep.h breaking its contract.
13502 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
13503 * include/stackinfo.h: New file.
13504 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
13505 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
13506 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
13507 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
13508 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
13509 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
13510 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13511 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13512 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13513 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13514 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13515 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
13516 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13517 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13518 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13520 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13523 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
13525 * math/libm-test.inc (round_test_data): Add more tests.
13528 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
13530 * math/libm-test.inc (nearbyint_test_data): Add more tests.
13533 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
13535 * math/libm-test.inc (ceil_test_data): Add more tests.
13537 * math/libm-test.inc (trunc_test_data): Add more tests related to
13540 2014-03-14 Roland McGrath <roland@hack.frob.com>
13542 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
13543 with #if rather than #ifdef.
13544 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
13546 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
13548 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
13549 first. Disable AVX-512 GCC support if assembler doesn't support
13551 * sysdeps/x86_64/configure: Regenerated.
13553 2014-03-13 Carlos O'Donell <carlos@redhat.com>
13555 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
13556 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
13557 (__old_pthread_attr_setstack): Likewise.
13558 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
13559 [!_STACK_GROWS_DOWN]: Likewise.
13561 2014-03-13 Mike Frysinger <vapier@gentoo.org>
13563 * config.make.in (have-bash2): Delete.
13564 * configure.ac (libc_cv_have_bash2): Delete.
13565 * configure: Regenerate.
13566 * elf/Makefile (common-ldd-rewrite): Rename to ...
13567 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
13568 (sh-ldd-rewrite): Delete.
13569 (bash-ldd-rewrite): Delete.
13570 (have-bash2): Delete checks.
13571 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
13574 * config.make.in (have-ksh): Delete.
13576 * configure.ac (libc_cv_have_ksh): Delete.
13577 * configure: Regenerate.
13579 * elf/Makefile: Delete $(have-ksh) check.
13580 ($(objpfx)sotruss): Change KSH to BASH.
13581 * elf/sotruss.ksh: Rename to ...
13582 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
13583 function style to match POSIX. Drop ksh vim mode setting.
13585 * manual/time.texi (Specifying the Time Zone with TZ): Change
13586 Tuesday to Thursday.
13588 * debug/tst-longjmp_chk2.c: Update header comment.
13589 (stackoverflow_handler): Add comment. Call assert on pass value.
13591 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
13594 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
13595 (HAVE_AVX512_ASM_SUPPORT): Likewise.
13596 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
13597 (La_x86_64_vector): Add zmm.
13598 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
13599 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
13600 ($(objpfx)tst-audit10): New target.
13601 ($(objpfx)tst-audit10.out): Likewise.
13602 (tst-audit10-ENV): New.
13603 (AVX512-CFLAGS): Likewise.
13604 (CFLAGS-tst-audit10.c): Likewise.
13605 (CFLAGS-tst-auditmod10a.c): Likewise.
13606 (CFLAGS-tst-auditmod10b.c): Likewise.
13607 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
13608 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
13609 * sysdeps/x86_64/configure: Regenerated.
13610 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
13611 AVX-512 zmm register support.
13612 (_dl_x86_64_save_sse): Likewise.
13613 (_dl_x86_64_restore_sse): Likewise.
13614 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
13615 size vector registers.
13616 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
13617 (ZMM_SIZE): Likewise.
13618 * sysdeps/x86_64/tst-audit10.c: New file.
13619 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
13620 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
13622 2014-03-13 Roland McGrath <roland@hack.frob.com>
13624 * configure.ac (HAVE_EHDR_START): New check.
13625 * configure: Regenerated.
13626 * config.h.in (HAVE_EHDR_START): New #undef.
13627 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
13628 assuming the lowest-addressed segment maps the start of the file.
13630 2014-03-13 Joseph Myers <joseph@codesourcery.com>
13632 * INSTALL: Regenerated.
13634 2014-03-13 Will Newton <will.newton@linaro.org>
13636 * manual/setjmp.texi (System V contexts): Improve
13637 clarity and grammar of documentation.
13639 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
13642 * elf/Makefile (tests): Add tst-pie2.
13643 (tests-pie): Add tst-pie2.
13644 * elf/tst-pie2.c: New file.
13645 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
13647 * elf/rtld.c (map_doit): Load executable as lt_executable.
13648 (dl_main): Likewise.
13650 2014-03-12 Joseph Myers <joseph@codesourcery.com>
13653 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13654 (__ASSUME_PSELECT): Undefine.
13656 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13659 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
13660 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
13662 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
13663 selector for static builds.
13665 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13668 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
13671 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13673 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
13674 IFUNC selector for static builds.
13676 2014-03-11 Joseph Myers <joseph@codesourcery.com>
13678 * sysdeps/mips/math_private.h [__mips_hard_float]
13679 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
13680 libc_feresetround_mips_ctx.
13681 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
13682 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
13683 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
13686 * math/s_nextafter.c (__nextafter): Do not return value from
13687 overflowing computation.
13688 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
13689 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
13690 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
13692 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
13694 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
13695 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
13697 2014-03-11 Roland McGrath <roland@hack.frob.com>
13699 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
13700 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
13701 Move sfi_sp use from the load-multiple (that no longer sets sp) to
13702 the new mov targetting sp.
13704 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13707 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
13708 Define it for static builds as well.
13709 (NO_BZERO_IMPL): Likewise.
13711 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13713 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
13714 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
13715 multiarch strspn for PPC64.
13716 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
13717 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
13718 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13719 (__libc_ifunc_impl_list): Likewise.
13720 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
13721 multiarch optimizations
13722 * string/strspn.c (strspn): Using macro to redefine symbol name.
13724 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13725 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13727 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
13728 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
13729 multiarch strncat for PPC64.
13730 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
13731 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
13732 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13733 (__libc_ifunc_impl_list): Likewise.
13734 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
13735 multiarch optimizations
13737 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13740 * nscd/nscd.service: Make service type forking.
13742 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13744 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
13745 sign in non default rounding modes.
13746 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
13748 2014-03-08 Joseph Myers <joseph@codesourcery.com>
13750 * math/libm-test.inc (ALL_RM_TEST): New macro.
13751 (ceil_test): Use ALL_RM_TEST.
13752 (cimag_test): Likewise.
13753 (conj_test): Likewise.
13754 (copysign_test): Likewise.
13755 (cproj_test): Likewise.
13756 (creal_test): Likewise.
13757 (fabs_test): Likewise.
13758 (floor_test): Likewise.
13759 (fmax_test): Likewise.
13760 (fmin_test): Likewise.
13761 (fmod_test): Likewise.
13762 (fpclassify_test): Likewise.
13763 (frexp_test): Likewise.
13764 (ilogb_test): Likewise.
13765 (isfinite_test): Likewise.
13766 (finite_test): Likewise.
13767 (isgreater_test): Likewise.
13768 (isgreaterequal_test): Likewise.
13769 (isinf_test): Likewise.
13770 (isless_test): Likewise.
13771 (islessequal_test): Likewise.
13772 (islessgreater_test): Likewise.
13773 (isnan_test): Likewise.
13774 (isnormal_test): Likewise.
13775 (issignaling_test): Likewise.
13776 (isunordered_test): Likewise.
13777 (logb_test): Likewise.
13778 (logb_downward_test_data): Remove.
13779 (logb_test_downward): Likewise.
13780 (lround_test): Use ALL_RM_TEST.
13781 (llround_test): Likewise.
13782 (modf_test): Likewise.
13783 (nexttoward_test): Likewise.
13784 (remainder_test): Likewise.
13785 (drem_test): Likewise.
13786 (remainder_tonearest_test_data): Likewise.
13787 (remainder_test_tonearest): Likewise.
13788 (drem_test_tonearest): Likewise.
13789 (remainder_towardzero_test_data): Likewise.
13790 (remainder_test_towardzero): Likewise.
13791 (drem_test_towardzero): Likewise.
13792 (remainder_downward_test_data): Likewise.
13793 (remainder_test_downward): Likewise.
13794 (drem_test_downward): Likewise.
13795 (remainder_upward_test_data): Likewise.
13796 (remainder_test_upward): Likewise.
13797 (drem_test_upward): Likewise.
13798 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
13799 (round_test): Use ALL_RM_TEST.
13800 (signbit_test): Likewise.
13801 (trunc_test): Likewise.
13802 (significand_test): Likewise.
13803 (main): Don't call removed functions.
13805 2014-03-07 Joseph Myers <joseph@codesourcery.com>
13808 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
13809 || __USE_XOPEN2K8].
13810 (ILL_ILLOPN): Likewise.
13811 (ILL_ILLADR): Likewise.
13812 (ILL_ILLTRP): Likewise.
13813 (ILL_PRVOPC): Likewise.
13814 (ILL_PRVREG): Likewise.
13815 (ILL_COPROC): Likewise.
13816 (ILL_BADSTK): Likewise.
13817 (FPE_INTDIV): Likewise.
13818 (FPE_INTOVF): Likewise.
13819 (FPE_FLTDIV): Likewise.
13820 (FPE_FLTOVF): Likewise.
13821 (FPE_FLTUND): Likewise.
13822 (FPE_FLTRES): Likewise.
13823 (FPE_FLTINV): Likewise.
13824 (FPE_FLTSUB): Likewise.
13825 (SEGV_MAPERR): Likewise.
13826 (SEGV_ACCERR): Likewise.
13827 (BUS_ADRALN): Likewise.
13828 (BUS_ADRERR): Likewise.
13829 (BUS_OBJERR): Likewise.
13830 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13831 (TRAP_TRACE): Likewise.
13832 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13834 (CLD_KILLED): Likewise.
13835 (CLD_DUMPED): Likewise.
13836 (CLD_TRAPPED): Likewise.
13837 (CLD_STOPPED): Likewise.
13838 (CLD_CONTINUED): Likewise.
13839 (POLL_IN): Likewise.
13840 (POLL_OUT): Likewise.
13841 (POLL_MSG): Likewise.
13842 (POLL_ERR): Likewise.
13843 (POLL_PRI): Likewise.
13844 (POLL_HUP): Likewise.
13845 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
13847 (ILL_ILLOPN): Likewise.
13848 (ILL_ILLADR): Likewise.
13849 (ILL_ILLTRP): Likewise.
13850 (ILL_PRVOPC): Likewise.
13851 (ILL_PRVREG): Likewise.
13852 (ILL_COPROC): Likewise.
13853 (ILL_BADSTK): Likewise.
13854 (FPE_INTDIV): Likewise.
13855 (FPE_INTOVF): Likewise.
13856 (FPE_FLTDIV): Likewise.
13857 (FPE_FLTOVF): Likewise.
13858 (FPE_FLTUND): Likewise.
13859 (FPE_FLTRES): Likewise.
13860 (FPE_FLTINV): Likewise.
13861 (FPE_FLTSUB): Likewise.
13862 (SEGV_MAPERR): Likewise.
13863 (SEGV_ACCERR): Likewise.
13864 (BUS_ADRALN): Likewise.
13865 (BUS_ADRERR): Likewise.
13866 (BUS_OBJERR): Likewise.
13867 (BUS_MCEERR_AR): Likewise.
13868 (BUS_MCEERR_AO): Likewise.
13869 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13870 (TRAP_TRACE): Likewise.
13871 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13873 (CLD_KILLED): Likewise.
13874 (CLD_DUMPED): Likewise.
13875 (CLD_TRAPPED): Likewise.
13876 (CLD_STOPPED): Likewise.
13877 (CLD_CONTINUED): Likewise.
13878 (POLL_IN): Likewise.
13879 (POLL_OUT): Likewise.
13880 (POLL_MSG): Likewise.
13881 (POLL_ERR): Likewise.
13882 (POLL_PRI): Likewise.
13883 (POLL_HUP): Likewise.
13884 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
13885 (ILL_ILLOPN): Likewise.
13886 (ILL_ILLADR): Likewise.
13887 (ILL_ILLTRP): Likewise.
13888 (ILL_PRVOPC): Likewise.
13889 (ILL_PRVREG): Likewise.
13890 (ILL_COPROC): Likewise.
13891 (ILL_BADSTK): Likewise.
13892 (FPE_INTDIV): Likewise.
13893 (FPE_INTOVF): Likewise.
13894 (FPE_FLTDIV): Likewise.
13895 (FPE_FLTOVF): Likewise.
13896 (FPE_FLTUND): Likewise.
13897 (FPE_FLTRES): Likewise.
13898 (FPE_FLTINV): Likewise.
13899 (FPE_FLTSUB): Likewise.
13900 (SEGV_MAPERR): Likewise.
13901 (SEGV_ACCERR): Likewise.
13902 (BUS_ADRALN): Likewise.
13903 (BUS_ADRERR): Likewise.
13904 (BUS_OBJERR): Likewise.
13905 (BUS_MCEERR_AR): Likewise.
13906 (BUS_MCEERR_AO): Likewise.
13907 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13908 (TRAP_TRACE): Likewise.
13909 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13911 (CLD_KILLED): Likewise.
13912 (CLD_DUMPED): Likewise.
13913 (CLD_TRAPPED): Likewise.
13914 (CLD_STOPPED): Likewise.
13915 (CLD_CONTINUED): Likewise.
13916 (POLL_IN): Likewise.
13917 (POLL_OUT): Likewise.
13918 (POLL_MSG): Likewise.
13919 (POLL_ERR): Likewise.
13920 (POLL_PRI): Likewise.
13921 (POLL_HUP): Likewise.
13922 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
13924 (ILL_ILLOPN): Likewise.
13925 (ILL_ILLADR): Likewise.
13926 (ILL_ILLTRP): Likewise.
13927 (ILL_PRVOPC): Likewise.
13928 (ILL_PRVREG): Likewise.
13929 (ILL_COPROC): Likewise.
13930 (ILL_BADSTK): Likewise.
13931 (ILL_BADIADDR): Likewise.
13932 (ILL_BREAK): Likewise.
13933 (FPE_INTDIV): Likewise.
13934 (FPE_INTOVF): Likewise.
13935 (FPE_FLTDIV): Likewise.
13936 (FPE_FLTOVF): Likewise.
13937 (FPE_FLTUND): Likewise.
13938 (FPE_FLTRES): Likewise.
13939 (FPE_FLTINV): Likewise.
13940 (FPE_FLTSUB): Likewise.
13941 (FPE_DECOVF): Likewise.
13942 (FPE_DECDIV): Likewise.
13943 (FPE_DECERR): Likewise.
13944 (FPE_INVASC): Likewise.
13945 (FPE_INVDEC): Likewise.
13946 (SEGV_MAPERR): Likewise.
13947 (SEGV_ACCERR): Likewise.
13948 (SEGV_PSTKOVF): Likewise.
13949 (BUS_ADRALN): Likewise.
13950 (BUS_ADRERR): Likewise.
13951 (BUS_OBJERR): Likewise.
13952 (BUS_MCEERR_AR): Likewise.
13953 (BUS_MCEERR_AO): Likewise.
13954 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13955 (TRAP_TRACE): Likewise.
13956 (TRAP_BRANCH): Likewise.
13957 (TRAP_HWBKPT): Likewise.
13958 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13960 (CLD_KILLED): Likewise.
13961 (CLD_DUMPED): Likewise.
13962 (CLD_TRAPPED): Likewise.
13963 (CLD_STOPPED): Likewise.
13964 (CLD_CONTINUED): Likewise.
13965 (POLL_IN): Likewise.
13966 (POLL_OUT): Likewise.
13967 (POLL_MSG): Likewise.
13968 (POLL_ERR): Likewise.
13969 (POLL_PRI): Likewise.
13970 (POLL_HUP): Likewise.
13971 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
13972 (ILL_ILLOPN): Likewise.
13973 (ILL_ILLADR): Likewise.
13974 (ILL_ILLTRP): Likewise.
13975 (ILL_PRVOPC): Likewise.
13976 (ILL_PRVREG): Likewise.
13977 (ILL_COPROC): Likewise.
13978 (ILL_BADSTK): Likewise.
13979 (FPE_INTDIV): Likewise.
13980 (FPE_INTOVF): Likewise.
13981 (FPE_FLTDIV): Likewise.
13982 (FPE_FLTOVF): Likewise.
13983 (FPE_FLTUND): Likewise.
13984 (FPE_FLTRES): Likewise.
13985 (FPE_FLTINV): Likewise.
13986 (FPE_FLTSUB): Likewise.
13987 (SEGV_MAPERR): Likewise.
13988 (SEGV_ACCERR): Likewise.
13989 (BUS_ADRALN): Likewise.
13990 (BUS_ADRERR): Likewise.
13991 (BUS_OBJERR): Likewise.
13992 (BUS_MCEERR_AR): Likewise.
13993 (BUS_MCEERR_AO): Likewise.
13994 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13995 (TRAP_TRACE): Likewise.
13996 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13998 (CLD_KILLED): Likewise.
13999 (CLD_DUMPED): Likewise.
14000 (CLD_TRAPPED): Likewise.
14001 (CLD_STOPPED): Likewise.
14002 (CLD_CONTINUED): Likewise.
14003 (POLL_IN): Likewise.
14004 (POLL_OUT): Likewise.
14005 (POLL_MSG): Likewise.
14006 (POLL_ERR): Likewise.
14007 (POLL_PRI): Likewise.
14008 (POLL_HUP): Likewise.
14009 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
14010 (ILL_ILLOPN): Likewise.
14011 (ILL_ILLADR): Likewise.
14012 (ILL_ILLTRP): Likewise.
14013 (ILL_PRVOPC): Likewise.
14014 (ILL_PRVREG): Likewise.
14015 (ILL_COPROC): Likewise.
14016 (ILL_BADSTK): Likewise.
14017 (FPE_INTDIV): Likewise.
14018 (FPE_INTOVF): Likewise.
14019 (FPE_FLTDIV): Likewise.
14020 (FPE_FLTOVF): Likewise.
14021 (FPE_FLTUND): Likewise.
14022 (FPE_FLTRES): Likewise.
14023 (FPE_FLTINV): Likewise.
14024 (FPE_FLTSUB): Likewise.
14025 (SEGV_MAPERR): Likewise.
14026 (SEGV_ACCERR): Likewise.
14027 (BUS_ADRALN): Likewise.
14028 (BUS_ADRERR): Likewise.
14029 (BUS_OBJERR): Likewise.
14030 (BUS_MCEERR_AR): Likewise.
14031 (BUS_MCEERR_AO): Likewise.
14032 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14033 (TRAP_TRACE): Likewise.
14034 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14036 (CLD_KILLED): Likewise.
14037 (CLD_DUMPED): Likewise.
14038 (CLD_TRAPPED): Likewise.
14039 (CLD_STOPPED): Likewise.
14040 (CLD_CONTINUED): Likewise.
14041 (POLL_IN): Likewise.
14042 (POLL_OUT): Likewise.
14043 (POLL_MSG): Likewise.
14044 (POLL_ERR): Likewise.
14045 (POLL_PRI): Likewise.
14046 (POLL_HUP): Likewise.
14047 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
14048 (ILL_ILLOPN): Likewise.
14049 (ILL_ILLADR): Likewise.
14050 (ILL_ILLTRP): Likewise.
14051 (ILL_PRVOPC): Likewise.
14052 (ILL_PRVREG): Likewise.
14053 (ILL_COPROC): Likewise.
14054 (ILL_BADSTK): Likewise.
14055 (FPE_INTDIV): Likewise.
14056 (FPE_INTOVF): Likewise.
14057 (FPE_FLTDIV): Likewise.
14058 (FPE_FLTOVF): Likewise.
14059 (FPE_FLTUND): Likewise.
14060 (FPE_FLTRES): Likewise.
14061 (FPE_FLTINV): Likewise.
14062 (FPE_FLTSUB): Likewise.
14063 (SEGV_MAPERR): Likewise.
14064 (SEGV_ACCERR): Likewise.
14065 (BUS_ADRALN): Likewise.
14066 (BUS_ADRERR): Likewise.
14067 (BUS_OBJERR): Likewise.
14068 (BUS_MCEERR_AR): Likewise.
14069 (BUS_MCEERR_AO): Likewise.
14070 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14071 (TRAP_TRACE): Likewise.
14072 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14074 (CLD_KILLED): Likewise.
14075 (CLD_DUMPED): Likewise.
14076 (CLD_TRAPPED): Likewise.
14077 (CLD_STOPPED): Likewise.
14078 (CLD_CONTINUED): Likewise.
14079 (POLL_IN): Likewise.
14080 (POLL_OUT): Likewise.
14081 (POLL_MSG): Likewise.
14082 (POLL_ERR): Likewise.
14083 (POLL_PRI): Likewise.
14084 (POLL_HUP): Likewise.
14085 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
14086 (ILL_ILLOPN): Likewise.
14087 (ILL_ILLADR): Likewise.
14088 (ILL_ILLTRP): Likewise.
14089 (ILL_PRVOPC): Likewise.
14090 (ILL_PRVREG): Likewise.
14091 (ILL_COPROC): Likewise.
14092 (ILL_BADSTK): Likewise.
14093 (ILL_DBLFLT): Likewise.
14094 (ILL_HARDWALL): Likewise.
14095 (FPE_INTDIV): Likewise.
14096 (FPE_INTOVF): Likewise.
14097 (FPE_FLTDIV): Likewise.
14098 (FPE_FLTOVF): Likewise.
14099 (FPE_FLTUND): Likewise.
14100 (FPE_FLTRES): Likewise.
14101 (FPE_FLTINV): Likewise.
14102 (FPE_FLTSUB): Likewise.
14103 (SEGV_MAPERR): Likewise.
14104 (SEGV_ACCERR): Likewise.
14105 (BUS_ADRALN): Likewise.
14106 (BUS_ADRERR): Likewise.
14107 (BUS_OBJERR): Likewise.
14108 (BUS_MCEERR_AR): Likewise.
14109 (BUS_MCEERR_AO): Likewise.
14110 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14111 (TRAP_TRACE): Likewise.
14112 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14114 (CLD_KILLED): Likewise.
14115 (CLD_DUMPED): Likewise.
14116 (CLD_TRAPPED): Likewise.
14117 (CLD_STOPPED): Likewise.
14118 (CLD_CONTINUED): Likewise.
14119 (POLL_IN): Likewise.
14120 (POLL_OUT): Likewise.
14121 (POLL_MSG): Likewise.
14122 (POLL_ERR): Likewise.
14123 (POLL_PRI): Likewise.
14124 (POLL_HUP): Likewise.
14125 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
14126 (ILL_ILLOPN): Likewise.
14127 (ILL_ILLADR): Likewise.
14128 (ILL_ILLTRP): Likewise.
14129 (ILL_PRVOPC): Likewise.
14130 (ILL_PRVREG): Likewise.
14131 (ILL_COPROC): Likewise.
14132 (ILL_BADSTK): Likewise.
14133 (FPE_INTDIV): Likewise.
14134 (FPE_INTOVF): Likewise.
14135 (FPE_FLTDIV): Likewise.
14136 (FPE_FLTOVF): Likewise.
14137 (FPE_FLTUND): Likewise.
14138 (FPE_FLTRES): Likewise.
14139 (FPE_FLTINV): Likewise.
14140 (FPE_FLTSUB): Likewise.
14141 (SEGV_MAPERR): Likewise.
14142 (SEGV_ACCERR): Likewise.
14143 (BUS_ADRALN): Likewise.
14144 (BUS_ADRERR): Likewise.
14145 (BUS_OBJERR): Likewise.
14146 (BUS_MCEERR_AR): Likewise.
14147 (BUS_MCEERR_AO): Likewise.
14148 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14149 (TRAP_TRACE): Likewise.
14150 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14152 (CLD_KILLED): Likewise.
14153 (CLD_DUMPED): Likewise.
14154 (CLD_TRAPPED): Likewise.
14155 (CLD_STOPPED): Likewise.
14156 (CLD_CONTINUED): Likewise.
14157 (POLL_IN): Likewise.
14158 (POLL_OUT): Likewise.
14159 (POLL_MSG): Likewise.
14160 (POLL_ERR): Likewise.
14161 (POLL_PRI): Likewise.
14162 (POLL_HUP): Likewise.
14163 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
14164 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
14167 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
14168 before #include of <time.h>.
14169 [!__USE_XOPEN2K] (__need_timespec): Likewise.
14170 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
14171 (test-xfail-UNIX98/sched.h/conform): Likewise.
14173 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
14175 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
14176 error absence of trapping exception support.
14177 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
14179 2014-03-07 Joseph Myers <joseph@codesourcery.com>
14181 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
14182 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
14183 * timezone/Makefile (testdata): Move definition above include of
14185 (test-zones): New variable.
14186 (tests-special): Add zone files.
14187 (build-testdata): Use $(evaluate-test).
14189 * elf/Makefile (tests-special): Rename tests to end with .out.
14190 ($(objpfx)noload-mem): Likewise.
14191 ($(objpfx)tst-leaks1-mem): Likewise.
14192 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
14193 * iconv/Makefile (xtests-special): Change test-iconvconfig to
14194 $(objpfx)test-iconvconfig.out.
14195 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
14196 set -e inside subshell and redirect output to file.
14197 * iconvdata/Makefile (generated): Rename tests to end with .out.
14199 (tests-special): Rename tests to end with .out.
14200 ($(objpfx)mtrace-tst-loading): Likewise.
14201 * intl/Makefile (generated): Likewise.
14202 (tests-special): Likewise.
14203 ($(objpfx)mtrace-tst-gettext): Likewise.
14204 * misc/Makefile (generated): Likewise.
14205 (tests-special): Likewise.
14206 ($(objpfx)tst-error1-mem): Likewise.
14207 * nptl/Makefile (tests-special): Likewise.
14208 ($(objpfx)tst-stack3-mem): Likewise.
14209 (generated): Likewise.
14210 * posix/Makefile (generated): Likewise.
14211 (tests-special): Likewise.
14212 (xtests-special): Likewise.
14213 ($(objpfx)tst-fnmatch-mem): Likewise.
14214 ($(objpfx)bug-regex2-mem): Likewise.
14215 ($(objpfx)bug-regex14-mem): Likewise.
14216 ($(objpfx)bug-regex21-mem): Likewise.
14217 ($(objpfx)bug-regex31-mem): Likewise.
14218 ($(objpfx)tst-vfork3-mem): Likewise.
14219 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
14220 ($(objpfx)tst-pcre-mem): Likewise.
14221 ($(objpfx)tst-boost-mem): Likewise.
14222 ($(objpfx)bug-ga2-mem): Likewise.
14223 ($(objpfx)bug-glob2-mem): Likewise.
14224 * resolv/Makefile (generate): Likewise.
14225 (tests-special): Likewise.
14226 (xtests-special): Likewise.
14227 (generated): Likewise.
14228 ($(objpfx)mtrace-tst-leaks): Likewise.
14229 ($(objpfx)mtrace-tst-leaks2): Likewise.
14231 * scripts/merge-test-results.sh: New file.
14232 * Makefile (tests-special-notdir): New variable.
14233 (tests): Run merge-test-results.sh.
14234 (xtests): Likewise.
14235 * Rules (tests-special-notdir): New variable.
14236 (xtests-special-notdir): Likewise.
14237 (tests): Run merge-test-results.sh
14238 (xtests): Likewise.
14240 * Makeconfig (test-xfail-name): New variable.
14241 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
14242 compute variable name for expected failures.
14243 * conform/Makefile (conformtest-headers-data): New variable.
14244 (conformtest-standards): Likewise.
14245 (conformtest-headers-ISO): Likewise.
14246 (conformtest-headers-ISO99): Likewise.
14247 (conformtest-headers-ISO11): Likewise.
14248 (conformtest-headers-POSIX): Likewise.
14249 (conformtest-headers-XPG3): Likewise.
14250 (conformtest-headers-XPG4): Likewise.
14251 (conformtest-headers-UNIX98): Likewise.
14252 (conformtest-headers-XOPEN2K): Likewise.
14253 (conformtest-headers-POSIX2008): Likewise.
14254 (conformtest-headers-XOPEN2K8): Likewise.
14255 (conformtest-header-list-base): Likewise.
14256 (conformtest-header-list-tests): Likewise.
14257 (conformtest-header-base): Likewise.
14258 (conformtest-header-tests): Likewise.
14259 (tests-special): Add $(conformtest-header-list-tests). If
14260 [$(fast-check) && !$(cross-compiling)], add
14261 $(conformtest-header-tests) instead of
14262 $(objpfx)run-conformtest.out.
14263 (generated): Add $(conformtest-header-list-base). If
14264 [$(fast-check) && !$(cross-compiling)], add
14265 $(conformtest-header-base). Remove previous setting.
14266 ($(conformtest-header-list-tests)): New target.
14267 (test-xfail-run-conformtest): Remove variable.
14268 ($(objpfx)run-conformtest.out): Remove target.
14269 (test-xfail-ISO11/complex.h/conform): New variable.
14270 (test-xfail-ISO11/stdalign.h/conform): Likewise.
14271 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
14272 (test-xfail-XPG3/varargs.h/conform): Likewise.
14273 (test-xfail-XPG4/varargs.h/conform): Likewise.
14274 (test-xfail-UNIX98/varargs.h/conform): Likewise.
14275 (test-xfail-XPG4/ndbm.h/conform): Likewise.
14276 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
14277 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
14278 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
14279 (test-xfail-XPG3/fcntl.h/conform): Likewise.
14280 (test-xfail-XPG3/ftw.h/conform): Likewise.
14281 (test-xfail-XPG3/grp.h/conform): Likewise.
14282 (test-xfail-XPG3/langinfo.h/conform): Likewise.
14283 (test-xfail-XPG3/limits.h/conform): Likewise.
14284 (test-xfail-XPG3/pwd.h/conform): Likewise.
14285 (test-xfail-XPG3/search.h/conform): Likewise.
14286 (test-xfail-XPG3/signal.h/conform): Likewise.
14287 (test-xfail-XPG3/stdio.h/conform): Likewise.
14288 (test-xfail-XPG3/stdlib.h/conform): Likewise.
14289 (test-xfail-XPG3/string.h/conform): Likewise.
14290 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
14291 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
14292 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
14293 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
14294 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
14295 (test-xfail-XPG3/sys/types.h/conform): Likewise.
14296 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
14297 (test-xfail-XPG3/termios.h/conform): Likewise.
14298 (test-xfail-XPG3/time.h/conform): Likewise.
14299 (test-xfail-XPG3/unistd.h/conform): Likewise.
14300 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
14301 (test-xfail-XPG4/fcntl.h/conform): Likewise.
14302 (test-xfail-XPG4/langinfo.h/conform): Likewise.
14303 (test-xfail-XPG4/netdb.h/conform): Likewise.
14304 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
14305 (test-xfail-XPG4/signal.h/conform): Likewise.
14306 (test-xfail-XPG4/stdio.h/conform): Likewise.
14307 (test-xfail-XPG4/stdlib.h/conform): Likewise.
14308 (test-xfail-XPG4/stropts.h/conform): Likewise.
14309 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
14310 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
14311 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
14312 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
14313 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
14314 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
14315 (test-xfail-XPG4/sys/time.h/conform): Likewise.
14316 (test-xfail-XPG4/sys/types.h/conform): Likewise.
14317 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
14318 (test-xfail-XPG4/termios.h/conform): Likewise.
14319 (test-xfail-XPG4/ucontext.h/conform): Likewise.
14320 (test-xfail-XPG4/unistd.h/conform): Likewise.
14321 (test-xfail-XPG4/utmpx.h/conform): Likewise.
14322 (test-xfail-POSIX/sched.h/conform): Likewise.
14323 (test-xfail-POSIX/signal.h/conform): Likewise.
14324 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
14325 (test-xfail-POSIX/tar.h/conform): Likewise.
14326 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
14327 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
14328 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
14329 (test-xfail-UNIX98/netdb.h/conform): Likewise.
14330 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
14331 (test-xfail-UNIX98/sched.h/conform): Likewise.
14332 (test-xfail-UNIX98/signal.h/conform): Likewise.
14333 (test-xfail-UNIX98/stdio.h/conform): Likewise.
14334 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
14335 (test-xfail-UNIX98/stropts.h/conform): Likewise.
14336 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
14337 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
14338 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
14339 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
14340 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
14341 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
14342 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
14343 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
14344 (test-xfail-UNIX98/unistd.h/conform): Likewise.
14345 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
14346 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
14347 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
14348 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
14349 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
14350 (test-xfail-XOPEN2K/math.h/conform): Likewise.
14351 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
14352 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
14353 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
14354 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
14355 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
14356 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
14357 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
14358 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
14359 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
14360 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
14361 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
14362 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
14363 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
14364 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
14365 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
14366 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
14367 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
14368 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
14369 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
14370 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
14371 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
14372 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
14373 (test-xfail-POSIX2008/signal.h/conform): Likewise.
14374 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
14375 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
14376 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
14377 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
14378 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
14379 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
14380 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
14381 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
14382 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
14383 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
14384 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
14385 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
14386 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
14387 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
14388 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
14389 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
14390 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
14391 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
14392 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
14393 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
14394 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
14395 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
14396 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
14397 (conformtest-cc-flags): Likewise.
14398 ($(conformtest-header-tests): New target.
14399 * conform/check-header-lists.sh: New file.
14400 * conform/run-conformtest.sh: Remove.
14402 * conform/conformtest.pl: Allow ' and \ in values given for
14404 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
14406 [POSIX] (sys/types.h): Likewise.
14407 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
14409 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
14411 * conform/data/signal.h-data (SIGIO): Remove expectation.
14412 [XPG3] (SIGBUS): Do not expect.
14413 [POSIX || XPG3] (SIGPOLL): Likewise.
14414 [POSIX || XPG3] (SIGPROF): Likewise.
14415 [POSIX || XPG3] (SIGSYS): Likewise.
14416 [XPG3] (SIGTRAP): Likewise.
14417 [POSIX || XPG3] (SIGURG): Likewise.
14418 [POSIX || XPG3] (SIGVTALRM): Likewise.
14419 [POSIX || XPG3] (SIGXCPU): Likewise.
14420 [POSIX || XPG3] (SIGXFSZ): Likewise.
14421 [POSIX] (SA_SIGINFO): Expect.
14422 [XPG3] (siginfo_t): Do not expect type or contents.
14423 [POSIX] (si_pid): Do not expect element.
14424 [POSIX] (si_uid): Likewise.
14425 [POSIX] (si_addr): Likewise.
14426 [POSIX] (si_status): Likewise.
14427 [POSIX] (si_band): Likewise.
14428 [XPG4] (si_value): Likewise.
14429 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
14430 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
14431 [POSIX || XPG3] (ILL_ILLADR): Likewise.
14432 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
14433 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
14434 [POSIX || XPG3] (ILL_PRVREG): Likewise.
14435 [POSIX || XPG3] (ILL_COPROC): Likewise.
14436 [POSIX || XPG3] (ILL_BADSTK): Likewise.
14437 [POSIX || XPG3] (FPE_INTDIV): Likewise.
14438 [POSIX || XPG3] (FPE_INTOVF): Likewise.
14439 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
14440 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
14441 [POSIX || XPG3] (FPE_FLTUND): Likewise.
14442 [POSIX || XPG3] (FPE_FLTRES): Likewise.
14443 [POSIX || XPG3] (FPE_FLTINV): Likewise.
14444 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
14445 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
14446 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
14447 [POSIX || XPG3] (BUS_ADRALN): Likewise.
14448 [POSIX || XPG3] (BUS_ADRERR): Likewise.
14449 [POSIX || XPG3] (BUS_OBJERR): Likewise.
14450 [POSIX || XPG3] (CLD_EXITED): Likewise.
14451 [POSIX || XPG3] (CLD_KILLED): Likewise.
14452 [POSIX || XPG3] (CLD_DUMPED): Likewise.
14453 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
14454 [POSIX || XPG3] (CLD_STOPPED): Likewise.
14455 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
14456 [POSIX || XPG3] (POLL_IN): Likewise.
14457 [POSIX || XPG3] (POLL_OUT): Likewise.
14458 [POSIX || XPG3] (POLL_MSG): Likewise.
14459 [POSIX || XPG3] (POLL_ERR): Likewise.
14460 [POSIX || XPG3] (POLL_PRI): Likewise.
14461 [POSIX || XPG3] (POLL_HUP): Likewise.
14462 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
14463 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
14464 (SIG*): Do not allow.
14465 [XPG3] (si_*): Likewise.
14466 [XPG3] (SI_*): Likewise.
14467 [XPG3 || XPG4] (sigev_*): Likewise.
14468 [XPG3 || XPG4] (SIGEV_*): Likewise.
14469 [XPG3 || XPG4] (sival_*): Likewise.
14470 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
14471 [POSIX || XPG3] (BUS_*): Likewise.
14472 [POSIX || XPG3] (CLD_*): Likewise.
14473 [POSIX || XPG3] (FPE_*): Likewise.
14474 [POSIX || XPG3] (ILL_*): Likewise.
14475 [POSIX || XPG3] (POLL_*): Likewise.
14476 [POSIX || XPG3] (SEGV_*): Likewise.
14477 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
14478 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
14479 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
14480 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
14481 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
14482 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
14483 Specify type and value.
14484 (TVERSLEN): Likewise.
14485 (REGTYPE): Likewise.
14486 (AREGTYPE): Likewise.
14487 (LNKTYPE): Likewise.
14488 (SYMTYPE): Likewise.
14489 (CHRTYPE): Likewise.
14490 (BLKTYPE): Likewise.
14491 (DIRTYPE): Likewise.
14492 (FIFOTYPE): Likewise.
14493 (CONTTYPE): Likewise.
14497 (TUREAD): Likewise.
14498 (TUWRITE): Likewise.
14499 (TUEXEC): Likewise.
14500 (TGREAD): Likewise.
14501 (TGWRITE): Likewise.
14502 (TGEXEC): Likewise.
14503 (TOREAD): Likewise.
14504 (TOWRITE): Likewise.
14505 (TOEXEC): Likewise.
14506 [POSIX] (TSVTX): Expect constant.
14508 2014-03-06 Joseph Myers <joseph@codesourcery.com>
14510 * Makefile (tests): Change dependencies to ....
14511 (tests-special): ... additions to this variable.
14512 (tests): Depend on $(tests-special).
14513 * Makerules (check-abi-list): New variable.
14514 (check-abi): Depend on $(check-abi-list).
14515 [$(subdir) = elf] (tests-special): Add
14516 $(objpfx)check-abi-libc.out.
14517 [$(build-shared) = yes && subdir] (tests-special): Add
14519 [$(build-shared) = yes && subdir] (tests): Do not depend on
14521 * Rules (tests): Depend on $(tests-special).
14522 (xtests): Depend on $(xtests-special).
14523 * catgets/Makefile (tests): Change dependencies to ....
14524 (tests-special): ... additions to this variable.
14525 * conform/Makefile (tests): Change dependencies to ....
14526 (tests-special): ... additions to this variable.
14527 * elf/Makefile (tests): Change dependencies to ....
14528 (tests-special): ... additions to this variable.
14529 * grp/Makefile (tests): Change dependencies to ....
14530 (tests-special): ... additions to this variable.
14531 * iconv/Makefile (xtests): Change dependencies to ....
14532 (xtests-special): ... additions to this variable.
14533 * iconvdata/Makefile (tests): Change dependencies to ....
14534 (tests-special): ... additions to this variable.
14535 * intl/Makefile (tests): Change dependencies to ....
14536 (tests-special): ... additions to this variable. Also add
14537 $(objpfx)tst-gettext.out.
14538 * io/Makefile (tests): Change dependencies to ....
14539 (tests-special): ... additions to this variable.
14540 * libio/Makefile (tests): Change dependencies to ....
14541 (tests-special): ... additions to this variable.
14542 * malloc/Makefile (tests): Change dependencies to ....
14543 (tests-special): ... additions to this variable.
14544 * misc/Makefile (tests): Change dependencies to ....
14545 (tests-special): ... additions to this variable.
14546 * nptl/Makefile (tests): Change dependencies to ....
14547 (tests-special): ... additions to this variable.
14548 * nptl_db/Makefile (tests): Change dependencies to ....
14549 (tests-special): ... additions to this variable.
14550 * posix/Makefile (tests): Change dependencies to ....
14551 (tests-special): ... additions to this variable.
14552 (xtests): Change dependencies to ....
14553 (xtests-special): ... additions to this variable.
14554 * resolv/Makefile (tests): Change dependencies to ....
14555 (tests-special): ... additions to this variable.
14556 (xtests): Change dependencies to ....
14557 (xtests-special): ... additions to this variable.
14558 * stdio-common/Makefile (tests): Change dependencies to ....
14559 (tests-special): ... additions to this variable.
14560 (do-tst-unbputc): Remove target.
14561 (do-tst-printf): Likewise.
14562 * stdlib/Makefile (tests): Change dependencies to ....
14563 (tests-special): ... additions to this variable.
14564 * string/Makefile (tests): Change dependencies to ....
14565 (tests-special): ... additions to this variable.
14566 * sysdeps/x86/Makefile (tests): Change dependencies to ....
14567 (tests-special): ... additions to this variable.
14569 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
14571 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
14573 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
14574 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
14576 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
14577 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
14578 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
14579 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
14580 * conform/data/libgen.h-data [XPG3]: Likewise.
14581 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
14582 * conform/data/ndbm.h-data [XPG3]: Likewise.
14583 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
14584 * conform/data/netdb.h-data [XPG3]: Likewise.
14585 * conform/data/netinet/in.h-data [XPG3]: Likewise.
14586 * conform/data/poll.h-data [XPG3]: Likewise.
14587 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
14588 * conform/data/strings.h-data [XPG3]: Likewise.
14589 * conform/data/stropts.h-data [XPG3]: Likewise.
14590 * conform/data/sys/mman.h-data [XPG3]: Likewise.
14591 * conform/data/sys/resource.h-data [XPG3]: Likewise.
14592 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
14594 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
14595 * conform/data/sys/time.h-data [XPG3]: Likewise.
14596 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
14597 * conform/data/sys/uio.h-data [XPG3]: Likewise.
14598 * conform/data/sys/un.h-data [XPG3]: Likewise.
14599 * conform/data/syslog.h-data [XPG3]: Likewise.
14600 * conform/data/ucontext.h-data [XPG3]: Likewise.
14601 * conform/data/utmpx.h-data [XPG3]: Likewise.
14602 * conform/data/varargs.h-data [UNIX98]: Enable file.
14604 * manual/Makefile (INSTALL_INFO): Remove variable setting.
14606 * math/libm-test.inc (struct test_f_f_data): Move expected results
14607 into structure for each rounding mode.
14608 (struct test_ff_f_data): Likewise.
14609 (struct test_ff_f_data_nexttoward): Likewise.
14610 (struct test_fi_f_data): Likewise.
14611 (struct test_fl_f_data): Likewise.
14612 (struct test_if_f_data): Likewise.
14613 (struct test_fff_f_data): Likewise.
14614 (struct test_c_f_data): Likewise.
14615 (struct test_f_f1_data): Likewise.
14616 (struct test_fF_f1_data): Likewise.
14617 (struct test_ffI_f1_data): Likewise.
14618 (struct test_c_c_data): Likewise.
14619 (struct test_cc_c_data): Likewise.
14620 (struct test_f_i_data): Likewise.
14621 (struct test_ff_i_data): Likewise.
14622 (struct test_f_l_data): Likewise.
14623 (struct test_f_L_data): Likewise.
14624 (struct test_fFF_11_data): Likewise.
14626 (RM_FE_DOWNWARD): Likewise.
14627 (RM_FE_TONEAREST): Likewise.
14628 (RM_FE_TOWARDZERO): Likewise.
14629 (RM_FE_UPWARD): Likewise.
14630 (RUN_TEST_LOOP_f_f): Update references to expected results.
14631 (RUN_TEST_LOOP_2_f): Likewise.
14632 (RUN_TEST_LOOP_fff_f): Likewise.
14633 (RUN_TEST_LOOP_c_f): Likewise.
14634 (RUN_TEST_LOOP_f_f1): Likewise.
14635 (RUN_TEST_LOOP_fF_f1): Likewise.
14636 (RUN_TEST_LOOP_fI_f1): Likewise.
14637 (RUN_TEST_LOOP_ffI_f1): Likewise.
14638 (RUN_TEST_LOOP_c_c): Likewise.
14639 (RUN_TEST_LOOP_cc_c): Likewise.
14640 (RUN_TEST_LOOP_f_i): Likewise.
14641 (RUN_TEST_LOOP_f_i_tg): Likewise.
14642 (RUN_TEST_LOOP_ff_i_tg): Likewise.
14643 (RUN_TEST_LOOP_f_b): Likewise.
14644 (RUN_TEST_LOOP_f_b_tg): Likewise.
14645 (RUN_TEST_LOOP_f_l): Likewise.
14646 (RUN_TEST_LOOP_f_L): Likewise.
14647 (RUN_TEST_LOOP_fFF_11): Likewise.
14648 * math/gen-libm-test.pl (parse_args): Output four copies of
14649 expected results for each test.
14651 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14652 (__ASSUME_UTIMES): Remove.
14653 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14654 (__ASSUME_UTIMES): Likewise.
14656 * math/gen-auto-libm-tests.c: Update comment on output format.
14657 (output_for_one_input_case): Generate before-rounding and
14658 after-rounding information as conditions on output flags not
14659 floating-point format.
14660 * math/auto-libm-test-out: Regenerated.
14661 * math/gen-libm-test.pl (cond_value): New function.
14662 (or_cond_value): Use cond_value.
14663 (generate_testfile): Handle conditional exceptions.
14665 2014-03-05 Joseph Myers <joseph@codesourcery.com>
14667 * math/libm-test.inc (max_valid_error): New variable.
14668 (init_max_error): Take new argument specifying whether function
14669 results are exactly determined. Set max_valid_error and bound
14670 other variables for errors based on this argument.
14671 (set_max_error): Do not record results above max_valid_error.
14672 (check_float_internal): Only accept errors of up to 0.5ulps if
14673 also at most max_valid_error.
14674 (START): Take new argument EXACT and pass it to init_max_error.
14675 (acos_test): Update call to START.
14676 (acos_test_tonearest): Likewise.
14677 (acos_test_towardzero): Likewise.
14678 (acos_test_downward): Likewise.
14679 (acos_test_upward): Likewise.
14680 (acosh_test): Likewise.
14681 (asin_test): Likewise.
14682 (asin_test_tonearest): Likewise.
14683 (asin_test_towardzero): Likewise.
14684 (asin_test_downward): Likewise.
14685 (asin_test_upward): Likewise.
14686 (asinh_test): Likewise.
14687 (atan_test): Likewise.
14688 (atanh_test): Likewise.
14689 (atan2_test): Likewise.
14690 (cabs_test): Likewise.
14691 (cacos_test): Likewise.
14692 (cacosh_test): Likewise.
14693 (carg_test): Likewise.
14694 (casin_test): Likewise.
14695 (casinh_test): Likewise.
14696 (catan_test): Likewise.
14697 (catanh_test): Likewise.
14698 (cbrt_test): Likewise.
14699 (ccos_test): Likewise.
14700 (ccosh_test): Likewise.
14701 (ceil_test): Likewise.
14702 (cexp_test): Likewise.
14703 (cimag_test): Likewise.
14704 (clog_test): Likewise.
14705 (clog10_test): Likewise.
14706 (conj_test): Likewise.
14707 (copysign_test): Likewise.
14708 (cos_test): Likewise.
14709 (cos_test_tonearest): Likewise.
14710 (cos_test_towardzero): Likewise.
14711 (cos_test_downward): Likewise.
14712 (cos_test_upward): Likewise.
14713 (cosh_test): Likewise.
14714 (cosh_test_tonearest): Likewise.
14715 (cosh_test_towardzero): Likewise.
14716 (cosh_test_downward): Likewise.
14717 (cosh_test_upward): Likewise.
14718 (cpow_test): Likewise.
14719 (cproj_test): Likewise.
14720 (creal_test): Likewise.
14721 (csin_test): Likewise.
14722 (csinh_test): Likewise.
14723 (csqrt_test): Likewise.
14724 (ctan_test): Likewise.
14725 (ctan_test_tonearest): Likewise.
14726 (ctan_test_towardzero): Likewise.
14727 (ctan_test_downward): Likewise.
14728 (ctan_test_upward): Likewise.
14729 (ctanh_test): Likewise.
14730 (ctanh_test_tonearest): Likewise.
14731 (ctanh_test_towardzero): Likewise.
14732 (ctanh_test_downward): Likewise.
14733 (ctanh_test_upward): Likewise.
14734 (erf_test): Likewise.
14735 (erfc_test): Likewise.
14736 (exp_test): Likewise.
14737 (exp_test_tonearest): Likewise.
14738 (exp_test_towardzero): Likewise.
14739 (exp_test_downward): Likewise.
14740 (exp_test_upward): Likewise.
14741 (exp10_test): Likewise.
14742 (exp10_test_tonearest): Likewise.
14743 (exp10_test_towardzero): Likewise.
14744 (exp10_test_downward): Likewise.
14745 (exp10_test_upward): Likewise.
14746 (pow10_test): Likewise.
14747 (exp2_test): Likewise.
14748 (expm1_test): Likewise.
14749 (expm1_test_tonearest): Likewise.
14750 (expm1_test_towardzero): Likewise.
14751 (expm1_test_downward): Likewise.
14752 (expm1_test_upward): Likewise.
14753 (fabs_test): Likewise.
14754 (fdim_test): Likewise.
14755 (floor_test): Likewise.
14756 (fma_test): Likewise.
14757 (fma_test_towardzero): Likewise.
14758 (fma_test_downward): Likewise.
14759 (fma_test_upward): Likewise.
14760 (fmax_test): Likewise.
14761 (fmin_test): Likewise.
14762 (fmod_test): Likewise.
14763 (fpclassify_test): Likewise.
14764 (frexp_test): Likewise.
14765 (hypot_test): Likewise.
14766 (ilogb_test): Likewise.
14767 (isfinite_test): Likewise.
14768 (finite_test): Likewise.
14769 (isgreater_test): Likewise.
14770 (isgreaterequal_test): Likewise.
14771 (isinf_test): Likewise.
14772 (isless_test): Likewise.
14773 (islessequal_test): Likewise.
14774 (islessgreater_test): Likewise.
14775 (isnan_test): Likewise.
14776 (isnormal_test): Likewise.
14777 (issignaling_test): Likewise.
14778 (isunordered_test): Likewise.
14779 (j0_test): Likewise.
14780 (j1_test): Likewise.
14781 (jn_test): Likewise.
14782 (ldexp_test): Likewise.
14783 (lgamma_test): Likewise.
14784 (gamma_test): Likewise.
14785 (lrint_test): Likewise.
14786 (lrint_test_tonearest): Likewise.
14787 (lrint_test_towardzero): Likewise.
14788 (lrint_test_downward): Likewise.
14789 (lrint_test_upward): Likewise.
14790 (llrint_test): Likewise.
14791 (llrint_test_tonearest): Likewise.
14792 (llrint_test_towardzero): Likewise.
14793 (llrint_test_downward): Likewise.
14794 (llrint_test_upward): Likewise.
14795 (log_test): Likewise.
14796 (log10_test): Likewise.
14797 (log1p_test): Likewise.
14798 (log2_test): Likewise.
14799 (logb_test): Likewise.
14800 (logb_test_downward): Likewise.
14801 (lround_test): Likewise.
14802 (llround_test): Likewise.
14803 (modf_test): Likewise.
14804 (nearbyint_test): Likewise.
14805 (nextafter_test): Likewise.
14806 (nexttoward_test): Likewise.
14807 (pow_test): Likewise.
14808 (pow_test_tonearest): Likewise.
14809 (pow_test_towardzero): Likewise.
14810 (pow_test_downward): Likewise.
14811 (pow_test_upward): Likewise.
14812 (remainder_test): Likewise.
14813 (drem_test): Likewise.
14814 (remainder_test_tonearest): Likewise.
14815 (drem_test_tonearest): Likewise.
14816 (remainder_test_towardzero): Likewise.
14817 (drem_test_towardzero): Likewise.
14818 (remainder_test_downward): Likewise.
14819 (drem_test_downward): Likewise.
14820 (remainder_test_upward): Likewise.
14821 (drem_test_upward): Likewise.
14822 (remquo_test): Likewise.
14823 (rint_test): Likewise.
14824 (rint_test_tonearest): Likewise.
14825 (rint_test_towardzero): Likewise.
14826 (rint_test_downward): Likewise.
14827 (rint_test_upward): Likewise.
14828 (round_test): Likewise.
14829 (scalb_test): Likewise.
14830 (scalbn_test): Likewise.
14831 (scalbln_test): Likewise.
14832 (signbit_test): Likewise.
14833 (sin_test): Likewise.
14834 (sin_test_tonearest): Likewise.
14835 (sin_test_towardzero): Likewise.
14836 (sin_test_downward): Likewise.
14837 (sin_test_upward): Likewise.
14838 (sincos_test): Likewise.
14839 (sinh_test): Likewise.
14840 (sinh_test_tonearest): Likewise.
14841 (sinh_test_towardzero): Likewise.
14842 (sinh_test_downward): Likewise.
14843 (sinh_test_upward): Likewise.
14844 (sqrt_test): Likewise.
14845 (sqrt_test_tonearest): Likewise.
14846 (sqrt_test_towardzero): Likewise.
14847 (sqrt_test_downward): Likewise.
14848 (sqrt_test_upward): Likewise.
14849 (tan_test): Likewise.
14850 (tan_test_tonearest): Likewise.
14851 (tan_test_towardzero): Likewise.
14852 (tan_test_downward): Likewise.
14853 (tan_test_upward): Likewise.
14854 (tanh_test): Likewise.
14855 (tgamma_test): Likewise.
14856 (trunc_test): Likewise.
14857 (y0_test): Likewise.
14858 (y1_test): Likewise.
14859 (yn_test): Likewise.
14860 (significand_test): Likewise.
14862 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
14863 individual tests in comment.
14864 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
14865 (prev_max_error): New variable.
14866 (prev_real_max_error): Likewise.
14867 (prev_imag_max_error): Likewise.
14868 (compare_ulp_data): Don't refer to test names in comment.
14869 (find_test_ulps): Remove function.
14870 (find_function_ulps): Likewise.
14871 (find_complex_function_ulps): Likewise.
14872 (init_max_error): Take function name as argument. Look up ulps
14874 (print_ulps): Remove function.
14875 (print_max_error): Use prev_max_error instead of calling
14876 find_function_ulps.
14877 (print_complex_max_error): Use prev_real_max_error and
14878 prev_imag_max_error instead of calling find_complex_function_ulps.
14879 (check_float_internal): Take max_ulp parameter instead of calling
14880 find_test_ulps. Don't call print_ulps.
14881 (check_float): Update call to check_float_internal.
14882 (check_complex): Update calls to check_float_internal.
14883 (START): Pass argument to init_max_error.
14884 * math/gen-libm-test.pl (%results): Don't include "kind"
14886 (parse_ulps): Don't handle ulps of individual tests.
14887 (print_ulps_file): Likewise.
14888 (output_ulps): Likewise.
14889 * math/README.libm-test: Update.
14890 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
14892 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
14893 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
14894 * sysdeps/arm/libm-test-ulps: Likewise.
14895 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
14896 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
14897 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
14898 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
14899 * sysdeps/microblaze/libm-test-ulps: Likewise.
14900 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
14901 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14902 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14903 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
14904 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14905 * sysdeps/sh/libm-test-ulps: Likewise.
14906 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14907 * sysdeps/tile/libm-test-ulps: Likewise.
14908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14910 2014-03-04 Joseph Myers <joseph@codesourcery.com>
14912 * math/libm-test.inc (print_complex_max_error): Check separately
14913 whether real and imaginary errors are within allowed range and
14914 pass 0 to print_complex_function_ulps instead of value within
14917 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14919 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
14921 (get_handles_fopen): Likewise.
14922 (do_write_test): Likewise.
14924 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
14926 * libio/fileops.c (do_ftell): Use cached offset when
14928 * libio/iofwide.c (do_ftell_wide): Likewise.
14929 * libio/iofdopen.c (_IO_new_fdopen): Don't use
14931 * libio/wfileops.c (_IO_fwide): Don't cache offset.
14934 * libio/libioP.h (get_file_offset): New function.
14935 * libio/fileops.c (get_file_offset): Likewise.
14936 (do_ftell): Likewise.
14937 (_IO_new_file_seekoff): Split out ftell logic.
14938 * libio/wfileops.c (do_ftell_wide): Likewise.
14939 (_IO_wfile_seekoff): Split out ftell logic.
14940 * libio/tst-ftell-active-handler.c: New test case.
14941 * libio/Makefile (tests): Add it.
14943 2014-03-03 Roland McGrath <roland@hack.frob.com>
14945 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
14946 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
14948 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14951 * nscd/connections.c (nscd_init): Call do_exit.
14952 (start_threads): Call do_exit and notify_parent.
14953 (begin_drop_privileges): Call do_exit.
14954 (finish_drop_privileges): Likewise.
14955 * nscd/selinux.c (preserve_capabilities): Likewise.
14956 (install_real_capabilities): Likewise.
14957 (nscd_selinux_enabled): Likewise.
14958 (avc_create_thread): Likewise.
14959 (avc_alloc_lock): Likewise.
14960 (nscd_avc_init): Likewise.
14961 * nscd/nscd.c (parent_fd): New static variable.
14962 (main): Create a pipe between parent and child processes.
14963 Skip closing parent_fd.
14964 (monitor_child): New function.
14965 (do_exit): Likewise.
14966 (notify_parent): Likewise.
14967 * nscd/nscd.h (notify_parent): Likewise.
14968 (do_exit): Likewise.
14970 2014-03-03 Carlos O'Donell <carlos@redhat.com>
14972 * malloc/malloc.c (__libc_calloc): Revert last change.
14974 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14976 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14978 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14980 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
14981 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
14983 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14984 (__libc_ifunc_impl_list): Likewise.
14985 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
14986 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
14987 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
14988 * string/strrchr.c: Define STRRCHR.
14990 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
14992 * benchtest/bench-strtok.c (simple_strtok): Delete.
14993 (strtok_string): Use as benchmark.
14994 * string/strtok (STRTOK): New macro.
14996 2014-02-28 Carlos O'Donell <carlos@redhat.com>
14998 * manual/threads.texi: Add header and standard comments to all
15001 * elf/dl-lookup.c (check_match): New function.
15002 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
15003 (do_lookup_x): Remove nested function check_match. Use non-nested
15004 function check_match.
15006 2014-02-28 Roland McGrath <roland@hack.frob.com>
15008 * csu/Makefile (generated, before-compile): Use += rather than =.
15009 * catgets/Makefile (generated, generated-dirs): Likewise.
15010 * debug/Makefile (generated): Likewise.
15011 * dlfcn/Makefile (generated): Likewise.
15012 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
15013 * iconvdata/Makefile (before-compile, generated): Likewise.
15014 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
15015 * libio/Makefile (generated): Likewise.
15016 * malloc/Makefile (generated): Likewise.
15017 * manual/Makefile (generated, generated-dirs): Likewise.
15018 * misc/Makefile (generated): Likewise.
15019 * posix/Makefile (generated): Likewise.
15020 * resolv/Makefile (generated): Likewise.
15021 * sunrpc/Makefile (generated, generated-dirs): Likewise.
15022 * timezone/Makefile (generated, generated-dirs): Likewise.
15024 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
15026 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15028 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
15029 power8 implementation.
15030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
15031 file: POWER8 llround ifunc implementation.
15032 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
15033 (__lllround): Add POWER8 implementation.
15034 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
15035 POWER8 llround implementation.
15037 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
15038 power8 implementation.
15039 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
15040 file: POWER8 llrint ifunc implementation.
15041 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
15042 Add POWER8 implementation.
15043 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
15044 POWER8 llrint implementation.
15046 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
15047 power8 implementation.
15048 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
15049 file: POWER8 finite ifunc implementation.
15050 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
15051 Add POWER8 implementation.
15052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
15054 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
15055 POWER8 finite implementation.
15056 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
15058 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
15059 power8 implementation.
15060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
15061 file: POWER8 isinf ifunc implementation.
15062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
15063 POWER8 implementation.
15064 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
15066 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
15067 isinf implementation.
15068 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
15070 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
15071 (INIT_ARCH): Add hwcap2 initialization.
15072 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
15073 power8 implementation.
15074 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
15075 file: POWER8 isnan ifunc implementation.
15076 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
15077 POWER8 implementation.
15078 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
15080 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
15081 isnan implementation.
15082 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
15084 2014-02-27 Joey Ye <joey.ye@arm.com>
15086 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
15087 (_FP_NANFRAC_Q): Set to zero.
15089 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15092 * math/auto-libm-test-in: New test inputs.
15093 * math/auto-libm-test-out: Regenerate.
15094 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
15097 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15099 2014-02-27 Joseph Myers <joseph@codesourcery.com>
15101 * scripts/evaluate-test.sh: Take new argument indicating whether
15102 failure is expected.
15103 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
15104 indicating whether failure is expected.
15105 * conform/Makefile (test-xfail-run-conformtest): New variable.
15106 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
15108 * posix/Makefile (test-xfail-annexc): New variable.
15109 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
15111 2014-02-26 Joseph Myers <joseph@codesourcery.com>
15113 * argp/Makefile: Include Makeconfig immediately after defining
15115 * assert/Makefile: Likewise.
15116 * benchtests/Makefile: Likewise.
15117 * catgets/Makefile: Likewise.
15118 * conform/Makefile: Likewise.
15119 * crypt/Makefile: Likewise.
15120 * csu/Makefile: Likewise.
15121 (all): Remove target.
15122 * ctype/Makefile: Include Makeconfig immediately after defining
15124 * debug/Makefile: Likewise.
15125 * dirent/Makefile: Likewise.
15126 * dlfcn/Makefile: Likewise.
15127 * gmon/Makefile: Likewise.
15128 * gnulib/Makefile: Likewise.
15129 * grp/Makefile: Likewise.
15130 * gshadow/Makefile: Likewise.
15131 * hesiod/Makefile: Likewise.
15132 * hurd/Makefile: Likewise.
15133 (all): Remove target.
15134 * iconvdata/Makefile: Include Makeconfig immediately after
15136 * inet/Makefile: Likewise.
15137 * intl/Makefile: Likewise.
15138 * io/Makefile: Likewise.
15139 * libio/Makefile: Likewise.
15140 (all): Remove target.
15141 * locale/Makefile: Include Makeconfig immediately after defining
15143 * login/Makefile: Likewise.
15144 * mach/Makefile: Likewise.
15145 (all): Remove target.
15146 * malloc/Makefile: Include Makeconfig immediately after defining
15148 (all): Remove target.
15149 * manual/Makefile: Include Makeconfig immediately after defining
15151 * math/Makefile: Likewise.
15152 * misc/Makefile: Likewise.
15153 * nis/Makefile: Likewise.
15154 * nss/Makefile: Likewise.
15155 * po/Makefile: Likewise.
15156 (all): Remove target.
15157 * posix/Makefile: Include Makeconfig immediately after defining
15159 * pwd/Makefile: Likewise.
15160 * resolv/Makefile: Likewise.
15161 * resource/Makefile: Likewise.
15162 * rt/Makefile: Likewise.
15163 * setjmp/Makefile: Likewise.
15164 * shadow/Makefile: Likewise.
15165 * signal/Makefile: Likewise.
15166 * socket/Makefile: Likewise.
15167 * soft-fp/Makefile: Likewise.
15168 * stdio-common/Makefile: Likewise.
15169 * stdlib/Makefile: Likewise.
15170 * streams/Makefile: Likewise.
15171 * string/Makefile: Likewise.
15172 * sunrpc/Makefile: Likewise.
15173 (all): Remove target.
15174 * sysvipc/Makefile: Include Makeconfig immediately after defining
15176 * termios/Makefile: Likewise.
15177 * time/Makefile: Likewise.
15178 * timezone/Makefile: Likewise.
15179 (all): Remove target.
15180 * wcsmbs/Makefile: Include Makeconfig immediately after defining
15182 * wctype/Makefile: Likewise.
15184 2014-02-26 Steve Ellcey <sellcey@mips.com>
15186 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
15187 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
15188 (libc_feholdexcept_setround_mips): Ditto.
15189 (libc_feholdsetround): New.
15190 (libc_feholdsetroundf): New.
15191 (libc_feholdsetroundl): New.
15192 (libc_feupdateenv_test_mips): New.
15193 (libc_feupdateenv_test): New.
15194 (libc_feupdateenv_testf): New.
15195 (libc_feupdateenv_testl): New.
15196 (libc_feresetround): New.
15197 (libc_feresetroundf): New.
15198 (libc_feresetroundl): New.
15199 (libc_fetestexcept_mips): New.
15200 (libc_fetestexcept): New.
15201 (libc_fetestexceptf): New.
15202 (libc_fetestexceptl): New.
15203 (HAVE_RM_CTX): New.
15204 (libc_feholdexcept_setround_mips_ctx): New.
15205 (libc_feholdexcept_setround_ctx): New.
15206 (libc_feholdexcept_setroundf_ctx): New.
15207 (libc_feholdexcept_setroundl_ctx): New.
15208 (libc_fesetenv_mips_ctx): New.
15209 (libc_fesetenv_ctx): New.
15210 (libc_fesetenv_ctxf): New.
15211 (libc_fesetenv_ctxl): New.
15212 (libc_feupdateenv_mips_ctx): New.
15213 (libc_feupdateenv_ctx): New.
15214 (libc_feupdateenvf_ctx): New.
15215 (libc_feupdateenvl_ctx): New.
15216 (libc_feholdsetround_mips_ctx): New.
15217 (libc_feholdsetround_ctx): New.
15218 (libc_feholdsetroundf_ctx): New.
15219 (libc_feholdsetroundl_ctx): New.
15220 (libc_feresetround_mips_ctx): New.
15221 (libc_feresetround_ctx): New.
15222 (libc_feresetroundf_ctx): New.
15223 (libc_feresetroundl_ctx): New.
15225 2014-02-26 Carlos O'Donell <carlos@redhat.com>
15227 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
15229 * manual/ipc.texi: New file.
15230 * manual/Makefile (chapters): Add ipc.
15231 * manual/job.texi: Add "Inter-Process Communication" to next.
15232 * manual/process.texi: Add "Inter-Process Communication" to prev.
15234 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15236 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15238 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
15240 * malloc/malloc.c (__libc_calloc): Simplify implementation.
15242 * manual/arith.texi: Fix spaces after sentences.
15243 * manual/charset.texi: Likewise.
15244 * manual/errno.texi: Likewise.
15245 * manual/install.texi: Likewise.
15246 * manual/llio.texi: Likewise.
15247 * manual/locale.texi: Likewise.
15248 * manual/maint.texi: Likewise.
15249 * manual/math.texi: Likewise.
15250 * manual/memory.texi: Likewise.
15251 * manual/message.texi: Likewise.
15252 * manual/probes.texi: Likewise.
15253 * manual/resource.texi: Likewise.
15254 * manual/signal.texi: Likewise.
15255 * manual/socket.texi: Likewise.
15256 * manual/stdio.texi: Likewise.
15257 * manual/string.texi: Likewise.
15258 * manual/time.texi: Likewise.
15259 * manual/users.texi: Likewise.
15261 2014-02-25 Carlos O'Donell <carlos@redhat.com>
15264 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
15265 _DEFAULT_SOURCE is defined.
15267 2014-02-25 Ulrich Drepper <drepper@gmail.com>
15268 Carlos O'Donell <carlos@redhat.com>
15271 * elf/dl-tls.c (_dl_count_modids): New function.
15272 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
15273 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
15274 audit library and increment generation counter.
15275 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
15276 * elf/tst-audit9.c: New file.
15277 * elf/tst-auditmod9a.c: New file.
15278 * elf/tst-auditmod9b.c: New file.
15279 * elf/Makefile: Add rules to build and run tst-audit9.
15281 2014-02-25 Florian Weimer <fweimer@redhat.com>
15284 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
15286 2014-02-25 Will Newton <will.newton@linaro.org>
15288 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
15289 (__longjmp): Restore sp and lr before restoring callee
15290 saved registers. Add longjmp and longjmp_target
15291 SystemTap probe point.
15292 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
15293 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
15294 Define to zero to match jmpbuf layout.
15295 * sysdeps/arm/setjmp.S: Include stap-probe.h.
15296 (__sigsetjmp): Save sp and lr before saving callee
15297 saved registers. Add setjmp SystemTap probe point.
15299 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
15301 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15303 2014-02-24 Andreas Schwab <schwab@suse.de>
15306 * elf/pldd.c (wait_for_ptrace_stop): New function.
15307 (main): Call it after attaching.
15309 2014-02-22 Roland McGrath <roland@hack.frob.com>
15311 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
15312 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
15313 Versions files is now verboten.
15314 * hurd/Versions (libc: GLIBC_2.0):
15315 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
15316 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
15317 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
15318 * mach/Versions: Likewise.
15320 * csu/Versions: Remove unused %include.
15321 * resolv/Versions: Likewise.
15323 2014-02-21 Joseph Myers <joseph@codesourcery.com>
15325 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
15326 ($(objpfx)check-local-headers.out): Likewise.
15327 ($(objpfx)begin-end-check.out): Likewise.
15328 * Makerules (check-abi-%.out): Likewise.
15329 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
15330 ($(objpfx)test2.cat): Likewise.
15331 ($(objpfx)de/libc.cat): Likewise.
15332 ($(objpfx)test-gencat.out): Likewise.
15333 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
15334 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
15335 ($(objpfx)noload-mem): Likewise.
15336 ($(objpfx)tst-pathopt.out): Likewise.
15337 ($(objpfx)tst-rtld-load-self.out): Likewise.
15338 ($(objpfx)tst-array1-cmp.out): Likewise.
15339 ($(objpfx)tst-array1-static-cmp.out): Likewise.
15340 ($(objpfx)tst-array2-cmp.out): Likewise.
15341 ($(objpfx)tst-array3-cmp.out): Likewise.
15342 ($(objpfx)tst-array4-cmp.out): Likewise.
15343 ($(objpfx)tst-array5-cmp.out): Likewise.
15344 ($(objpfx)tst-array5-static-cmp.out): Likewise.
15345 ($(objpfx)check-textrel.out): Likewise.
15346 ($(objpfx)check-execstack.out): Likewise.
15347 ($(objpfx)check-localplt.out): Likewise.
15348 ($(objpfx)order2-cmp.out): Likewise.
15349 ($(objpfx)tst-leaks1-mem): Likewise.
15350 ($(objpfx)tst-leaks1-static-mem): Likewise.
15351 ($(objpfx)tst-initorder-cmp.out): Likewise.
15352 ($(objpfx)tst-initorder2-cmp.out): Likewise.
15353 ($(objpfx)tst-unused-dep.out): Likewise.
15354 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
15355 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
15356 * iconv/Makefile (test-iconvconfig): Likewise.
15357 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
15358 ($(objpfx)iconv-test.out): Likewise.
15359 ($(objpfx)tst-tables.out): Likewise.
15360 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
15361 ($(objpfx)tst-gettext.out): Likewise.
15362 ($(objpfx)tst-translit.out): Likewise.
15363 ($(objpfx)tst-gettext2.out): Likewise.
15364 ($(objpfx)tst-gettext4.out): Likewise.
15365 ($(objpfx)tst-gettext6.out): Likewise.
15366 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
15367 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
15368 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
15369 ($(objpfx)tst-fopenloc-mem.out): Likewise.
15370 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
15371 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
15372 * posix/Makefile ($(objpfx)globtest.out): Likewise.
15373 ($(objpfx)wordexp-tst.out): Likewise.
15374 ($(objpfx)annexc.out): Likewise.
15375 ($(objpfx)tst-fnmatch-mem): Likewise.
15376 ($(objpfx)bug-regex2-mem): Likewise.
15377 ($(objpfx)bug-regex14-mem): Likewise.
15378 ($(objpfx)bug-regex21-mem): Likewise.
15379 ($(objpfx)bug-regex31-mem): Likewise.
15380 ($(objpfx)tst-vfork3-mem): Likewise.
15381 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
15382 ($(objpfx)tst-pcre-mem): Likewise.
15383 ($(objpfx)tst-boost-mem): Likewise.
15384 ($(objpfx)tst-getconf.out): Likewise.
15385 ($(objpfx)bug-ga2-mem): Likewise.
15386 ($(objpfx)bug-glob2-mem): Likewise.
15387 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
15388 ($(objpfx)mtrace-tst-leaks2): Likewise.
15389 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
15390 ($(objpfx)tst-printf.out): Likewise.
15391 ($(objpfx)tst-setvbuf1.out): Likewise.
15392 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
15393 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
15394 ($(objpfx)tst-fmtmsg.out): Likewise.
15395 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
15396 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
15398 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
15399 * bits/sigaction.h [__USE_MISC]: Likewise.
15400 * bits/waitstatus.h: Update #endif comments.
15401 * ctype/ctype.h: Likewise.
15402 * dirent/dirent.h: Likewise.
15403 [__USE_MISC]: Remove redundant conditionals.
15404 * grp/grp.h: Update #endif comments.
15405 [__USE_GNU]: Remove redundant conditionals.
15406 [__USE_MISC]: Likewise.
15407 * inet/netinet/in.h [__USE_GNU]: Likewise.
15408 * io/sys/stat.h [__USE_MISC]: Likewise.
15409 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
15410 * libio/bits/stdio.h: Update #endif comments.
15411 [__USE_MISC]: Remove redundant conditionals.
15412 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
15413 * libio/stdio.h: Update #endif comments.
15414 [__USE_MISC]: Remove redundant conditionals.
15415 * math/bits/math-finite.h [__USE_MISC]: Likewise.
15416 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
15417 * math/math.h: Update #else and #endif comments.
15418 [__USE_MISC]: Remove redundant conditionals.
15419 * misc/sys/uio.h: Update #endif comments.
15420 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
15421 * posix/glob.h [__USE_MISC]: Likewise.
15422 * posix/sys/types.h: Update #endif comments.
15423 [__USE_MISC]: Remove redundant conditionals.
15424 * posix/sys/wait.h: Update #endif comments.
15425 [__USE_MISC]: Remove redundant conditionals.
15426 * posix/unistd.h: Update #endif comments.
15427 [__USE_MISC]: Remove redundant conditionals.
15428 * pwd/pwd.h [__USE_GNU]: Likewise.
15429 [__USE_MISC]: Likewise.
15430 * resolv/netdb.h [__USE_GNU]: Likewise.
15431 * signal/signal.h: Update #endif comments.
15432 [__USE_MISC]: Remove redundant conditionals.
15433 * stdlib/stdlib.h: Update #else and #endif comments.
15434 [__USE_MISC]: Remove redundant conditionals.
15435 [__USE_GNU]: Likewise.
15436 * string/bits/string2.h [__USE_MISC]: Likewise.
15437 * string/string.h: Update #endif comments.
15438 [__USE_MISC]: Remove redundant conditionals.
15439 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
15441 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
15442 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
15443 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
15445 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
15447 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
15449 [__USE_MISC]: Remove redundant conditionals.
15450 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
15451 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
15452 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
15453 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
15454 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
15456 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
15457 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
15459 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
15460 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
15462 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
15464 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
15465 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
15467 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
15469 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
15470 * sysdeps/x86/bits/string.h: Update #endif comments.
15471 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
15473 * time/sys/time.h: Update #endif comments.
15474 * time/time.h: Likewise.
15475 [__USE_MISC]: Remove redundant conditionals.
15477 2014-02-21 Yury Gribov <y.gribov@samsung.com>
15480 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
15482 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
15484 * Versions.def (librt): Add GLIBC_2.17.
15486 2014-02-21 Adam Conrad <adconrad@0c3.net>
15488 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
15489 synonym for _SYS_AUXV_H to allow direct inclusion.
15490 * sysdeps/sparc/bits/hwcap.h: Likewise.
15491 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
15492 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
15493 * sysdeps/sparc/sysdep.h: Likewise.
15495 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15497 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
15499 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15501 * benchtests/bench-strrchr.c: Print length instead of position.
15503 2014-02-20 Joseph Myers <joseph@codesourcery.com>
15506 * sysdeps/unix/sysv/linux/kernel-features.h
15507 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
15508 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
15509 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
15510 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
15512 [__i386__ || __powerpc__ || __sh__ || __sparc__]
15513 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15514 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
15515 (__ASSUME_SENDMMSG): Define instead of using previous
15516 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
15517 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15518 (__ASSUME_SENDMMSG_SYSCALL): Define.
15519 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15520 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
15522 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15523 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15525 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15526 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15528 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
15529 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
15530 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
15531 [__ASSUME_SENDMMSG]: Change conditionals to
15532 [__ASSUME_SENDMMSG_SOCKETCALL].
15533 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15534 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
15536 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15537 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
15539 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
15540 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
15541 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
15542 [!__ASSUME_SENDMMSG]: Change conditional to
15543 [!__ASSUME_SENDMMSG_SOCKETCALL].
15544 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15545 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15549 * sysdeps/unix/sysv/linux/kernel-features.h
15550 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
15551 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
15552 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
15553 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
15554 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15555 [__i386__ || __sparc__]
15556 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15557 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
15558 (__ASSUME_RECVMMSG): Define instead of using previous
15559 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
15560 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15561 (__ASSUME_RECVMMSG_SYSCALL): Define.
15562 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15563 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15565 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15566 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15568 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15569 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15571 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
15572 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
15573 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
15574 [__ASSUME_RECVMMSG]: Change condition to
15575 [__ASSUME_RECVMMSG_SOCKETCALL].
15576 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15577 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15579 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15580 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15581 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15583 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
15584 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
15585 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
15586 [!__ASSUME_RECVMMSG]: Change condition to
15587 [!__ASSUME_RECVMMSG_SOCKETCALL].
15588 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15589 (__ASSUME_RECVMMSG_SYSCALL): Define.
15592 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
15593 __powerpc__ || __s390__ || __sh__ || __sparc__]
15594 (__ASSUME_SOCKETCALL): Define.
15595 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
15596 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
15597 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
15598 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
15599 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15600 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
15601 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
15602 (__ASSUME_ACCEPT4): Define instead of using previous
15603 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
15604 __powerpc__ || __sparc__ || __s390__)] condition.
15605 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15606 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
15607 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
15608 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
15609 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
15610 [!__ASSUME_ACCEPT4]: Change condition to
15611 [!__ASSUME_ACCEPT4_SOCKETCALL].
15612 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15613 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
15614 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
15615 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15616 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
15617 __ASSUME_ACCEPT4_SYSCALL.
15618 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
15619 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
15620 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15621 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
15622 __ASSUME_ACCEPT4_SYSCALL.
15623 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
15624 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
15625 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
15626 [__ASSUME_ACCEPT4]: Change condition to
15627 [__ASSUME_ACCEPT4_SOCKETCALL].
15628 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15629 (__ASSUME_SOCKETCALL): Define.
15630 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
15631 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15632 (__ASSUME_SOCKETCALL): Define.
15633 (__ASSUME_ACCEPT4): Remove.
15634 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
15636 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15637 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
15639 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15640 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
15642 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
15644 (HWCAP_ARM_LPAE): Likewise.
15645 (HWCAP_ARM_EVTSTRM): Likewise.
15646 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
15647 Add vpfd32, lpae and evtstrm.
15648 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
15651 2014-02-19 Joseph Myers <joseph@codesourcery.com>
15653 * math/auto-libm-test-in: Add tests of clog10.
15654 * math/auto-libm-test-out: Regenerated.
15655 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
15656 * sysdeps/i386/fpu/libm-test-ulps: Update.
15657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15659 2014-02-18 Andreas Schwab <schwab@suse.de>
15662 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
15663 Store non-zero if the second buffer was newly allocated.
15664 (send_dg): Likewise.
15665 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
15666 to send_vc and send_dg.
15667 (res_nsend): Pass NULL for ansp2_malloced.
15668 * resolv/res_query.c (__libc_res_nquery): Add parameter
15669 answerp2_malloced and pass it down to __libc_res_nsend.
15670 (res_nquery): Pass additional NULL to __libc_res_nquery.
15671 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
15672 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
15673 second answer buffer if answerp2_malloced was set.
15674 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
15675 (__libc_res_nquerydomain): Add parameter
15676 answerp2_malloced and pass it down to __libc_res_nquery.
15677 (res_nquerydomain): Pass additional NULL to
15678 __libc_res_nquerydomain.
15679 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
15680 additional NULL to __libc_res_nsend and __libc_res_nquery.
15681 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
15682 additional NULL to __libc_res_nsearch.
15683 (_nss_dns_gethostbyname4_r): Revert last change. Use new
15684 parameter of __libc_res_nsearch to check for separately allocated
15686 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
15688 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
15689 additional NULL to __libc_res_nquery.
15690 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
15691 __libc_res_nsearch.
15692 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
15693 * include/resolv.h: Update prototypes of __libc_res_nquery,
15694 __libc_res_nsearch, __libc_res_nsend.
15696 2014-02-18 Joseph Myers <joseph@codesourcery.com>
15698 * math/auto-libm-test-in: Add tests of fma.
15699 * math/auto-libm-test-out: Regenerated.
15700 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
15701 (fma_towardzero_test_data): Likewise.
15702 (fma_downward_test_data): Likewise.
15703 (fma_upward_test_data): Likewise.
15704 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
15706 (rounding_modes): Add values for new field.
15707 (func_calc_method): Add value mpfr_fff_f.
15708 (func_calc_desc): Add mpfr_fff_f union field.
15709 (test_function): Add field exact_args.
15710 (FUNC): Add macro argument EXACT_ARGS.
15711 (FUNC_mpfr_f_f): Update call to FUNC.
15712 (FUNC_mpfr_f_f): Likewise.
15713 (FUNC_mpfr_ff_f): Likewise.
15714 (FUNC_mpfr_if_f): Likewise.
15715 (FUNC_mpc_c_f): Likewise.
15716 (FUNC_mpc_c_c): Likewise.
15717 (test_functions): Add fma. Update calls to FUNC.
15718 (handle_input_arg): Add argument exact_args.
15719 (add_test): Update call to handle_input_arg.
15720 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
15721 (output_for_one_input_case): Update call to calc_generic_results.
15722 Recalculate exact zero results in each rounding mode.
15724 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
15725 non-negative before setting low bit.
15726 * math/auto-libm-test-in: Mark one asin test possibly having
15727 spurious underflow.
15728 * math/auto-libm-test-out: Regenerated.
15729 * sysdeps/i386/fpu/libm-test-ulps: Update.
15730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15732 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
15734 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
15735 * sysdeps/unix/sysv/linux/microblaze: Move directory from
15736 ports/sysdeps/unix/sysv/linux/microblaze.
15737 * README: Add missing listing for microblaze*-*-linux-gnu.
15739 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
15741 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
15744 2014-02-16 Mike Frysinger <vapier@gentoo.org>
15746 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
15747 * sysdeps/unix/sysv/linux/ia64: Move directory from
15748 ports/sysdeps/unix/sysv/linux/ia64.
15749 * README: Update listing for ia64-*-linux-gnu.
15751 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
15752 Joseph Myers <joseph@codesourcery.com>
15754 * Makeconfig (test-name): New variable.
15755 (evaluate-test): Likewise.
15756 * Makerules (do-test-clean): Remove .test-result files.
15757 (common-mostlyclean): Likewise.
15758 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
15759 * scripts/evaluate-test.sh: New file.
15761 2014-02-14 Joseph Myers <joseph@codesourcery.com>
15763 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
15764 separate $(objpfx)tst-fopenloc-cmp.out and
15765 $(objpfx)tst-fopenloc-mem.out targets.
15766 (tests): Update dependencies.
15767 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
15768 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
15769 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
15770 (tst-rxspencer-no-utf8-ARGS): New variable.
15771 (tst-rxspencer-no-utf8-ENV): Likewise.
15772 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
15773 instead of $(objpfx)tst-rxspencer-mem.
15774 ($(objpfx)tst-rxspencer-mem): Change target to
15775 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
15776 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
15777 * posix/tst-rxspencer-no-utf8.c: New file.
15779 * elf/Makefile ($(objpfx)order.out): Remove rule.
15780 [$(run-built-tests) = yes] (tests): Depend on
15781 $(objpfx)order-cmp.out.
15782 ($(objpfx)order-cmp.out): New rule.
15783 [$(run-built-tests) = yes] (tests): Depend on
15784 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
15785 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
15786 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
15787 $(objpfx)tst-array5-static-cmp.out.
15788 ($(objpfx)tst-array1.out): Remove rule.
15789 ($(objpfx)tst-array1-cmp.out): New rule.
15790 ($(objpfx)tst-array1-static.out): Remove rule.
15791 ($(objpfx)tst-array1-static-cmp.out): New rule.
15792 ($(objpfx)tst-array2.out): Remove rule.
15793 ($(objpfx)tst-array2-cmp.out): New rule.
15794 ($(objpfx)tst-array3.out): Remove rule.
15795 ($(objpfx)tst-array3-cmp.out): New rule.
15796 ($(objpfx)tst-array4.out): Remove rule.
15797 ($(objpfx)tst-array4-cmp.out): New rule.
15798 ($(objpfx)tst-array5.out): Remove rule.
15799 ($(objpfx)tst-array5-cmp.out): New rule.
15800 ($(objpfx)tst-array5-static.out): Remove rule.
15801 ($(objpfx)tst-array5-static-cmp.out): New rule.
15802 [$(run-built-tests) = yes] (tests): Depend on
15803 $(objpfx)order2-cmp.out.
15804 ($(objpfx)order2.out): Remove rule.
15805 ($(objpfx)order2-cmp.out): New rule.
15806 ($(objpfx)tst-initorder.out): Remove rule.
15807 [$(run-built-tests) = yes] (tests): Depend on
15808 $(objpfx)tst-initorder-cmp.out.
15809 ($(objpfx)tst-initorder-cmp.out): New rule.
15810 ($(objpfx)tst-initorder2.out): Remove rule.
15811 [$(run-built-tests) = yes] (tests): Depend on
15812 $(objpfx)tst-initorder2-cmp.out.
15813 ($(objpfx)tst-initorder2-cmp.out): New rule.
15814 [$(run-built-tests) = yes] (tests): Depend on
15815 $(objpfx)tst-unused-dep-cmp.out.
15816 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
15817 ($(objpfx)tst-unused-dep-cmp.out): New rule.
15818 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
15819 on $(objpfx)tst-setvbuf1-cmp.out.
15820 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
15821 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
15822 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
15823 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
15824 ($(objpfx)tst-svc.out): Remove rule.
15825 ($(objpfx)tst-svc-cmp.out): New rule.
15827 2014-02-13 Joseph Myers <joseph@codesourcery.com>
15829 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
15830 * ctype/ctype.h [__USE_MISC]: Likewise.
15831 * dirent/dirent.h [__USE_MISC]: Likewise.
15832 * grp/grp.h [__USE_MISC]: Likewise.
15833 * io/fcntl.h [__USE_MISC]: Likewise.
15834 * io/sys/stat.h [__USE_MISC]: Likewise.
15835 * libio/stdio.h [__USE_MISC]: Likewise.
15836 * posix/unistd.h [__USE_MISC]: Likewise.
15837 * pwd/pwd.h [__USE_MISC]: Likewise.
15838 * stdlib.h [__USE_MISC]: Likewise.
15839 * string/bits/string2.h [__USE_MISC]: Likewise.
15840 * string/string.h [__USE_MISC]: Likewise.
15841 * time/time.h [__USE_MISC]: Likewise.
15843 2014-02-13 Andreas Schwab <schwab@suse.de>
15846 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
15847 second answer buffer if it was separately allocated.
15849 2014-02-12 Joseph Myers <joseph@codesourcery.com>
15851 * sysdeps/mips/math-tests.h: Include <features.h>.
15852 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
15853 (ROUNDING_TESTS_long_double): Do not define.
15854 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
15855 (EXCEPTION_TESTS_long_double): Likewise.
15856 * sysdeps/mips/mips64/libm-test-ulps: Update.
15858 * include/features.h (__USE_BSD): Remove macro definitions.
15859 (__USE_SVID): Likewise.
15860 (_BSD_SOURCE): Likewise.
15861 (_SVID_SOURCE): Likewise.
15862 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
15863 from definition of _DEFAULT_SOURCE.
15864 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
15866 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
15867 * bits/mman.h [__USE_BSD]: Likewise.
15868 * bits/termios.h [__USE_BSD]: Likewise.
15869 * bits/waitstatus.h [__USE_BSD]: Likewise.
15870 * ctype/ctype.h [__USE_SVID]: Likewise.
15871 * dirent/dirent.h [__USE_BSD]: Likewise.
15872 * grp/grp.h [__USE_SVID]: Likewise.
15873 [__USE_BSD]: Likewise.
15874 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
15875 * io/fcntl.h [__USE_BSD]: Likewise.
15876 * io/ftw.h [__USE_BSD]: Likewise.
15877 * io/sys/stat.h [__USE_BSD]: Likewise.
15878 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
15879 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
15880 * libio/stdio.h [__USE_SVID]: Likewise.
15881 [__USE_BSD]: Likewise.
15882 * math/math.h [__USE_SVID]: Likewise.
15883 [__USE_BSD]: Likewise.
15884 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
15885 * misc/bits/syslog.h [__USE_BSD]: Likewise.
15886 * misc/search.h [__USE_SVID]: Likewise.
15887 * misc/sys/mman.h [__USE_BSD]: Likewise.
15888 * misc/sys/syslog.h [__USE_BSD]: Likewise.
15889 * misc/sys/uio.h [__USE_BSD]: Likewise.
15890 * posix/bits/unistd.h [__USE_BSD]: Likewise.
15891 * posix/glob.h [__USE_BSD]: Likewise.
15892 * posix/regex.h [__USE_BSD]: Likewise.
15893 * posix/sys/types.h [__USE_BSD]: Likewise.
15894 [__USE_SVID]: Likewise.
15895 * posix/sys/utsname.h [__USE_SVID]: Likewise.
15896 * posix/sys/wait.h [__USE_BSD]: Likewise.
15897 [__USE_SVID]: Likewise.
15898 * posix/unistd.h [__USE_BSD]: Likewise.
15899 [__USE_SVID]: Likewise.
15900 * pwd/pwd.h [__USE_SVID]: Likewise.
15901 * resolv/netdb.h [__USE_BSD]: Likewise.
15902 * setjmp/setjmp.h [__USE_BSD]: Likewise.
15903 * signal/signal.h [__USE_BSD]: Likewise.
15904 [__USE_SVID]: Likewise.
15905 * socket/sys/socket.h [__USE_BSD]: Likewise.
15906 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
15907 * stdlib/stdlib.h [__USE_BSD]: Likewise.
15908 [__USE_SVID]: Likewise.
15909 * string/bits/string2.h [__USE_BSD]: Likewise.
15910 [__USE_SVID]: Likewise.
15911 * string/bits/string3.h [__USE_BSD]: Likewise.
15912 * string/endian.h [__USE_BSD]: Likewise.
15913 * string/string.h [__USE_SVID]: Likewise.
15914 [__USE_BSD]: Likewise.
15915 * string/strings.h [__USE_BSD]: Likewise.
15916 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
15917 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
15918 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
15919 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
15920 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
15921 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
15923 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
15925 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
15926 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
15928 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
15929 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
15931 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
15933 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
15934 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
15935 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
15937 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
15939 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
15940 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
15941 * termios/termios.h [__USE_BSD]: Likewise.
15942 * time/sys/time.h [__USE_BSD]: Likewise.
15943 * time/time.h [__USE_BSD]: Likewise.
15944 [__USE_SVID]: Likewise.
15946 * Makefile (subdir_targets): Remove subdir_lint.out.
15948 * stdio-common/Makefile (do-tst-unbputc): Remove target.
15949 (do-tst-printf): Likewise.
15950 (tests): Depend directly on $(objpfx)tst-unbputc.out and
15951 $(objpfx)tst-printf.out.
15953 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
15955 * Makerules (check-abi-%): Change target to
15956 $(objpfx)check-abi-%.out.
15957 (check-abi target): Update dependencies.
15958 (check-abi-pattern variable): Redirect output of diff to $@.
15959 (check-abi variable): Likewise.
15960 * elf/Makefile (check-abi): Update dependencies.
15962 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
15964 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
15965 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
15967 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
15968 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
15969 value has largest subnormal exponent.
15970 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
15971 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
15972 * sysdeps/aarch64/soft-fp/sfp-machine.h
15973 (_FP_TININESS_AFTER_ROUNDING): New macro.
15974 * sysdeps/alpha/soft-fp/sfp-machine.h
15975 (_FP_TININESS_AFTER_ROUNDING): Likewise.
15976 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15978 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
15979 (_FP_TININESS_AFTER_ROUNDING): Likewise.
15980 * sysdeps/mips/soft-fp/sfp-machine.h
15981 (_FP_TININESS_AFTER_ROUNDING): Likewise.
15982 * sysdeps/powerpc/soft-fp/sfp-machine.h
15983 (_FP_TININESS_AFTER_ROUNDING): Likewise.
15984 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15986 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
15987 (_FP_TININESS_AFTER_ROUNDING): Likewise.
15988 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
15989 (_FP_TININESS_AFTER_ROUNDING): Likewise.
15990 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15993 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
15996 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
15999 2014-02-12 Richard Henderson <rth@redhat.com>
16001 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
16002 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
16003 * sysdeps/unix/sysv/linux/alpha: Move directory from
16004 ports/sysdeps/unix/sysv/linux/alpha.
16005 * README: Update listing for alpha-*-linux-gnu.
16007 2014-02-11 Joseph Myers <joseph@codesourcery.com>
16009 * include/features.h: Update comment documenting feature test
16011 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
16013 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
16014 (_SVID_SOURCE): Likewise.
16015 (_DEFAULT_SOURCE): Update description of default features.
16016 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
16018 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
16019 (S_ISVTX): Likewise.
16020 * manual/math.texi (Mathematical Constants): Likewise.
16021 * manual/signal.texi (Interrupted Primitives): Likewise.
16022 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
16023 * math/test-matherr.c (_SVID_SOURCE): Do not define.
16024 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
16025 Don't refer to _SVID_SOURCE in warning text.
16027 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16029 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
16031 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
16032 * sysdeps/mips/dl-lookup.c: Remove.
16033 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
16035 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
16038 * math/auto-libm-test-in: Add testcase for expl.
16039 * math/auto-libm-test-out: Regenerate.
16040 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
16041 calculation of unsafe.
16042 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
16044 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
16046 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
16047 * sysdeps/unix/sysv/linux/aarch64: Move directory from
16048 ports/sysdeps/unix/sysv/linux/aarch64.
16049 * README: Update listing for aarch64*-*-linux-gnu.
16051 2014-02-11 Will Newton <will.newton@linaro.org>
16053 * manual/probes.texi (Mathematical Function Probes): Use
16054 "triggered" instead of "hit".
16056 * manual/probes.texi (Internal Probes): Add documentation
16057 of setjmp, longjmp and longjmp_target probes.
16059 * include/stap-probe.h: Add comment about probe argument
16062 * malloc/mtrace.c (attribute_hidden): Remove unused macro
16063 definition. (tr_where, tr_freehook, tr_mallochook,
16064 tr_reallochook, tr_memalignhook): Use ANSI protoype.
16066 2014-02-11 David S. Miller <davem@davemloft.net>
16068 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
16069 processing int_tests.
16071 2014-02-10 Joseph Myers <joseph@codesourcery.com>
16073 * sysdeps/mips: Move directory from ports/sysdeps/mips.
16074 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
16075 * sysdeps/unix/sysv/linux/mips: Move directory from
16076 ports/sysdeps/unix/sysv/linux/mips.
16077 * README: Update listing for mips-*-linux-gnu and
16078 mips64-*-linux-gnu.
16080 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
16082 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
16083 * sysdeps/unix/sysv/linux/m68k: Move directory from
16084 ports/sysdeps/unix/sysv/linux/m68k.
16085 * README: Update listing for m68k-*-linux-gnu.
16087 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
16089 * sysdeps/tile: Move directory from ports/sysdeps/tile.
16090 * sysdeps/unix/sysv/linux/generic: Move directory from
16091 ports/sysdeps/unix/sysv/linux/generic.
16092 * sysdeps/unix/sysv/linux/tile: Move directory from
16093 ports/sysdeps/unix/sysv/linux/tile.
16094 * README: Update listing for tile*-*-linux-gnu.
16096 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
16098 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
16100 * benchtests/bench-memmem.c (simple_memmem): Likewise.
16101 * catgets/open_catalog.c (__open_catalog): Likewise.
16102 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
16103 * debug/confstr_chk.c: Likewise.
16104 * debug/fread_chk.c (__fread_chk): Likewise.
16105 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
16106 * debug/getgroups_chk.c: Likewise.
16107 * debug/mbsnrtowcs_chk.c: Likewise.
16108 * debug/mbsrtowcs_chk.c: Likewise.
16109 * debug/mbstowcs_chk.c: Likewise.
16110 * debug/memcpy_chk.c: Likewise.
16111 * debug/memmove_chk.c: Likewise.
16112 * debug/mempcpy_chk.c: Likewise.
16113 * debug/memset_chk.c: Likewise.
16114 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16115 * debug/strcat_chk.c (__strcat_chk): Likewise.
16116 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
16117 * debug/strncat_chk.c (__strncat_chk): Likewise.
16118 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
16119 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
16120 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
16121 * debug/wcpncpy_chk.c: Likewise.
16122 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16123 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
16124 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
16125 * debug/wcsncpy_chk.c: Likewise.
16126 * debug/wcsnrtombs_chk.c: Likewise.
16127 * debug/wcsrtombs_chk.c: Likewise.
16128 * debug/wcstombs_chk.c: Likewise.
16129 * debug/wmemcpy_chk.c: Likewise.
16130 * debug/wmemmove_chk.c: Likewise.
16131 * debug/wmempcpy_chk.c: Likewise.
16132 * debug/wmemset_chk.c: Likewise.
16133 * dirent/scandirat.c (SCANDIRAT): Likewise.
16134 * dlfcn/dladdr1.c (dladdr1): Likewise.
16135 * dlfcn/dladdr.c (dladdr): Likewise.
16136 * dlfcn/dlclose.c (dlclose_doit): Likewise.
16137 * dlfcn/dlerror.c (__dlerror): Likewise.
16138 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
16139 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
16140 * dlfcn/dlopen.c (dlopen_doit): Likewise.
16141 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
16142 * dlfcn/dlsym.c (dlsym_doit): Likewise.
16143 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
16144 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
16145 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
16147 * elf/dl-conflict.c: Likewise.
16148 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
16149 * elf/dl-dst.h: Likewise.
16150 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
16151 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
16152 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
16153 * elf/dl-init.c (call_init, _dl_init): Likewise.
16154 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
16155 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
16156 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
16158 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
16160 * elf/dl-minimal.c (__libc_memalign): Likewise.
16161 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
16162 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
16163 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
16164 * elf/dl-sym.c (do_sym): Likewise.
16165 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
16166 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
16167 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
16168 * elf/dl-writev.h (_dl_writev): Likewise.
16169 * elf/ldconfig.c (search_dir): Likewise.
16170 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
16171 (dl_main): Likewise.
16172 * elf/setup-vdso.h (setup_vdso): Likewise.
16173 * grp/compat-initgroups.c (compat_call): Likewise.
16174 * grp/fgetgrent.c (fgetgrent): Likewise.
16175 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
16176 * grp/putgrent.c (putgrent): Likewise.
16177 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
16179 * hurd/hurdinit.c: Likewise.
16180 * iconvdata/8bit-gap.c (struct): Likewise.
16181 * iconvdata/ansi_x3.110.c : Likewise.
16182 * iconvdata/big5.c : Likewise.
16183 * iconvdata/big5hkscs.c : Likewise.
16184 * iconvdata/cp1255.c: Likewise.
16185 * iconvdata/cp1258.c : Likewise.
16186 * iconvdata/cp932.c : Likewise.
16187 * iconvdata/euc-cn.c: Likewise.
16188 * iconvdata/euc-jisx0213.c : Likewise.
16189 * iconvdata/euc-jp.c: Likewise.
16190 * iconvdata/euc-jp-ms.c : Likewise.
16191 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
16192 * iconvdata/gb18030.c : Likewise.
16193 * iconvdata/gbbig5.c (const): Likewise.
16194 * iconvdata/gbgbk.c: Likewise.
16195 * iconvdata/gbk.c : Likewise.
16196 * iconvdata/ibm1364.c : Likewise.
16197 * iconvdata/ibm930.c : Likewise.
16198 * iconvdata/ibm932.c: Likewise.
16199 * iconvdata/ibm933.c : Likewise.
16200 * iconvdata/ibm935.c : Likewise.
16201 * iconvdata/ibm937.c : Likewise.
16202 * iconvdata/ibm939.c : Likewise.
16203 * iconvdata/ibm943.c: Likewise.
16204 * iconvdata/iso_11548-1.c: Likewise.
16205 * iconvdata/iso-2022-cn.c : Likewise.
16206 * iconvdata/iso-2022-cn-ext.c : Likewise.
16207 * iconvdata/iso-2022-jp-3.c: Likewise.
16208 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
16209 * iconvdata/iso-2022-kr.c : Likewise.
16210 * iconvdata/iso646.c (gconv_end): Likewise.
16211 * iconvdata/iso_6937-2.c : Likewise.
16212 * iconvdata/iso_6937.c : Likewise.
16213 * iconvdata/iso8859-1.c: Likewise.
16214 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
16215 * iconvdata/shift_jisx0213.c : Likewise.
16216 * iconvdata/sjis.c : Likewise.
16217 * iconvdata/t.61.c : Likewise.
16218 * iconvdata/tcvn5712-1.c : Likewise.
16219 * iconvdata/tscii.c: Likewise.
16220 * iconvdata/uhc.c : Likewise.
16221 * iconvdata/unicode.c (gconv_end): Likewise.
16222 * iconvdata/utf-16.c (gconv_end): Likewise.
16223 * iconvdata/utf-32.c (gconv_end): Likewise.
16224 * iconvdata/utf-7.c (base64): Likewise.
16225 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
16226 * iconv/gconv_close.c (__gconv_close): Likewise.
16227 * iconv/gconv_open.c (__gconv_open): Likewise.
16228 * iconv/gconv_simple.c (internal_ucs4_loop_single)
16229 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
16230 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
16231 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
16232 (ucs4le_internal_loop_single): Likewise.
16233 * iconv/iconv.c (iconv): Likewise.
16234 * iconv/iconv_close.c: Likewise.
16235 * iconv/loop.c (SINGLE): Likewise.
16236 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
16237 * include/atomic.h: Likewise.
16238 * inet/inet6_option.c (option_alloc): Likewise.
16239 * intl/bindtextdom.c (set_binding_values): Likewise.
16240 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
16241 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
16242 * intl/localealias.c (read_alias_file): Likewise.
16243 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
16244 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
16245 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
16246 * libio/fmemopen.c (fmemopen): Likewise.
16247 * libio/iofgets.c (_IO_fgets): Likewise.
16248 * libio/iofgets_u.c (fgets_unlocked): Likewise.
16249 * libio/iofgetws.c (fgetws): Likewise.
16250 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
16251 * libio/iogetdelim.c (_IO_getdelim): Likewise.
16252 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
16253 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
16254 * locale/findlocale.c (_nl_find_locale): Likewise.
16255 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
16256 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
16258 * locale/setlocale.c (setlocale): Likewise.
16259 * login/programs/pt_chown.c (main): Likewise.
16260 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
16261 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
16262 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
16263 (mmap, mmap64, mremap, munmap): Likewise.
16264 * math/e_exp2l.c: Likewise.
16265 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
16266 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
16267 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
16268 * math/s_catan.c (__catan): Likewise.
16269 * math/s_catanf.c (__catanf): Likewise.
16270 * math/s_catanh.c (__catanh): Likewise.
16271 * math/s_catanhf.c (__catanhf): Likewise.
16272 * math/s_catanhl.c (__catanhl): Likewise.
16273 * math/s_catanl.c (__catanl): Likewise.
16274 * math/s_ccosh.c (__ccosh): Likewise.
16275 * math/s_ccoshf.c (__ccoshf): Likewise.
16276 * math/s_ccoshl.c (__ccoshl): Likewise.
16277 * math/s_cexp.c (__cexp): Likewise.
16278 * math/s_cexpf.c (__cexpf): Likewise.
16279 * math/s_cexpl.c (__cexpl): Likewise.
16280 * math/s_clog10.c (__clog10): Likewise.
16281 * math/s_clog10f.c (__clog10f): Likewise.
16282 * math/s_clog10l.c (__clog10l): Likewise.
16283 * math/s_clog.c (__clog): Likewise.
16284 * math/s_clogf.c (__clogf): Likewise.
16285 * math/s_clogl.c (__clogl): Likewise.
16286 * math/s_csin.c (__csin): Likewise.
16287 * math/s_csinf.c (__csinf): Likewise.
16288 * math/s_csinh.c (__csinh): Likewise.
16289 * math/s_csinhf.c (__csinhf): Likewise.
16290 * math/s_csinhl.c (__csinhl): Likewise.
16291 * math/s_csinl.c (__csinl): Likewise.
16292 * math/s_csqrt.c (__csqrt): Likewise.
16293 * math/s_csqrtf.c (__csqrtf): Likewise.
16294 * math/s_csqrtl.c (__csqrtl): Likewise.
16295 * math/s_ctan.c (__ctan): Likewise.
16296 * math/s_ctanf.c (__ctanf): Likewise.
16297 * math/s_ctanh.c (__ctanh): Likewise.
16298 * math/s_ctanhf.c (__ctanhf): Likewise.
16299 * math/s_ctanhl.c (__ctanhl): Likewise.
16300 * math/s_ctanl.c (__ctanl): Likewise.
16301 * math/w_pow.c: Likewise.
16302 * math/w_powf.c: Likewise.
16303 * math/w_powl.c: Likewise.
16304 * math/w_scalb.c (sysv_scalb): Likewise.
16305 * math/w_scalbf.c (sysv_scalbf): Likewise.
16306 * math/w_scalbl.c (sysv_scalbl): Likewise.
16307 * misc/error.c (error_tail): Likewise.
16308 * misc/pselect.c (__pselect): Likewise.
16309 * nis/nis_callback.c (__nis_create_callback): Likewise.
16310 * nis/nis_call.c (__nisfind_server): Likewise.
16311 * nis/nis_creategroup.c (nis_creategroup): Likewise.
16312 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
16313 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
16314 * nis/nis_getservlist.c (nis_getservlist): Likewise.
16315 * nis/nis_lookup.c (nis_lookup): Likewise.
16316 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
16317 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
16318 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
16319 * nis/nis_xdr.c (xdr_endpoint): Likewise.
16320 * nis/nss_compat/compat-grp.c (getgrent_next_file)
16321 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
16322 * nis/nss_compat/compat-initgroups.c (add_group)
16323 (internal_getgrent_r): Likewise.
16324 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
16325 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
16326 * nis/nss_compat/compat-spwd.c (getspent_next_file)
16327 (internal_getspnam_r): Likewise.
16328 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
16329 (_nss_nis_getaliasbyname_r): Likewise.
16330 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
16331 (_nss_nis_getntohost_r): Likewise.
16332 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
16333 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
16334 (_nss_nis_getgrgid_r): Likewise.
16335 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
16336 (internal_nis_gethostent_r, internal_gethostbyname2_r)
16337 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
16338 (_nss_nis_gethostbyname4_r): Likewise.
16339 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
16340 (initgroups_netid): Likewise.
16341 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
16342 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
16343 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
16344 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
16345 (_nss_nis_getprotobynumber_r): Likewise.
16346 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
16347 (_nss_nis_getsecretkey): Likewise.
16348 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
16349 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
16350 (_nss_nis_getpwuid_r): Likewise.
16351 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
16352 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
16353 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
16354 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
16355 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
16356 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
16357 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
16359 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
16360 (_nss_nisplus_getntohost_r): Likewise.
16361 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
16362 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
16363 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
16364 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
16366 * nis/nss_nisplus/nisplus-initgroups.c
16367 (_nss_nisplus_initgroups_dyn): Likewise.
16368 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
16369 (_nss_nisplus_getnetbyaddr_r): Likewise.
16370 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
16371 (_nss_nisplus_getprotobynumber_r): Likewise.
16372 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
16373 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
16374 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
16376 * nis/nss_nisplus/nisplus-service.c
16377 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
16378 (_nss_nisplus_getservbyport_r): Likewise.
16379 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
16380 (_nss_nisplus_getspnam_r): Likewise.
16381 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
16383 * nscd/aicache.c (addhstaiX): Likewise.
16384 * nscd/cache.c (cache_search, prune_cache): Likewise.
16385 * nscd/connections.c (register_traced_file, send_ro_fd)
16386 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
16387 (main_loop_epoll): Likewise.
16388 * nscd/grpcache.c (addgrbyX): Likewise.
16389 * nscd/hstcache.c (addhstbyX): Likewise.
16390 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16391 * nscd/mem.c (gc, mempool_alloc): Likewise.
16392 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
16393 (addinnetgrX): Likewise.
16394 * nscd/nscd-client.h (__nscd_acquire_maplock)
16395 (__nscd_drop_map_ref): Likewise.
16396 * nscd/nscd_getai.c (__nscd_getai): Likewise.
16397 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
16398 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
16400 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
16401 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
16402 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
16403 (__nscd_get_map_ref): Likewise.
16404 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
16405 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
16407 * nscd/pwdcache.c (addpwbyX): Likewise.
16408 * nscd/selinux.c (preserve_capabilities): Likewise.
16409 * nscd/servicescache.c (addservbyX): Likewise.
16410 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
16411 * posix/fnmatch.c (fnmatch): Likewise.
16412 * posix/getopt.c (_getopt_internal_r): Likewise.
16413 * posix/glob.c (glob, glob_in_dir): Likewise.
16414 * posix/wordexp.c (exec_comm_child): Likewise.
16415 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
16416 (getanswer_r, gaih_getanswer_slice): Likewise.
16417 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
16418 * resolv/res_init.c: Likewise.
16419 * resolv/res_mkquery.c (res_nmkquery): Likewise.
16420 * resolv/res_query.c (__libc_res_nquery): Likewise.
16421 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
16423 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
16424 * stdio-common/perror.c (perror): Likewise.
16425 * stdio-common/printf_fp.c (___printf_fp): Likewise.
16426 * stdio-common/tmpnam.c (tmpnam): Likewise.
16427 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
16428 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
16429 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
16431 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
16432 * stdlib/putenv.c (putenv): Likewise.
16433 * stdlib/setenv.c (__add_to_environ): Likewise.
16434 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16435 * stdlib/strtol_l.c (INTERNAL): Likewise.
16436 * string/memmem.c (memmem): Likewise.
16437 * string/strerror.c (strerror): Likewise.
16438 * string/strnlen.c (__strnlen): Likewise.
16439 * string/test-memmem.c (simple_memmem): Likewise.
16440 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
16441 * sunrpc/pm_getport.c (__get_socket): Likewise.
16442 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
16443 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
16444 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
16445 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
16447 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
16448 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
16449 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
16450 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
16451 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
16452 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
16454 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
16456 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
16457 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
16458 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16459 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
16460 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
16461 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
16462 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
16463 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
16464 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
16465 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
16466 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
16467 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
16469 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
16471 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
16473 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
16474 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16475 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
16476 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
16477 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
16478 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
16479 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16480 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
16481 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
16482 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
16483 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
16484 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16485 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
16486 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
16487 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16488 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
16490 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
16492 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
16494 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
16496 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16497 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16498 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
16500 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
16501 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
16502 * sysdeps/posix/opendir.c (__opendirat): Likewise.
16503 * sysdeps/posix/sleep.c: Likewise.
16504 * sysdeps/posix/tempname.c: Likewise.
16505 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
16506 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16508 * sysdeps/powerpc/powerpc32/dl-machine.h
16509 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
16510 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
16511 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16512 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
16513 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
16515 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
16516 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
16517 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
16518 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
16519 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
16520 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
16521 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
16522 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
16523 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16524 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
16525 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
16526 (elf_machine_lazy_rel): Likewise.
16527 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
16528 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
16529 (elf_machine_lazy_rel): Likewise.
16530 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
16531 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
16532 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
16533 * sysdeps/unix/grantpt.c (grantpt): Likewise.
16534 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
16535 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
16536 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
16537 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16539 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
16540 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
16541 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
16542 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
16543 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
16544 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
16545 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
16546 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
16547 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
16548 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
16549 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
16551 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
16552 (__posix_fallocate64_l64): Likewise.
16553 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
16554 (posix_fallocate): Likewise.
16555 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
16557 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16558 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
16559 (getifaddrs_internal): Likewise.
16560 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
16561 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
16562 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
16563 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
16564 * sysdeps/unix/sysv/linux/posix_fallocate64.c
16565 (__posix_fallocate64_l64): Likewise.
16566 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
16568 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
16569 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
16570 (__get_clockfreq): Likewise.
16571 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
16572 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
16573 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
16574 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16575 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16576 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
16577 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
16578 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
16580 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
16581 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
16582 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
16583 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
16584 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
16585 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
16586 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
16588 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16589 (posix_fallocate): Likewise.
16590 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16591 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
16592 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
16593 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
16594 (elf_machine_rela, elf_machine_rela_relative)
16595 (elf_machine_lazy_rel): Likewise.
16596 * time/asctime.c (asctime_internal): Likewise.
16597 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
16598 * time/tzset.c (__tzset_parse_tz): Likewise.
16599 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
16600 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
16601 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
16602 * wcsmbs/wcsmbsload.h: Likewise.
16605 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
16607 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
16608 (arena_get2): Remove THREAD_STATS conditionals.
16609 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
16610 (__malloc_stats, int): Likewise.
16612 2014-02-08 Mike Frysinger <vapier@gentoo.org>
16614 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
16615 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
16617 * manual/setjmp.texi: Fix typos/grammar errors.
16619 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
16620 Only return early when n is <= 0. Delete unused return statement.
16622 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
16623 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
16624 * debug/tst-longjmp_chk3.c: New file.
16626 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
16627 (test_main): Replace code with set_fortify_handler call.
16628 * debug/test-strcpy_chk.c: Likewise.
16629 * debug/tst-chk1.c: Likewise.
16630 * debug/tst-longjmp_chk.c: Likewise.
16631 * test-skeleton.c: Include fcntl.h & paths.h
16632 (set_fortify_handler): Define.
16634 * debug/tst-longjmp_chk.c: Add header comment and include
16635 ../test-skeleton.c.
16636 (do_test): Mark static.
16637 (TEST_FUNCTION): Define.
16639 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
16640 (IP_PMTUDISC_INTERFACE): Likewise.
16641 (IP_MULTICAST_IF): Likewise.
16642 (IP_MULTICAST_TTL): Likewise.
16643 (IP_MULTICAST_LOOP): Likewise.
16644 (IP_ADD_MEMBERSHIP): Likewise.
16645 (IP_DROP_MEMBERSHIP): Likewise.
16646 (IP_UNBLOCK_SOURCE): Likewise.
16647 (IP_BLOCK_SOURCE): Likewise.
16648 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
16649 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
16650 (IP_MSFILTER): Likewise.
16651 (MCAST_JOIN_GROUP): Likewise.
16652 (MCAST_BLOCK_SOURCE): Likewise.
16653 (MCAST_UNBLOCK_SOURCE): Likewise.
16654 (MCAST_LEAVE_GROUP): Likewise.
16655 (MCAST_JOIN_SOURCE_GROUP): Likewise.
16656 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
16657 (MCAST_MSFILTER): Likewise.
16658 (IP_MULTICAST_ALL): Likewise.
16659 (IP_UNICAST_IF): Likewise.
16661 * timezone/Makefile: Delete $(have-ksh) check.
16662 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
16663 * timezone/tzselect.ksh: Add +x mode bits.
16665 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
16666 (ANON_INODE_FS_MAGIC): Likewise.
16667 (BDEVFS_MAGIC): Likewise.
16668 (BINFMTFS_MAGIC): Likewise.
16669 (BTRFS_TEST_MAGIC): Likewise.
16670 (CRAMFS_MAGIC_WEND): Likewise.
16671 (DEBUGFS_MAGIC): Likewise.
16672 (ECRYPTFS_SUPER_MAGIC): Likewise.
16673 (EXT3_SUPER_MAGIC): Likewise.
16674 (EXT4_SUPER_MAGIC): Likewise.
16675 (FUTEXFS_SUPER_MAGIC): Likewise.
16676 (HOSTFS_SUPER_MAGIC): Likewise.
16677 (HUGETLBFS_MAGIC): Likewise.
16678 (MINIX3_SUPER_MAGIC): Likewise.
16679 (MTD_INODE_FS_MAGIC): Likewise.
16680 (NILFS_SUPER_MAGIC): Likewise.
16681 (OPENPROM_SUPER_MAGIC): Likewise.
16682 (PIPEFS_MAGIC): Likewise.
16683 (PSTOREFS_MAGIC): Likewise.
16684 (QNX6_SUPER_MAGIC): Likewise.
16685 (RAMFS_MAGIC): Likewise.
16686 (REISERFS_SUPER_MAGIC_STRING): Likewise.
16687 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
16688 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
16689 (SECURITYFS_MAGIC): Likewise.
16690 (SELINUX_MAGIC): Likewise.
16691 (SMACK_MAGIC): Likewise.
16692 (SOCKFS_MAGIC): Likewise.
16693 (SQUASHFS_MAGIC): Likewise.
16694 (STACK_END_MAGIC): Likewise.
16695 (TMPFS_MAGIC): Likewise.
16696 (USBDEVICE_SUPER_MAGIC): Likewise.
16697 (V9FS_MAGIC): Likewise.
16698 (XENFS_SUPER_MAGIC): Likewise.
16699 (CRAMFS_MAGIC): Fix typo in comment.
16700 (EXT2_SUPER_MAGIC): Update comment.
16701 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
16703 2014-02-08 Joseph Myers <joseph@codesourcery.com>
16705 * sysdeps/arm: Move directory from ports/sysdeps/arm.
16706 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
16707 * sysdeps/unix/sysv/linux/arm: Move directory from
16708 ports/sysdeps/unix/sysv/linux/arm.
16709 * README: Update listing for arm-*-linux-gnueabi.
16711 * README: Remove mention of am33.
16713 2014-02-07 Roland McGrath <roland@hack.frob.com>
16715 * bits/sigset.h (__sigemptyset): Use a statement expression rather
16716 than the comma operator, to avoid "rhs of comma has no effect"
16718 (__sigfillset, __sigandset, __sigorset): Likewise.
16719 * include/signal.h (__sigemptyset): Likewise.
16720 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
16722 2014-02-07 Allan McRae <allan@archlinux.org>
16724 * version.h (RELEASE): Set to "development".
16725 (VERSION): Set to "2.19.90"
16726 * NEWS: Add 2.20 section.
16728 2014-02-06 Carlos O'Donell <carlos@redhat.com>
16731 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
16733 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16735 * manual/contrib.texi: Update entry for Carlos O'Donell,
16736 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
16738 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
16740 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
16742 * sysdeps/unix/sysv/linux/kernel-features.h
16743 [__LINUX_KERNEL_VERSION >= 0x020621]
16744 (__ASSUME_PROC_PID_TASK_COMM): Define.
16746 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16749 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
16750 conversion when destination buffer does not have enough space.
16751 * libio/tst-ftell-partial-wide.c: New test case.
16752 * libio/Makefile (tests): Add tst-ftell-partial-wide.
16754 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
16755 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
16756 Leonard and Allan McRae.
16758 2014-02-04 David S. Miller <davem@davemloft.net>
16760 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
16763 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
16767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
16769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
16771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
16773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
16775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
16777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
16779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
16781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
16783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
16785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
16787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
16789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
16792 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16794 * nptl/shlib-versions: Change powerpc*le start to 2.17.
16795 * shlib-versions: Likewise.
16797 2014-02-04 Roland McGrath <roland@hack.frob.com>
16798 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16800 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
16801 (abilist-pattern): New variable, set to %-le.abilist.
16803 * Makerules (abilist-pattern): New variable.
16804 (vpath): Use $(abilist-pattern) in place of %.abilist.
16805 (check-abi-% pattern rule): Likewise.
16806 (check-abi, update-abi): Likewise.
16808 2014-02-04 Eric Wong <normalperson@yhbt.net>
16810 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16812 2014-02-03 Carlos O'Donell <carlos@redhat.com>
16814 * manual/startup.texi: Add next, previous, and top entries for
16815 the `Program Arguments' and `Environment Variables' nodes.
16817 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
16819 * manual/macros.texi: Add comments before MTASC-safety macros.
16821 * manual/users.texi: Document MTASC-safety properties.
16823 * manual/threads.texi (pthread_key_create, pthread_key_delete)
16824 (pthread_getspecific, pthread_setspecific): Format with
16825 @deftypefun, and add @safety note.
16826 * manual/signal.texi: Move comments that analyze the above
16827 functions to their home place.
16829 2014-02-03 Allan McRae <allan@archlinux.org>
16831 * po/sl.po: Update Slovenian translation from translation project.
16833 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
16835 * manual/time.texi (timegm): Add missing blank after @c.
16836 Reported by Joseph Myers <joseph@codesourcery.com>.
16838 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
16840 * manual/check-safety.sh: New.
16841 * manual/Makefile ($(objpfx)stamp-summary): Run it.
16843 * manual/terminal.texi: Document MTASC-safety properties.
16845 * manual/filesys.texi: Document MTASC-safety properties.
16847 * manual/errno.texi: Document MTASC-safety properties.
16849 * manual/intro.texi: Document safety identifiers and
16852 * manual/string.texi (wcstok): Fix prototype.
16853 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
16855 * manual/time.texi: Document MTASC-safety properties.
16857 * manual/string.texi: Document MTASC-safety properties.
16859 * manual/threads.texi: Document MTASC-safety properties.
16861 * manual/stdio.texi: Document MTASC-safety properties.
16863 * manual/syslog.texi: Document MTASC-safety properties.
16865 * manual/sysinfo.texi: Document MTASC-safety properties.
16867 * manual/startup.texi: Document MTASC-safety properties.
16869 * manual/socket.texi: Document MTASC-safety properties.
16871 * manual/signal.texi: Document MTASC-safety properties.
16873 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
16875 * manual/setjmp.texi: Document MTASC-safety properties.
16877 * manual/search.texi: Document MTASC-safety properties.
16879 * manual/resource.texi: Document MTASC-safety properties.
16881 * manual/process.texi: Document MTASC-safety properties.
16883 * manual/platform.texi: Document MTASC-safety properties.
16885 * manual/pipe.texi: Document MTASC-safety properties.
16887 * manual/pattern.texi: Document MTASC-safety properties.
16889 * manual/message.texi: Document MTASC-safety properties.
16892 * manual/memory.texi: Document MTASC-safety properties.
16894 * manual/math.texi: Document MTASC-safety properties.
16896 * manual/locale.texi: Document MTASC-safety properties.
16898 * manual/llio.texi: Document MTASC-safety properties.
16900 * manual/libdl.texi: New.
16902 * manual/lang.texi: Document MTASC-safety properties.
16904 * manual/job.texi: Document MTASC-safety properties.
16906 * manual/getopt.texi: Document MTASC-safety properties.
16908 * manual/ctype.texi: Document MTASC-safety properties.
16910 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
16913 * csu/libc-tls.c (static_map): Remove variable.
16914 (__libc_setup_tls): Use main executable's link map for TLS data.
16915 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
16916 casing for LM_ID_BASE and GL(dl_nns).
16917 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
16918 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
16919 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
16920 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
16921 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
16923 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
16926 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
16928 * manual/debug.texi: Document MTASC-safety properties.
16930 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
16933 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
16934 of __x86_64__ when disabling x87 inline functions.
16936 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
16938 * manual/charset.texi: Document MTASC-safety properties.
16940 * manual/crypt.texi: Document MTASC-safety properties.
16942 * manual/conf.texi: Document MTASC-safety properties.
16944 * manual/arith.texi: Document MTASC-safety properties.
16946 * manual/argp.texi: Document MTASC-safety properties.
16948 * manual/macros.texi: Introduce macros to document multi
16949 thread, asynchronous signal and asynchronous cancellation
16951 * manual/intro.texi: Introduce the properties themselves.
16953 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16955 * sysdeps/sh/sh4/Makefile: New file.
16957 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
16959 * math/gen-libm-test.pl ($srcdir): New variable.
16960 ($auto_input): Use it.
16962 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16965 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
16966 access beyond array bounds when parsing netgroups file.
16968 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
16969 the old buffer before realloc.
16971 2014-01-27 Allan McRae <allan@archlinux.org>
16973 * po/fr.po: Update French translation from translation project.
16975 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16977 * sysdeps/sh/libm-test-ulps: Regenerate.
16979 2014-01-24 David S. Miller <davem@davemloft.net>
16981 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
16983 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16985 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
16986 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
16988 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16991 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
16992 string pointers after reallocation.
16994 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16996 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
16997 __SH4A__ instead of __SH_FPU_ANY__.
16999 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17001 * sysdeps/sh/fpu_control.h: New file.
17002 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
17003 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
17004 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
17005 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
17006 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
17007 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
17008 * sysdeps/sh/sys/ucontext.h: Remove.
17009 * sysdeps/sh/sys: Remove directory.
17011 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17013 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
17014 s390/sys/ucontext.h.
17015 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
17016 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
17018 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
17021 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
17023 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17026 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
17027 Adjust the vDSO correctly for internal calls.
17028 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
17030 2014-01-20 Allan McRae <allan@archlinux.org>
17032 * po/ca.po: Update Catalan translation from translation project.
17034 2014-01-16 Mike Frysinger <vapier@gentoo.org>
17036 * sysdeps/s390/sotruss-lib.c: New file.
17038 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17041 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
17042 (__GI___gettimeofday): Alias for a different internal symbol to avoid
17043 local calls issues by not having a PLT stub required for IFUNC calls.
17044 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
17046 2014-01-16 Joseph Myers <joseph@codesourcery.com>
17048 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
17049 * math/test-fpucw-static.c: Likewise.
17051 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17054 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
17056 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17058 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
17059 implementation for powerpc.
17061 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
17064 * sysdeps/posix/system.c (__libc_system): Do not enable
17065 asynchronous cancellation.
17067 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17070 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
17071 handling only for numbers special also in the IEEE case.
17073 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17075 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17077 2014-01-11 Allan McRae <allan@archlinux.org>
17079 * po/bg.po: Update Bulgarian translation from translation project.
17081 * po/de.po: Update German translation from translation project.
17083 2014-01-10 Roland McGrath <roland@hack.frob.com>
17085 * sysdeps/generic/gcc-compat.h: New file.
17087 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17089 * benchtests/asin-inputs: Correct slow inputs.
17090 * benchtests/acos-inputs: Likewise.
17092 2014-01-10 Allan McRae <allan@archlinux.org>
17094 * po:sv.po: Update Swedish translation from translation project.
17096 * po/vi.po: Update Vietnamese translation from translation project.
17098 * po/eo.po: Update Esperanto translation from translation project.
17100 * po/cs.po: Update Czech translation from translation project.
17102 * po/nl.po: Update Dutch translation from translation project.
17104 * po/pl.po: Update Polish translation from translation project.
17106 * po/ru.po: Update Russian translation from translation project.
17108 * po/uk.po: Update Ukrainian translation from translation project.
17110 2014-01-08 Brooks Moses <bmoses@google.com>
17112 * elf/dl-load.c: Fix comment typo.
17114 2014-01-08 Carlos O'Donell <carlos@redhat.com>
17116 * po/header.pot: Rename to...
17117 * po/pot.header: ... this.
17118 * po/Makefile: Use pot.header.
17120 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
17121 Maxim Kuvyrkov <maxim@kugelworks.com>
17124 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
17125 SRC and DEST against LEN.
17127 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17130 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
17132 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
17134 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17136 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17138 2014-01-08 Joseph Myers <joseph@codesourcery.com>
17141 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
17142 for large positive arguments.
17144 2014-01-07 Joseph Myers <joseph@codesourcery.com>
17146 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17148 * math/auto-libm-test-in: Mark various tests with
17149 xfail-rounding:ldbl-128ibm.
17150 * math/auto-libm-test-out: Regenerated.
17153 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
17154 Increase overflow threshold.
17156 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
17159 * stdio-common/vfprintf.c: Check for integer overflow.
17161 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17163 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
17164 the first argument and return value of __tls_get_addr_internal.
17166 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17168 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
17169 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
17171 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17173 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
17174 * sysdeps/s390/rtld-global-offsets.sym: New file.
17175 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
17177 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
17178 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
17179 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
17181 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
17182 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
17184 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17186 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17188 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
17189 halfs of GPRs for high_gprs contexts.
17190 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
17191 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
17193 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
17195 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
17197 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
17198 for high GPRs (uc_high_gprs) and for future extensions
17200 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
17201 for future extensions (__reserved).
17202 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
17204 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
17205 SC_HIGHGPRS offset definition.
17206 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
17207 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
17209 * Versions.def: Add GLIBC_2.19 for libpthread.
17210 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
17211 siglongjmp for libpthread with GLIBC_2.19 symver.
17212 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
17213 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
17214 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
17215 * sysdeps/s390/__longjmp.c: New file.
17216 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
17217 * sysdeps/s390/longjmp.c: New file.
17218 * sysdeps/s390/setjmp.S: New file.
17219 * sysdeps/s390/sigjmp.S: New file.
17220 * sysdeps/s390/v1-longjmp.c: New file.
17221 * sysdeps/s390/v1-setjmp.h: New file.
17222 * sysdeps/s390/v1-sigjmp.c: New file.
17223 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
17224 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
17225 GLIBC_2.19 version.
17226 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
17227 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
17228 versioned symbols for ____longjmp_chk.
17229 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
17231 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17233 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17235 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17237 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17239 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
17240 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
17241 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
17242 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
17243 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
17244 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
17245 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
17246 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
17247 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
17248 * sysdeps/s390/rtld-__longjmp.c: New file.
17249 * sysdeps/s390/rtld-setjmp.S: New file.
17251 2014-01-06 Joseph Myers <joseph@codesourcery.com>
17254 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
17255 Return -__logl (x) for small positive arguments without evaluating
17258 2014-01-06 Mike Frysinger <vapier@gentoo.org>
17260 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
17262 (__ptrace_peeksiginfo_args): ... this.
17263 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17264 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17265 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17267 2014-01-06 Allan McRae <allan@archlinux.org>
17269 * inet/netinet/in.h: Fix typo in comment.
17271 2014-01-05 Andreas Jaeger <aj@suse.de>
17273 * sysdeps/i386/fpu/libm-test-ulps: Update.
17275 2014-01-05 Allan McRae <allan@archlinux.org>
17277 * po/libc.pot: Regenerated.
17279 * malloc/memusagestat.c: Fix gettext call formatting.
17281 2014-01-04 Sami Kerola <kerolasa@iki.fi>
17283 * nscd/nscd.c: Improve usage() output.
17285 2014-01-04 Mike Frysinger <vapier@gentoo.org>
17287 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
17288 * sysdeps/unix/sysv/linux/configure: Regenerated.
17289 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
17290 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
17292 2014-01-03 Joseph Myers <joseph@codesourcery.com>
17295 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17296 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
17298 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17300 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
17301 extra tokens at end of #undef directive.
17302 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
17303 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
17304 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
17306 2014-01-03 Joseph Myers <joseph@codesourcery.com>
17308 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17310 * math/auto-libm-test-in: Mark various tests with
17311 xfail-rounding:ldbl-128ibm.
17312 * math/auto-libm-test-out: Regenerated.
17314 2014-01-02 Joseph Myers <joseph@codesourcery.com>
17317 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
17318 numbers with subnormal high part when calculating exponent.
17321 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
17325 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
17327 (__ieee754_acoshl): Use __log1pl not __log1p.
17329 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
17331 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
17332 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
17333 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
17334 (grow_heap, heap_trim, _int_new_arena, get_free_list)
17335 (reused_arena, arena_get2): Convert to GNU style.
17336 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
17337 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
17338 (memalign_check, __malloc_set_state): Likewise.
17339 * malloc/mallocbug.c (main): Likewise.
17340 * malloc/malloc.c (__malloc_assert, malloc_init_state)
17341 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
17342 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
17343 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
17344 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
17345 (__posix_memalign, malloc_info): Likewise.
17346 * malloc/malloc.h: Likewise.
17347 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
17348 (mallochook, memalignhook, reallochook, mabort): Likewise.
17349 * malloc/mcheck.h: Likewise.
17350 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
17351 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
17352 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
17353 * malloc/morecore.c (__default_morecore): Likewise.
17354 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
17355 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
17356 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
17357 (print_and_abort): Likewise.
17358 * malloc/obstack.h: Likewise.
17359 * malloc/set-freeres.c (__libc_freeres): Likewise.
17360 * malloc/tst-mallocstate.c (main): Likewise.
17361 * malloc/tst-mtrace.c (main): Likewise.
17362 * malloc/tst-realloc.c (do_test): Likewise.
17364 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17367 * nscd/netgroupcache.c (do_notfound): New function.
17368 (addgetnetgrentX): Use it.
17371 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
17372 NSS_STATUS_NOTFOUND.
17374 2014-01-01 Joseph Myers <joseph@codesourcery.com>
17376 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17379 2014-01-01 Allan McRae <allan@archlinux.org>
17381 * scripts/update-copyrights: Update configure input file suffix.
17383 * NEWS: Update copyright year.
17384 * catgets/gencat.c: Likewise.
17385 * csu/version.c: Likewise.
17386 * debug/catchsegv.sh: Likewise.
17387 * debug/pcprofiledump.c: Likewise.
17388 * debug/xtrace.sh: Likewise.
17389 * elf/ldconfig.c: Likewise.
17390 * elf/ldd.bash.in: Likewise.
17391 * elf/pldd.c: Likewise.
17392 * elf/sotruss.ksh: Likewise.
17393 * elf/sprof.c: Likewise.
17394 * iconv/iconv_prog.c: Likewise.
17395 * iconv/iconvconfig.c: Likewise.
17396 * locale/programs/locale.c: Likewise.
17397 * locale/programs/localedef.c: Likewise.
17398 * login/programs/pt_chown.c: Likewise.
17399 * malloc/memusage.sh: Likewise.
17400 * malloc/memusagestat.c: Likewise.
17401 * malloc/mtrace.pl: Likewise.
17402 * manual/libc.texinfo: Likewise.
17403 * nscd/nscd.c: Likewise.
17404 * nss/getent.c: Likewise.
17405 * nss/makedb.c: Likewise.
17406 * posix/getconf.c: Likewise.
17407 * scripts/test-installation.pl: Likewise.
17409 * All files with FSF copyright notices: Update copyright dates
17410 using scripts/update-copyrights.
17411 * intl/plural.c: Regenerated.
17412 * locale/programs/charmap-kw.h: Likewise.
17413 * locale/programs/locfile-kw.h: Likewise.
17415 2013-12-31 Mike Frysinger <vapier@gentoo.org>
17417 * sysdeps/unix/sysv/linux/configure: Regenerated.
17418 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
17419 the linux/fanotify.h header.
17420 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
17421 HAVE_LINUX_FANOTIFY_H is defined.
17423 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
17425 * benchtests/cos-inputs: New inputs.
17426 * benchtests/sin-inputs: Likewise.
17428 * benchtests/atan-inputs: New inputs. Fix name of multiple
17429 precision fallback inputs.
17431 * benchtests/atanh-inputs: New inputs.
17432 * benchtests/tanh-inputs: Likewise.
17434 * benchtests/acosh-inputs: New inputs.
17435 * benchtests/asinh-inputs: Likewise.
17437 * benchtests/cosh-inputs: New inputs.
17438 * benchtests/sinh-inputs: Likewise.
17440 * benchtests/acos-inputs: Add more inputs.
17441 * benchtests/asin-inputs: Likewise.
17443 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
17446 * manual/arith.texi: Fix spelling.
17447 * manual/charset.texi: Likewise.
17448 * manual/errno.texi: Likewise.
17449 * manual/filesys.texi: Likewise.
17450 * manual/lang.texi: Likewise.
17451 * manual/llio.texi: Likewise.
17452 * manual/locale.texi: Likewise.
17453 * manual/message.texi: Likewise.
17454 * manual/resource.texi: Likewise.
17455 * manual/search.texi: Likewise.
17456 * manual/setjmp.texi: Likewise.
17457 * manual/stdio.texi: Likewise.
17458 * manual/string.texi: Likewise.
17459 * manual/sysinfo.texi: Likewise.
17460 * manual/time.texi: Likewise.
17462 2013-12-27 Carlos O'Donell <carlos@redhat.com>
17464 * po/sl.po: New file.
17466 2013-12-27 Mike Frysinger <vapier@gentoo.org>
17468 * .gitignore: Add core/.gdbinit/.gdb_history.
17470 2013-12-27 Allan McRae <allan@archlinux.org>
17473 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
17474 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
17476 2013-12-24 Brooks Moses <bmoses@google.com>
17478 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
17479 all compilers that claim C++98 compliance, not just GCC.
17480 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
17483 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
17485 * NEWS: Restore accidentally deleted bug-fix entries.
17487 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
17488 Ondřej Bílka <neleai@seznam.cz>
17491 * malloc/malloc.c (_int_free): Perform sanity check only if we
17494 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
17497 * manual/stdio.texi (String Input Conversions): Clarify that character
17498 classes are not supported.
17500 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17502 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17504 2013-12-22 Joseph Myers <joseph@codesourcery.com>
17507 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
17508 Calculate results for small negative arguments directly rather
17509 than using reflection formula with special underflow handling.
17511 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
17512 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
17513 sysdeps/unix/bsd/bsd4.4/syscalls.list.
17514 (fchflags): Likewise.
17515 (revoke): Likewise.
17516 (setlogin): Likewise.
17517 (sigaltstack): Likewise.
17519 (sigblock): Remove.
17520 (sigsetmask): Likewise.
17522 (waitpid): Likewise.
17523 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
17524 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
17526 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
17527 * sysdeps/unix/bsd/Makefile: ... here.
17528 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
17529 * sysdeps/unix/bsd/Versions: ... here.
17530 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
17531 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
17532 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
17533 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
17534 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
17535 * sysdeps/unix/bsd/sigblock.c: ... here.
17536 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
17537 * sysdeps/unix/bsd/sigsetmask.c: ... here.
17538 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
17539 * sysdeps/unix/bsd/sigvec.c: ... here.
17540 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
17541 * sysdeps/unix/bsd/tcdrain.c: ... here.
17542 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
17543 * sysdeps/unix/bsd/tcgetattr.c: ... here.
17544 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
17545 * sysdeps/unix/bsd/tcsetattr.c: ... here.
17546 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
17547 * sysdeps/unix/bsd/wait.c: ... here.
17548 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
17549 * sysdeps/unix/bsd/wait3.c: ... here.
17550 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
17551 * sysdeps/unix/bsd/waitpid.c: ... here.
17553 2013-12-21 Joseph Myers <joseph@codesourcery.com>
17556 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
17557 round-to-nearest for [!USE_AS_EXPM1L].
17558 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
17559 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
17560 more tests of exp and exp10. Expect some exp10 tests to miss
17561 exceptions or fail in directed rounding modes.
17562 * math/auto-libm-test-out: Regenerated.
17563 * math/libm-test.inc (exp10_tonearest_test_data): New array.
17564 (exp10_test_tonearest): New function.
17565 (exp10_towardzero_test_data): New array.
17566 (exp10_test_towardzero): New function.
17567 (exp10_downward_test_data): New array.
17568 (exp10_test_downward): New function.
17569 (exp10_upward_test_data): New array.
17570 (exp10_test_upward): New function.
17571 (main): Call the new functions.
17572 * sysdeps/i386/fpu/libm-test-ulps: Update.
17573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17575 2013-12-20 Joseph Myers <joseph@codesourcery.com>
17577 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
17578 asinh, atan, atan2, atanh, cbrt, cos and cosh.
17579 * math/auto-libm-test-out: Regenerated.
17580 * math/libm-test.inc (acosh_test_data): Add more tests.
17581 (atanh_test_data): Likewise.
17582 (ceil_test_data): Likewise.
17583 (copysign_test_data): Likewise.
17584 * sysdeps/i386/fpu/libm-test-ulps: Update.
17585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17587 * timezone/checktab.awk: Update from tzcode 2013i.
17588 * timezone/private.h: Likewise.
17589 * timezone/scheck.c: Likewise.
17590 * timezone/tzfile.h: Likewise.
17591 * timezone/tzselect.ksh: Likewise.
17592 * timezone/zdump.c: Likewise.
17593 * timezone/zic.c: Likewise.
17595 * math/auto-libm-test-in: Add tests of cpow.
17596 * math/auto-libm-test-out: Regenerated.
17597 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
17598 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17600 (func_calc_desc): Add mpc_cc_c union field.
17601 (test_functions): Add cpow.
17602 (special_fill_2pi): New function.
17603 (special_real_inputs): Add 2pi.
17604 (calc_generic_results): Handle mpc_cc_c.
17605 * sysdeps/i386/fpu/libm-test-ulps: Update.
17606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17608 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
17609 csqrt, ctan and ctanh.
17610 * math/auto-libm-test-out: Regenerated.
17611 * math/libm-test.inc (TEST_COND_x86_64): New macro.
17612 (TEST_COND_x86): Likewise.
17613 (ccos_test_data): Use AUTO_TESTS_c_c.
17614 (ccosh_test_data): Likewise.
17615 (cexp_test_data): Likewise.
17616 (clog_test_data): Likewise.
17617 (csqrt_test_data): Likewise.
17618 (ctan_test_data): Likewise.
17619 (ctan_tonearest_test_data): Likewise.
17620 (ctan_towardzero_test_data): Likewise.
17621 (ctan_downward_test_data): Likewise.
17622 (ctan_upward_test_data): Likewise.
17623 (ctanh_test_data): Likewise.
17624 (ctanh_tonearest_test_data): Likewise.
17625 (ctanh_towardzero_test_data): Likewise.
17626 (ctanh_downward_test_data): Likewise.
17627 (ctanh_upward_test_data): Likewise.
17628 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17630 (func_calc_desc): Add mpc_c_c union field.
17631 (FUNC_mpc_c_c): New macro.
17632 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
17633 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
17635 (special_fill_min_subnorm_p120): New function.
17636 (special_real_inputs): Add min_subnorm_p120.
17637 (calc_generic_results): Handle mpc_c_c.
17638 * sysdeps/i386/fpu/libm-test-ulps: Update.
17639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17641 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17643 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
17644 (do_sin_slow): New functions.
17645 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
17646 (cslow2, csloww1, csloww2): Use the new functions.
17648 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
17649 Use M to change sign of result instead of X. Assume X is
17651 (csloww1): Likewise.
17655 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
17656 arguments A and DA.
17660 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
17662 (sloww1): Don't adjust sign of DX.
17663 (csloww1): Likewise.
17664 (sloww2): Use X directly and don't adjust sign of DX.
17665 (csloww2): Likewise.
17667 2013-12-19 Joseph Myers <joseph@codesourcery.com>
17669 * math/auto-libm-test-in: Add tests of cabs and carg.
17670 * math/auto-libm-test-out: Regenerated.
17671 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
17672 (carg_test_data): Likewise.
17673 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17675 (func_calc_desc): Add mpc_c_f union field.
17676 (test_functions): Add cabs and carg.
17677 (calc_generic_results): Handle mpc_c_f.
17679 * sysdeps/powerpc/powerpc32/libgcc-compat.S
17680 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
17681 as a macro and a compat symbol.
17682 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
17683 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
17684 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
17685 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
17686 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
17687 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
17689 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
17691 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
17693 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
17695 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
17697 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
17699 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
17700 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
17703 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17705 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17707 2013-12-19 Joseph Myers <joseph@codesourcery.com>
17709 * manual/texinfo.tex: Update to version 2013-11-26.10 with
17710 trailing whitespace removed.
17711 * scripts/config.guess: Update to version 2013-11-29.
17712 * scripts/config.sub: Update to version 2013-10-01.
17714 * math/auto-libm-test-in: Add tests of sincos.
17715 * math/auto-libm-test-out: Regenerated.
17716 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
17717 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17719 (func_calc_desc): Add mpfr_f_11 union field.
17720 (test_functions): Add sincos.
17721 (calc_generic_results): Handle mpfr_f_11.
17722 * sysdeps/i386/fpu/libm-test-ulps: Update.
17723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17725 2013-12-19 Andreas Schwab <schwab@suse.de>
17727 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
17729 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
17730 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
17731 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
17733 2013-12-19 Joseph Myers <joseph@codesourcery.com>
17735 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
17736 * sysdeps/i386/fpu/libm-test-ulps: Update.
17737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17740 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
17741 round-to-nearest mode when using frndint.
17742 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
17743 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
17744 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
17746 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
17748 * math/auto-libm-test-out: Regenerated.
17749 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
17750 (TEST_COND_x86): Likewise.
17751 (expm1_tonearest_test_data): New array.
17752 (expm1_test_tonearest): New function.
17753 (expm1_towardzero_test_data): New array.
17754 (expm1_test_towardzero): New function.
17755 (expm1_downward_test_data): New array.
17756 (expm1_test_downward): New function.
17757 (expm1_upward_test_data): New array.
17758 (expm1_test_upward): New function.
17759 (main): Run the new test functions.
17760 * sysdeps/i386/fpu/libm-test-ulps: Update.
17761 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17763 * include/features.h: Update comment documenting feature test
17764 macros. Mention _DEFAULT_SOURCE in comment.
17765 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
17766 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
17767 _BSD_SOURCE and _SVID_SOURCE.
17768 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
17769 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
17770 !_SVID_SOURCE]: Likewise.
17771 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17772 (__USE_POSIX_IMPLICITLY): Define.
17773 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17774 (_POSIX_SOURCE): Undefine and redefine.
17775 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17776 (_POSIX_C_SOURCE): Likewise.
17777 * manual/creature.texi (_DEFAULT_SOURCE): Document.
17778 (Feature Test Macros): Update documentation of default features.
17780 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17782 * benchtests/Makefile: Add bench-strtok.
17783 * benchtests/bench-strtok.c: New file: strtok benchtest.
17785 2013-12-19 Allan McRae <allan@archlinux.org>
17787 * manual/install.texi: Suppress menu for plain text output.
17788 * INSTALL: Regenerated.
17790 2013-12-18 Brooks Moses <bmoses@google.com>
17793 * misc/getauxval.c: Include errno.h.
17794 (__getauxval): Set errno to ENOENT if the requested type is not
17796 * misc/sys/auxv.h (getauxval): Document that it may set errno;
17797 don't declare with __attribute_const__.
17798 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
17799 * manual/startup.texi: Document that getauxval sets errno.
17801 2013-12-18 Joseph Myers <joseph@codesourcery.com>
17803 * math/auto-libm-test-in: Add tests of jn and yn.
17804 * math/auto-libm-test-out: Regenerated.
17805 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
17806 (yn_test_data): Likewise.
17807 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17809 (func_calc_desc): Add mpfr_if_f union field.
17810 (FUNC_mpfr_if_f): New macro.
17811 (test_functions): Add jn and yn.
17812 (calc_generic_results): Assert type of second input for
17813 mpfr_ff_f. Handle mpfr_if_f.
17814 (output_for_one_input_case): Disable all checking for arguments
17815 fitting floating-point types in case of an integer argument.
17816 * sysdeps/i386/fpu/libm-test-ulps: Update.
17817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17820 Don't expect fegetround reference in libm.so.
17822 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17824 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
17825 $(config-cflags-nofma).
17827 2013-12-18 Joseph Myers <joseph@codesourcery.com>
17829 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
17830 * math/auto-libm-test-out: Regenerated.
17833 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
17834 to determine exponent and adjust argument to have exponent of -1.
17835 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
17837 * math/auto-libm-test-out: Regenerated.
17838 * sysdeps/i386/fpu/libm-test-ulps: Update.
17839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17841 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
17843 * manual/probes.texi: Remove cases when per-thread arenas are
17846 2013-12-18 Andreas Schwab <schwab@suse.de>
17848 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
17849 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
17850 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
17851 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
17852 * sysdeps/i386/i686/multiarch/Makefile: Update.
17853 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
17855 2013-12-17 Joseph Myers <joseph@codesourcery.com>
17857 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
17858 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
17860 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
17863 Support TZ transition times < 00:00:00.
17864 This is needed for version-3 tz-format files; it supports time
17865 stamps past 2037 for America/Godthab (the only entry in the tz
17866 database for which this change is relevant).
17867 * manual/time.texi (TZ Variable): Document transition times
17868 from -167:59:59 through -00:00:01.
17869 * time/tzset.c (tz_rule): Time of day is now signed.
17870 (__tzset_parse_tz): Parse negative time of day.
17872 Document TZ transition times >= 25:00:00.
17873 * manual/time.texi (TZ Variable): Document transition times from
17874 25:00:00 through 167:59:59. These are already supported, and this
17875 support will help with version-3 tz-format files.
17877 * manual/time.texi (TZ Variable): Modernize North America example
17878 to reflect current (i.e., 2007-and-later) daylight saving rules.
17880 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
17882 2013-12-17 Joseph Myers <joseph@codesourcery.com>
17884 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
17885 * sysdeps/unix/bsd/bits/stat.h: Likewise.
17886 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
17887 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17888 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
17889 * sysdeps/unix/bsd/bsdstat.h: Likewise.
17890 * sysdeps/unix/bsd/clock.c: Likewise.
17891 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
17892 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
17893 * sysdeps/unix/bsd/init-posix.c: Likewise.
17894 * sysdeps/unix/bsd/poll.c: Likewise.
17895 * sysdeps/unix/bsd/ptsname.c: Likewise.
17896 * sysdeps/unix/bsd/seekdir.c: Likewise.
17897 * sysdeps/unix/bsd/setegid.c: Likewise.
17898 * sysdeps/unix/bsd/seteuid.c: Likewise.
17899 * sysdeps/unix/bsd/setgid.c: Likewise.
17900 * sysdeps/unix/bsd/setrgid.c: Likewise.
17901 * sysdeps/unix/bsd/setruid.c: Likewise.
17902 * sysdeps/unix/bsd/setsid.c: Likewise.
17903 * sysdeps/unix/bsd/setuid.c: Likewise.
17904 * sysdeps/unix/bsd/sigaction.c: Likewise.
17905 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
17906 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
17907 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
17908 * sysdeps/unix/bsd/telldir.c: Likewise.
17909 * sysdeps/unix/bsd/times.c: Likewise.
17910 * sysdeps/unix/bsd/usleep.c: Likewise.
17912 * misc/Makefile (install-lib): Remove libbsd-compat.a.
17913 ($(objpfx)libbsd-compat.a): Remove rule.
17915 * include/features.h (__FAVOR_BSD): Do not define.
17916 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
17917 features conflicting with POSIX.
17918 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
17919 (_BSD_SOURCE): Remove description of not being a subset of other
17920 feature test macros.
17921 * manual/job.texi (getpgrp): Do not document BSD version.
17922 (getpgid): Do not document by reference to BSD getpgrp.
17923 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
17924 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
17925 * signal/signal.h [__FAVOR_BSD]: Likewise.
17926 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
17927 instead of making contents conditional on [__FAVOR_BSD].
17928 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
17930 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17932 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17934 2013-12-17 Joseph Myers <joseph@codesourcery.com>
17937 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
17938 values below 2**-450, not 2**-500.
17939 * math/auto-libm-test-in: Don't allow spurious underflow from
17941 * math/auto-libm-test-out: Regenerated.
17945 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
17946 values of ha and hb and sort them after adjusting subnormal
17948 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
17950 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
17951 values of ea and eb and sort them after adjusting subnormal
17953 * math/auto-libm-test-in: Do not expect some hypot tests of
17954 subnormals to fail. Add more hypot tests.
17955 * math/auto-libm-test-out: Regenerated.
17957 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17960 * sysdeps/sh/s_fma.c: New file.
17961 * sysdeps/sh/s_fmaf.c: New file.
17962 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
17964 * sysdeps/sh/Implies: Add sh/soft-fp.
17966 2013-12-16 Roland McGrath <roland@hack.frob.com>
17968 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
17969 level of indirection to members `objname', `errstring', `malloced'.
17970 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
17971 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
17972 it as the __longjmp argument (just pass 1 instead).
17973 (_dl_catch_error): Initialize C with argument pointers and address of
17974 volatile local ERRCODE rather than copying values out of C at return.
17976 2013-12-16 Joseph Myers <joseph@codesourcery.com>
17978 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
17979 * math/auto-libm-test-out: Regenerated.
17980 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
17981 (hypot_test_data): Likewise.
17982 (pow_test_data): Likewise.
17983 (pow_tonearest_test_data): Likewise.
17984 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17986 (func_calc_desc): Add mpfr_ff_f union field.
17987 (FUNC_mpfr_ff_f): New macro.
17988 (test_functions): Add atan2, hypot and pow.
17989 (special_fill_min): New function.
17990 (special_fill_minus_min): Likewise.
17991 (special_fill_min_subnorm): Likewise.
17992 (special_fill_minus_min_subnorm): Likewise.
17993 (special_real_inputs): Add min, -min, min_subnorm and
17995 (calc_generic_results): Handle mpfr_ff_f.
17996 * sysdeps/i386/fpu/libm-test-ulps: Update.
17997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17999 2013-12-16 Will Newton <will.newton@linaro.org>
18001 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
18002 (Aligned Memory Blocks): Add documentation for aligned_alloc
18003 and suggest it as an alternative to posix_memalign.
18004 (Hooks for Malloc): Document __memalign_hook is also called
18005 for aligned_alloc. (Summary of Malloc): Add summary for
18006 aligned alloc. Document __memalign_hook is also called
18009 2013-12-16 Will Newton <will.newton@linaro.org>
18011 * manual/memory.texi (Malloc Examples): Clarify default
18012 alignment documentation. Suggest posix_memalign rather
18013 than memalign or valloc.
18014 (Aligned Memory Blocks): Remove suggestion to use memalign
18015 or valloc. Remove obsolete comment about BSD.
18016 Document memalign errno values and mark the function obsolete.
18017 Document posix_memalign returned error codes. Mark valloc
18018 as obsolete. (Hooks for Malloc): __memalign_hook is also
18019 called for posix_memalign and valloc.
18020 (Summary of Malloc): Add posix_memalign to function summary.
18021 __memalign_hook is also called for posix_memalign and valloc.
18023 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18025 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
18029 (sloww): Use mynumber union. Expand ternary operator into
18030 if-else statements.
18031 (cslow): use mynumber union.
18033 2013-12-16 Allan McRae <allan@archlinux.org>
18035 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
18036 * configure: Regenerated.
18038 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
18041 * configure.ac: Added --enable-maintainer-mode. Check for
18042 autoconf when enabled.
18043 * configure: Regenerated.
18045 * nscd/nscd.service: New file.
18046 * nscd/nscd.tmpfiles: New file.
18048 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
18051 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
18052 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
18053 * sysdeps/x86_64/multiarch/strstr.c: ... here.
18054 (strstr): Add __strstr_sse2_unaligned ifunc.
18055 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
18056 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
18057 (strcasestr): Remove __strcasestr_sse42 ifunc.
18058 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
18059 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
18060 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
18062 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18064 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
18065 * sysdeps/sh/bits/fenv.h: ... here.
18066 * sysdeps/sh/sh4/fpu/bits: Remove directory.
18068 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18070 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
18072 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
18073 hypotf multiarch implementations.
18074 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
18075 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
18076 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
18077 multiarch hypot for PPC64.
18078 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
18079 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
18080 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
18081 multiarch hypotf for PPC64.
18083 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
18084 modff multiarch implementations.
18085 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
18086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
18087 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
18088 multiarch modf for PPC64.
18089 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
18090 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
18091 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
18092 multiarch modff for PPC64.
18094 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
18095 and logl multiarch implementations.
18096 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
18097 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
18098 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
18099 multiarch logb for PPC64.
18100 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
18101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
18102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
18103 multiarch logb for PPC64.
18104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
18105 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
18106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
18107 multiarch logb for PPC64.
18109 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
18110 isinff multiarch implementation.
18111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
18113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
18114 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
18115 multiarch isinf for PPC64.
18116 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
18118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
18119 multiarch isinff for PPC64.
18121 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
18122 finitef multiarch implementation.
18123 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
18125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
18126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
18127 multiarch finite for PPC64.
18128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
18130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
18131 multiarch finitef for PPC64.
18133 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
18134 lrint multiarch implementation.
18135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
18137 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
18138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
18139 multiarch llrint for PPC64.
18140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
18141 multiarch lrint for PPC64.
18143 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
18144 copysignf multiarch implementation.
18145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
18147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
18149 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
18150 multiarch copysign for PPC64.
18151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
18152 multiarch copysignf for PPC64.
18154 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
18155 multiarch implementation.
18156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
18158 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
18160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
18162 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
18164 multiarch llround for PPC64.
18165 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
18166 multiarch trunc for PPC64.
18167 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
18168 multiarch truncf for PPC64.
18170 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
18171 multiarch implementation.
18172 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
18174 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
18176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
18178 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
18180 multiarch llround for PPC64.
18181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
18182 multiarch round for PPC64.
18183 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
18184 multiarch roundf for PPC64.
18186 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
18187 multiarch implementation.
18188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
18190 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
18192 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
18194 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
18196 multiarch llround for PPC64.
18197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
18198 multiarch floor for PPC64.
18199 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
18200 multiarch floorf for PPC64.
18202 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
18203 multiarch implementation.
18204 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
18206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
18208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
18210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
18212 multiarch llround for PPC64.
18213 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
18214 multiarch ceil for PPC64.
18215 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
18216 multiarch ceilf for PPC64.
18218 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
18219 multiarch implementation.
18220 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
18222 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
18224 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
18226 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
18227 multiarch llround for PPC64.
18228 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
18229 multiarch lround for PPC64.
18231 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
18232 multiarch implementation.
18233 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
18234 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
18235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
18237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
18238 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
18239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
18240 multiarch isnan for PPC64.
18241 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
18242 multiarch isnanf for PPC64.
18244 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
18245 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
18246 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
18247 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
18248 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
18249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
18251 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
18252 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18253 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18254 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18256 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
18257 multiarch implementations.
18258 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18259 (__libc_ifunc_impl_list): Likewise.
18260 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
18261 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
18262 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
18263 multiarch stpcpy for PPC64.
18265 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
18266 multiarch implementations.
18267 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18268 (__libc_ifunc_impl_list): Likewise.
18269 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
18270 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
18271 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
18272 multiarch strcpy for PPC64.
18274 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
18275 redefine function name.
18276 (_wordcopy_fwd_dest_aligned): Likewise.
18277 (_wordcopy_bwd_aligned): Likewise.
18278 (_wordcopy_bwd_dest_aligned): Likewise.
18279 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
18280 multiarch implementations.
18281 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18282 (__libc_ifunc_impl_list): Likewise.
18283 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
18284 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
18285 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
18286 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
18287 multiarch wcscpy for PPC64.
18289 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
18290 multiarch implementations.
18291 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18292 (__libc_ifunc_impl_list): Likewise.
18293 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
18294 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
18295 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
18296 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
18297 multiarch wcscpy for PPC64.
18299 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
18300 multiarch implementations.
18301 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18302 (__libc_ifunc_impl_list): Likewise.
18303 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
18304 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
18305 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
18306 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
18307 multiarch wcsrchr for PPC64.
18309 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
18310 multiarch implementations.
18311 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18312 (__libc_ifunc_impl_list): Likewise.
18313 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
18314 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
18315 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
18316 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
18317 multiarch wcschr for PPC64.
18319 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
18320 multiarch implementations.
18321 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18322 (__libc_ifunc_impl_list): Likewise.
18323 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
18324 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
18325 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
18326 multiarch strchrnul for PPC64.
18328 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
18330 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18331 (__libc_ifunc_impl_list): Likewise.
18332 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
18333 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
18334 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
18335 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
18338 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
18340 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18341 (__libc_ifunc_impl_list): Likewise.
18342 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
18343 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
18344 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
18345 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
18348 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
18349 multiarch implementations.
18350 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18351 (__libc_ifunc_impl_list): Likewise.
18352 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
18353 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
18354 strncasecmp for PPC64.
18355 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
18356 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
18357 multiarch strncasecmp_l for PPC64.
18359 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
18360 multiarch implementations.
18361 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18362 (__libc_ifunc_impl_list): Likewise.
18363 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
18364 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
18365 multiarch strcasecmp for PPC64.
18366 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
18368 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
18369 multiarch strcasecmp_l for PPC64.
18371 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
18373 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18374 (__libc_ifunc_impl_list): Likewise.
18375 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
18376 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
18377 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
18380 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
18382 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18383 (__libc_ifunc_impl_list): Likewise.
18384 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
18385 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
18386 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
18389 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
18391 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18392 (__libc_ifunc_impl_list): Likewise.
18393 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
18394 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
18395 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
18396 rawmemrchr for PPC64.
18398 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
18400 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18401 (__libc_ifunc_impl_list): Likewise.
18402 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
18403 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
18404 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
18407 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
18409 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18410 (__libc_ifunc_impl_list): Likewise.
18411 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
18412 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
18413 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
18416 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
18418 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18419 (__libc_ifunc_impl_list): Likewise.
18420 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
18421 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
18422 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
18425 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
18426 avoid cretion of __bzero symbol.
18427 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
18429 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
18431 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
18433 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
18434 multiarch implementations.
18435 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18436 (__libc_ifunc_impl_list): Likewise.
18437 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
18438 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
18439 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
18440 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
18442 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
18443 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
18444 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
18445 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
18446 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
18448 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
18450 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
18451 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
18453 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18454 (__libc_ifunc_impl_list): Likewise.
18455 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
18456 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
18457 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
18458 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
18461 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
18462 multiarch for POWER/PPC64.
18463 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
18464 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
18465 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
18466 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
18467 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
18468 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
18469 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
18470 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
18471 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
18474 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
18475 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
18476 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
18477 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
18478 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
18479 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
18480 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
18481 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
18482 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
18483 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
18484 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
18485 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
18486 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
18487 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
18488 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
18489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
18490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
18491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
18492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
18493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
18494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
18495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
18497 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18499 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
18501 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18503 * benchtests/Makefile (bench): Add exp2 and log2.
18504 (LDLIBS-bench-exp2): Add -lm.
18505 (LDLIBS-bench-log2): Likewise.
18506 * benchtests/exp2-inputs: New inputs file.
18507 * benchtests/log2-inputs: New inputs file.
18508 * benchtests/log-inputs: Add new inputs.
18509 * benchtests/tan-inputs: Likewise.
18511 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18513 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
18515 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
18516 (csloww2): ... from here.
18518 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
18519 instead of structures.
18520 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
18521 (POLYNOMIAL): Likewise.
18522 (TAYLOR_SLOW): Likewise.
18528 (sloww1); Likewise.
18529 (sloww2): Likewise.
18530 (bsloww1): Likewise.
18531 (bsloww2): Likewise.
18532 (cslow2): Likewise.
18533 (csloww): Likewise.
18534 (csloww1): Likewise.
18535 (csloww2): Likewise.
18537 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
18539 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
18540 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
18541 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
18542 * malloc/hooks.c (realloc_check): Likewise.
18544 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
18545 * malloc/arena.c: Remove PER_THREAD conditional.
18546 [!PER_THREAD]: Remove code.
18547 (ptmalloc_unlock_all2): Likewise.
18548 (ptmalloc_init): Likewise.
18549 (_int_new_arena): Likewise.
18550 (arena_get2): Likewise.
18551 * malloc/hooks.c (__malloc_get_state): Likewise.
18552 (__malloc_set_state): Likewise.
18553 * malloc/malloc.c: Likewise.
18554 (struct malloc_state): Likewise.
18555 (struct malloc_par): Likewise.
18556 (__libc_realloc): Likewise.
18557 (__libc_mallopt): Likewise.
18559 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18561 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
18563 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
18565 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
18566 macro to a function. Check for zero perturb_byte.
18567 (_int_malloc, _int_free): Remove zero perturb_byte checks.
18569 * malloc/malloc.c: (force_reg): Remove.
18570 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
18571 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
18572 force_reg by atomic_forced_read.
18573 * malloc/arena.c (ptmalloc_init): Likewise.
18574 * malloc/hooks.c (top_check): Likewise.
18576 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18578 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18580 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
18582 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18584 2013-12-08 Joseph Myers <joseph@codesourcery.com>
18586 * math/auto-libm-test-in: Add tests of lgamma.
18587 * math/auto-libm-test-out: Regenerated.
18588 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
18589 (M_LOG_2_SQRT_PIl): Likewise.
18590 (lgamma_test_data): Use AUTO_TESTS_f_f1.
18591 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18593 (func_calc_desc): Add mpfr_f_f1 union field.
18594 (ARGS1): New macro.
18602 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
18603 (test_functions): Add lgamma.
18604 (calc_generic_results): Handle mpfr_f_f1.
18605 * sysdeps/i386/fpu/libm-test-ulps: Update.
18606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18608 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18610 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
18611 __mpn_add_n for PowerPC64/POWER7.
18612 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
18613 __mpn_sub_n for PowerPC64/POWER7.
18615 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
18616 __mpn_addmul_1 for PowerPC64.
18617 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
18618 __mpn_submul_1 for PowerPC64.
18619 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
18621 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
18624 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
18627 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
18629 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18631 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
18633 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
18634 add multiarch folders.
18635 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
18636 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
18637 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
18638 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
18639 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
18640 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
18641 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
18642 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
18643 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
18644 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
18645 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
18646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
18647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
18648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
18649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
18650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
18651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
18653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
18654 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
18655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
18657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
18659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
18660 multiarch __ieee754_hypot for PowerPC32.
18661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
18663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
18665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
18666 multiarch __ieee754_hypotf for PowerPC32.
18668 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
18669 long_double_symbol only if __logbl is defined.
18670 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
18671 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
18672 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
18673 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
18674 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
18675 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
18676 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
18677 path for implementation.
18678 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
18679 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
18680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
18681 logb, and logbl multiarch implementations for PowerPC32.
18682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
18684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
18686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
18687 multiarch logb for PowerPC32.
18688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
18690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
18692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
18693 multiarch logbf for PowerPC32.
18694 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
18695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
18697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
18698 multiarch logbl implementation for PowerPC32.
18700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
18701 and modff multiarch implementations.
18702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
18704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
18706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
18707 multiarch modf for PowerPC32.
18708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
18710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
18712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
18713 multiarch modff for PowerPC32.
18715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
18716 and lrintf multiarch implementations.
18717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
18719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
18721 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
18722 multiarch lrint for PowerPC32.
18723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
18724 file: multiarch lrintf for PowerPC32.
18726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
18727 and lroundf multiarch implementations.
18728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
18730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
18732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
18734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
18735 multiarch lround for PowerPC32.
18736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
18737 file: multiarch lroundf for PowerPC32.
18739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
18740 copysign and copysignf multiarch implementations.
18741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
18743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
18745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
18746 file: multiarch copysign for PowerPC32.
18747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
18748 file: multiarch copysignf for PowerPC32.
18750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
18751 and truncf multiarch implementations.
18752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
18754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
18756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
18757 multiarch trunc for PowerPC32.
18758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
18760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
18762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
18763 multiarch truncf for PowerPC32.
18765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
18766 and roundf multiarch implementations.
18767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
18769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
18771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
18772 multiarch round for PowerPC32.
18773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
18775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
18777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
18778 multiarch roundf for PowerPC32.
18780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
18781 and floorf multiarch implementations.
18782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
18784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
18786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
18787 multiarch floor for PowerPC32.
18788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
18790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
18792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
18793 multiarch floorf for PowerPC32.
18795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
18796 and ceilf multiarch implementations.
18797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
18799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
18801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
18802 multiarch ceil for PowerPC32.
18803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
18805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
18807 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
18808 multiarch ceilf for PowerPC32.
18810 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
18812 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
18813 FINITEF is defined.
18814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
18815 and finitef multiarch implementations.
18816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
18818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
18820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
18821 multiarch finite for PowerPC32.
18822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
18824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
18825 file: multiarch finitef for PowerPC32.
18827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
18828 and isinff multiarch implementations.
18829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
18831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
18833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
18834 multiarch isinf for PowerPC32.
18835 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
18837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
18838 multiarch isinff for PowerPC32.
18840 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
18841 alias when __isnan is defined.
18842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
18843 and isnanf multiarch implementations.
18844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
18846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
18848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
18850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
18852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
18853 multiarch isnan for PowerPC32.
18854 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
18856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
18858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
18859 multiarch isnanf for PowerPC32.
18861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
18862 and sqrtf multiarch implementations.
18863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
18865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
18867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
18868 multiarch sqrt for PowerPC32.
18869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
18871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
18873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
18874 multiarch sqrtf for PowerPC32.
18876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
18877 and llroundf multiarch implementations.
18878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
18880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
18882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
18884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
18885 file: multiarch llround for PowerPC32.
18886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
18887 file: multiarch llroundf for PowerPC32.
18889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
18890 multiarch PowerPC32 fpu implementations.
18891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
18893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
18895 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
18896 multiarch llrint for PowerPC32.
18897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
18899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
18901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
18904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
18906 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
18908 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
18910 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
18912 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
18913 multiarch wordcopy for PPC32.
18914 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
18916 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18917 (__libc_ifunc_impl_list): Likewise.
18918 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
18919 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
18920 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
18921 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
18922 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
18923 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
18925 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
18926 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
18928 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
18930 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
18932 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
18933 multiarch wcscpy for PPC32.
18934 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
18936 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18937 (__libc_ifunc_impl_list): Likewise.
18938 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
18939 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
18940 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
18941 sysdeps/powerpc/power6/wcscpy.c.
18943 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
18944 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
18946 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
18948 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
18950 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
18951 multiarch wcsrchr for PPC32.
18952 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
18954 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18955 (__libc_ifunc_impl_list): Likewise.
18956 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
18957 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
18958 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
18959 sysdeps/powerpc/power6/wcsrchr.c.
18961 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
18963 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
18965 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
18966 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
18967 multiarch wcschr for PPc32.
18968 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
18970 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18971 (__libc_ifunc_impl_list): Likewise.
18972 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
18973 * sysdeps/powerpc/power6/wcschr.c: ... to here.
18974 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
18975 sysdeps/powerpc/power6/wcschr.c.
18977 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
18978 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
18980 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
18981 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
18982 file: multiarch strchr for PPC32.
18983 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
18985 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18986 (__libc_ifunc_impl_list): Likewise.
18988 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
18990 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
18992 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
18994 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
18995 multiarch strchrnul for PPC32.
18996 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
18998 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18999 (__libc_ifunc_impl_list): Likewise.
19001 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
19003 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
19004 multiarch strncasecmp for PPC32.
19005 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
19007 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
19008 multiarch strncasecmp_l for PPC32.
19009 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
19010 strncasecmp multiarch objects.
19011 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19012 (__libc_ifunc_impl_list): Likewise.
19014 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
19016 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
19017 multiarch strncasecmp for PPC32.
19018 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
19020 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
19021 multiarch strcasecmp_l for PPC32.
19022 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
19024 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19025 (__libc_ifunc_impl_list): Likewise.
19027 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
19029 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
19031 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
19032 multiarch strncmp for PPC32.
19033 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
19035 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19036 (__libc_ifunc_impl_list): Likewise.
19038 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
19039 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
19041 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
19042 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
19043 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
19045 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19046 (__libc_ifunc_impl_list): Likewise.
19048 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
19050 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
19052 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
19053 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
19055 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19056 (__libc_ifunc_impl_list): Likewise.
19058 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
19060 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
19062 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
19063 multiarch rawmemchr for PPC32.
19064 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
19066 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19067 (__libc_ifunc_impl_list): Likewise.
19069 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
19071 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
19073 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
19074 file: memrchr multiarch for PPC32.
19075 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
19077 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19078 (__libc_ifunc_impl_list): Likewise.
19080 * string/memchr.c (__memchr): Using macro to redefine symbol name.
19081 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
19083 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
19084 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
19085 multiarch memchr for PPC32.
19086 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
19088 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19089 (__libc_ifunc_impl_list): Likewise.
19091 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
19092 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
19094 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
19096 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
19097 file: multiarch mempcpy for PPC32.
19098 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
19100 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19101 (__libc_ifunc_impl_list): Likewise.
19103 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
19104 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
19105 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
19106 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
19107 multiarch bzero for PPC32.
19108 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
19110 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
19112 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
19113 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
19114 file: multiarch memset for PPC32.
19115 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
19116 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
19117 memset multiarch objects.
19118 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19119 (__libc_ifunc_impl_list): Likewise.
19121 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
19123 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
19124 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
19126 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
19127 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
19129 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19130 (__libc_ifunc_impl_list): Likewise.
19132 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
19133 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
19134 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
19136 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
19138 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
19140 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
19141 multiarch memcpy for PPC32.
19142 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
19144 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19145 (__libc_ifunc_impl_list): Likewise.
19147 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
19148 support multiarch for POWER/PPC32.
19149 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
19151 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
19152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
19153 Implies file to make multiarch folder appers before the fpu and
19154 default folder for power4 configuration.
19156 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19158 * scripts/bench.pl: Append volatile keyword to type.
19160 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19162 * sysdeps/sh/sotruss-lib.c: New file.
19163 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
19165 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19167 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19169 2013-12-05 Joseph Myers <joseph@codesourcery.com>
19172 * math/w_tgamma.c: Include <errno.h>.
19173 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
19174 * math/w_tgammaf.c: Include <errno.h>.
19175 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
19176 * math/w_tgammal.c: Include <errno.h>.
19177 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
19178 * math/auto-libm-test-in: Do not allow missing errno on tgamma
19179 underflow. Add more tgamma tests.
19180 * math/auto-libm-test-out: Regenerated.
19181 * sysdeps/i386/fpu/libm-test-ulps: Update.
19182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19184 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
19185 sin, sinh, tan, tanh, tgamma, y0 and y1.
19186 * math/auto-libm-test-out: Regenerated.
19187 * math/libm-test.inc (TEST_COND_x86_64): New macro.
19188 (TEST_COND_x86): Likewise.
19189 (M_E2l): Remove macro.
19191 (M_2_SQRT_PIl): Likewise.
19192 (M_SQRT_PIl): Likewise.
19193 (M_1_DIV_El): Likewise.
19194 (log_test_data): Use AUTO_TESTS_f_f.
19195 (log10_test_data): Likewise.
19196 (log1p_test_data): Likewise.
19197 (log2_test_data): Likewise.
19198 (sin_test_data): Likewise.
19199 (sin_tonearest_test_data): Likewise.
19200 (sin_towardzero_test_data): Likewise.
19201 (sin_downward_test_data): Likewise.
19202 (sin_upward_test_data): Likewise.
19203 (sinh_test_data): Likewise.
19204 (sinh_tonearest_test_data): Likewise.
19205 (sinh_towardzero_test_data): Likewise.
19206 (sinh_downward_test_data): Likewise.
19207 (sinh_upward_test_data): Likewise.
19208 (tan_test_data): Likewise.
19209 (tan_tonearest_test_data): Likewise.
19210 (tan_towardzero_test_data): Likewise.
19211 (tan_downward_test_data): Likewise.
19212 (tan_upward_test_data): Likewise.
19213 (tanh_test_data): Likewise.
19214 (tgamma_test_data): Likewise.
19215 (y0_test_data): Likewise.
19216 (y1_test_data): Likewise.
19217 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
19218 (special_real_inputs): Add pi/4.
19219 * sysdeps/i386/fpu/libm-test-ulps: Update.
19220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19222 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19224 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
19225 "longjmp_target" static probes.
19226 (__longjmp): Rename to __longjmp_symbol.
19227 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19228 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
19229 on which longjmp to generate.
19230 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
19231 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
19233 (__sigsetjmp): Rename to __sigsetjmp_symbol.
19234 (__sigjmp_save): Rename to __sigjmp_save_symbol.
19235 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
19236 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
19237 and __sigjmp_save_symbol based on which sigsetjmp to generated.
19238 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
19239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
19240 __longjmp_symbol based on which __longjmp to generate.
19241 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
19243 (setjmp): Rename to setjmp_symbol.
19244 (__sigsetjmp): Rename to __sigsetjmp_symbol.
19245 (_setjmp): Rename to _setjmp_symbol.
19246 (__sigsetjmp): Rename to __sigsetjmp_symbol.
19247 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
19248 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
19249 which setjmp to generate.
19250 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
19251 "longjmp_target" static probes.
19253 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19255 * benchtests/README: Add note about output arguments.
19256 * benchtests/bench-sincos.c: Remove file.
19257 * benchtests/sincos-inputs: New file.
19258 * scripts/bench.pl: Identify output arguments and define
19259 static variables for them.
19261 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
19264 * Makefile (INSTALL): Add install-plain.texi as the primary
19266 * manual/install-plain.texi: New file.
19267 * manual/install.texi: Include node directive only for
19268 non-plaintext output.
19270 2013-12-04 Joseph Myers <joseph@codesourcery.com>
19272 * stdlib/longlong.h: Update from GCC.
19276 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
19277 * math/w_j0f.c (y0f): Likewise.
19278 * math/w_j0l.c (__y0l): Likewise.
19279 * math/w_j1.c (y1): Likewise.
19280 * math/w_j1f.c (y1f): Likewise.
19281 * math/w_j1l.c (__y1l): Likewise
19282 * math/w_jn.c (yn): Likewise.
19283 * math/w_jnf.c (ynf): Likewise.
19284 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
19285 Bessel function pole errors in _POSIX_ mode. Use NAN as return
19286 value for Bessel function domain errors outside _SVID_ mode.
19287 Adjust sign of return value for yn (negative integer, 0).
19288 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
19289 by zero in return for negative x and set sign appropriately for
19291 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
19292 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
19293 * math/libm-test.inc (y0_test_data): Add more tests and adjust
19294 expectations in error cases.
19295 (y1_test_data): Likewise.
19296 (yn_test_data): Likewise.
19297 * sysdeps/i386/fpu/libm-test-ulps: Update.
19298 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19300 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19302 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
19303 "64" to "64-v1". Add "64-v2".
19304 (abi-64-options): Rename to ...
19305 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
19306 (abi-64-condition): Rename to ...
19307 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
19308 (abi-64-ld-soname): Rename to ...
19309 (abi-64-v1-ld-soname): ... this.
19310 (abi-64-v2-options): Define.
19311 (abi-64-v2-condition): Likewise.
19312 (abi-64-v2-ld-soname): Likewise.
19313 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
19314 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
19315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
19316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
19317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
19319 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19320 Alan Modra <amodra@gmail.com>
19322 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
19323 New versions for use with the ELFv2 ABI.
19324 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
19325 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
19327 (struct La_ppc64v2_retval): Likewise.
19328 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
19329 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
19330 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
19331 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
19332 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
19333 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
19334 Do not save or restore CR.
19335 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
19336 (_dl_profile_resolve): Do no save or restore CR. Support extended
19337 return values for ELFv2 ABI. Fix location of FPR return registers.
19338 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
19339 updated values for _CALL_ELF == 2.
19340 (La_regs, La_retval, int_retval): Likewise.
19342 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19344 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
19345 (FRAME_MIN_SIZE_PARM): Likewise.
19346 (FRAME_BACKCHAIN): Likewise.
19347 (FRAME_CR_SAVE): Likewise.
19348 (FRAME_LR_SAVE): Likewise.
19349 (FRAME_TOC_SAVE): Likewise.
19350 (FRAME_PARM_SAVE): Likewise.
19351 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
19352 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
19353 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
19354 (call_mcount_parm_offset): New macro.
19355 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
19356 (PROF): Use symbolic stack frame offsets.
19357 (TAIL_CALL_SYSCALL_ERROR): Likewise.
19358 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
19359 Redefine in terms of FRAME_MIN_SIZE.
19360 (_dl_runtime_resolve): Use symbolic stack frame offsets.
19361 (_dl_profile_resolve): Likewise. Update comment.
19362 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
19363 symbols stack frame offsets.
19364 (__sigsetjmp): Likewise.
19365 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
19366 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
19367 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
19368 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
19370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
19371 (FRAME_BACKCHAIN): Remove.
19372 (FRAME_CR_SAVE): Likewise.
19373 (FRAME_LR_SAVE): Likewise.
19374 (FRAME_COMPILER_DW): Likewise.
19375 (FRAME_LINKER_DW): Likewise.
19376 (FRAME_TOC_SAVE): Likewise.
19377 (FRAME_PARM_SAVE): Likewise.
19378 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
19379 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
19380 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
19381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
19382 (CHECK_SP): Use symbolic stack frame offsets.
19383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
19384 zone" instead of caller's parameter save area for temp storage.
19385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19386 Likewise. Also, use symbolic stack frame offsets.
19387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
19388 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
19389 our own stack frame instead of the caller's.
19390 (__socket): Use symbolic stack frame offsets.
19392 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19393 Alan Modra <amodra@gmail.com>
19395 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
19397 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
19398 (PPC64_LOCAL_ENTRY_OFFSET): Define.
19399 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
19401 (elf_machine_fixup_plt): Call it.
19402 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
19404 (elf_machine_rela): Update call to elf_machine_plt_conflict.
19405 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
19406 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
19407 r2 before calling target.
19409 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19410 Alan Modra <amodra@gmail.com>
19412 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
19413 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
19414 versions of macros to support ELFv2 ABI.
19415 (LOCALENTRY): New macro.
19416 (ENTRY, EALIGN): Use it.
19417 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
19418 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
19419 fall through into ENTRY entry point.
19420 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
19421 Only define if _CALL_ELF != 2.
19423 (elf_machine_matches_host): Verify ABI version matches.
19424 (RTLD_START): Use LOCALENTRY.
19425 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
19426 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
19427 (PLT_ENTRY_WORDS): New macro.
19428 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
19429 (elf_machine_runtime_setup): Support ELFv2 ABI.
19430 (elf_machine_fixup_plt): Likewise.
19431 (elf_machine_plt_conflict): Likewise.
19432 (resolve_ifunc): Likewise.
19433 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
19434 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
19436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
19437 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
19438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19439 (makecontext): Support ELFv2 ABI.
19440 * elf/elf.h (EF_PPC64_ABI): Define.
19442 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19444 * sysdeps/powerpc/powerpc64/sysdep.h
19445 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
19446 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
19447 (ENTRY) [ASSEMBLER]: ... but instead here ...
19448 (EALIGN) [ASSEMBLER]: ... and here.
19449 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
19450 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
19451 (ENTRY_2) [!ASSEMBLER]: Use it.
19452 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
19453 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
19454 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
19455 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
19456 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
19457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
19458 Use PPC64_LOAD_FUNCPTR.
19460 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
19462 2013-12-04 Alan Modra <amodra@gmail.com>
19464 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
19465 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
19466 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
19467 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
19469 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
19470 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
19471 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
19472 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
19473 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
19474 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
19476 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19479 (__makecontext): Fix incorrect CFI when backtracing out of
19480 context created via makecontext.
19481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
19482 (__setcontext): Fix incorrect CFI during switch to new context.
19483 (__novec_setcontext): Likewise.
19485 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
19488 * time/strptime_l.c (__strptime_internal): Allow modifiers
19490 * time/tst-strptime.c (day_tests): Add testcase.
19492 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19494 * scripts/bench.pl: Skip over blank lines.
19496 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
19499 * manual/time.texi (Calendar Time): Clarify what timezone functions
19502 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19504 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19506 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
19508 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
19510 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
19511 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
19512 * debug/memset_chk.c (__memset_chk): Likewise.
19513 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
19514 * debug/strncpy_chk.c: Likewise.
19516 2013-12-03 Joseph Myers <joseph@codesourcery.com>
19520 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
19521 (__ieee754_exp): For possibly underflowing results, check size of
19522 result and force underflow exception if required.
19523 * math/auto-libm-test-in: Add more tests of exp.
19524 * math/auto-libm-test-out: Regenerated.
19525 * sysdeps/i386/fpu/libm-test-ulps: Update.
19526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19529 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
19530 * math/w_exp2f.c (__exp2f): Likewise.
19531 * math/w_exp2l.c (__exp2l): Likewise.
19532 * math/auto-libm-test-in: Do not allow missing errno on exp2
19534 * math/auto-libm-test-out: Regenerated.
19536 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
19539 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
19540 handle filename validation.
19541 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
19544 2013-12-03 Joseph Myers <joseph@codesourcery.com>
19547 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
19548 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
19549 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
19551 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
19552 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
19553 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19554 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
19555 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19556 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
19557 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19558 * math/auto-libm-test-in: Don't allow missing errno from erfc.
19559 Add more erfc tests.
19560 * math/auto-libm-test-out: Regenerated.
19561 * sysdeps/i386/fpu/libm-test-ulps: Update.
19562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19564 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
19565 exp2, expm1, j0 and j1.
19566 * math/auto-libm-test-out: Regenerated.
19567 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
19568 (erfc_test_data): Likewise.
19569 (exp_test_data): Likewise.
19570 (exp_tonearest_test_data): Likewise.
19571 (exp_towardzero_test_data): Likewise.
19572 (exp_downward_test_data): Likewise.
19573 (exp_upward_test_data): Likewise.
19574 (exp10_test_data): Likewise.
19575 (exp2_test_data): Likewise.
19576 (expm1_test_data): Likewise.
19577 (j0_test_data): Likewise.
19578 (j1_test_data): Likewise.
19579 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
19580 (input_flag_type): Add flag_xfail_rounding.
19581 (input_flags): Add xfail-rounding.
19582 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
19583 (output_for_one_input_case): Handle flag_xfail_rounding.
19584 * sysdeps/i386/fpu/libm-test-ulps: Update.
19585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19587 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
19590 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
19593 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19596 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
19597 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
19598 (STAP_PROBE0): New macro.
19599 (STAP_PROBE1): Likewise.
19600 (STAP_PROBE2): Likewise.
19601 (STAP_PROBE3): Likewise.
19602 (STAP_PROBE4): Likewise.
19604 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
19606 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
19608 2013-12-02 Steve Ellcey <sellcey@mips.com>
19610 * benchtests/Makefile (bench): Add sqrt.
19611 (LDLIBS-bench-sqrt): New.
19612 * benchtests/sqrt-input: New.
19614 2013-12-02 Pavel Simerda <psimerda@redhat.com>
19616 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
19617 (GAIH_EAI): Likewise.
19618 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
19619 (gaih_inet): Likewise.
19620 (getaddrinfo): Don't use GAIH_EAI.
19622 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
19623 (struct gaih): Remove definition.
19625 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19627 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
19628 Use HERRNOP directly.
19630 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19632 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19634 2013-11-30 Joseph Myers <joseph@codesourcery.com>
19636 * math/gen-auto-libm-tests.c (test_functions): Add more
19637 single-argument functions.
19638 (special_fill_pi_2): New function.
19639 (special_fill_minus_pi_2): Likewise.
19640 (special_fill_pi_6): Likewise.
19641 (special_fill_minus_pi_6): Likewise.
19642 (special_fill_pi_3): Likewise.
19643 (special_fill_2pi_3): Likewise.
19644 (special_fill_e): Likewise.
19645 (special_fill_1_e): Likewise.
19646 (special_fill_e_minus_1): Likewise.
19647 (special_real_inputs): Add more special inputs.
19648 (output_for_one_input_case): Do not require ERANGE on underflow to
19649 zero if round-to-nearest result does not underflow to zero, unless
19650 exact results required.
19651 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
19652 atan, atanh, cbrt, cos and cosh.
19653 * math/auto-libm-test-out: Regenerated.
19654 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
19655 (acos_tonearest_test_data): Likewise.
19656 (acos_towardzero_test_data): Likewise.
19657 (acos_downward_test_data): Likewise.
19658 (acos_upward_test_data): Likewise.
19659 (acosh_test_data): Likewise.
19660 (asin_test_data): Likewise.
19661 (asin_tonearest_test_data): Likewise.
19662 (asin_towardzero_test_data): Likewise.
19663 (asin_upward_test_data): Likewise.
19664 (asinh_test_data): Likewise.
19665 (atan_test_data): Likewise.
19666 (atanh_test_data): Likewise.
19667 (cbrt_test_data): Likewise.
19668 (cos_test_data): Likewise.
19669 (cos_tonearest_test_data): Likewise.
19670 (cos_towardzero_test_data): Likewise.
19671 (cos_downward_test_data): Likewise.
19672 (cos_upward_test_data): Likewise.
19673 (cosh_test_data): Likewise.
19674 (cosh_tonearest_test_data): Likewise.
19675 (cosh_towardzero_test_data): Likewise.
19676 (cosh_downward_test_data): Likewise.
19677 (cosh_upward_test_data): Likewise.
19678 * sysdeps/i386/fpu/libm-test-ulps: Update.
19679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19681 2013-11-29 Joseph Myers <joseph@codesourcery.com>
19684 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
19685 * math/w_exp10f.c (__exp10f): Likewise.
19686 * math/w_exp10l.c (__exp10l): Likewise.
19687 * math/libm-test.inc (exp10_test_data): Add more tests and expect
19688 errno settings in existing tests.
19691 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
19692 precision control set to double precision.
19693 * sysdeps/i386/fpu/w_sqrt.c: New file.
19694 * math/auto-libm-test-in: Add more tests.
19695 * math/auto-libm-test-out: Update.
19697 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
19698 (sqrt_test_tonearest): New function.
19699 (sqrt_towardzero_test_data): New variable.
19700 (sqrt_test_towardzero): New function.
19701 (sqrt_downward_test_data): New variable.
19702 (sqrt_test_downward): New function.
19703 (sqrt_upward_test_data): New variable.
19704 (sqrt_test_upward): New function.
19705 (main): Call the new functions.
19707 * math/gen-auto-libm-tests.c: New file.
19708 * math/auto-libm-test-in: Likewise.
19709 * math/auto-libm-test-out: New generated file.
19710 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
19712 (%beautify): Add generated representations of zero.
19713 (top level): Set $auto_input and call parse_auto_input.
19714 (beautify): Remove trailing "f" from hex float constants.
19715 (parse_args): Handle XFAIL_TEST.
19716 (convert_condition): New function.
19717 (or_value): Likewise.
19718 (or_cond_value): Likewise.
19719 (generate_testfile): Handle AUTO_TESTS_* lines.
19720 (parse_auto_input): New function.
19721 * math/libm-test.inc (XFAIL_TEST): New macro.
19722 (ERRNO_UNCHANGED): Update value.
19723 (ERRNO_EDOM): Likewise.
19724 (ERRNO_ERANGE): Likewise.
19725 (IGNORE_RESULT): Likewise.
19726 (TEST_COND_flt_32): New macro.
19727 (TEST_COND_dbl_64): Likewise.
19728 (TEST_COND_ldbl_96_intel): Likewise.
19729 (TEST_COND_ldbl_96_m68k): Likewise.
19730 (TEST_COND_ldbl_128): Likewise.
19731 (TEST_COND_ldbl_128ibm): Likewise.
19732 (TEST_COND_long32): Likewise.
19733 (TEST_COND_long64): Likewise.
19734 (TEST_COND_before_rounding): Likewise.
19735 (TEST_COND_after_rounding): Likewise.
19736 (enable_test): Handle XFAIL_TEST flag.
19737 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
19738 with finite results.
19739 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
19740 auto-libm-test-out.
19742 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19743 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19746 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
19747 __tls_get_addr_internal instead of __tls_get_offset in order to
19748 avoid GOT pointer dependency. Make rtld export
19749 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
19750 __tls_get_addr since we are a __tls_get_offset platform.
19751 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
19752 GOT pointer being set up before.
19753 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
19755 2013-11-28 Joseph Myers <joseph@codesourcery.com>
19757 * manual/math.texi (Errors in Math Functions): Document accuracy
19761 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
19762 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
19763 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19764 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19765 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19766 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19767 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19768 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
19769 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
19770 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19771 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19772 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19773 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19774 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19775 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19776 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
19778 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
19779 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
19780 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
19781 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
19782 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
19784 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
19786 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
19788 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
19789 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
19790 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
19791 atomic-feupdateenv and flt-rounds.
19792 * sysdeps/powerpc/nofpu/Versions (libc): Add
19793 __atomic_feholdexcept, __atomic_feclearexcept,
19794 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
19795 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
19796 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
19797 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
19798 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
19800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
19803 * manual/arith.texi (FP Exceptions): Document that exceptions may
19804 not be raised when matherr is used.
19805 (Math Error Reporting): Document overflow in directed rounding
19806 modes. Document that errno may not be set when finite values are
19807 returned on overflow. Document intent to set errno on underflow
19808 only for underflow to zero.
19811 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
19812 round-to-nearest then adjust result for other rounding modes.
19813 * include/fenv.h (fegetround): Use libm_hidden_proto.
19814 * math/fegetround.c (fegetround): Use libm_hidden_def.
19815 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
19816 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
19817 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
19818 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
19820 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
19821 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19822 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
19823 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
19825 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19828 * nss/Versions (libnss_files): Add
19829 _nss_files_gethostbyname3_r.
19830 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
19832 (HOST_DB_LOOKUP): Remove macro.
19833 (_nss_files_gethostbyname_r): Implement function without the
19834 HOST_DB_LOOKUP macro.
19835 (_nss_files_gethostbyname2_r): Likewise.
19837 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
19839 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
19841 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
19843 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
19844 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
19847 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19849 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
19850 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
19851 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
19852 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
19853 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
19854 __fe_nomask_env_priv and attribute_hidden.
19855 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
19856 (libc_feupdateenv_test_ppc): Likewise.
19857 (libc_feresetround_ppc): Likewise.
19858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19859 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
19860 compat_symbol macro.
19861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19862 (__fe_nomask_env): Likewise.
19863 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
19865 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
19867 * string/Makefile: Remove ifunc tests.
19868 * string/test-string.h: Define TEST_IFUNC.
19869 * string/test-bcopy-ifunc.c: Remove.
19870 * string/test-bzero-ifunc.c: Likewise.
19871 * string/test-memccpy-ifunc.c: Likewise.
19872 * string/test-memchr-ifunc.c: Likewise.
19873 * string/test-memcmp-ifunc.c: Likewise.
19874 * string/test-memcpy-ifunc.c: Likewise.
19875 * string/test-memmem-ifunc.c: Likewise.
19876 * string/test-memmove-ifunc.c: Likewise.
19877 * string/test-mempcpy-ifunc.c: Likewise.
19878 * string/test-memrchr-ifunc.c: Likewise.
19879 * string/test-memset-ifunc.c: Likewise.
19880 * string/test-rawmemchr-ifunc.c: Likewise.
19881 * string/test-stpcpy-ifunc.c: Likewise.
19882 * string/test-stpncpy-ifunc.c: Likewise.
19883 * string/test-strcasecmp-ifunc.c: Likewise.
19884 * string/test-strcasestr-ifunc.c: Likewise.
19885 * string/test-strcat-ifunc.c: Likewise.
19886 * string/test-strchr-ifunc.c: Likewise.
19887 * string/test-strchrnul-ifunc.c: Likewise.
19888 * string/test-strcmp-ifunc.c: Likewise.
19889 * string/test-strcpy-ifunc.c: Likewise.
19890 * string/test-strcspn-ifunc.c: Likewise.
19891 * string/test-strlen-ifunc.c: Likewise.
19892 * string/test-strncasecmp-ifunc.c: Likewise.
19893 * string/test-strncat-ifunc.c: Likewise.
19894 * string/test-strncmp-ifunc.c: Likewise.
19895 * string/test-strncpy-ifunc.c: Likewise.
19896 * string/test-strnlen-ifunc.c: Likewise.
19897 * string/test-strpbrk-ifunc.c: Likewise.
19898 * string/test-strrchr-ifunc.c: Likewise.
19899 * string/test-strspn-ifunc.c: Likewise.
19900 * string/test-strstr-ifunc.c: Likewise.
19902 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
19904 * benchtests/Makefile: Remove ifunc tests.
19905 * benchtests/bench-string.h: Define TEST_IFUNC.
19906 * benchtests/bench-bcopy-ifunc.c: Remove.
19907 * benchtests/bench-bzero-ifunc.c: Likewise.
19908 * benchtests/bench-memccpy-ifunc.c: Likewise.
19909 * benchtests/bench-memchr-ifunc.c: Likewise.
19910 * benchtests/bench-memcmp-ifunc.c: Likewise.
19911 * benchtests/bench-memcpy-ifunc.c: Likewise.
19912 * benchtests/bench-memmem-ifunc.c: Likewise.
19913 * benchtests/bench-memmove-ifunc.c: Likewise.
19914 * benchtests/bench-mempcpy-ifunc.c: Likewise.
19915 * benchtests/bench-memrchr-ifunc.c: Likewise.
19916 * benchtests/bench-memset-ifunc.c: Likewise.
19917 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
19918 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
19919 * benchtests/bench-stpcpy-ifunc.c: Likewise.
19920 * benchtests/bench-stpncpy-ifunc.c: Likewise.
19921 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
19922 * benchtests/bench-strcasestr-ifunc.c: Likewise.
19923 * benchtests/bench-strcat-ifunc.c: Likewise.
19924 * benchtests/bench-strchr-ifunc.c: Likewise.
19925 * benchtests/bench-strchrnul-ifunc.c: Likewise.
19926 * benchtests/bench-strcmp-ifunc.c: Likewise.
19927 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
19928 * benchtests/bench-strcpy-ifunc.c: Likewise.
19929 * benchtests/bench-strcspn-ifunc.c: Likewise.
19930 * benchtests/bench-strlen-ifunc.c: Likewise.
19931 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
19932 * benchtests/bench-strncat-ifunc.c: Likewise.
19933 * benchtests/bench-strncmp-ifunc.c: Likewise.
19934 * benchtests/bench-strncpy-ifunc.c: Likewise.
19935 * benchtests/bench-strnlen-ifunc.c: Likewise.
19936 * benchtests/bench-strpbrk-ifunc.c: Likewise.
19937 * benchtests/bench-strrchr-ifunc.c: Likewise.
19938 * benchtests/bench-strsep-ifunc.c: Likewise.
19939 * benchtests/bench-strspn-ifunc.c: Likewise.
19940 * benchtests/bench-strstr-ifunc.c: Likewise.
19942 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
19944 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
19946 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
19948 * resolv/netdb.h: Use __glibc_reserved instead __unused.
19949 * rt/aio.h: Likewise.
19950 * sysdeps/gnu/bits/utmp.h: Likewise.
19951 * sysdeps/gnu/bits/utmpx.h: Likewise.
19952 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19953 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
19954 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
19955 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
19956 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
19957 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
19958 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
19959 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
19960 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
19961 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
19962 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
19963 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
19964 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
19965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
19966 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19967 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
19968 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
19969 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
19970 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
19971 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
19972 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
19973 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
19974 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
19975 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
19976 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
19977 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19978 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
19979 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
19980 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
19981 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
19982 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
19983 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
19984 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
19985 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
19986 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
19987 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
19988 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
19989 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
19990 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
19991 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
19992 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
19993 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
19995 2013-11-25 Carlos O'Donell <carlos@redhat.com>
19998 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
19999 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
20001 2013-11-25 Joseph Myers <joseph@codesourcery.com>
20003 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
20004 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
20007 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20009 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
20010 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
20011 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
20012 (__fesetround): Remove define.
20013 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
20014 rounding and exceptions handling.
20015 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
20016 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
20017 (__fe_nomask_env): Likewise.
20018 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
20019 __fegetround instead of fegetround.
20020 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
20021 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
20023 2013-11-21 Roland McGrath <roland@hack.frob.com>
20025 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
20028 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
20030 2013-11-21 Meador Inge <meadori@codesourcery.com>
20033 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
20034 (encrypt_r): Likewise.
20035 * malloc/obstack.h (obstack_free): Likewise.
20036 * posix/unistd.h (encrypt): Likewise.
20038 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
20040 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
20041 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
20042 DL_CALL_DT_FINI() that call the functions directly.
20043 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
20044 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
20045 * elf/dl-fini.c: Likewise.
20047 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
20049 * malloc/hooks.c (memalign_check): Add alignment rounding.
20050 * malloc/malloc.c (_mid_memalign): New function.
20051 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
20052 Implement by calling _mid_memalign.
20053 * manual/probes.texi (Memory Allocation Probes): Remove
20054 memory_valloc_retry and memory_pvalloc_retry.
20056 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20058 * locale/programs/locarchive.c (open_archive): Add const
20059 qualifier to ARCHIVEFNAME and copy default fname to
20063 * libio/tst-widetext.input: Rename Oriya to Odia.
20064 * locale/iso-639.def: Likewise.
20066 * manual/probes.texi (Mathematical Function Probes): Add
20067 documentation for sin, cos, asin and acos probes.
20068 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
20069 (__sin32): Add slowasin probe.
20070 (__cos32): Add slowacos probe.
20071 (__mpsin): Add slowsin probe.
20072 (__mpcos): Add slowcos probe.
20074 2013-11-19 Joseph Myers <joseph@codesourcery.com>
20077 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
20078 thread-local __sim_exceptions_thread and global
20079 __sim_exceptions_global.
20080 (__sim_disabled_exceptions): Change to thread-local
20081 __sim_disabled_exceptions_thread and global
20082 __sim_disabled_exceptions_global.
20083 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
20084 and global __sim_round_mode_global.
20085 (__simulate_exceptions): Use thread-local floating-point state and
20086 set global state from it as needed.
20087 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
20088 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
20089 __sim_round_mode_thread.
20090 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
20091 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
20092 and global __sim_exceptions_global.
20093 (__sim_disabled_exceptions): Change to thread-local
20094 __sim_disabled_exceptions_thread and global
20095 __sim_disabled_exceptions_global.
20096 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
20097 and global __sim_round_mode_global.
20098 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
20099 (SIM_SET_GLOBAL): Likewise.
20100 * sysdeps/powerpc/soft-fp/sfp-machine.h
20101 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
20102 __sim_round_mode_thread.
20103 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
20104 __sim_disabled_exceptions_thread.
20105 (__sim_exceptions): Change to __sim_exceptions_thread.
20106 (__sim_disabled_exceptions): Change to
20107 __sim_disabled_exceptions_thread.
20108 (__sim_round_mode): Change to __sim_round_mode_thread.
20109 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
20110 thread-local floating-point state and set global state from it as
20112 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
20113 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
20114 (__sim_disabled_exceptions): Remove extern declaration.
20115 (feenableexcept): Use thread-local floating-point state and set
20116 global state from it as needed.
20117 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
20118 extern declaration.
20119 (__sim_disabled_exceptions): Likewise.
20120 (__sim_round_mode): Likewise.
20121 (__fegetenv): Use thread-local floating-point state.
20122 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
20123 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
20124 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
20125 floating-point state and set global state from it as needed.
20126 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
20127 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
20128 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
20130 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
20131 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
20133 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
20134 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
20135 Use __sim_round_mode_thread.
20136 * math/test-fenv-tls.c: New file.
20137 * math/Makefile (tests): Add test-fenv-tls.
20138 ($(objpfx)test-fenv-tls): Depend on
20139 $(common-objpfx)nptl/libpthread.so.
20141 2013-11-19 Andreas Schwab <schwab@suse.de>
20143 * locale/programs/locale.c (show_info): Decode wordarray elements.
20144 * locale/categories.def (LC_MONETARY): Add element for
20145 _NL_MONETARY_CRNCYSTR.
20146 * locale/C-monetary.c (conversion_rate): New variable.
20147 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
20150 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
20152 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
20153 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
20155 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
20157 * elf/Makefile (tst-auxv): New test.
20158 * elf/tst-auxv.c: New
20159 * elf/rtld.c (dl_main): Adjust AT_EXECFN
20161 2013-11-18 Joseph Myers <joseph@codesourcery.com>
20163 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
20164 (hidden_proto): Caller changed.
20165 (hidden_tls_proto): New macro.
20166 (libc_hidden_tls_proto): Likewise.
20167 (rtld_hidden_tls_proto): Likewise.
20168 (libm_hidden_tls_proto): Likewise.
20169 (libresolv_hidden_tls_proto): Likewise.
20170 (librt_hidden_tls_proto): Likewise.
20171 (libdl_hidden_tls_proto): Likewise.
20172 (libnss_files_hidden_tls_proto): Likewise.
20173 (libnsl_hidden_tls_proto): Likewise.
20174 (libnss_nisplus_hidden_tls_proto): Likewise.
20175 (libutil_hidden_tls_proto): Likewise.
20177 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
20180 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
20181 (decompose_rpath): Defer expansion to fillin_rpath.
20182 (_dl_init_paths): Pass linkmap to fillin_rpath.
20184 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20186 * benchtests/Makefile: Add strsep.
20187 * benchtests/bench-strsep.c: New file: strsep benchtest.
20188 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
20190 2013-11-18 Andreas Schwab <schwab@suse.de>
20192 * locale/programs/locale.c (show_info) [case byte]: Check for
20193 '\377' instead of '\177'.
20194 * locale/C-monetary.c (not_available): Always use "\377".
20195 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
20196 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
20197 detect unavailable sign_posn locale elements.
20198 * locale/localeconv.c (__localeconv): For grouping and
20199 mon_grouping handle "\177" and "\377" like no grouping.
20200 (INT_ELEM): New macro. Use it to set all numeric members.
20201 * locale/programs/ld-monetary.c (monetary_read)
20202 <tok_mon_grouping>: Normalize single -1 to the empty string.
20203 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
20206 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
20209 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
20210 when we match (nil).
20211 * stdio-common/tst-sscanf.c (struct test): Add testcase.
20213 2013-11-16 Joseph Myers <joseph@codesourcery.com>
20215 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
20216 (NO_TEST_INLINE): Update value.
20217 (ERRNO_UNCHANGED): Likewise.
20218 (ERRNO_EDOM): Likewise.
20219 (ERRNO_ERANGE): Likewise.
20220 (IGNORE_RESULT): Likewise.
20221 (check_float_internal): Check signs of NaN results if
20222 TEST_NAN_SIGN used.
20223 (check_complex): Pass TEST_NAN_SIGN flag through to second
20224 check_float_internal call.
20225 (copysign_test_data): Add tests with quiet NaNs as second
20226 argument. Use TEST_NAN_SIGN.
20227 (fabs_test_data): Add test of negative quiet NaN argument. Use
20229 (signbit_test_data): Add tests of quiet NaN argument.
20230 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
20232 * math/gen-libm-test.pl (show_exceptions): Take extra argument
20234 (parse_args): Handle function results specified as IGNORE.
20235 * math/libm-test.inc (IGNORE_RESULT): New macro.
20236 (check_float_internal): Do not check numerical result if flag
20238 (check_complex): Pass through IGNORE_RESULT to second
20239 check_float_internal call.
20240 (check_int): Do not check numerical result if flag IGNORE_RESULT
20242 (check_long): Likewise.
20243 (check_bool): Likewise.
20244 (check_longlong): Likewise.
20245 (lrint_test_data): Add tests of infinite and NaN arguments.
20246 (lrint_tonearest_test_data): Likewise.
20247 (lrint_towardzero_test_data): Likewise.
20248 (lrint_downward_test_data): Likewise.
20249 (lrint_upward_test_data): Likewise.
20250 (llrint_test_data): Likewise.
20251 (llrint_tonearest_test_data): Likewise.
20252 (llrint_towardzero_test_data): Likewise.
20253 (llrint_downward_test_data): Likewise.
20254 (llrint_upward_test_data): Likewise.
20255 (lround_test_data): Likewise.
20256 (llround_test_data): Likewise.
20258 * math/libm-test.inc (NO_TEST_INLINE): New macro.
20259 (ERRNO_UNCHANGED): Update value.
20260 (ERRNO_EDOM): Likewise.
20261 (ERRNO_ERANGE): Likewise.
20262 (NO_TEST_INLINE_FLOAT): New macro.
20263 (NO_TEST_INLINE_DOUBLE): Likewise.
20264 (enable_test): New function.
20265 (RUN_TEST_f_f): Check enable_test before running test.
20266 (RUN_TEST_2_f): Likewise.
20267 (RUN_TEST_fff_f): Likewise.
20268 (RUN_TEST_c_f): Likewise.
20269 (RUN_TEST_f_f1): Likewise.
20270 (RUN_TEST_fF_f1): Likewise.
20271 (RUN_TEST_fI_f1): Likewise.
20272 (RUN_TEST_ffI_f1): Likewise.
20273 (RUN_TEST_c_c): Likewise.
20274 (RUN_TEST_cc_c): Likewise.
20275 (RUN_TEST_f_i): Likewise.
20276 (RUN_TEST_f_i_tg): Likewise.
20277 (RUN_TEST_ff_i_tg): Likewise.
20278 (RUN_TEST_f_b): Likewise.
20279 (RUN_TEST_f_b_tg): Likewise.
20280 (RUN_TEST_f_l): Likewise.
20281 (RUN_TEST_f_L): Likewise.
20282 (RUN_TEST_fFF_11): Likewise.
20283 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
20285 (cosh_test_data): Likewise.
20286 (exp_test_data): Likewise.
20287 (expm1_test_data): Likewise.
20288 (hypot_test_data): Likewise.
20289 (pow_test_data): Likewise.
20290 (sinh_test_data): Likewise.
20291 (tanh_test_data): Likewise.
20292 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
20295 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
20296 tests with quiet NaN input and output.
20297 (acosh_test_data): Likewise.
20298 (asin_test_data): Likewise.
20299 (asinh_test_data): Likewise.
20300 (atan_test_data): Likewise.
20301 (atanh_test_data): Likewise.
20302 (atan2_test_data): Likewise.
20303 (cbrt_test_data): Likewise.
20304 (cos_test_data): Likewise.
20305 (cosh_test_data): Likewise.
20306 (erf_test_data): Likewise.
20307 (erfc_test_data): Likewise.
20308 (exp_test_data): Likewise.
20309 (exp10_test_data): Likewise.
20310 (exp2_test_data): Likewise.
20311 (expm1_test_data): Likewise.
20312 (hypot_test_data): Likewise.
20313 (j0_test_data): Likewise.
20314 (j1_test_data): Likewise.
20315 (jn_test_data): Likewise.
20316 (lgamma_test_data): Likewise.
20317 (log_test_data): Likewise.
20318 (log10_test_data): Likewise.
20319 (log1p_test_data): Likewise.
20320 (log2_test_data): Likewise.
20321 (pow_test_data): Likewise.
20322 (scalb_test_data): Likewise.
20323 (sin_test_data): Likewise.
20324 (sincos_test_data): Likewise.
20325 (sinh_test_data): Likewise.
20326 (tan_test_data): Likewise.
20327 (tanh_test_data): Likewise.
20328 (tgamma_test_data): Likewise.
20329 (y0_test_data): Likewise.
20330 (y1_test_data): Likewise.
20331 (yn_test_data): Likewise.
20334 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
20335 argument being NaN and avoid computations with second argument in
20337 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
20338 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
20339 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
20341 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
20343 * locale/iso-639.def: Add Chitwani Tharu (the).
20345 2013-11-14 Andreas Schwab <schwab@suse.de>
20347 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
20348 word instead of empty string.
20350 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20353 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
20354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20355 (__fe_nomask_env): Likewise.
20357 2013-11-13 Steve Ellcey <sellcey@mips.com>
20359 * benchtests/bench-timing.h: Include time.h.
20361 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
20364 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
20366 * sysdeps/unix/sysv/linux/configure: Regenerated.
20368 2013-11-13 Joseph Myers <joseph@codesourcery.com>
20371 * stdlib/strtod_l.c (round_and_return): Do not consider
20372 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
20373 exponent one less than half the least subnormal exponent.
20374 * stdlib/test-strtod-round-data: Add more tests.
20375 * stdlib/tst-strtod-round.c (tests): Regenerated.
20377 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20380 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
20381 (__fe_mask_env): Likewise.
20382 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
20383 libm_hidden_proto and add function prototype.
20384 (__fe_mask_env): Add function prototype.
20385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20386 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
20387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
20388 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
20389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20390 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
20392 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20394 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
20395 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
20397 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20399 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
20400 of htab_find_slot().
20402 2013-11-11 David S. Miller <davem@davemloft.net>
20405 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
20406 symbol in the non-vis3 case in static builds.
20407 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
20408 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
20409 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
20410 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
20412 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
20415 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
20418 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20420 * benchtests/Makefile: Add bench-strtod.
20421 * benchtests/bench-strtod.c: New file: strtod benchtest
20423 2013-11-11 Andreas Schwab <schwab@suse.de>
20426 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
20427 terminating NUL in key length.
20429 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20431 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
20432 Add artificial ODP entry for vDSO symbol for PPC64.
20433 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
20434 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
20436 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
20439 * nss/getent.c (services_keys): Recognize services starting with digit.
20441 2013-11-06 David S. Miller <davem@davemloft.net>
20444 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
20445 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
20447 2013-11-06 Will Newton <will.newton@linaro.org>
20449 * manual/memory.texi (Malloc Examples): Remove register
20450 keyword from examples.
20452 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
20454 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
20456 2013-11-04 Joseph Myers <joseph@codesourcery.com>
20459 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
20460 depending on [__GCC_IEC_559 > 0].
20461 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
20462 depending on [__GCC_IEC_559_COMPLEX > 0].
20464 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
20466 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
20469 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
20471 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
20473 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
20476 * malloc/malloc (malloc_info): Do not handle first bin as
20479 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
20481 * locale/iso-639.def: Add Central Nahuatl (nhn).
20483 2013-11-01 Bruno Haible <bruno@clisp.org>
20486 * manual/math.texi (BSD Random): Specify range upper bound as
20489 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
20491 * locale/iso-639.def: Add Meadow Mari (mhr).
20493 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
20495 [BZ #14752], [BZ #15763]
20496 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
20498 * rt/tst_shm.c: Add test for escaping directory.
20500 2013-10-31 Andreas Schwab <schwab@suse.de>
20503 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
20504 followed by 'x' as part of digit sequence.
20505 * stdio-common/tst-sscanf.c (double_tests2): New tests.
20507 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
20510 * configure.ac: allow GNU Make 4.0 and greater.
20511 * configure: Regenerated.
20513 2013-10-30 Will Newton <will.newton@linaro.org>
20516 * malloc/hooks.c (memalign_check): Limit alignment to the
20517 maximum representable power of two.
20518 * malloc/malloc.c (__libc_memalign): Likewise.
20519 * malloc/tst-memalign.c (do_test): Add test for very
20520 large alignment values.
20521 * malloc/tst-posix_memalign.c (do_test): Likewise.
20523 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
20526 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
20527 (munmap_chunk): Likewise.
20528 (mremap_chunk): Likewise.
20530 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
20533 * stdlib/div.c (div): Remove obsolete code.
20534 * stdlib/ldiv.c (ldiv): Likewise.
20535 * stdlib/lldiv.c (lldiv): Likewise.
20537 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20540 * nss/nss_files/files-XXX.c (get_contents_ret): New
20542 (get_contents): New function.
20543 (internal_getent): Use it. Expand size of LINEBUFLEN.
20545 2013-10-30 Mike Frysinger <vapier@gentoo.org>
20547 * configure.in: Moved to ...
20548 * configure.ac: ... here. Change reference to configure.in
20550 * sysdeps/arm/preconfigure.ac: ... here.
20551 configure.in to configure.ac.
20552 * sysdeps/gnu/configure.in: Moved to ...
20553 * sysdeps/gnu/configure.ac: ... here.
20554 * sysdeps/i386/configure.in: Moved to ...
20555 * sysdeps/i386/configure.ac: ... here.
20556 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
20557 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
20558 * sysdeps/mach/configure.in: Moved to ...
20559 * sysdeps/mach/configure.ac: ... here.
20560 * sysdeps/mach/hurd/configure.in: Moved to ...
20561 * sysdeps/mach/hurd/configure.ac: ... here.
20562 * sysdeps/powerpc/configure.in: Moved to ...
20563 * sysdeps/powerpc/configure.ac: ... here.
20564 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
20565 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
20566 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
20567 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
20568 * sysdeps/s390/s390-32/configure.in: Moved to ...
20569 * sysdeps/s390/s390-32/configure.ac: ... here.
20570 * sysdeps/s390/s390-64/configure.in: Moved to ...
20571 * sysdeps/s390/s390-64/configure.ac: ... here.
20572 * sysdeps/sh/configure.in: Moved to ...
20573 * sysdeps/sh/configure.ac: ... here.
20574 * sysdeps/sparc/configure.in: Moved to ...
20575 * sysdeps/sparc/configure.ac: ... here.
20576 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
20577 * sysdeps/unix/sysv/linux/configure.ac: ... here.
20578 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
20579 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
20580 * sysdeps/x86_64/configure.in: Moved to ...
20581 * sysdeps/x86_64/configure.ac: ... here.
20582 * sysdeps/x86_64/preconfigure.in: Moved to ...
20583 * sysdeps/x86_64/preconfigure.ac: ... here.
20584 * aclocal.m4: Change reference to configure.in to configure.ac.
20585 * config.h.in: Likewise.
20586 * manual/install.texi: Likewise.
20587 * manual/maint.texi: Likewise.
20588 * Makefile: Likewise.
20589 * malloc/Makefile: Likewise.
20590 * nscd/Makefile: Likewise.
20591 * Makeconfig: Change reference to configure.in and
20592 preconfigure.in to configure.ac and preconfigure.ac
20594 * INSTALL: Regenerated.
20595 * configure: Likewise.
20596 * sysdeps/gnu/configure: Likewise.
20597 * sysdeps/i386/configure: Likewise.
20598 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
20599 * sysdeps/mach/configure: Likewise.
20600 * sysdeps/mach/hurd/configure: Likewise.
20601 * sysdeps/powerpc/configure: Likewise.
20602 * sysdeps/powerpc/powerpc32/configure: Likewise.
20603 * sysdeps/powerpc/powerpc64/configure: Likewise.
20604 * sysdeps/s390/s390-32/configure: Likewise.
20605 * sysdeps/s390/s390-64/configure: Likewise.
20606 * sysdeps/sh/configure: Likewise.
20607 * sysdeps/sparc/configure: Likewise.
20608 * sysdeps/unix/sysv/linux/configure: Likewise.
20609 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
20610 * sysdeps/x86_64/configure: Likewise.
20611 * sysdeps/x86_64/preconfigure: Likewise.
20613 2013-10-29 Andreas Schwab <schwab@suse.de>
20615 * stdio-common/Makefile (tst-swscanf-ENV): Define.
20617 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20619 * benchtests/pow-inputs: Add new inputs.
20621 * benchtests/exp-inputs: Add new inputs.
20623 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
20624 conditional check for return value.
20625 (__cos32): Likewise.
20627 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20629 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
20630 to provide a boost for large inputs with word alignment.
20631 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
20632 implementation based on optimized PPC64 strcpy.
20633 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
20634 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
20635 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
20636 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
20638 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
20641 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
20643 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
20646 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
20647 * time/tst-strptime.c (day_tests): Add testcase.
20649 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
20652 * manual/pattern.texi: Acknowledge that fnmatch can fail.
20654 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
20657 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
20658 MAP_FAILED on error.
20660 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20663 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
20664 heap for large requests.
20666 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
20669 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
20670 result if the result has no associated interface.
20671 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
20672 interface for all 127.X.Y.Z addresses.
20674 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
20676 * locale/iso-639.def: Add Ligurian (lij)
20678 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
20681 * sunrpc/rpc_main.c: Document rpcgen -5.
20683 2013-10-19 Michael Stahl <mstahl@redhat.com>
20685 * elf/rtld.c (do_preload): Print the reason why preloading failed.
20687 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
20690 * posix/glob.c: Match only directories when trailing slash is present.
20691 * posix/tst-gnuglob.c (my_opendir): Do not open files.
20692 (main): Add testcase.
20694 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
20697 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
20699 2013-10-18 Carlos O'Donell <carlos@redhat.com>
20701 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
20702 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
20703 AUTH_DES and cindex for FIPS 140-2.
20704 (DES Encryption): Add cindex FIPS 46-3.
20706 * locale/locarchive.h (struct locarhandle): Add fname.
20707 * locale/programs/localedef.c (main): Pass ARGV[remaining]
20708 if an optional argument was specified to --list-archive,
20710 * locale/programs/locarchive.c (show_archive_content): Take new
20711 argument fname and pass it via ah.fname to open_archive.
20712 * locale/programs/localedef.h: Update decl.
20713 (open_archive): If AH->fname is non-null, open that file
20714 rather than the default file name, and don't ignore ENOENT.
20715 (create_archive): Set AH.fname to NULL.
20716 (delete_locales_from_archive): Likewise.
20717 (add_locales_to_archive): Likewise.
20718 * locale/programs/locfile.c (write_all_categories): Likewise.
20720 2013-10-18 Joseph Myers <joseph@codesourcery.com>
20721 Aldy Hernandez <aldyh@redhat.com>
20723 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
20724 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
20725 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
20726 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
20727 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
20728 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
20729 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
20730 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
20731 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
20732 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
20733 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
20734 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
20735 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
20736 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
20737 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
20739 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
20741 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
20743 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
20745 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
20746 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
20748 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
20749 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
20750 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
20751 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
20753 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
20754 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
20755 * sysdeps/powerpc/preconfigure: Likewise.
20756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
20758 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
20759 Replace contents of file by #include of <fenv_libc.h>.
20760 * sysdeps/powerpc/soft-fp/sfp-machine.h
20761 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
20763 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
20764 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
20765 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
20766 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
20767 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
20768 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
20769 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
20770 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
20771 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
20772 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
20773 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
20774 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
20775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
20776 Allow copysignl PLT reference to be missing.
20778 2013-10-18 Richard Sandiford <richard@codesourcery.com>
20779 Joseph Myers <joseph@codesourcery.com
20782 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
20784 (add_to_tablewc): Assert sequence of wide characters is nonempty.
20786 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20788 * elf/tst-tls-dlinfo.c: Don't include tls.h.
20789 * elf/tst-tls1.c: Likewise.
20790 * elf/tst-tls10.h: Likewise.
20791 * elf/tst-tls14.c: Likewise.
20792 * elf/tst-tls2.c: Likewise.
20793 * elf/tst-tls3.c: Likewise.
20794 * elf/tst-tls4.c: Likewise.
20795 * elf/tst-tls5.c: Likewise.
20796 * elf/tst-tls6.c: Likewise.
20797 * elf/tst-tls7.c: Likewise.
20798 * elf/tst-tls8.c: Likewise.
20799 * elf/tst-tls9.c: Likewise.
20800 * elf/tst-tlsmod1.c: Likewise.
20801 * elf/tst-tlsmod13.c: Likewise.
20802 * elf/tst-tlsmod13a.c: Likewise.
20803 * elf/tst-tlsmod14a.c: Likewise.
20804 * elf/tst-tlsmod16a.c: Likewise.
20805 * elf/tst-tlsmod16b.c: Likewise.
20806 * elf/tst-tlsmod2.c: Likewise.
20807 * elf/tst-tlsmod3.c: Likewise.
20808 * elf/tst-tlsmod4.c: Likewise.
20809 * elf/tst-tlsmod5.c: Likewise.
20810 * elf/tst-tlsmod6.c: Likewise.
20812 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
20815 * malloc/malloc.c: remove checks for statistics.
20817 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
20820 * inet/inet_net.c (inet_network): Detect additional invalid strings.
20821 * inet/tst-network.c: Add testcase.
20823 2013-10-17 Andreas Schwab <schwab@suse.de>
20826 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
20827 to determine canonical name.
20829 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
20831 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
20832 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
20833 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20834 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
20835 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20836 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
20837 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20838 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
20839 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
20840 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
20841 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20842 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20843 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20844 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20845 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
20846 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
20847 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20848 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20849 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
20850 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
20851 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20852 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20853 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20854 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
20855 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
20856 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20857 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20858 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
20859 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20860 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
20861 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
20862 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20863 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
20864 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20865 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20866 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20867 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20868 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20869 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20870 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20871 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20872 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
20873 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
20874 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20875 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
20876 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20877 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20878 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
20879 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
20880 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20881 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
20882 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20883 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
20884 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
20885 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20886 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
20887 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20888 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20890 2013-10-17 Joseph Myers <joseph@codesourcery.com>
20893 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
20894 make result into a quiet NaN.
20896 2013-10-16 Joseph Myers <joseph@codesourcery.com>
20898 * soft-fp/adddf3.c: Fix horizontal whitespace.
20899 * soft-fp/addsf3.c: Likewise.
20900 * soft-fp/addtf3.c: Likewise.
20901 * soft-fp/divdf3.c: Likewise.
20902 * soft-fp/divsf3.c: Likewise.
20903 * soft-fp/divtf3.c: Likewise.
20904 * soft-fp/double.h: Likewise.
20905 * soft-fp/eqdf2.c: Likewise.
20906 * soft-fp/eqsf2.c: Likewise.
20907 * soft-fp/eqtf2.c: Likewise.
20908 * soft-fp/extenddftf2.c: Likewise.
20909 * soft-fp/extended.h: Likewise.
20910 * soft-fp/extendsfdf2.c: Likewise.
20911 * soft-fp/extendsftf2.c: Likewise.
20912 * soft-fp/extendxftf2.c: Likewise.
20913 * soft-fp/fixdfdi.c: Likewise.
20914 * soft-fp/fixdfsi.c: Likewise.
20915 * soft-fp/fixdfti.c: Likewise.
20916 * soft-fp/fixsfdi.c: Likewise.
20917 * soft-fp/fixsfsi.c: Likewise.
20918 * soft-fp/fixsfti.c: Likewise.
20919 * soft-fp/fixtfdi.c: Likewise.
20920 * soft-fp/fixtfsi.c: Likewise.
20921 * soft-fp/fixtfti.c: Likewise.
20922 * soft-fp/fixunsdfdi.c: Likewise.
20923 * soft-fp/fixunsdfsi.c: Likewise.
20924 * soft-fp/fixunsdfti.c: Likewise.
20925 * soft-fp/fixunssfdi.c: Likewise.
20926 * soft-fp/fixunssfsi.c: Likewise.
20927 * soft-fp/fixunssfti.c: Likewise.
20928 * soft-fp/fixunstfdi.c: Likewise.
20929 * soft-fp/fixunstfsi.c: Likewise.
20930 * soft-fp/fixunstfti.c: Likewise.
20931 * soft-fp/floatdidf.c: Likewise.
20932 * soft-fp/floatdisf.c: Likewise.
20933 * soft-fp/floatditf.c: Likewise.
20934 * soft-fp/floatsidf.c: Likewise.
20935 * soft-fp/floatsisf.c: Likewise.
20936 * soft-fp/floatsitf.c: Likewise.
20937 * soft-fp/floattidf.c: Likewise.
20938 * soft-fp/floattisf.c: Likewise.
20939 * soft-fp/floattitf.c: Likewise.
20940 * soft-fp/floatundidf.c: Likewise.
20941 * soft-fp/floatundisf.c: Likewise.
20942 * soft-fp/floatunditf.c: Likewise.
20943 * soft-fp/floatunsidf.c: Likewise.
20944 * soft-fp/floatunsisf.c: Likewise.
20945 * soft-fp/floatunsitf.c: Likewise.
20946 * soft-fp/floatuntidf.c: Likewise.
20947 * soft-fp/floatuntisf.c: Likewise.
20948 * soft-fp/floatuntitf.c: Likewise.
20949 * soft-fp/fmadf4.c: Likewise.
20950 * soft-fp/fmasf4.c: Likewise.
20951 * soft-fp/fmatf4.c: Likewise.
20952 * soft-fp/gedf2.c: Likewise.
20953 * soft-fp/gesf2.c: Likewise.
20954 * soft-fp/getf2.c: Likewise.
20955 * soft-fp/ledf2.c: Likewise.
20956 * soft-fp/lesf2.c: Likewise.
20957 * soft-fp/letf2.c: Likewise.
20958 * soft-fp/muldf3.c: Likewise.
20959 * soft-fp/mulsf3.c: Likewise.
20960 * soft-fp/multf3.c: Likewise.
20961 * soft-fp/negdf2.c: Likewise.
20962 * soft-fp/negsf2.c: Likewise.
20963 * soft-fp/negtf2.c: Likewise.
20964 * soft-fp/op-1.h: Likewise.
20965 * soft-fp/op-2.h: Likewise.
20966 * soft-fp/op-4.h: Likewise.
20967 * soft-fp/op-8.h: Likewise.
20968 * soft-fp/op-common.h: Likewise.
20969 * soft-fp/quad.h: Likewise.
20970 * soft-fp/single.h: Likewise.
20971 * soft-fp/soft-fp.h: Likewise.
20972 * soft-fp/sqrtdf2.c: Likewise.
20973 * soft-fp/sqrtsf2.c: Likewise.
20974 * soft-fp/sqrttf2.c: Likewise.
20975 * soft-fp/subdf3.c: Likewise.
20976 * soft-fp/subsf3.c: Likewise.
20977 * soft-fp/subtf3.c: Likewise.
20978 * soft-fp/truncdfsf2.c: Likewise.
20979 * soft-fp/trunctfdf2.c: Likewise.
20980 * soft-fp/trunctfsf2.c: Likewise.
20981 * soft-fp/trunctfxf2.c: Likewise.
20982 * soft-fp/unorddf2.c: Likewise.
20983 * soft-fp/unordsf2.c: Likewise.
20984 * soft-fp/unordtf2.c: Likewise.
20986 2013-10-15 Joseph Myers <joseph@codesourcery.com>
20988 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
20989 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
20991 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
20993 * elf/dl-libc.c: Clear initfini list after freeing.
20995 2013-10-14 Joseph Myers <joseph@codesourcery.com>
20997 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
20998 * soft-fp/addsf3.c: Likewise.
20999 * soft-fp/addtf3.c: Likewise.
21000 * soft-fp/divdf3.c: Likewise.
21001 * soft-fp/divsf3.c: Likewise.
21002 * soft-fp/divtf3.c: Likewise.
21003 * soft-fp/double.h: Likewise.
21004 * soft-fp/eqdf2.c: Likewise.
21005 * soft-fp/eqsf2.c: Likewise.
21006 * soft-fp/eqtf2.c: Likewise.
21007 * soft-fp/extenddftf2.c: Likewise.
21008 * soft-fp/extended.h: Likewise.
21009 * soft-fp/extendsfdf2.c: Likewise.
21010 * soft-fp/extendsftf2.c: Likewise.
21011 * soft-fp/extendxftf2.c: Likewise.
21012 * soft-fp/fixdfdi.c: Likewise.
21013 * soft-fp/fixdfsi.c: Likewise.
21014 * soft-fp/fixdfti.c: Likewise.
21015 * soft-fp/fixsfdi.c: Likewise.
21016 * soft-fp/fixsfsi.c: Likewise.
21017 * soft-fp/fixsfti.c: Likewise.
21018 * soft-fp/fixtfdi.c: Likewise.
21019 * soft-fp/fixtfsi.c: Likewise.
21020 * soft-fp/fixtfti.c: Likewise.
21021 * soft-fp/fixunsdfdi.c: Likewise.
21022 * soft-fp/fixunsdfsi.c: Likewise.
21023 * soft-fp/fixunsdfti.c: Likewise.
21024 * soft-fp/fixunssfdi.c: Likewise.
21025 * soft-fp/fixunssfsi.c: Likewise.
21026 * soft-fp/fixunssfti.c: Likewise.
21027 * soft-fp/fixunstfdi.c: Likewise.
21028 * soft-fp/fixunstfsi.c: Likewise.
21029 * soft-fp/fixunstfti.c: Likewise.
21030 * soft-fp/floatdidf.c: Likewise.
21031 * soft-fp/floatdisf.c: Likewise.
21032 * soft-fp/floatditf.c: Likewise.
21033 * soft-fp/floatsidf.c: Likewise.
21034 * soft-fp/floatsisf.c: Likewise.
21035 * soft-fp/floatsitf.c: Likewise.
21036 * soft-fp/floattidf.c: Likewise.
21037 * soft-fp/floattisf.c: Likewise.
21038 * soft-fp/floattitf.c: Likewise.
21039 * soft-fp/floatundidf.c: Likewise.
21040 * soft-fp/floatundisf.c: Likewise.
21041 * soft-fp/floatunsidf.c: Likewise.
21042 * soft-fp/floatunsisf.c: Likewise.
21043 * soft-fp/floatuntidf.c: Likewise.
21044 * soft-fp/floatuntisf.c: Likewise.
21045 * soft-fp/floatuntitf.c: Likewise.
21046 * soft-fp/fmadf4.c: Likewise.
21047 * soft-fp/fmasf4.c: Likewise.
21048 * soft-fp/fmatf4.c: Likewise.
21049 * soft-fp/gedf2.c: Likewise.
21050 * soft-fp/gesf2.c: Likewise.
21051 * soft-fp/getf2.c: Likewise.
21052 * soft-fp/ledf2.c: Likewise.
21053 * soft-fp/lesf2.c: Likewise.
21054 * soft-fp/letf2.c: Likewise.
21055 * soft-fp/muldf3.c: Likewise.
21056 * soft-fp/mulsf3.c: Likewise.
21057 * soft-fp/multf3.c: Likewise.
21058 * soft-fp/negdf2.c: Likewise.
21059 * soft-fp/negsf2.c: Likewise.
21060 * soft-fp/negtf2.c: Likewise.
21061 * soft-fp/op-1.h: Likewise.
21062 * soft-fp/op-2.h: Likewise.
21063 * soft-fp/op-4.h: Likewise.
21064 * soft-fp/op-8.h: Likewise.
21065 * soft-fp/op-common.h: Likewise.
21066 * soft-fp/quad.h: Likewise.
21067 * soft-fp/single.h: Likewise.
21068 * soft-fp/soft-fp.h: Likewise.
21069 * soft-fp/sqrtdf2.c: Likewise.
21070 * soft-fp/sqrtsf2.c: Likewise.
21071 * soft-fp/sqrttf2.c: Likewise.
21072 * soft-fp/subdf3.c: Likewise.
21073 * soft-fp/subsf3.c: Likewise.
21074 * soft-fp/subtf3.c: Likewise.
21075 * soft-fp/truncdfsf2.c: Likewise.
21076 * soft-fp/trunctfdf2.c: Likewise.
21077 * soft-fp/trunctfsf2.c: Likewise.
21078 * soft-fp/trunctfxf2.c: Likewise.
21079 * soft-fp/unorddf2.c: Likewise.
21080 * soft-fp/unordsf2.c: Likewise.
21081 * soft-fp/unordtf2.c: Likewise.
21083 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
21086 * misc/error.c (error_tail): Fix possible buffer overflow.
21088 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
21091 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
21094 2013-10-14 P. J. McDermott <pj@pehjota.net>
21097 * elf/ldd.bash.in (try_trace): New function. Delete previous code
21098 testing pipefail option.
21100 2013-10-12 Joseph Myers <joseph@codesourcery.com>
21102 * soft-fp/double.h: Indent preprocessor directives inside #if.
21103 * soft-fp/extended.h: Likewise.
21104 * soft-fp/op-2.h: Likewise.
21105 * soft-fp/op-4.h: Likewise.
21106 * soft-fp/op-common.h: Likewise.
21107 * soft-fp/quad.h: Likewise.
21108 * soft-fp/single.h: Likewise.
21109 * soft-fp/soft-fp.h: Likewise.
21111 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
21113 * iconv/iconv_prog.c: Fix typos.
21114 * stdio-common/psiginfo-data.h: Likewise.
21116 2013-10-12 Reuben Thomas <rrt@sc3d.org>
21119 * locale/setlocale.c: Fix typo.
21121 2013-10-12 Joseph Myers <joseph@codesourcery.com>
21124 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
21125 signaling NaN arguments.
21126 * soft-fp/unordsf2.c (__unordsf2): Likewise.
21127 * soft-fp/unordtf2.c (__unordtf2): Likewise.
21130 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
21131 unordered operands.
21132 * soft-fp/gesf2.c (__gesf2): Likewise.
21133 * soft-fp/getf2.c (__getf2): Likewise.
21134 * soft-fp/ledf2.c (__ledf2): Likewise.
21135 * soft-fp/lesf2.c (__lesf2): Likewise.
21136 * soft-fp/letf2.c (__letf2): Likewise.
21138 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
21139 * soft-fp/eqsf2.c (__eqsf2): Likewise.
21140 * soft-fp/eqtf2.c (__eqtf2): Likewise.
21141 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
21142 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
21143 * soft-fp/fixdfti.c (__fixdfti): Likewise.
21144 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
21145 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
21146 * soft-fp/fixsfti.c (__fixsfti): Likewise.
21147 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
21148 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
21149 * soft-fp/fixtfti.c (__fixtfti): Likewise.
21150 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
21151 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
21152 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
21153 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
21154 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
21155 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
21156 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
21157 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
21158 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
21159 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
21160 * soft-fp/floatdisf.c (__floatdisf): Likewise.
21161 * soft-fp/floatsisf.c (__floatsisf): Likewise.
21162 * soft-fp/floattidf.c (__floattidf): Likewise.
21163 * soft-fp/floattisf.c (__floattisf): Likewise.
21164 * soft-fp/floattitf.c (__floattitf): Likewise.
21165 * soft-fp/floatundidf.c (__floatundidf): Likewise.
21166 * soft-fp/floatundisf.c (__floatundisf): Likewise.
21167 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
21168 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
21169 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
21170 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
21171 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
21172 * soft-fp/gesf2.c (__gesf2): Likewise.
21173 * soft-fp/getf2.c (__getf2): Likewise.
21174 * soft-fp/ledf2.c (__ledf2): Likewise.
21175 * soft-fp/lesf2.c (__lesf2): Likewise.
21176 * soft-fp/letf2.c (__letf2): Likewise.
21178 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
21179 Undefine and redefine.
21180 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
21181 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
21182 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
21183 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
21184 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21185 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
21186 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21187 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
21188 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21189 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
21190 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21191 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
21192 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21193 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
21194 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21197 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
21198 without decrementing exponent if mantissa >= that for the
21199 denominator, not >.
21200 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
21201 denominator, not >. Decrement exponent in < case instead of
21202 incrementing in >= case.
21203 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
21204 without decrementing exponent if mantissa >= that for the
21205 denominator, not >.
21207 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
21208 computing saturated result for unsigned overflow.
21210 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21211 Jeff Law <law@redhat.com>
21213 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
21214 (atan2Mp): Add systemtap probe marker.
21215 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
21216 (__ieee754_log): Add systemtap probe marker.
21217 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
21218 (atanMp): Add systemtap probe marker.
21219 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
21220 (tanMp): Add systemtap probe marker.
21221 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
21222 (__slowexp): Add systemtap probe marker.
21223 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
21224 (__slowpow): Add systemtap probe marker.
21225 * manual/probes.texi: Document probes.
21227 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
21230 * libio/fileops.c (_IO_new_file_write): Return count of bytes
21232 (_IO_new_file_xsputn): Don't return EOF if nothing has been
21234 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
21235 written to buffer but not flushed.
21236 * libio/iofwrite_u.c: Likewise.
21237 * libio/iopadn.c: Return bytes returned even if EOF was
21239 * libio/iowpadn.c: Likewise.
21240 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
21241 if _IO_padn does not write the whole buffer.
21242 [!COMPILE_WPRINTF] (PAD): Likewise.
21244 2013-10-10 David S. Miller <davem@davemloft.net>
21246 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
21249 2013-10-10 Joseph Myers <joseph@codesourcery.com>
21251 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
21252 instead of FSF address.
21253 * soft-fp/fixdfti.c: Likewise.
21254 * soft-fp/fixsfti.c: Likewise.
21255 * soft-fp/fixtfti.c: Likewise.
21256 * soft-fp/fixunsdfti.c: Likewise.
21257 * soft-fp/fixunssfti.c: Likewise.
21258 * soft-fp/fixunstfti.c: Likewise.
21259 * soft-fp/floattidf.c: Likewise.
21260 * soft-fp/floattisf.c: Likewise.
21261 * soft-fp/floattitf.c: Likewise.
21262 * soft-fp/floatuntidf.c: Likewise.
21263 * soft-fp/floatuntisf.c: Likewise.
21264 * soft-fp/floatuntitf.c: Likewise.
21265 * soft-fp/trunctfxf2.c: Likewise.
21267 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
21268 * soft-fp/fixdfti.c: Likewise.
21269 * soft-fp/fixsfti.c: Likewise.
21270 * soft-fp/fixtfti.c: Likewise.
21271 * soft-fp/fixunsdfti.c: Likewise.
21272 * soft-fp/fixunssfti.c: Likewise.
21273 * soft-fp/fixunstfti.c: Likewise.
21274 * soft-fp/floattidf.c: Likewise.
21275 * soft-fp/floattisf.c: Likewise.
21276 * soft-fp/floattitf.c: Likewise.
21277 * soft-fp/floatuntidf.c: Likewise.
21278 * soft-fp/floatuntisf.c: Likewise.
21279 * soft-fp/floatuntitf.c: Likewise.
21280 * soft-fp/trunctfxf2.c: Likewise.
21282 2013-10-10 David S. Miller <davem@davemloft.net>
21284 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21286 2013-10-10 Joseph Myers <joseph@codsourcery.com>
21288 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
21289 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
21290 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
21291 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
21292 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
21293 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
21294 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
21296 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
21297 for NaNs before doing comparisons on argument.
21298 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
21301 2013-10-10 Will Newton <will.newton@linaro.org>
21303 * malloc/hooks.c (memalign_check): Ensure the value of bytes
21304 passed to _int_memalign does not overflow.
21306 2013-10-10 Torvald Riegel <triegel@redhat.com>
21308 * scripts/bench.pl: Add include-sources directive.
21309 * benchtests/README: Update documentation.
21311 2013-10-10 Joseph Myers <joseph@codesourcery.com>
21313 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
21314 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
21315 instead of FP_INIT_ROUNDMODE.
21316 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
21317 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
21320 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
21321 copy class of input value.
21322 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
21323 not handle exceptions.
21324 * soft-fp/negsf2.c (__negsf2): Likewise.
21325 * soft-fp/negtf2.c (__negtf2): Likewise.
21326 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
21328 2013-10-09 Joseph Myers <joseph@codesourcery.com>
21330 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
21331 semicolon. From Linux kernel.
21333 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
21335 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
21337 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
21340 * manual/socket.texi: Added statement about buffer
21341 for gethostbyname2_r.
21343 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
21345 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
21346 Use .p2align directive instead, throughout.
21347 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
21348 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
21349 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
21350 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21351 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21352 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
21353 * sysdeps/x86_64/strchr.S: Likewise.
21354 * sysdeps/x86_64/strrchr.S: Likewise.
21356 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21358 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
21360 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
21362 * sysdeps/generic/math_private.h (__mpsin1): Remove
21364 (__mpcos1): Likewise.
21365 (__mpsin): New argument __range_reduce.
21366 (__mpcos): Likewise.
21367 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21368 (slow): Use __mpsin and __mpcos.
21372 (sloww1): Likewise.
21373 (sloww2): Likewise.
21374 (bsloww): Likewise.
21375 (bsloww1): Likewise.
21376 (bsloww2): Likewise.
21377 (cslow2): Likewise.
21378 (csloww): Likewise.
21379 (csloww1): Likewise.
21380 (csloww2): Likewise.
21381 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
21382 range_reduce. Merge in __mpsin1.
21383 (__mpcos): Likewise.
21384 (__mpsin1): Remove.
21385 (__mpcos1): Likewise.
21387 2013-10-07 Joseph Myers <joseph@codesourcery.com>
21389 * locale/loadlocale.c (_nl_intern_locale_data): Use
21391 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
21392 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
21393 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
21394 obstack data is appropriately aligned.
21395 (obstack_int32_grow_fast): Likewise.
21396 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
21397 * locale/programs/locfile.c (add_locale_uint32): Likewise.
21398 (add_locale_uint32_array): Likewise.
21400 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
21402 * benchtests/Makefile: Remove ARGLIST and RET variables.
21403 ($(objpfx)bench-%.c): Pass only function name to the script.
21404 * benchtests/README: Update documentation.
21405 * benchtests/acos-inputs: Add new directives.
21406 * benchtests/acosh-inputs: Likewise.
21407 * benchtests/asin-inputs: Likewise.
21408 * benchtests/asinh-inputs: Likewise.
21409 * benchtests/atan-inputs: Likewise.
21410 * benchtests/atanh-inputs: Likewise.
21411 * benchtests/cos-inputs: Likewise.
21412 * benchtests/cosh-inputs: Likewise.
21413 * benchtests/exp-inputs: Likewise.
21414 * benchtests/log-inputs: Likewise.
21415 * benchtests/pow-inputs: Likewise.
21416 * benchtests/rint-inputs: Likewise.
21417 * benchtests/sin-inputs: Likewise.
21418 * benchtests/sinh-inputs: Likewise.
21419 * benchtests/tan-inputs: Likewise.
21420 * benchtests/tanh-inputs: Likewise.
21421 * scripts/bench.pl: Add support for new directives.
21423 2013-10-07 Alan Modra <amodra@gmail.com>
21425 * README: Fix careless merge.
21427 2013-10-05 Alan Modra <amodra@gmail.com>
21429 * NEWS: Mention powerpc64le support and bugs fixed.
21430 * README: Both big-endian and little-endian powerpc64 supported.
21432 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21434 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
21435 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
21436 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
21437 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
21439 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
21441 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
21444 2013-10-04 Joseph Myers <joseph@codesourcery.com>
21446 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
21447 Move -mhard-float appending from
21448 ports/sysdeps/powerpc/powerpc32/Makefile.
21449 [$(with-fp) = yes] (ASFLAGS): Likewise.
21450 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
21451 * sysdeps/powerpc/nofpu: Move directory from
21452 ports/sysdeps/powerpc/nofpu.
21453 * sysdeps/powerpc/soft-fp: Move directory from
21454 ports/sysdeps/powerpc/soft-fp.
21455 * sysdeps/powerpc/powerpc32/405: Move directory from
21456 ports/sysdeps/powerpc/powerpc32/405.
21457 * sysdeps/powerpc/powerpc32/440: Move directory from
21458 ports/sysdeps/powerpc/powerpc32/440.
21459 * sysdeps/powerpc/powerpc32/464: Move directory from
21460 ports/sysdeps/powerpc/powerpc32/464.
21461 * sysdeps/powerpc/powerpc32/476: Move directory from
21462 ports/sysdeps/powerpc/powerpc32/476.
21463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
21464 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
21465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
21466 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
21467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
21468 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
21469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
21470 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
21471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
21472 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
21473 * README: Update for powerpc-*-linux-gnu software floating point
21476 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
21477 case to powerpc/powerpc32*.
21478 * sysdeps/unix/sysv/linux/configure: Regenerated.
21480 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
21481 (_FPU_MASK_OM): Define as 0x04.
21482 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
21483 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
21485 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
21487 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
21489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
21490 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
21492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
21493 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
21495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
21496 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
21497 and setcontext_e500.
21499 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
21501 * locale/iso-3166.def: Update iso-1366.def and related occurrences
21503 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21505 * manual/threads.texi (Default Thread Attributes): Fix typo.
21507 2013-10-04 Will Newton <will.newton@linaro.org>
21509 * malloc/Makefile: Add tst-memalign.
21510 * malloc/tst-memalign.c: New file.
21512 * malloc/tst-posix_memalign.c: Add comments.
21513 (do_test): Add comments and call free on all potentially
21514 allocated pointers. Add space after cast.
21516 * malloc/tst-pvalloc.c: Add comments.
21517 (do_test): Add comments and call free on all potentially
21518 allocated pointers. Remove duplicate check for NULL pointer.
21519 Add space after cast.
21521 * malloc/tst-valloc.c: Add comments.
21522 (do_test): Add comments and call free on all potentially
21523 allocated pointers. Remove duplicate check for NULL pointer.
21524 Add space after cast.
21526 2013-10-04 Alan Modra <amodra@gmail.com>
21528 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21529 Use stdint types in rather than __attribute__((mode())).
21530 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21532 2013-10-04 Alan Modra <amodra@gmail.com>
21534 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21535 Correct handling of unaligned relocs for little-endian.
21536 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21538 2013-10-04 Alan Modra <amodra@gmail.com>
21540 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
21541 * configure: Regenerate.
21542 * nptl/shlib-versions: Powerpc*le starts at 2.18.
21543 * shlib-versions: Likewise.
21545 2013-10-04 Alan Modra <amodra@gmail.com>
21547 * string/tester.c (test_memrchr): Increment reported test cycle.
21549 2013-10-04 Alan Modra <amodra@gmail.com>
21551 * string/test-memcpy.c (do_one_test): When reporting errors, print
21552 string address and don't overrun end of string.
21554 2013-10-04 Alan Modra <amodra@gmail.com>
21556 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
21557 insrdi. Make better use of reg selection to speed exit slightly.
21558 Schedule entry path a little better. Remove useless "are we done"
21559 checks on entry to main loop. Handle wrapping around zero address.
21560 Correct main loop count. Handle single left-over word from main
21561 loop inline rather than by using loop_small. Remove extra word
21562 case in loop_small caused by wrong loop count. Add little-endian
21564 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
21565 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
21567 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
21568 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
21569 support. Avoid rlwimi.
21570 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
21572 2013-10-04 Alan Modra <amodra@gmail.com>
21574 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
21575 insrdi. Formatting.
21576 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
21577 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
21578 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
21579 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21580 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
21581 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
21583 2013-10-04 Alan Modra <amodra@gmail.com>
21585 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
21586 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21587 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
21588 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
21589 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
21590 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21591 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21592 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
21593 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
21594 use of regs. Use power7 mtocrf. Tidy function tails.
21596 2013-10-04 Alan Modra <amodra@gmail.com>
21598 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
21599 Formatting. Consistently use rXXX register defines or rN defines.
21600 Use early exit labels that avoid restoring unused non-volatile regs.
21601 Make cr field use more consistent with rWORDn compares. Rename
21602 regs used as shift registers for unaligned loop, using rN defines
21603 for short lifetime/multiple use regs.
21604 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21605 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
21606 addi 1,1,64 to pop stack frame. Simplify return value code.
21607 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21609 2013-10-04 Alan Modra <amodra@gmail.com>
21611 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
21612 support. Correct typos, formatting. Optimize tail. Use insrdi
21613 rather than rlwimi.
21614 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
21615 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
21616 little-endian support. Correct typos.
21617 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
21618 rather than rlwimi.
21619 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
21620 in loop and entry code to keep "and." results.
21621 (strchr): Add little-endian support. Comment. Move cntlzd
21623 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
21625 2013-10-04 Alan Modra <amodra@gmail.com>
21627 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
21628 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
21629 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
21630 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
21632 2013-10-04 Alan Modra <amodra@gmail.com>
21634 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
21635 (rTMP): Define as r11.
21636 (strcmp): Add little-endian support. Optimise tail.
21637 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
21638 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21639 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
21640 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21641 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
21642 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21643 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21645 2013-10-04 Alan Modra <amodra@gmail.com>
21647 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
21648 little-endian support. Remove unnecessary "are we done" tests.
21649 Handle "s" wrapping around zero and extremely large "size".
21650 Correct main loop count. Handle single left-over word from main
21651 loop inline rather than by using small_loop. Correct comments.
21652 Delete "zero" tail, use "end_max" instead.
21653 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
21655 2013-10-04 Alan Modra <amodra@gmail.com>
21657 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
21658 support. Don't branch over align.
21659 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
21660 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
21661 support. Rearrange tmp reg use to suit. Comment.
21662 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
21664 2013-10-04 Alan Modra <amodra@gmail.com>
21666 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
21668 2013-10-04 Alan Modra <amodra@gmail.com>
21670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
21671 conditional form of branch and link when obtaining pc.
21672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
21674 2013-10-04 Alan Modra <amodra@gmail.com>
21676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
21678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
21679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
21681 2013-10-04 Alan Modra <amodra@gmail.com>
21683 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
21684 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
21685 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
21686 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
21687 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21688 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
21689 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
21690 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
21691 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
21692 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
21694 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
21695 Alistair Popple <alistair@ozlabs.au.ibm.com>
21696 Alan Modra <amodra@gmail.com>
21699 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
21700 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
21701 _dl_hwcap access for little-endian.
21702 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
21703 destroy vmx regs when saving unaligned.
21704 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
21705 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
21706 destroy vmx regs when saving unaligned.
21708 2013-10-04 Alan Modra <amodra@gmail.com>
21710 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
21711 Don't use a union to pack hi/low value.
21713 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
21715 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
21717 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21718 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
21719 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21720 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
21721 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
21723 2013-10-04 Alan Modra <amodra@gmail.com>
21725 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
21726 constants to usual value for .cst8 section, and remove redundant
21728 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
21729 constant for 0x1p52. Load little-endian words of double from
21730 correct stack offsets.
21732 2013-10-04 Alan Modra <amodra@gmail.com>
21734 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
21735 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
21736 words of double from correct stack offsets.
21737 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
21738 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
21739 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
21740 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
21741 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
21742 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
21743 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
21744 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
21745 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
21746 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
21747 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
21748 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
21749 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21750 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21751 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21752 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
21753 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
21755 2013-10-04 Alan Modra <amodra@gmail.com>
21757 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
21758 64-bit int/double union.
21759 (_FPU_SETCW): Likewise.
21760 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
21761 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
21763 2013-10-04 Alan Modra <amodra@gmail.com>
21765 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
21766 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
21768 2013-10-04 Alan Modra <amodra@gmail.com>
21770 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
21771 use vector int constants.
21772 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
21774 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
21776 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
21777 array with long long.
21778 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
21779 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
21780 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
21781 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
21782 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
21783 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
21784 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
21785 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
21786 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
21787 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
21788 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
21789 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
21790 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
21792 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
21794 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
21795 (__signbit): Likewise. Correct for little-endian.
21796 (__signbitl): Call __signbit.
21797 (lrint): Correct for little-endian.
21798 (lrintf): Call lrint.
21800 2013-10-04 Alan Modra <amodra@gmail.com>
21802 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
21803 union 32-bit int array member with 64-bit int array.
21804 (t515, tm256): Double rather than long double.
21805 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
21807 2013-10-04 Alan Modra <amodra@gmail.com>
21809 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
21811 (IEEE854_LONG_DOUBLE_BIAS): Delete.
21812 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
21813 version of math_ldbl.h.
21815 2013-10-04 Alan Modra <amodra@gmail.com>
21817 [BZ #15734], [BZ #15735]
21818 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
21819 all uses of ieee875 long double macros and unions. Simplify test
21820 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
21821 ldbl_extract_mantissa value for ix,iy exponents. Properly
21822 normalize after ldbl_extract_mantissa, and don't add hidden bit
21823 already handled. Don't treat low word of ieee854 mantissa like
21824 low word of IBM long double and mask off bit when testing for
21826 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
21827 all uses of ieee875 long double macros and unions. Simplify tests
21828 for 0.0L and inf. Correct double adjustment of k. Delete dead code
21829 adjusting ha,hb. Simplify code setting kld. Delete two600 and
21830 two1022, instead use their values. Recognise that tests for large
21831 "a" and small "b" are mutually exclusive. Rename vars. Comment.
21832 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
21833 Rewrite all uses of ieee875 long double macros and unions. Simplify
21834 test for 0.0L and nan. Correct negation.
21835 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
21836 ieee875 long double macros and unions. Correct output for large
21837 magnitude x. Correct absolute value calculation.
21838 (__erfcl): Likewise.
21839 * math/libm-test.inc: Add tests for errors discovered in IBM long
21840 double versions of fmodl, remainderl, erfl and erfcl.
21842 2013-10-04 Alan Modra <amodra@gmail.com>
21844 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
21845 all uses of ieee854 long double macros and unions. Simplify tests
21846 for long doubles that are fully specified by the high double.
21847 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
21849 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
21850 Remove dead code too.
21851 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
21852 (__ieee754_ynl): Likewise.
21853 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
21854 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
21855 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
21856 Remove dead code too.
21857 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
21858 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
21859 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
21860 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
21862 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
21864 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
21865 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
21866 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
21867 Comment on variable precision.
21868 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
21869 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21871 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
21872 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
21873 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
21874 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
21875 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
21877 2013-10-04 Alan Modra <amodra@gmail.com>
21879 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
21880 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
21881 all uses of ieee854 long double macros and unions.
21882 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
21883 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
21884 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
21885 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
21886 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
21887 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
21889 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
21890 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21891 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
21892 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21893 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
21894 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
21895 Simplify sign and nan test too.
21896 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
21897 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
21898 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
21899 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
21901 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
21902 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
21904 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21905 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
21906 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
21907 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
21908 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
21909 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
21911 2013-10-04 Alan Modra <amodra@gmail.com>
21913 * stdio-common/printf_size.c (__printf_size): Don't use
21914 union ieee854_long_double in fpnum union.
21915 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
21916 signbit macro to retrieve sign from long double.
21917 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
21918 retrieve sign from long double.
21919 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
21920 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
21921 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
21922 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
21923 * math/test-misc.c (main): Don't use union ieee854_long_double.
21925 2013-10-04 Alan Modra <amodra@gmail.com>
21928 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
21929 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
21930 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
21931 calculation. Remove unnecessary test for denormal exponent.
21932 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
21933 Correct handling of denormals. Avoid undefined shift behaviour.
21934 Correct normalisation of low mantissa when low double is denormal.
21935 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
21936 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
21937 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
21938 Correct normalisation of low mantissa. Test for overflow of high
21939 mantissa and normalise.
21940 (ldbl_nearbyint): Use more readable constant for two52.
21941 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
21942 (__mpn_construct_long_double): Fix test for overflow of high
21943 mantissa and correct normalisation. Avoid undefined shift.
21945 2013-10-04 Alan Modra <amodra@gmail.com>
21947 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
21948 (union ibm_extended_long_double): Define as an array of ieee754_double.
21949 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
21950 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
21951 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
21952 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21953 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21954 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
21955 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21956 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
21957 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
21958 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
21959 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
21961 2013-10-03 Joseph Myers <joseph@codesourcery.com>
21963 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
21964 page size instead of calling getpagesize.
21966 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
21967 (LOCFILE_ALIGN_MASK): Likewise.
21968 (LOCFILE_ALIGN_UP): Likewise.
21969 (LOCFILE_ALIGNED_P): Likewise.
21970 * locale/programs/ld-collate.c (collate_output): Use the new
21971 macros instead of __alignof__ (int32_t).
21972 * locale/weight.h (findidx): Likewise.
21974 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
21977 * manual/string.texi: Fix strncat and wcsncat.
21979 2013-10-03 Brooks Moses <bmoses@google.com>
21982 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
21983 * Makerules: ...here, and adjust associated comments.
21985 2013-10-02 Will Newton <will.newton@linaro.org>
21987 * malloc/Makefile: Add tst-pvalloc.
21988 * malloc/tst-pvalloc.c: New file.
21990 2013-10-02 Will Newton <will.newton@linaro.org>
21992 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
21993 improve test coverage.
21995 2013-10-02 Will Newton <will.newton@linaro.org>
21997 * malloc/Makefile: Add tst-posix_memalign.
21998 * malloc/tst-posix_memalign.c: New file.
22000 2013-10-01 Eric Blake <eblake@redhat.com>
22002 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
22003 Use __THROWNL rather than __THROW on static functions.
22005 2013-09-30 Petr Machata <pmachata@redhat.com>
22007 * elf/elf.h (R_AARCH64_ABS16): New macro.
22008 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
22009 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
22010 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
22011 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
22012 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
22013 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
22014 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
22015 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
22016 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
22017 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
22018 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
22019 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
22020 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
22021 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
22022 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
22023 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
22024 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
22025 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
22026 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
22027 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
22028 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
22029 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
22030 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
22031 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
22032 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
22033 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
22034 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
22035 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
22036 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
22037 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
22038 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
22039 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
22040 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
22041 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
22042 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
22043 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
22044 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
22045 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
22046 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
22047 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
22048 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
22049 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
22050 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
22051 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
22052 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
22053 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
22054 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
22055 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
22056 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
22057 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
22058 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
22059 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
22060 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
22061 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
22062 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
22063 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
22064 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
22065 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
22066 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
22067 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
22068 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
22069 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
22070 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
22071 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
22072 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
22073 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
22074 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
22075 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
22076 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
22077 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
22078 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
22079 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
22080 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
22081 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
22082 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
22083 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
22084 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
22085 (R_AARCH64_TLSDESC_LDR): Likewise.
22086 (R_AARCH64_TLSDESC_ADD): Likewise.
22087 (R_AARCH64_TLSDESC_CALL): Likewise.
22089 2013-09-30 Andreas Schwab <schwab@suse.de>
22092 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
22093 the nss database lookup.
22094 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22095 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22097 2013-09-28 Mike Frysinger <vapier@gentoo.org>
22099 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
22101 2013-09-28 P. J. McDermott <pj@pehjota.net>
22103 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
22104 ${Bash-specific parameter/pattern/string} parameter expansion.
22105 * sysdeps/unix/make-syscalls.sh: Likewise.
22107 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22109 * sysdeps/sh/stackguard-macros.h: New file.
22111 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
22113 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
22114 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
22115 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
22116 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
22117 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22118 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
22120 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22122 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
22123 Fix thread ID register.
22125 2013-09-25 Joseph Myers <joseph@codesourcery.com>
22127 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
22128 [POSIX || UNIX98]: Require rather than permitting all symbols from
22130 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
22131 element of struct sched_param.
22132 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
22133 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
22134 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
22135 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
22138 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
22140 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
22141 argument calculation.
22143 2013-09-24 Joseph Myers <joseph@codesourcery.com>
22145 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
22147 [POSIX] (pthread_attr_t): Do not require type.
22148 [POSIX] (pthread_cond_t): Likewise.
22149 [POSIX] (pthread_condattr_t): Likewise.
22150 [POSIX] (pthread_key_t): Likewise.
22151 [POSIX] (pthread_mutex_t): Likewise.
22152 [POSIX] (pthread_mutexattr_t): Likewise.
22153 [POSIX] (pthread_once_t): Likewise.
22154 [POSIX] (pthread_t): Likewise.
22155 [POSIX-based standards] (pthread_atfork): Expect function.
22157 2013-09-24 Joseph Myers <joseph@codesourcery.com>
22158 Richard Sandiford <richard@codesourcery.com>
22160 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
22161 (swap_endianness_p): New extern variable.
22162 (set_big_endian): New inline function.
22163 (maybe_swap_uint32): Likewise.
22164 (maybe_swap_uint32_array): Likewise.
22165 (maybe_swap_uint32_obstack): Likewise.
22166 * locale/programs/locfile.c: Include <stdbool.h>.
22167 (swap_endianness_p): New variable.
22168 (add_locale_uint32): Call maybe_swap_uint32.
22169 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
22170 (write_locale_data): Call maybe_swap_uint32_array.
22171 * locale/programs/ld-collate.c (obstack_int32_grow): Call
22173 (obstack_int32_grow_fast): Likewise.
22174 (output_weightwc): Call maybe_swap_uint32_obstack.
22175 (collate_output): Likewise.
22176 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
22177 (OPT_LITTLE_ENDIAN): Likewise.
22178 (options): Add --little-endian and --big-endian options.
22179 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
22180 * locale/programs/locarchive.c: Include "locfile.h".
22184 (create_archive): Use the new macros to access fields of
22185 structures directly mapped from or written to locale archives.
22186 (oldlocrecentcmp): Likewise.
22187 (enlarge_archive): Likewise.
22188 (insert_name): Likewise.
22189 (add_alias): Likewise.
22190 (add_locale): Likewise.
22191 (delete_locales_from_archive): Likewise.
22192 (show_archive_content): Likewise.
22193 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
22196 2013-09-24 Roland McGrath <roland@hack.frob.com>
22198 * manual/freemanuals.texi: Updated from (newly) canonical copy at
22199 http://www.gnu.org/doc/freemanuals.texi.
22200 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
22202 2013-09-24 Will Newton <will.newton@linaro.org>
22204 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
22207 2013-09-23 Joseph Myers <joseph@codesourcery.com>
22209 * locale/hashval.h (compute_hashval): Interpret bytes of key as
22212 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
22214 * manual/threads.texi (POSIX Threads): Fix a typo.
22216 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
22219 * string/tst-strcoll-overflow.c: New test case.
22220 * string/Makefile (xtests): Add tst-strcoll-overflow.
22221 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
22222 cache if string sizes may cause integer overflow.
22225 * string/strcoll_l.c (coll_seq): New members rule, idx,
22226 save_idx and back_us.
22227 (get_next_seq_nocache): New function.
22228 (do_compare_nocache): New function.
22229 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
22232 2013-09-23 Carlos O'Donell <carlos@redhat.com>
22235 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
22236 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
22237 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
22240 * elf/Makefile (tests): Add tst-ptrguard1.
22241 (tests-static): Add tst-ptrguard1-static.
22242 (tst-ptrguard1-ARGS): Define.
22243 (tst-ptrguard1-static-ARGS): Define.
22244 * elf/tst-ptrguard1.c: New file.
22245 * elf/tst-ptrguard1-static.c: New file.
22246 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
22247 * sysdeps/i386/stackguard-macros.h: Likewise.
22248 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
22249 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
22250 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
22251 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
22252 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
22253 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
22255 2013-09-23 Hector Marco <hecmargi@upv.es>
22256 Ismael Ripoll <iripoll@disca.upv.es>
22257 Carlos O'Donell <carlos@redhat.com>
22260 * sysdeps/generic/stackguard-macros.h: Define
22261 __pointer_chk_guard_local and POINTER_CHK_GUARD.
22262 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
22263 Define __pointer_chk_guard_local.
22264 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
22265 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
22267 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
22270 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
22272 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
22274 * include/string.h (__ffs): Declare as hidden.
22275 * string/ffs.c (__ffs): Define as hidden.
22276 * sysdeps/i386/ffs.c (__ffs): Likewise.
22277 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
22278 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
22279 * sysdeps/s390/ffs.c (__ffs): Likewise.
22280 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
22282 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
22284 * NEWS: Mention malloc probes.
22286 * malloc/arena.c (new_heap): New memory_heap_new probe.
22287 (grow_heap): New memory_heap_more probe.
22288 (shrink_heap): New memory_heap_less probe.
22289 (heap_trim): New memory_heap_free probe.
22290 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
22291 (systrim): New memory_sbrk_less probe.
22292 * manual/probes.texi: Document them.
22294 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
22295 * manual/probes.texi: Document it.
22297 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
22298 (__libc_realloc): Add memory_realloc_retry probe.
22299 (__libc_memalign): Add memory_memalign_retry probe.
22300 (__libc_valloc): Add memory_valloc_retry probe.
22301 (__libc_pvalloc): Add memory_pvalloc_retry probe.
22302 (__libc_calloc): Add memory_calloc_retry probe.
22303 * manual/probes.texi: Document them.
22305 * malloc/arena.c (get_free_list): Add probe
22306 memory_arena_reuse_free_list.
22307 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
22308 and memory_arena_reuse.
22309 (arena_get2) [!PER_THREAD]: Likewise.
22310 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
22311 memory_arena_reuse_realloc.
22312 * manual/probes.texi: Document them.
22314 * malloc/malloc.c (__libc_free): Add
22315 memory_mallopt_free_dyn_thresholds probe.
22316 (__libc_mallopt): Add multiple memory_mallopt probes.
22317 * manual/probes.texi: Document them.
22319 * malloc/malloc.c: Include stap-probe.h.
22320 (__libc_mallopt): Add memory_mallopt probe.
22321 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
22322 * manual/probes.texi: New.
22323 * manual/Makefile (chapters): Add probes.
22324 * manual/threads.texi: Set next node.
22326 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
22328 [BZ #15963, #13985]
22329 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
22330 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
22331 Add `Chinese' to `nan' entry name.
22333 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22335 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
22336 (POLYNOMIAL): Likewise.
22337 (TAYLOR_SINCOS): Likewise.
22338 (TAYLOR_SLOW): Likewise.
22339 (__sin): Use TAYLOR_SINCOS.
22341 (slow): Use TAYLOR_SLOW.
22343 (bsloww): Likewise.
22344 (csloww): Likewise.
22346 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22348 * stdlib/strtod_l.c: Fix buffer overrun.
22350 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22352 * benchtests/Makefile (bench): Add sincos.
22353 * benchtests/bench-sincos.c: New file.
22355 * math/libm-test.inc (cos_test_data): New test inputs.
22356 (sin_test_data): Likewise.
22358 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
22364 (sloww1): Likewise.
22365 (sloww2): Likewise.
22366 (bsloww1): Likewise.
22367 (bsloww2): Likewise.
22368 (cslow2): Likewise.
22369 (csloww1): Likewise.
22370 (csloww2): Likewise.
22372 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
22377 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
22381 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
22383 * config.h.in (HAVE_MIPS_NAN2008): New macro.
22384 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
22385 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
22386 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
22387 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
22388 * elf/cache.c (print_entry): Handle the new cache flags.
22390 2013-09-18 Joseph Myers <joseph@codesourcery.com>
22391 Aldy Hernandez <aldyh@redhat.com>
22393 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
22394 Change condition to [_SOFT_FLOAT].
22395 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
22396 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
22397 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
22398 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
22399 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
22400 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
22401 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
22402 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
22403 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
22404 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
22405 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
22406 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
22407 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
22408 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
22409 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
22410 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
22413 2013-09-18 Joseph Myers <joseph@codesourcery.com>
22415 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
22416 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
22417 (__longjmp): Use LOAD_GP to load saved GPRs.
22418 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
22419 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
22420 (__sigsetjmp): Use SAVE_GP to save GPRs.
22422 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
22423 Do not append -msoft-float.
22424 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
22426 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22428 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
22430 2013-09-17 Joseph Myers <joseph@codesourcery.com>
22433 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
22434 (_FPU_GETCW): Use initial "__" on variable and field names but not
22435 on macro parameter name.
22436 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
22437 parentheses around reference to macro parameter.
22439 2013-09-13 Richard Sandiford <richard@codesourcery.com>
22441 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
22443 (ctype_startup): Use uint32_t in cast and sizeof for
22446 2013-09-11 Jia Liu <proljc@gmail.com>
22448 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
22450 [__FreeBSD__]: Likewise.
22452 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
22454 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
22455 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
22456 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
22457 (strchr): Remove __strchr_sse42 ifunc selection.
22458 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
22459 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
22461 2013-09-11 Will Newton <will.newton@linaro.org>
22463 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
22464 parameter to RES. Remove hardcoded 1000 value.
22465 * benchtests/bench-skeleton.c (main): Pass RES parameter
22466 to TIMING_INIT and multiply result by 1000.
22468 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22470 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22472 2013-09-11 Andreas Schwab <schwab@suse.de>
22474 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
22476 (O_TMPFILE) [__USE_GNU]: Define.
22477 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
22480 2013-09-11 Will Newton <will.newton@linaro.org>
22483 * malloc/malloc.c (__libc_memalign): Check the value of bytes
22486 2013-09-11 Will Newton <will.newton@linaro.org>
22489 * malloc/malloc.c (__libc_valloc): Check the value of bytes
22492 2013-09-11 Will Newton <will.newton@linaro.org>
22495 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
22498 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
22500 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
22501 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22502 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22503 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22504 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22506 2013-09-10 Allan McRae <allan@archlinux.org>
22509 * manual/arith.texi (Parsing of Floats): Clarify
22513 * manual/install.texi (Running make install): Mention
22515 * INSTALL: Regenerated.
22517 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
22519 * csu/init-first.c (_init): Remove the !SHARED condition around
22520 FPU control word initialization.
22521 * elf/dl-support.c (_dl_fpu_control): New variable.
22522 (_dl_aux_init) <AT_FPUCW>: Initialize it.
22523 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
22524 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
22525 * math/test-fpucw-static.c: New file.
22526 * math/test-fpucw-ieee.c: New file.
22527 * math/test-fpucw-ieee-static.c: New file.
22528 * math/Makefile (tests): Add `test-fpucw-ieee' and
22530 (tests-static): New variable.
22531 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
22533 [($(build-shared),yes)]
22534 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
22536 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
22539 2013-09-09 Allan McRae <allan@archlinux.org>
22542 * manual/string.texi (Collation Functions): Fix typo in
22544 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
22547 * stdlib/isomac.c (get_null_defines): Fix memory leak.
22550 * libio/memstream.c (open_memstream): Fix memory leak.
22551 * libio/wmemstream.c (open_wmemstream): Likewise.
22554 * nscd/netgroupcache.c: Fix nesting of ifdefs.
22556 2013-09-09 Will Newton <will.newton@linaro.org>
22558 * malloc/Makefile: Add tst-realloc to tests.
22559 * malloc/tst-realloc.c: New file.
22561 2013-09-09 Allan McRae <allan@archlinux.org>
22564 * COPYING: Update from GNU website to fix FSF address.
22565 * COPYING.LIB: Likewise.
22567 2013-09-06 David S. Miller <davem@davemloft.net>
22569 * po/zh_TW.po: Update Chinese (traditional) translation from
22570 translation project.
22572 2013-09-06 Richard Sandiford <richard@codesourcery.com>
22573 Joseph Myers <joseph@codesourcery.com>
22575 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
22577 (obstack_chunk_alloc): New macro.
22578 (obstack_chunk_free): Likewise.
22579 (record_offset): New function.
22580 (init_locale_data): Likewise.
22581 (align_locale_data): Likewise.
22582 (add_locale_empty): Likewise.
22583 (add_locale_raw_data): Likewise.
22584 (add_locale_raw_obstack): Likewise.
22585 (add_locale_string): Likewise.
22586 (add_locale_wstring): Likewise.
22587 (add_locale_uint32): Likewise.
22588 (add_locale_uint32_array): Likewise.
22589 (add_locale_char): Likewise.
22590 (start_locale_structure): Likewise.
22591 (end_locale_structure): Likewise.
22592 (start_locale_prelude): Likewise.
22593 (end_locale_prelude): Likewise.
22594 (write_locale_data): Take locale_file structure rather than an
22596 * locale/programs/locfile.h: Include "obstack.h".
22597 (struct locale_file): Change to store locale file contents instead
22599 (init_locale_data): New prototype.
22600 (align_locale_data): Likewise.
22601 (add_locale_empty): Likewise.
22602 (add_locale_raw_data): Likewise.
22603 (add_locale_raw_obstack): Likewise.
22604 (add_locale_string): Likewise.
22605 (add_locale_wstring): Likewise.
22606 (add_locale_uint32): Likewise.
22607 (add_locale_uint32_array): Likewise.
22608 (add_locale_char): Likewise.
22609 (start_locale_structure): Likewise.
22610 (end_locale_structure): Likewise.
22611 (start_locale_prelude): Likewise.
22612 (end_locale_prelude): Likewise.
22613 (write_locale_data): Update prototype.
22614 * locale/programs/3level.h (struct TABLE): Remove result field.
22615 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
22616 Use new locale_file interface.
22617 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
22618 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
22619 * locale/programs/ld-address.c (address_output): Use new
22620 locale_file interface.
22621 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
22623 (collate_finish): Don't call collseq_table_finalize.
22624 (collate_output): Use new locale_file interface.
22625 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
22627 (NO_FINALIZE): Change to NO_ADD_LOCALE.
22628 (TABLE): Move defines earlier in file.
22629 (ELEMENT): Likewise.
22630 (DEFAULT): Likewise.
22631 (wctrans_table_add): Move macro and inline function earlier in
22633 (struct wctype_table): Move type earlier in file.
22634 (add_locale_wctype_table): New static prototype.
22635 (struct locale_ctype_t): Use logical types instead of struct iovec
22636 pointers for members.
22637 (ctype_output): Use new locale_file interface.
22638 (wctype_table_finalize): Change to add_locale_wctype_table. Use
22639 new locale_file interface.
22640 (allocate_arrays): Update for use of new locale_file interface.
22641 * locale/programs/ld-identification.c (identification_output): Use
22642 new locale_file interface.
22643 * locale/programs/ld-measurement.c (measurement_output): Likewise.
22644 * locale/programs/ld-messages.c (messages_output): Likewise.
22645 * locale/programs/ld-monetary.c (monetary_output): Likewise.
22646 * locale/programs/ld-name.c (name_output): Likewise.
22647 * locale/programs/ld-numeric.c (numeric_output): Likewise.
22648 * locale/programs/ld-paper.c (paper_output): Likewise.
22649 * locale/programs/ld-telephone.c (telephone_output): Likewise.
22650 * locale/programs/ld-time.c (time_output): Likewise.
22652 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22654 * benchtests/Makefile: Add memrchr benchmark.
22655 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
22656 benchmark as memrchr.
22657 * benchtests/bench-memrchr-ifunc.c: New file.
22658 * benchtests/bench-memrchr.c: New file.
22660 2013-09-06 Will Newton <will.newton@linaro.org>
22662 * benchtests/Makefile (string-bench): Add memcpy.
22664 2013-09-05 Carlos O'Donell <carlos@redhat.com>
22665 Cong Wang <amwang@redhat.com>
22668 * sysdeps/unix/sysv/linux/bits/in.h
22669 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
22670 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
22671 before __USE_KERNEL_IPV6_DEFS uses.
22672 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
22674 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
22675 sockaddr_in6, or ipv6_mreq.
22677 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22679 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
22680 memory access for final bytes in some large inputs.
22681 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
22683 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22685 * string/test-memrchr.c: New file.
22686 * string/test-memrchr-ifunc.c: New file.
22687 * string/Makefile: Add new memrchr testcase.
22689 2013-09-05 Mike Frysinger <vapier@gentoo.org>
22691 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
22692 fanotify_init returns EPERM.
22694 2013-09-04 Joseph Myers <joseph@codesourcery.com>
22696 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
22698 (top level): Treat second token from macro or constant entries for
22699 allowed headers as allowed.
22700 * include/complex.h: Condition internal declarations on
22702 * include/fenv.h: Condition include of <stdbool.h> and internal
22703 declarations on [!_ISOMAC].
22705 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
22708 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
22710 2013-09-04 Joseph Myers <joseph@codesourcery.com>
22712 * configure.in (--enable-versioning): Remove configure option.
22713 (libc_cv_asm_symver_directive): Remove configure test.
22714 (libc_cv_ld_version_script_option): Likewise.
22715 (VERSIONING): Remove variable and AC_SUBST.
22716 (DO_VERSIONING): Remove AC_DEFINE.
22717 * configure: Regenerated.
22718 * config.h.in (DO_VERSIONING): Remove macro.
22719 * Makerules [$(versioning) = yes]: Change conditionals to
22720 [$(build-shared) = yes].
22721 * config.make.in (versioning): Remove variable.
22722 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
22723 [$(build-shared) = yes].
22724 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
22725 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
22726 * elf/Makefile [$(versioning) = yes]: Change conditionals to
22727 [$(build-shared) = yes].
22728 * extra-lib.mk [$(versioning) = yes]: Likewise.
22729 * hurd/Makefile [$(versioning) = yes]: Likewise.
22730 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
22732 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
22734 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
22735 [SHARED && !NO_HIDDEN].
22736 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
22738 [SHARED && DO_VERSIONING]: Likewise..
22739 * libio/Makefile [$(versioning) = yes]: Change conditionals to
22740 [$(build-shared) = yes].
22741 * manual/install.texi (--disable-versioning): Remove
22743 * INSTALL: Regenerated.
22744 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
22746 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
22747 [$(build-shared) = yes].
22748 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
22749 * sysdeps/i386/i686/multiarch/strstr-c.c
22750 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
22751 [SHARED && !NO_HIDDEN].
22752 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
22753 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
22754 * sysdeps/powerpc/powerpc32/dl-machine.c
22755 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
22756 * sysdeps/powerpc/powerpc32/sysdep.h
22757 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
22758 to [SHARED && PIC && !NO_HIDDEN].
22759 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
22760 conditional to [SHARED].
22762 2013-09-04 Will Newton <will.newton@linaro.org>
22764 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
22765 * benchtests/bench-string.h: Include bench-timing.h instead
22766 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
22767 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
22768 call to HP_TIMING_DIFF_INIT.
22769 * benchtests/bench-memccpy.c: Use bench-timing.h macros
22770 instead of hp-timing.h macros.
22771 * benchtests/bench-memchr.c: Likewise.
22772 * benchtests/bench-memcmp.c: Likewise.
22773 * benchtests/bench-memcpy.c: Likewise.
22774 * benchtests/bench-memmem.c: Likewise.
22775 * benchtests/bench-memmove.c: Likewise.
22776 * benchtests/bench-memset.c: Likewise.
22777 * benchtests/bench-rawmemchr.c: Likewise.
22778 * benchtests/bench-strcasecmp.c: Likewise.
22779 * benchtests/bench-strcasestr.c: Likewise.
22780 * benchtests/bench-strcat.c: Likewise.
22781 * benchtests/bench-strchr.c: Likewise.
22782 * benchtests/bench-strcmp.c: Likewise.
22783 * benchtests/bench-strcpy.c: Likewise.
22784 * benchtests/bench-strcpy_chk.c: Likewise.
22785 * benchtests/bench-strlen.c: Likewise.
22786 * benchtests/bench-strncasecmp.c: Likewise.
22787 * benchtests/bench-strncat.c: Likewise.
22788 * benchtests/bench-strncmp.c: Likewise.
22789 * benchtests/bench-strncpy.c: Likewise.
22790 * benchtests/bench-strnlen.c: Likewise.
22791 * benchtests/bench-strpbrk.c: Likewise.
22792 * benchtests/bench-strrchr.c: Likewise.
22793 * benchtests/bench-strspn.c: Likewise.
22794 * benchtests/bench-strstr.c: Likewise.
22796 2013-09-04 Will Newton <will.newton@linaro.org>
22798 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
22800 2013-09-03 Joseph Myers <joseph@codesourcery.com>
22803 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
22804 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
22805 * math/libm-test.inc (lgamma_test_data): Add more tests.
22806 * sysdeps/i386/fpu/libm-test-ulps: Update.
22807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22809 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
22811 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
22812 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22814 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22815 Add strcmp-sse2-unaligned
22816 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
22818 2013-09-02 Mike Frysinger <vapier@gentoo.org>
22820 * Versions.def (libc): Add GLIBC_2.19.
22822 2013-09-02 Mike Frysinger <vapier@gentoo.org>
22824 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
22825 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
22827 2013-09-02 Joseph Myers <joseph@codesourcery.com>
22830 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
22831 intermediate calculations in recurrence.
22832 (__ieee754_ynf): Likewise.
22833 * math/libm-test.inc (jn_test_data): Do not allow spurious
22834 underflow exception. Add more tests.
22835 (yn_test_data): Add more tests.
22836 * sysdeps/i386/fpu/libm-test-ulps: Update.
22837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22839 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
22841 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
22843 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
22845 * csu/init-first.c: Fix then/than typos.
22846 * locale/programs/ld-collate.c: Likewise.
22847 * locale/programs/linereader.h: Likewise.
22848 * manual/charset.texi: Likewise.
22849 * manual/filesys.texi: Likewise.
22850 * manual/stdio.texi: Likewise.
22851 * manual/string.texi: Likewise.
22852 * stdlib/fmtmsg.c: Likewise.
22853 * sysdeps/i386/stpncpy.S: Likewise.
22854 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22855 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22856 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22857 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22859 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
22861 * elf/dl-open.c: Fix typos.
22862 * iconvdata/gbbig5.c: Likewise.
22863 * iconvdata/iso-2022-jp.c: Likewise.
22864 * iconv/gconv_int.h: Likewise.
22865 * iconv/loop.c: Likewise.
22866 * nis/rpcsvc/nis.h: Likewise.
22867 * resolv/ns_name.c: Likewise.
22868 * stdio-common/vfscanf.c: Likewise.
22869 * streams/stropts.h: Likewise.
22870 * sunrpc/rpc_thread.c: Likewise.
22871 * sysdeps/i386/strpbrk.S: Likewise.
22872 * sysdeps/ieee754/k_standard.c: Likewise.
22873 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22874 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22875 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
22876 * sysdeps/mach/hurd/profil.c: Likewise.
22877 * sysdeps/s390/dl-procinfo.h: Likewise.
22878 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
22879 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
22880 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
22881 * sysdeps/x86_64/dl-trampoline.S: Likewise.
22882 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22884 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
22886 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
22887 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
22889 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
22891 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
22892 aix specific files.
22893 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
22894 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
22895 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
22896 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
22897 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
22898 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
22899 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
22900 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
22902 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
22903 Roland McGrath <roland@hack.frob.com>
22905 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
22906 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
22908 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
22910 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
22911 __executable_start symbol instead of _start.
22913 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
22915 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
22916 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
22918 * sysdeps/gnu/ldsodefs.h: ... this new file.
22920 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
22921 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
22922 instead of ELFOSABI_LINUX.
22924 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
22925 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
22926 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
22927 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
22929 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
22930 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
22931 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
22933 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
22934 (ibm_extended_long_double): Add ieee_nan member.
22935 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
22936 (do_test): New function.
22938 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
22940 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
22941 functions, renamed from truncdfsf_test, trunctfsf_test,
22943 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
22945 (do_test): Run all these.
22947 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
22949 * argp/argp-help.c: Fix typos.
22950 * argp/argp-parse.c: Likewise.
22951 * debug/backtracesyms.c: Likewise.
22952 * elf/elf.h: Likewise.
22953 * malloc/malloc.c: Likewise.
22954 * nis/nis_print.c: Likewise.
22955 * resolv/res_comp.c: Likewise.
22956 * stdlib/stdlib.h: Likewise.
22957 * sunrpc/clnt_tcp.c: Likewise.
22958 * sunrpc/clnt_udp.c: Likewise.
22959 * sunrpc/clnt_unix.c: Likewise.
22960 * sysdeps/unix/bsd/ptsname.c: Likewise.
22961 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
22962 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
22963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
22965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
22967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
22969 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
22971 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22973 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
22974 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22976 2013-08-27 Mike Frysinger <vapier@gentoo.org>
22979 * dlfcn/Makefile (tests): Add bug-dl-leaf.
22980 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
22981 ($(objpfx)bug-dl-leaf): New rule.
22982 ($(objpfx)bug-dl-leaf.so): Likewise.
22983 ($(objpfx)bug-dl-leaf.out): Likewise.
22984 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
22985 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
22986 * dlfcn/bug-dl-leaf.c: New test.
22987 * dlfcn/bug-dl-leaf-lib.c: Likewise.
22988 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
22989 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
22990 (dlclose): Likewise.
22991 (dlmopen): Likewise.
22993 2013-08-27 Roland McGrath <roland@hack.frob.com>
22995 * include/netdb.h [!_ISOMAC]:
22996 Don't include <tls.h>.
22997 (h_errno, __libc_h_errno): Move declaration and macros out of
23000 * include/resolv.h [_RESOLV_H_]:
23001 Don't include <tls.h>.
23002 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
23003 * resolv/res_libc.c: Don't include <tls.h>.
23004 (_res): Use __attribute__ ((nocommon)) in place of
23005 __attribute__ ((section (".bss"))).
23007 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
23008 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
23010 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
23012 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
23013 only under [SIOCGIFCONF && SIOCGIFNETMASK].
23015 * resolv/res_mkquery.c: Include <sys/time.h>.
23017 * inet/ifreq.c: Moved to ...
23018 * sysdeps/unix/ifreq.c: ... here.
23019 * inet/ifreq.c: New file, true stub version.
23021 * socket/sa_len.c: New file.
23022 * socket/Makefile (aux): Add it.
23023 * sysdeps/unix/sysv/linux/Makefile
23024 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
23025 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
23026 and #include <socket/sa_len.c>.
23027 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
23028 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
23030 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
23031 * bits/socket.h: ... here.
23033 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
23034 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
23035 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
23037 2013-08-27 Andreas Schwab <schwab@suse.de>
23040 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
23041 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
23042 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
23043 * string/test-strcasecmp.c (test_main): Run tests in several
23045 * string/test-strncasecmp.c (test_main): Likewise.
23047 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
23048 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
23049 to __strcasecmp_nonascii and __strncasecmp_nonascii.
23050 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
23051 (__strncasecmp_ssse3) [PIC]: Likewise.
23053 2013-08-26 Roland McGrath <roland@hack.frob.com>
23055 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
23057 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
23058 instead of explicitly declaring xdecrypt.
23059 * nis/nss_nis/nis-publickey.c: Likewise.
23061 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23064 * nscd/aicache.c: Include res_hconf.h.
23065 (addhstaiX): Initialize res_hconf.
23067 2013-08-26 Andreas Schwab <schwab@suse.de>
23069 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
23070 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
23072 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23074 * nscd/aicache.c (addhstaiX): Fix indentation.
23076 2013-08-25 Mike Frysinger <vapier@gentoo.org>
23078 * configure.ac: Quote $build_pt_chown test.
23079 * configure: Regenerated.
23081 2013-08-23 Joseph Myers <joseph@codesourcery.com>
23084 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
23085 * math/s_cexpf.c (__cexpf): Likewise.
23086 * math/s_cexpl.c (__cexpl): Likewise.
23087 * math/libm-test.inc (cexp_test_data): Correct expected return
23088 value for NaN + i0. Add another test.
23090 2013-08-22 David S. Miller <davem@davemloft.net>
23092 * po/ca.po: Update Catalan translation from translation project.
23093 * po/uk.po: Add Ukrainian translations from translation project.
23095 2013-08-21 Joseph Myers <joseph@codesourcery.com>
23098 * math/s_fdim.c (__fdim): Check for infinite arguments if result
23099 is infinite, not alongside NaN test.
23100 * math/s_fdimf.c (__fdimf): Likewise.
23101 * math/s_fdiml.c (__fdiml): Likewise.
23102 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
23103 errno is unchanged.
23105 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
23107 * argp/argp-help.c: Fix typos.
23108 * crypt/speeds.c: Likewise.
23109 * csu/check_fds.c: Likewise.
23110 * elf/dl-load.c: Likewise.
23111 * elf/dl-open.c: Likewise.
23112 * elf/reldep3.c: Likewise.
23113 * elf/reldep.c: Likewise.
23114 * elf/sprof.c: Likewise.
23115 * iconv/iconv_charmap.c: Likewise.
23116 * iconv/skeleton.c: Likewise.
23117 * iconv/strtab.c: Likewise.
23118 * io/lockf64.c: Likewise.
23119 * libio/libioP.h: Likewise.
23120 * resolv/gai_notify.c: Likewise.
23121 * resolv/ns_name.c: Likewise.
23122 * resolv/ns_samedomain.c: Likewise.
23123 * resolv/res_send.c: Likewise.
23124 * stdlib/random.c: Likewise.
23125 * sunrpc/rpc/xdr.h: Likewise.
23126 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
23127 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
23128 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23129 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23130 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23131 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
23132 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
23133 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
23134 * sysdeps/mach/hurd/check_fds.c: Likewise.
23135 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
23136 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23137 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23138 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
23139 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23140 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
23141 * sysdeps/pthread/aio_notify.c: Likewise.
23142 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
23143 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
23144 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
23145 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23146 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
23148 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23150 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
23151 version if bit_Slow_SSE4_2 is set.
23152 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23153 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23155 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23158 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
23159 trampoline stack frame information.
23160 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
23161 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
23162 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
23163 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
23164 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
23165 * sysdeps/unix/sysv/linux/powerpc/init-first.c
23166 (_libc_vdso_platform_setup): Initialize the signal trampolines.
23167 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
23169 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
23170 interrupting a syscall and set with option SA_SIGINFO.
23172 2013-08-20 Joseph Myers <joseph@codesourcery.com>
23175 * math/s_cproj.c (__cproj): Only return an infinity if one part of
23176 argument is infinite.
23177 * math/s_cprojf.c (__cprojf): Likewise.
23178 * math/s_cprojl.c (__cprojl): Likewise.
23179 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
23180 * math/libm-test.inc (cproj_test_data): Add more tests.
23182 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
23184 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
23185 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
23186 size. Use __ffs to determine corresponding shift.
23188 2013-08-20 Joseph Myers <joseph@codesourcery.com>
23189 Roland McGrath <roland@hack.frob.com>
23191 * Makefile (INSTALL): Remove trailing blank lines from output of
23194 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23196 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
23197 Align 32 bit compat elf_greg to 8 bytes.
23199 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
23201 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
23203 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23205 * string/strcoll_l.c (coll_seq): New structure.
23206 (get_next_seq_cached): New function.
23207 (get_next_seq): New function.
23208 (do_compare): New function.
23209 (STRCOLL): Use GNU style definition. Simplify implementation
23210 by using get_next_seq, get_next_seq_cached and do_compare.
23212 2013-08-16 Florian Weimer <fweimer@redhat.com>
23216 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
23218 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
23220 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
23221 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
23222 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
23224 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
23225 GETDENTS_64BIT_ALIGNED.
23226 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
23227 * manual/filesys.texi (Reading/Closing Directory): Document
23228 ENAMETOOLONG return value of readdir_r. Recommend readdir more
23230 * manual/conf.texi (Limits for Files): Add portability note to
23231 NAME_MAX, PATH_MAX.
23232 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
23234 2013-08-13 Andreas Schwab <schwab@suse.de>
23237 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
23239 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
23240 LDBL_MAX_EXP >= 16384]: Add tests for it.
23242 2013-08-12 David S. Miller <davem@davemloft.net>
23244 * version.h (RELEASE): Set to "development".
23245 (VERSION): Set to "2.18.90".
23246 * NEWS: Add 2.19 section.
23248 2013-08-03 David S. Miller <davem@davemloft.net>
23250 * po/ko.po: Update Korean translation from translation project.
23252 2013-08-01 David S. Miller <davem@davemloft.net>
23254 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
23255 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
23258 2013-07-30 David S. Miller <davem@davemloft.net>
23260 * po/fr.po: Update French translation from translation project.
23262 2013-07-28 David S. Miller <davem@davemloft.net>
23264 * po/cs.po: Update Czech translation from translation project.
23266 * po/sv.po: Update Swedish translation from translation project.
23268 2013-07-27 David S. Miller <davem@davemloft.net>
23270 * po/eo.po: Update Esperanto translation from translation project.
23272 * po/vi.po: Update Vietnamese translation from translation project.
23274 * po/de.po: Update German translation from translation project.
23276 2013-07-26 David S. Miller <davem@davemloft.net>
23278 * po/bg.po: Update Bulgarian translation from translation project.
23280 * po/nl.po: Update Dutch translation from translation project.
23281 * po/pl.po: Update Polish translation from translation project.
23282 * po/ru.po: Update Russian translation from translation project.
23284 2013-07-24 David S. Miller <davem@davemloft.net>
23286 * po/libc.pot: Update.
23288 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23290 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
23291 variable page size.
23292 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
23293 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
23294 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
23296 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23298 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
23300 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23301 Andreas Schwab <schwab@suse.de>
23302 Roland McGrath <roland@hack.frob.com>
23303 Joseph Myers <joseph@codesourcery.com>
23304 Carlos O'Donell <carlos@redhat.com>
23307 * config.h.in: Define HAVE_PT_CHOWN.
23308 * config.make.in (build-pt-chown): New variable.
23309 * configure.in (--enable-pt_chown): New configure option.
23310 * configure: Regenerate.
23311 * login/Makefile: Include Makeconfig. Build pt_chown only if
23312 build-pt-chown is enabled.
23313 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
23314 pt_chown to fix pty ownership.
23315 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
23317 * manual/install.texi (Configuring and compiling): Mention
23318 --enable-pt_chown. Add @findex for grantpt.
23319 * INSTALL: Regenerate.
23321 2013-07-20 David S. Miller <davem@davemloft.net>
23323 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
23324 difference between 32-bit and 64-bit.
23326 2013-07-15 Carlos O'Donell <carlos@redhat.com>
23329 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
23330 Avoid system header dependency with -ffreestanding.
23331 ($(objpfx)bits/syscall%d): Likewise.
23333 2013-07-13 David S. Miller <davem@davemloft.net>
23335 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
23336 underflows from atanl/atan2l due to bug 15319.
23337 (casinh_test_data): Likewise.
23339 2013-07-07 David S. Miller <davem@davemloft.net>
23341 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
23343 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
23345 * sysdeps/i386/fpu/libm-test-ulps: Update.
23346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23348 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23350 * configure.in (--enable-lock-elision): Fix message text.
23351 * INSTALL: Regenerate.
23352 * configure: Regenerate.
23354 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23356 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23358 2013-07-03 Andreas Jaeger <aj@suse.de>
23360 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
23362 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
23363 (ptrace_peeksiginfo_args): Add.
23364 (__ptrace_peeksiginfo_flags): Add.
23365 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23366 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23367 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23369 2013-07-03 Allan McRae <allan@archlinux.org>
23371 * sysdeps/i386/fpu/libm-test-ulps: Update.
23373 2013-07-02 David S. Miller <davem@davemloft.net>
23375 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23377 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
23379 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23381 2013-07-02 Joseph Myers <joseph@codesourcery.com>
23383 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23386 2013-07-02 Andi Kleen <ak@linux.intel.com>
23388 * config.h.in (ENABLE_LOCK_ELISION): Add.
23389 * configure.in (--enable-lock-elision): Add option.
23390 * manual/install.texi: Document --enable lock elision.
23391 * configure: Regenerate
23392 * INSTALL: Regenerate.
23394 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
23396 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
23397 SSE4.2 strcasecmp for libc.a.
23398 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
23400 2013-07-02 Joseph Myers <joseph@codesourcery.com>
23403 * soft-fp/op-common.h (_FP_FMA): New macro.
23404 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
23405 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
23406 (_FP_MUL_MEAT_1_imm): ... here.
23407 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
23408 (_FP_MUL_MEAT_1_wide): ... here.
23409 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
23410 (_FP_MUL_MEAT_1_hard): ... here.
23411 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
23412 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
23413 (_FP_MUL_MEAT_2_wide): ... here.
23414 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
23415 (_FP_MUL_MEAT_2_wide_3mul): ... here.
23416 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
23417 (_FP_MUL_MEAT_2_gmp): ... here.
23418 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
23419 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
23420 (_FP_MUL_MEAT_4_wide): ... here.
23421 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
23422 (_FP_MUL_MEAT_4_gmp): ... here.
23423 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
23424 (_FP_WFRACBITS_DW_S): Likewise.
23425 (_FP_WFRACXBITS_DW_S): Likewise.
23426 (_FP_HIGHBIT_DW_S): Likewise.
23427 (FP_FMA_S): Likewise.
23428 (_FP_FRAC_HIGH_DW_S): Likewise.
23429 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
23430 (_FP_WFRACBITS_DW_D): Likewise.
23431 (_FP_WFRACXBITS_DW_D): Likewise.
23432 (_FP_HIGHBIT_DW_D): Likewise.
23433 (FP_FMA_D): Likewise.
23434 (_FP_FRAC_HIGH_DW_D): Likewise.
23435 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
23436 (_FP_WFRACBITS_DW_E): Likewise.
23437 (_FP_WFRACXBITS_DW_E): Likewise.
23438 (_FP_HIGHBIT_DW_E): Likewise.
23439 (FP_FMA_E): Likewise.
23440 (_FP_FRAC_HIGH_DW_E): Likewise.
23441 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
23442 (_FP_WFRACBITS_DW_Q): Likewise.
23443 (_FP_WFRACXBITS_DW_Q): Likewise.
23444 (_FP_HIGHBIT_DW_Q): Likewise.
23445 (FP_FMA_Q): Likewise.
23446 (_FP_FRAC_HIGH_DW_Q): Likewise.
23447 * soft-fp/fmasf4.c: New file.
23448 * soft-fp/fmadf4.c: Likewise.
23449 * soft-fp/fmatf4.c: Likewise.
23451 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23453 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
23454 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
23456 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
23458 (index_Slow_SSE4_2): Likewise.
23459 (index_Prefer_PMINUB_for_stringop): Likewise.
23460 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
23461 bit_Slow_SSE4_2 is set.
23462 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23463 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23465 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23467 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
23468 rtld_global._dl_hwcap2.
23469 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
23471 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
23472 POWER8 feature descriptions defined in _dl_hwcap2.
23473 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
23474 string handling for POWER8 feature bits.
23475 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
23476 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
23477 _dl_powerpc_cap_flags.
23478 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
23479 * sysdeps/powerpc/rtld-global-offsets.sym
23480 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
23481 _dl_hwcap2 in the rtld_global_ro structure.
23483 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23485 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
23486 hardware capabilities in support of AT_HWCAP2.
23487 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
23488 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
23490 (_dl_show_auxv): Add support for calling _dl_procinfo to display
23491 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
23492 explicitly the unknown a_type display mechanism is used.
23493 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
23494 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
23496 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
23497 to macro prototype for AT_HWCAP2 support.
23498 * sysdeps/i386/dl-procinfo.h: Likewise.
23499 * sysdeps/s390/dl-procinfo.h: Likewise.
23500 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
23501 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
23502 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
23503 return -1 for unknown a_type display fallback.
23504 * sysdeps/sparc/dl-procinfo.h: Likewise.
23505 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
23506 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
23508 2013-06-28 Joseph Myers <joseph@codesourcery.com>
23510 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
23511 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
23513 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
23516 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
23517 mprotect making __stack_prot writable.
23519 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
23520 Joseph Myers <joseph@codesourcery.com>
23522 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
23523 as being properly aligned.
23525 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
23527 * dlfcn/modstatic5.c: New file.
23528 * dlfcn/tststatic5.c: New file.
23529 * dlfcn/Makefile (tests): Add tststatic5.
23530 (tests-static): Likewise.
23531 (modules-names): Add modstatic5.
23532 (tststatic5-ENV): New variable.
23533 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
23536 * elf/dl-support.c (_dl_main_map): New variable.
23537 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
23538 (_dl_nns, _dl_load_adds): Set to 1.
23539 (_dl_initial_searchlist): Refer to _dl_main_map.
23540 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
23541 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
23542 call to _dl_get_origin.
23543 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
23545 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
23546 * dlfcn/modstatic3.c: New file.
23547 * dlfcn/tststatic3.c: New file.
23548 * dlfcn/tststatic4.c: New file.
23549 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
23550 (tests-static): Likewise.
23551 (modules-names): Add modstatic3.
23552 (tststatic3-ENV, tststatic4-ENV): New variables.
23553 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
23554 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
23556 2013-06-26 Joseph Myers <joseph@codesourcery.com>
23558 * configure.in (CC): Require GCC version 4.4 or later.
23559 * configure: Regenerated.
23560 * manual/install.texi (Tools for Compilation): Update GCC version
23562 * INSTALL: Regenerated.
23564 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23567 * string/test-memcmp.c (check2): New.
23568 (main): Call check2.
23570 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
23572 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
23575 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
23577 (dl_open_worker) [!SHARED]: ... here.
23579 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23581 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
23583 2013-06-25 Richard Henderson <rth@redhat.com>
23585 * locale/programs/locarchive.c: Include <libc-internal.h>
23587 2013-06-25 Joseph Myers <joseph@codesourcery.com>
23589 * manual/texinfo.tex: Update to version 2013-06-21.17, with
23590 trailing whitespace removed.
23592 2013-06-24 Mike Frysinger <vapier@gentoo.org>
23595 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
23596 * locale/programs/locarchive.c: Include libc-mmap.h.
23597 (prepare_address_space): Take two new outputs (the mmap base and len).
23598 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
23600 (create_archive): Declare new mmap base and len values for
23601 prepare_address_space, and store the result in ah.
23602 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
23603 (enlarge_archive): If ah->mmap_base is not NULL, use that and
23604 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
23605 Declare new mmap base and len values for
23606 prepare_address_space, and store the result in new_ah.
23607 (open_archive): Declare new mmap base and len values for
23608 prepare_address_space, and store the result in ah.
23609 (close_archive): If ah->mmap_base is not NULL, use that and
23610 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
23611 * sysdeps/generic/libc-mmap.h: New file.
23613 2013-06-24 Mike Frysinger <vapier@gentoo.org>
23615 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
23616 (ALIGN_UP): Likewise.
23617 (PTR_ALIGN_DOWN): Likewise.
23618 (PTR_ALIGN_UP): Likewise.
23620 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23622 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
23623 entry mapped to PPC_PLATFORM_POWER8.
23624 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
23626 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
23627 (_dl_string_platform): Add case for exporting platform position for
23629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
23630 search path to sysdeps/powerpc/powerpc32/power8 directory.
23631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
23632 search path to sysdeps/powerpc/powerpc64/power8 directory.
23633 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
23634 power7 directories.
23635 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
23636 power7 directories.
23638 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23640 * INSTALL: Regenerate.
23642 * nscd/connections.c (nscd_init): Fix comment.
23644 2013-06-22 Joseph Myers <joseph@codesourcery.com>
23646 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
23649 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
23650 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
23652 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
23654 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
23656 (DL_DST_REQ_STATIC): Remove macro.
23658 2013-06-21 Joseph Myers <joseph@codesourcery.com>
23661 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
23662 with a shift of 0 bits.
23664 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
23666 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
23669 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23672 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
23674 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23676 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
23677 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
23678 accepts -fno-tree-loop-distribute-patterns.
23679 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
23680 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
23682 * string/memset.c (memset): Likewise.
23683 * string/test-memmove.c (simple_memmove): Disable loop transformation
23685 * string/test-memset.c (simple_memset): Likewise.
23686 * benchtests/bench-memmove.c (simple_memmove): Likewise.
23687 * benchtests/bench-memset.c (simple_memset): Likewise.
23688 * configure: Regenerated.
23690 2013-06-20 Joseph Myers <joseph@codesourcery.com>
23692 * math/test-misc.c (main): Ignore fesetround failure when failures
23693 of subsequent rounding tests would be ignored.
23696 * math/fedisblxcpt.c (fedisableexcept): Return 0.
23697 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
23698 * math/fegetenv.c (__fegetenv): Return 0.
23699 * math/fegetexcept.c (fegetexcept): Return 0.
23700 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
23702 * math/feholdexcpt.c (feholdexcept): Return 0.
23703 * math/fesetenv.c (__fesetenv): Return 0.
23704 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
23705 argument FE_TONEAREST.
23706 * math/feupdateenv.c (__feupdateenv): Return 0.
23707 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
23709 2013-06-18 Roland McGrath <roland@hack.frob.com>
23711 * elf/rtld-Rules (rtld-compile-command.S): New variable.
23712 (rtld-compile-command.s, rtld-compile-command.c): New variables.
23713 ($(objpfx)rtld-%.os rules): Use them.
23715 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23717 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
23720 2013-06-17 Roland McGrath <roland@hack.frob.com>
23722 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
23723 length of target pattern, then descending length of dependency pattern.
23724 * configure.in (AWK): Require gawk 3.1.2 or newer.
23725 * manual/install.texi (Tools for Compilation): Say that we do.
23726 * configure: Regenerated.
23728 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
23729 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
23730 * scripts/sysd-rules.awk: ... this new script.
23731 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
23732 than a glob-style pattern.
23734 2013-06-17 Joseph Myers <joseph@codesourcery.com>
23736 * math/test-misc.c (main): Do not treat incorrectly rounded
23737 conversions as failure unless ROUNDING_TESTS passes.
23739 2013-06-15 Joseph Myers <joseph@codesourcery.com>
23742 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
23743 restore exception state around main square root computation, then
23744 check for inexactness explicitly.
23746 * math/libm-test.inc (fma_test_data): Add another test.
23748 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23750 * manual/threads.texi (Non-POSIX Extensions): New document
23751 node. Document pthread_getattr_default_np and
23752 pthread_setattr_default_np.
23754 * Versions.def (libpthread): Add GLIBC_2.18.
23755 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
23756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
23758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23760 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23762 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23764 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
23766 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23768 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23770 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
23772 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23775 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23777 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23778 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
23780 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23781 H.J. Lu <hjl.tools@gmail.com>
23784 * sysdeps/x86_64/rtld-memset.c: Remove file.
23785 * sysdeps/x86_64/rtld-memset.S: New file.
23787 2013-06-14 Joseph Myers <joseph@codesourcery.com>
23789 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
23790 (test_in_one_mode): Take arguments for whether the rounding mode
23791 is supported for each floating-point type.
23792 (do_test): Pass new arguments to test_in_one_mode using
23795 2013-06-13 Roland McGrath <roland@hack.frob.com>
23797 * posix/tst-waitid.c (do_test): Distinguish different instances of
23798 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
23799 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
23800 before entering the kernel for waitpid.
23802 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23804 * NEWS: Fix note on clock function precision. Text by Roland
23807 2013-06-13 Roland McGrath <roland@hack.frob.com>
23809 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
23810 it into place only when and if the sanity check passes.
23812 2013-06-13 Joseph Myers <joseph@codesourcery.com>
23814 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
23815 output for whether conversion result is exact. Take argument
23816 indicating whether type is IBM long double.
23817 (round_for_all): Change need_exact field to ibm_ld.
23818 * stdlib/tst-strtod-round.c (struct exactness): New type.
23819 (struct test): Change bool ld_ok field to struct exactness exact.
23820 (TEST): Update all definitions for change to field.
23821 (tests): Regenerate array contents.
23822 (test_in_one_mode): Take pointer to new field instead of old ld_ok
23823 field value. Check for IBM long double here.
23824 (do_test): Update calls to test_in_one_mode.
23826 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23829 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
23830 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
23832 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23835 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
23836 generated by the compiler on loop optimizations.
23837 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
23838 general definitions.
23840 2013-06-12 Joseph Myers <joseph@codesourcery.com>
23842 * math/bug-nextafter.c: Include <math-tests.h>.
23843 (main): Only test for exceptions if EXCEPTION_TESTS is true for
23845 * math/bug-nexttoward.c: Include <math-tests.h>.
23846 (main): Only test for exceptions if EXCEPTION_TESTS is true for
23848 * math/test-misc.c: Include <math-tests.h>.
23849 (main): Only test for exceptions if EXCEPTION_TESTS is true for
23852 2013-06-12 Andreas Jaeger <aj@suse.de>
23854 * po/ia.po: Update Interlingua translation from translation
23857 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
23859 * include/fenv.h: Include stdbool.h.
23860 (struct rm_ctx): New structure.
23861 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
23863 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
23864 (SET_RESTORE_ROUNDF): Likewise.
23865 (SET_RESTORE_ROUNDL): Likewise.
23866 (SET_RESTORE_ROUND_NOEX): Likewise.
23867 (SET_RESTORE_ROUND_NOEXF): Likewise.
23868 (SET_RESTORE_ROUND_NOEXL): Likewise.
23869 (SET_RESTORE_ROUND_53BIT): Likewise.
23870 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
23871 (libc_feresetround_noexf_ctx): Likewise.
23872 (libc_feresetround_noexl_ctx): Likewise.
23873 (libc_feholdsetround_53bit_ctx): Likewise.
23874 (libc_feresetround_53bit_ctx): Likewise.
23875 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
23876 (libc_feholdexcept_setround_sse_ctx): New function.
23877 (libc_fesetenv_sse_ctx): Likewise.
23878 (libc_feupdateenv_sse_ctx): Likewise.
23879 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
23880 (libc_feholdexcept_setround_387_ctx): Likewise.
23881 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
23882 (libc_feholdsetround_387_prec_ctx): Likewise.
23883 (libc_feholdsetround_387_ctx): Likewise.
23884 (libc_feholdsetround_387_53bit_ctx): Likewise.
23885 (libc_feholdsetround_sse_ctx): Likewise.
23886 (libc_feresetround_sse_ctx): Likewise.
23887 (libc_feresetround_387_ctx): Likewise.
23888 (libc_feupdateenv_387_ctx): Likewise.
23889 (libc_feholdexcept_setroundf_ctx): Define macro.
23890 (libc_fesetenvf_ctx): Likewise.
23891 (libc_feupdateenvf_ctx): Likewise.
23892 (libc_feholdsetroundf_ctx): Likewise.
23893 (libc_feresetroundf_ctx): Likewise.
23894 (libc_feholdexcept_setround_ctx): Likewise.
23895 (libc_fesetenv_ctx): Likewise.
23896 (libc_feupdateenv_ctx): Likewise.
23897 (libc_feholdsetround_ctx): Likewise.
23898 (libc_feresetround_ctx): Likewise.
23899 (libc_feholdexcept_setroundl_ctx): Likewise.
23900 (libc_feupdateenvl_ctx): Likewise.
23901 (libc_feholdsetroundl_ctx): Likewise.
23902 (libc_feresetroundl_ctx): Likewise.
23903 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
23904 (libc_feresetround_53bit_ctx): Likewise.
23906 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23908 * locale/iso-639.def: Convert to UTF-8.
23910 2013-06-11 Joseph Myers <joseph@codesourcery.com>
23912 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
23913 (EXCEPTION_TESTS_double): Likewise.
23914 (EXCEPTION_TESTS_long_double): Likewise.
23915 (EXCEPTION_TESTS): Likewise.
23916 * math/libm-test.inc (test_exceptions): Only test exceptions if
23917 EXCEPTION_TESTS (FLOAT).
23919 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23921 * benchtests/Makefile (string-bench): Add strcpy_chk and
23923 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
23924 * benchtests/bench-stpcpy_chk.c: New file.
23925 * benchtests/bench-strcpy_chk-ifunc.c: New file.
23926 * benchtests/bench-strcpy_chk.c: New file.
23927 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
23929 (do_test): Likewise.
23931 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23933 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
23934 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
23935 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
23936 with tabs where appropriate.
23937 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
23939 [PPC_PLATFORM_PPC440]: Likewise.
23940 [PPC_PLATFORM_PPC464]: Likewise.
23941 [PPC_PLATFORM_PPC476]: Likewise.
23942 (_dl_string_platform): Add support for detecting ppc405, ppc440,
23943 ppc464, and ppc476 platform strings merging from ports/
23946 2013-06-11 Andreas Schwab <schwab@suse.de>
23949 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
23950 (from_ucs4_idx): Regenerate.
23951 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
23952 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
23953 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
23954 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
23955 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
23956 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
23957 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
23958 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
23959 from FROM_LOOP and TO_LOOP specific macros.
23960 (BODY): Handle combining characters.
23961 * iconvdata/BIG5HKSCS.irreversible: Update.
23962 * iconvdata/BIG5HKSCS.precomposed: New file.
23963 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
23965 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
23967 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23969 * include/sys/time.h: Fix indentation and add copyright header.
23971 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
23972 (do_test): Likewise.
23973 * string/test-memchr.c (do_one_test): Likewise.
23974 (do_test): Likewise.
23975 * string/test-memcmp.c (do_one_test): Likewise.
23976 (do_test): Likewise.
23977 * string/test-memcpy.c (do_one_test): Likewise.
23978 (do_test): Likewise.
23979 * string/test-memmem.c (do_one_test): Likewise.
23980 (do_test): Likewise.
23981 (do_random_tests): Likewise.
23982 * string/test-memmove.c (do_one_test): Likewise.
23983 (do_test): Likewise.
23984 * string/test-memset.c (do_one_test): Likewise.
23985 (do_test): Likewise.
23986 * string/test-rawmemchr.c (do_one_test): Likewise.
23987 (do_test): Likewise.
23988 * string/test-strcasecmp.c (do_one_test): Likewise.
23989 (do_test): Likewise.
23990 * string/test-strcasestr.c (do_one_test): Likewise.
23991 (do_test): Likewise.
23992 * string/test-strcat.c (do_one_test): Likewise.
23993 (do_test): Likewise.
23994 * string/test-strchr.c (do_one_test): Likewise.
23995 (do_test): Likewise.
23996 * string/test-strcmp.c (do_one_test): Likewise.
23997 (do_test): Likewise.
23998 * string/test-strcpy.c (do_one_test): Likewise.
23999 (do_test): Likewise.
24000 * string/test-string.h: Likewise.
24001 (test_init): Likewise.
24002 * string/test-strlen.c (do_one_test): Likewise.
24003 (do_test): Likewise.
24004 * string/test-strncasecmp.c (do_one_test): Likewise.
24005 (do_test): Likewise.
24006 * string/test-strncat.c (do_one_test): Likewise.
24007 (do_test): Likewise.
24008 * string/test-strncmp.c (do_one_test): Likewise.
24009 (do_test_limit): Likewise.
24010 (do_test): Likewise.
24011 * string/test-strncpy.c (do_one_test): Likewise.
24012 (do_test): Likewise.
24013 * string/test-strnlen.c (do_one_test): Likewise.
24014 (do_test): Likewise.
24015 * string/test-strpbrk.c (do_one_test): Likewise.
24016 (do_test): Likewise.
24017 * string/test-strrchr.c (do_one_test): Likewise.
24018 (do_test): Likewise.
24019 * string/test-strspn.c (do_one_test): Likewise.
24020 (do_test): Likewise.
24021 * string/test-strstr.c (do_one_test): Likewise.
24022 (do_test): Likewise.
24024 * benchtests/Makefile (string-bench): Add string benchmarks.
24025 * benchtests/bench-bcopy-ifunc.c: New file.
24026 * benchtests/bench-bcopy.c: New file.
24027 * benchtests/bench-bzero-ifunc.c: New file.
24028 * benchtests/bench-bzero.c: New file.
24029 * benchtests/bench-memccpy-ifunc.c: New file.
24030 * benchtests/bench-memccpy.c: New file.
24031 * benchtests/bench-memchr-ifunc.c: New file.
24032 * benchtests/bench-memchr.c: New file.
24033 * benchtests/bench-memcmp-ifunc.c: New file.
24034 * benchtests/bench-memcmp.c: New file.
24035 * benchtests/bench-memmem-ifunc.c: New file.
24036 * benchtests/bench-memmem.c: New file.
24037 * benchtests/bench-memmove-ifunc.c: New file.
24038 * benchtests/bench-memmove.c: New file.
24039 * benchtests/bench-mempcpy-ifunc.c: New file.
24040 * benchtests/bench-mempcpy.c: New file.
24041 * benchtests/bench-memset-ifunc.c: New file.
24042 * benchtests/bench-memset.c: New file.
24043 * benchtests/bench-rawmemchr-ifunc.c: New file.
24044 * benchtests/bench-rawmemchr.c: New file.
24045 * benchtests/bench-stpcpy-ifunc.c: New file.
24046 * benchtests/bench-stpcpy.c: New file.
24047 * benchtests/bench-stpncpy-ifunc.c: New file.
24048 * benchtests/bench-stpncpy.c: New file.
24049 * benchtests/bench-strcasecmp-ifunc.c: New file.
24050 * benchtests/bench-strcasecmp.c: New file.
24051 * benchtests/bench-strcasestr-ifunc.c: New file.
24052 * benchtests/bench-strcasestr.c: New file.
24053 * benchtests/bench-strcat-ifunc.c: New file.
24054 * benchtests/bench-strcat.c: New file.
24055 * benchtests/bench-strchr-ifunc.c: New file.
24056 * benchtests/bench-strchr.c: New file.
24057 * benchtests/bench-strchrnul-ifunc.c: New file.
24058 * benchtests/bench-strchrnul.c: New file.
24059 * benchtests/bench-strcmp-ifunc.c: New file.
24060 * benchtests/bench-strcmp.c: New file.
24061 * benchtests/bench-strcpy-ifunc.c: New file.
24062 * benchtests/bench-strcpy.c: New file.
24063 * benchtests/bench-strcspn-ifunc.c: New file.
24064 * benchtests/bench-strcspn.c: New file.
24065 * benchtests/bench-strlen-ifunc.c: New file.
24066 * benchtests/bench-strlen.c: New file.
24067 * benchtests/bench-strncasecmp-ifunc.c: New file.
24068 * benchtests/bench-strncasecmp.c: New file.
24069 * benchtests/bench-strncat-ifunc.c: New file.
24070 * benchtests/bench-strncat.c: New file.
24071 * benchtests/bench-strncmp-ifunc.c: New file.
24072 * benchtests/bench-strncmp.c: New file.
24073 * benchtests/bench-strncpy-ifunc.c: New file.
24074 * benchtests/bench-strncpy.c: New file.
24075 * benchtests/bench-strnlen-ifunc.c: New file.
24076 * benchtests/bench-strnlen.c: New file.
24077 * benchtests/bench-strpbrk-ifunc.c: New file.
24078 * benchtests/bench-strpbrk.c: New file.
24079 * benchtests/bench-strrchr-ifunc.c: New file.
24080 * benchtests/bench-strrchr.c: New file.
24081 * benchtests/bench-strspn-ifunc.c: New file.
24082 * benchtests/bench-strspn.c: New file.
24083 * benchtests/bench-strstr-ifunc.c: New file.
24084 * benchtests/bench-strstr.c: New file.
24086 * benchtests/Makefile: Disable parallel execution of targets.
24087 (string-bench): Add memcpy.
24088 (benchset): New variable to store a list of benchmark sets.
24089 (bench-func): Renamed from bench.
24090 (bench-set): New target.
24091 (bench): Depend on bench-func and bench-set.
24092 * benchtests/README: Add section on benchmark sets.
24093 * benchtests/bench-memcpy-ifunc.c: New file.
24094 * benchtests/bench-memcpy.c: New file.
24095 * benchtests/bench-string.h: New file.
24097 2013-06-11 Andreas Schwab <schwab@suse.de>
24100 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
24101 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
24102 values in the triple.
24103 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
24104 terminator in the group key.
24106 2013-06-11 Andreas Jaeger <aj@suse.de>
24108 * po/zh_TW.po: Update Chinese (traditional) translation from
24109 translation project.
24111 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24113 * include/time.h (__clock_gettime): Add libc_hidden_proto.
24114 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
24115 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
24116 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24117 (clock_getcpuclockid): Likewise.
24118 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
24119 Add weak_alias and libc_hidden_def.
24120 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
24121 * rt/clock_gettime.c (clock_gettime): Rename to
24122 __clock_gettime. Add weak_alias and libc_hidden_def.
24123 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
24124 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
24125 __clock_nanosleep. Add weak_alias and libc_hidden_def.
24126 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
24127 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
24129 * rt/clock_settime.c (clock_settime): Rename to
24130 __clock_settime. Add weak_alias and libc_hidden_def.
24131 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
24133 2013-06-10 Joseph Myers <joseph@codesourcery.com>
24135 * mach/err_boot.sub: Remove trailing whitespace.
24136 * mach/err_ipc.sub: Likewise.
24137 * mach/err_mach.sub: Likewise.
24139 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
24140 (ROUNDING_TESTS_double): Likewise.
24141 (ROUNDING_TESTS_long_double): Likewise.
24142 (ROUNDING_TESTS): Likewise.
24143 * math/libm-test.inc: Include <math-tests.h>.
24144 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
24145 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
24146 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
24147 (IF_ROUND_INIT_FE_UPWARD): Likewise.
24149 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24151 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
24154 2013-06-08 Joseph Myers <joseph@codesourcery.com>
24156 * sysdeps/gnu/errlist.awk: Do not generate space at end of
24157 otherwise empty TRANS lines.
24158 * sysdeps/gnu/errlist.c: Regenerated.
24160 * catgets/gencat.c (error_print): Use (void) in function
24162 * crypt/crypt_util.c (__init_des): Likewise.
24163 * crypt/speeds.c (Stop): Likewise.
24165 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
24166 * inet/ruserpass.c (token): Likewise.
24167 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
24168 * intl/localealias.c (extend_alias_table): Likewise.
24169 * intl/plural-exp.c (init_germanic_plural): Likewise.
24170 * libio/fcloseall.c (__fcloseall): Likewise.
24171 * libio/genops.c (_IO_flush_all): Likewise.
24172 (_IO_flush_all_linebuffered): Likewise.
24173 (_IO_cleanup): Likewise.
24174 (_IO_iter_begin): Likewise.
24175 (_IO_iter_end): Likewise.
24176 (_IO_list_lock): Likewise.
24177 (_IO_list_unlock): Likewise.
24178 (_IO_list_resetlock): Likewise.
24179 * libio/getchar.c (getchar): Likewise.
24180 * libio/getchar_u.c (getchar_unlocked): Likewise.
24181 * libio/getwchar.c (getwchar): Likewise.
24182 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
24183 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
24184 * login/getpt.c (__getpt): Likewise.
24185 * login/tst-utmp.c (main): Likewise.
24186 * malloc/hooks.c (__malloc_check_init): Likewise.
24187 * malloc/malloc.c (__malloc_stats): Likewise.
24188 * malloc/mtrace.c (tr_break): Likewise.
24189 (mtrace): Likewise.
24190 (muntrace): Likewise.
24191 * misc/fstab.c (endfsent): Likewise.
24192 * misc/getclktck.c (__getclktck): Likewise.
24193 * misc/getdtsz.c (__getdtablesize): Likewise.
24194 * misc/gethostid.c (gethostid): Likewise.
24195 * misc/getpagesize.c (__getpagesize): Likewise.
24196 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
24197 (__get_nprocs): Likewise.
24198 (__get_phys_pages): Likewise.
24199 (__get_avphys_pages): Likewise.
24200 * misc/getttyent.c (getttyent): Likewise.
24201 (setttyent): Likewise.
24202 (endttyent): Likewise.
24203 * misc/getusershell.c (getusershell): Likewise.
24204 (endusershell): Likewise.
24205 (setusershell): Likewise.
24206 (initshells): Likewise.
24207 * misc/hsearch.c (__hdestroy): Likewise.
24208 * misc/sync.c (sync): Likewise.
24209 * misc/syslog.c (closelog_internal): Likewise.
24210 (closelog): Likewise.
24211 * misc/ttyslot.c (ttyslot): Likewise.
24212 * misc/vhangup.c (vhangup): Likewise.
24213 * posix/fork.c (__fork): Likewise.
24214 * posix/getegid.c (__getegid): Likewise.
24215 * posix/geteuid.c (__geteuid): Likewise.
24216 * posix/getgid.c (__getgid): Likewise.
24217 * posix/getpid.c (__getpid): Likewise.
24218 * posix/getppid.c (__getppid): Likewise.
24219 * posix/getuid.c (__getuid): Likewise.
24220 * posix/pause.c (pause): Likewise.
24221 * posix/setpgrp.c (setpgrp): Likewise.
24222 * posix/setsid.c (__setsid): Likewise.
24223 * posix/test-vfork.c (noop): Likewise.
24224 * resolv/gethnamaddr.c (_endhtent): Likewise.
24225 (_gethtent): Likewise.
24226 (ht_endhostent): Likewise.
24227 (gethostent): Likewise.
24228 (dns_service): Likewise.
24229 * stdlib/drand48.c (drand48): Likewise.
24230 * stdlib/lrand48.c (lrand48): Likewise.
24231 * stdlib/mrand48.c (mrand48): Likewise.
24232 * stdlib/rand.c (rand): Likewise.
24233 * stdlib/random.c (__random): Likewise.
24234 * stdlib/setenv.c (clearenv): Likewise.
24235 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
24236 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
24237 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
24238 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
24239 (__get_nprocs): Likewise.
24240 (__get_phys_pages): Likewise.
24241 (__get_avphys_pages): Likewise.
24242 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
24243 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
24244 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
24245 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
24246 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
24247 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
24248 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
24249 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
24250 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
24251 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
24252 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
24253 * sysdeps/mach/hurd/sync.c (sync): Likewise.
24254 * sysdeps/posix/clock.c (clock): Likewise.
24255 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
24256 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
24257 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
24258 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
24259 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
24260 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
24261 (__get_nprocs_conf): Likewise.
24262 (__get_phys_pages): Likewise.
24263 (__get_avphys_pages): Likewise.
24264 * time/clock.c (clock): Likewise.
24265 * time/tzset.c (__tzname_max): Likewise.
24267 2013-06-07 Joseph Myers <joseph@codesourcery.com>
24269 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
24270 (__bswap_32): Do not use "register".
24271 * crypt/crypt.c (_ufc_doit_r): Likewise.
24272 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
24273 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
24274 * gmon/gmon.c (__monstartup): Likewise.
24275 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
24276 * hurd/hurdmalloc.c (more_memory): Likewise.
24277 (malloc): Likewise.
24279 (realloc): Likewise.
24280 (malloc_fork_prepare): Likewise.
24281 (malloc_fork_parent): Likewise.
24282 (malloc_fork_child): Likewise.
24283 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
24284 (_svcauth_des): Likewise.
24285 * inet/inet_lnaof.c (inet_lnaof): Likewise.
24286 * inet/inet_net.c (inet_network): Likewise.
24287 * inet/inet_netof.c (inet_netof): Likewise.
24288 * inet/rcmd.c (__validuser2_sa): Likewise.
24289 * io/fts.c (fts_open): Likewise.
24290 (fts_load): Likewise.
24291 (fts_close): Likewise.
24292 (fts_read): Likewise.
24293 (fts_children): Likewise.
24294 (fts_build): Likewise.
24295 (fts_stat): Likewise.
24296 (fts_sort): Likewise.
24297 (fts_alloc): Likewise.
24298 (fts_lfree): Likewise.
24299 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
24300 (_IO_file_xsgetn): Likewise.
24301 (_IO_file_xsgetn_mmap): Likewise.
24302 * libio/iofopncook.c (_IO_cookie_read): Likewise.
24303 (_IO_cookie_write): Likewise.
24304 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
24305 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
24306 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
24307 * malloc/obstack.c (_obstack_begin): Likewise.
24308 (_obstack_begin_1): Likewise.
24309 (_obstack_newchunk): Likewise.
24310 (_obstack_allocated_p): Likewise.
24311 (obstack_free): Likewise.
24312 (_obstack_memory_used): Likewise.
24313 * misc/getttyent.c (getttynam): Likewise.
24314 (getttyent): Likewise.
24317 * misc/getusershell.c (initshells): Likewise.
24318 * misc/syslog.c (__vsyslog_chk): Likewise.
24319 * misc/ttyslot.c (ttyslot): Likewise.
24320 * nis/nis_hash.c (__nis_hash): Likewise.
24321 * posix/fnmatch_loop.c (FCT): Likewise.
24322 * posix/getconf.c (print_all): Likewise.
24324 * posix/getopt.c (exchange): Likewise.
24325 * posix/glob.c (globfree): Likewise.
24326 (prefix_array): Likewise.
24327 (__glob_pattern_type): Likewise.
24328 * resolv/arpa/nameser.h (NS_GET16): Likewise.
24329 (NS_GET32): Likewise.
24330 (NS_PUT16): Likewise.
24331 (NS_PUT32): Likewise.
24332 * resolv/gethnamaddr.c (getanswer): Likewise.
24333 (gethostbyname2): Likewise.
24334 (gethostbyaddr): Likewise.
24335 (_gethtent): Likewise.
24336 (_gethtbyname2): Likewise.
24337 (_gethtbyaddr): Likewise.
24338 * resolv/ns_print.c (dst_s_get_int16): Likewise.
24339 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
24340 * resolv/res_init.c (__res_vinit): Likewise.
24341 (net_mask): Likewise.
24342 * resolv/res_mkquery.c (outchar): Likewise.
24344 * stdio-common/printf_fp.c (outchar): Likewise.
24346 * stdio-common/printf_fphex.c (outchar): Likewise.
24348 * stdio-common/printf_size.c (outchar): Likewise.
24350 * stdio-common/test_rdwr.c (main): Likewise.
24351 * stdio-common/tfformat.c (matches): Likewise.
24352 * stdio-common/vfprintf.c (outchar): Likewise.
24353 (printf_unknown): Likewise.
24354 (buffered_vfprintf): Likewise.
24355 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
24356 * stdio-common/xbug.c (AppendToBuffer): Likewise.
24357 (ReadFile): Likewise.
24358 * stdlib/qsort.c (SWAP): Likewise.
24359 (_quicksort): Likewise.
24360 * stdlib/setenv.c (__add_to_environ): Likewise.
24361 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
24362 * stdlib/strtol_l.c (__strtol_l): Likewise.
24363 * stdlib/tst-strtod.c (main): Likewise.
24364 * stdlib/tst-strtol.c (main): Likewise.
24365 * stdlib/tst-strtoll.c (main): Likewise.
24366 * string/bits/string2.h (__strcmp_cc): Likewise.
24367 (__strcmp_cg): Likewise.
24368 (__strcspn_c1): Likewise.
24369 (__strcspn_c2): Likewise.
24370 (__strcspn_c3): Likewise.
24371 (__strspn_c1): Likewise.
24372 (__strspn_c2): Likewise.
24373 (__strspn_c3): Likewise.
24374 (__strsep_1c): Likewise.
24375 (__strsep_2c): Likewise.
24376 (__strsep_3c): Likewise.
24377 * string/memccpy.c (__memccpy): Likewise.
24378 * string/stpcpy.c (__stpcpy): Likewise.
24379 * string/strcmp.c (strcmp): Likewise.
24380 * string/strrchr.c (strrchr): Likewise.
24381 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
24383 * sysdeps/mach/hurd/getcwd.c
24384 (_hurd_canonicalize_directory_name_internal): Likewise.
24385 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
24386 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
24387 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
24388 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
24389 Likewise, in both definitions.
24390 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
24392 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
24393 64] (__bswap_64): Likewise.
24394 * time/test_time.c (main): Likewise.
24395 * time/tzfile.c (__tzfile_read): Likewise.
24396 (__tzfile_compute): Likewise.
24397 * time/tzset.c (__tzset_parse_tz): Likewise.
24398 (tzset_internal): Likewise.
24399 (compute_change): Likewise.
24400 * wcsmbs/wcscat.c (__wcscat): Likewise.
24401 * wcsmbs/wcschr.c (wcschr): Likewise.
24402 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
24403 * wcsmbs/wcscspn.c (wcscspn): Likewise.
24404 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
24405 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
24406 * wcsmbs/wcsspn.c (wcsspn): Likewise.
24407 * wcsmbs/wcsstr.c (wcsstr): Likewise.
24408 * wcsmbs/wmemchr.c (wmemchr): Likewise.
24409 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
24410 * wcsmbs/wmemset.c (wmemset): Likewise.
24412 2013-06-06 Joseph Myers <joseph@codesourcery.com>
24414 * scripts/config.guess: Update to version 2013-05-16.
24415 * scripts/config.sub: Update to version 2013-04-24.
24416 * scripts/install-sh: Update to version 2011-11-20.07.
24417 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
24418 * scripts/move-if-change: Update to version 2012-01-06 07:23.
24420 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
24422 * debug/fgetws_u_chk.c: Fix leading whitespaces.
24423 * elf/sln.c: Likewise.
24424 * hurd/hurd/ioctl.h: Likewise.
24425 * hurd/hurdmalloc.c: Likewise.
24426 * hurd/xattr.c: Likewise.
24427 * include/shlib-compat.h: Likewise.
24428 * inet/ruserpass.c: Likewise.
24429 * libio/iofgets_u.c: Likewise.
24430 * libio/iofgetws_u.c: Likewise.
24431 * locale/programs/ld-identification.c: Likewise.
24432 * locale/programs/ld-time.c: Likewise.
24433 * mach/msg-destroy.c: Likewise.
24434 * nss/nss_files/files-netgrp.c: Likewise.
24435 * resolv/res_data.c: Likewise.
24436 * soft-fp/op-1.h: Likewise.
24437 * soft-fp/op-2.h: Likewise.
24438 * soft-fp/op-4.h: Likewise.
24439 * soft-fp/op-common.h: Likewise.
24440 * stdio-common/printf_fphex.c: Likewise.
24441 * stdlib/strtod_l.c: Likewise.
24442 * sunrpc/rpc/clnt.h: Likewise.
24443 * sysdeps/generic/framestate.c: Likewise.
24444 * sysdeps/i386/bsd-_setjmp.S: Likewise.
24445 * sysdeps/i386/bsd-setjmp.S: Likewise.
24446 * sysdeps/i386/__longjmp.S: Likewise.
24447 * sysdeps/i386/setjmp.S: Likewise.
24448 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24449 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24450 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24451 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24452 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24453 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
24454 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24455 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24456 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24457 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24458 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
24459 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
24460 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
24461 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
24462 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
24463 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24464 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
24465 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
24466 * sysdeps/ieee754/support.c: Likewise.
24467 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24468 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
24469 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
24470 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
24471 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
24472 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
24473 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
24474 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
24475 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
24476 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
24477 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
24478 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
24479 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
24480 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
24481 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
24482 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
24483 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
24484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
24486 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
24488 * posix/transbug.c: Remove executable mode.
24490 2013-06-05 Joseph Myers <joseph@codesourcery.com>
24492 * crypt/speeds.c: Remove trailing whitespace.
24493 * dlfcn/default.c: Likewise.
24494 * elf/ifuncdep2.c: Likewise.
24495 * elf/ifuncmain1.c: Likewise.
24496 * elf/ifuncmain1vis.c: Likewise.
24497 * elf/testobj.h: Likewise.
24498 * elf/tst-stackguard1.c: Likewise.
24499 * gmon/sys/gmon.h: Likewise.
24500 * hurd/hurdmsg.c: Likewise.
24501 * hurd/new-fd.c: Likewise.
24502 * hurd/ports-get.c: Likewise.
24503 * iconvdata/ibm1008_420.c: Likewise.
24504 * inet/tst-getni1.c: Likewise.
24505 * inet/tst-getni2.c: Likewise.
24506 * libio/ioungetc.c: Likewise.
24507 * libio/wfiledoalloc.c: Likewise.
24508 * manual/libm-err-tab.pl: Likewise.
24509 * math/w_dremf.c: Likewise.
24510 * misc/ftruncate.c: Likewise.
24511 * posix/bug-glob2.c: Likewise.
24512 * posix/tst-pcre.c: Likewise.
24513 * posix/wait4.c: Likewise.
24514 * resolv/README: Likewise.
24515 * resolv/res_debug.h: Likewise.
24516 * resolv/tst-inet_ntop.c: Likewise.
24517 * setjmp/bug269-setjmp.c: Likewise.
24518 * soft-fp/extended.h: Likewise.
24519 * soft-fp/op-1.h: Likewise.
24520 * soft-fp/op-2.h: Likewise.
24521 * soft-fp/op-4.h: Likewise.
24522 * soft-fp/op-8.h: Likewise.
24523 * soft-fp/testit.c: Likewise.
24524 * stdio-common/bug16.c: Likewise.
24525 * stdlib/random.c: Likewise.
24526 * sunrpc/rpcsvc/rquota.x: Likewise.
24527 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
24528 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24529 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24530 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24531 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24532 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24533 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24534 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24535 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24536 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24537 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24538 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
24539 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24540 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
24541 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24542 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
24543 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
24544 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24545 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
24546 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24547 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24548 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24549 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
24550 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
24551 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
24552 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
24553 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24554 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24555 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24556 * sysdeps/ieee754/s_lib_version.c: Likewise.
24557 * sysdeps/mach/hurd/check_fds.c: Likewise.
24558 * sysdeps/mach/hurd/getsockname.c: Likewise.
24559 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
24560 * sysdeps/mach/hurd/recvfrom.c: Likewise.
24561 * sysdeps/powerpc/bits/link.h: Likewise.
24562 * sysdeps/powerpc/dl-procinfo.c: Likewise.
24563 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
24564 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
24565 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
24566 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24567 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
24568 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
24569 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24570 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
24571 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
24572 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
24573 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
24574 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
24575 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
24576 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
24577 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
24578 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
24579 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
24580 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
24581 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24582 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24583 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
24584 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24585 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
24586 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
24587 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
24588 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
24589 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24590 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24591 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
24592 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
24593 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
24594 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24595 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24596 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
24597 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24598 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
24599 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
24600 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
24601 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
24602 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
24603 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
24604 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
24605 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
24606 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
24607 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
24608 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
24609 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
24610 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
24611 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
24612 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24613 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24614 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24615 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24616 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
24617 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
24618 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
24619 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24620 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
24621 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
24622 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
24623 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
24624 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
24625 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24626 * sysdeps/powerpc/sysdep.h: Likewise.
24627 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24628 * sysdeps/s390/s390-64/sub_n.S: Likewise.
24629 * sysdeps/sh/dl-trampoline.S: Likewise.
24630 * sysdeps/sh/memset.S: Likewise.
24631 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
24632 * sysdeps/sh/strlen.S: Likewise.
24633 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
24634 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
24635 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
24636 * sysdeps/sparc/sparc32/rem.S: Likewise.
24637 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
24638 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
24639 * sysdeps/sparc/sparc32/strchr.S: Likewise.
24640 * sysdeps/sparc/sparc32/udiv.S: Likewise.
24641 * sysdeps/sparc/sparc32/urem.S: Likewise.
24642 * sysdeps/sparc/sparc64/add_n.S: Likewise.
24643 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
24644 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
24645 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
24646 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
24647 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
24648 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
24649 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
24650 * sysdeps/unix/bsd/times.c: Likewise.
24651 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
24652 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
24653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
24654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
24655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
24656 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
24657 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
24658 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
24659 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
24660 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
24661 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
24662 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
24663 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
24664 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
24665 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
24666 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
24667 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
24668 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
24669 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
24670 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
24671 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
24672 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
24673 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
24674 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
24675 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
24676 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
24677 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
24678 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24679 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
24680 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
24681 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
24682 * sysdeps/x86_64/strcspn.S: Likewise.
24684 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24686 * locale/C-translit.h: Revert #include <stdint.h> because this is a
24687 generated file. Regenerate properly from gen-translit.pl.
24688 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
24689 locale/C-translit.h.
24691 2013-06-05 Andreas Schwab <schwab@suse.de>
24694 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
24695 week as 6 instead of -1.
24696 * time/tst-strptime.c (day_tests): Add test case.
24698 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24700 * sysdeps/generic/math_private.h
24701 (libc_feholdexcept_setround_53bit): Replace with
24702 libc_feholdsetround_53bit.
24703 (libc_feupdateenv_53bit): Replace with
24704 libc_feresetround_53bit.
24705 (SET_RESTORE_ROUND_53BIT): Adjust.
24707 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
24709 * string/test-strchrnul.c: Add copyright header.
24711 * posix/tst-getaddrinfo4.c: Increase test timeout.
24713 2013-06-03 Carlos O'Donell <carlos@redhat.com>
24716 * math/libm-test.inc (MAX_EXP): Remove
24718 (ulp): Use MIN_EXP - MANT_DIG.
24719 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
24721 2013-05-31 Carlos O'Donell <carlos@redhat.com>
24723 * po/be.po: Revert last change.
24724 * po/zh_CN.po: Likewise.
24725 * po/header.pot: Likewise.
24727 2013-05-31 Joseph Myers <joseph@codesourcery.com>
24729 * Makefile ($(common-objpfx)linkobj/libc.so): Define
24730 link-libc-deps to empty as target-specific variable.
24731 * Makerules (link-libc-args): New variable.
24732 (libc-for-link): Likewise.
24733 (link-libc-deps): Likewise.
24734 (lib%.so): Depend on $(link-libc-deps). Link with
24736 (build-module): Link with $(link-libc-args).
24737 (build-module-asneeded): Likewise.
24738 (build-module-helper-objlist): Filter out $(link-libc-deps) from
24740 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
24741 target-specific variable.
24742 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
24743 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
24744 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
24746 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
24748 ($(objpfx)libpcprofile.so): Likewise.
24749 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
24751 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
24752 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
24753 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
24755 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
24756 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
24757 * login/Makefile ($(objpfx)libutil.so): Likewise.
24758 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
24759 * math/Makefile ($(objpfx)libm.so): Likewise.
24760 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
24761 $(objpfx)libnsl.so): Define libc-for-link as target-specific
24762 variable instead of depending directly on libc.
24763 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
24764 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
24766 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
24768 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
24769 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
24770 ($(objpfx)libanl.so): Likewise.
24771 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
24773 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
24775 * sysdeps/i386/fpu/Makefile: Remove file.
24776 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
24777 ($(objpfx)libm.so): Remove dependency on ld.so.
24779 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
24782 * nis/yp_xdr.c (XDRMAXNAME): Define.
24783 (XDRMAXRECORD): Define.
24784 (xdr_domainname): Use XDRMAXNAME.
24785 (xdr_mapname): Likewise.
24786 (xdr_peername): Likewise.
24787 (xdr_keydat): Use XDRMAXRECORD.
24788 (xdr_valdat): Likewise.
24790 2013-05-30 Jeff Law <law@redhat.com>
24793 * manual/errno.texi (ESTALE): Update to account for more than
24794 just NFS file systems.
24795 * sysdeps/gnu/errlist.c: Regenerated.
24797 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24800 * elf/Makefile (tests): Add tst-null-argv.
24801 (modules-names): Add tst-null-argv-lib.
24802 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
24803 (tst-null-argv-ENV): Set environment for tst-null-argv.
24804 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
24805 (RTLD_PROGNAME): New macro.
24806 * elf/tst-null-argv.c: New test case.
24807 * elf/tst-null-argv-lib.c: Library for test case.
24808 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
24809 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
24810 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
24811 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
24812 * elf/dl-init.c (call_init): Likewise.
24813 (_dl_init): Likewise.
24814 * elf/dl-load.c (print_search_path): Likewise.
24815 (_dl_map_object): Likewise.
24816 * elf/dl-lookup.c (do_lookup_x): Likewise.
24817 (add_dependency): Likewise.
24818 (_dl_lookup_symbol_x): Likewise.
24819 (_dl_debug_bindings): Likewise.
24820 * elf/dl-open.c (_dl_show_scope): Likewise.
24821 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
24822 * elf/dl-version.c (match_symbol): Likewise.
24823 (_dl_check_map_versions): Likewise.
24824 * elf/rtld.c (dl_main): Likewise.
24825 (print_unresolved): Use RTLD_PROGNAME.
24826 (print_missing_version): Likewise.
24827 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
24828 (elf_machine_rela): Likewise.
24829 * sysdeps/powerpc/powerpc32/dl-machine.c
24830 (__process_machine_rela): Likewise.
24831 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24833 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
24835 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
24837 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
24838 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
24840 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
24842 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
24844 2013-05-28 Carlos O'Donell <carlos@redhat.com>
24846 * po/be.po: Add descriptive title.
24847 * po/zh_CN.po: Likewise.
24848 * po/header.pot: Likewise.
24850 2013-05-28 Mike Frysinger <vapier@gentoo.org>
24852 * locale/programs/locarchive.c (create_archive): Inlucde fname in
24854 (enlarge_archive): Likewise.
24856 2013-05-28 Ben North <ben@redfrontdoor.org>
24858 * manual/arith.texi (frexp): It is the magnitude of the return
24859 value which lies in [0.5, 1), not the return value itself.
24861 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24863 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24865 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
24867 * stdio-common/bug26.c (main): Correct fscanf template.
24869 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
24870 declare _dl_skip_args.
24872 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
24875 * manual/platform.texi: Add missing @end deftypefun.
24877 2013-05-24 Joseph Myers <joseph@codesourcery.com>
24880 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
24881 bit of mantissa of 2^16382.
24882 * math/libm-test.inc (hypot_test_data): Add more tests.
24884 * math/libm-test.inc: Add drem and pow10 to list of tested
24886 (pow10_test): New function.
24887 (drem_test): Likewise.
24888 (drem_test_tonearest): Likewise.
24889 (drem_test_towardzero): Likewise.
24890 (drem_test_downward): Likewise.
24891 (drem_test_upward): Likewise.
24892 (main): Call the new functions.
24894 * math/libm-test.inc (finite_test_data): Remove.
24895 (finite_test): Run tests from isfinite_test_data.
24896 (gamma_test_data): Remove.
24897 (gamma_test): Run tests from lgamma_test_data.
24898 * sysdeps/i386/fpu/libm-test-ulps: Update.
24899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24901 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24903 * manual/platform.texi: Add PowerPC PPR function set documentation.
24904 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
24907 2013-05-24 Carlos O'Donell <carlos@redhat.com>
24909 * math/libm-test.inc (MAX_EXP): Define.
24911 (ulp): New function.
24912 (check_float_internal): Use ULPDIFF.
24913 (cpow_test): Disable failing test.
24914 (check_ulp): Test ulp() implemetnation.
24915 (main): Call check_ulp before starting tests.
24917 2013-05-24 Joseph Myers <joseph@codesourcery.com>
24919 * math/gen-libm-test.pl (generate_testfile): Do not handle
24920 START_DATA and END_DATA.
24921 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
24923 (acos_tonearest_test_data): Likewise.
24924 (acos_towardzero_test_data): Likewise.
24925 (acos_downward_test_data): Likewise.
24926 (acos_upward_test_data): Likewise.
24927 (acosh_test_data): Likewise.
24928 (asin_test_data): Likewise.
24929 (asin_tonearest_test_data): Likewise.
24930 (asin_towardzero_test_data): Likewise.
24931 (asin_downward_test_data): Likewise.
24932 (asin_upward_test_data): Likewise.
24933 (asinh_test_data): Likewise.
24934 (atan_test_data): Likewise.
24935 (atanh_test_data): Likewise.
24936 (atan2_test_data): Likewise.
24937 (cabs_test_data): Likewise.
24938 (cacos_test_data): Likewise.
24939 (cacosh_test_data): Likewise.
24940 (carg_test_data): Likewise.
24941 (casin_test_data): Likewise.
24942 (casinh_test_data): Likewise.
24943 (catan_test_data): Likewise.
24944 (catanh_test_data): Likewise.
24945 (cbrt_test_data): Likewise.
24946 (ccos_test_data): Likewise.
24947 (ccosh_test_data): Likewise.
24948 (ceil_test_data): Likewise.
24949 (cexp_test_data): Likewise.
24950 (cimag_test_data): Likewise.
24951 (clog_test_data): Likewise.
24952 (clog10_test_data): Likewise.
24953 (conj_test_data): Likewise.
24954 (copysign_test_data): Likewise.
24955 (cos_test_data): Likewise.
24956 (cos_tonearest_test_data): Likewise.
24957 (cos_towardzero_test_data): Likewise.
24958 (cos_downward_test_data): Likewise.
24959 (cos_upward_test_data): Likewise.
24960 (cosh_test_data): Likewise.
24961 (cosh_tonearest_test_data): Likewise.
24962 (cosh_towardzero_test_data): Likewise.
24963 (cosh_downward_test_data): Likewise.
24964 (cosh_upward_test_data): Likewise.
24965 (cpow_test_data): Likewise.
24966 (cproj_test_data): Likewise.
24967 (creal_test_data): Likewise.
24968 (csin_test_data): Likewise.
24969 (csinh_test_data): Likewise.
24970 (csqrt_test_data): Likewise.
24971 (ctan_test_data): Likewise.
24972 (ctan_tonearest_test_data): Likewise.
24973 (ctan_towardzero_test_data): Likewise.
24974 (ctan_downward_test_data): Likewise.
24975 (ctan_upward_test_data): Likewise.
24976 (ctanh_test_data): Likewise.
24977 (ctanh_tonearest_test_data): Likewise.
24978 (ctanh_towardzero_test_data): Likewise.
24979 (ctanh_downward_test_data): Likewise.
24980 (ctanh_upward_test_data): Likewise.
24981 (erf_test_data): Likewise.
24982 (erfc_test_data): Likewise.
24983 (exp_test_data): Likewise.
24984 (exp_tonearest_test_data): Likewise.
24985 (exp_towardzero_test_data): Likewise.
24986 (exp_downward_test_data): Likewise.
24987 (exp_upward_test_data): Likewise.
24988 (exp10_test_data): Likewise.
24989 (exp2_test_data): Likewise.
24990 (expm1_test_data): Likewise.
24991 (fabs_test_data): Likewise.
24992 (fdim_test_data): Likewise.
24993 (finite_test_data): Likewise.
24994 (floor_test_data): Likewise.
24995 (fma_test_data): Likewise.
24996 (fma_towardzero_test_data): Likewise.
24997 (fma_downward_test_data): Likewise.
24998 (fma_upward_test_data): Likewise.
24999 (fmax_test_data): Likewise.
25000 (fmin_test_data): Likewise.
25001 (fmod_test_data): Likewise.
25002 (fpclassify_test_data): Likewise.
25003 (frexp_test_data): Likewise.
25004 (gamma_test_data): Likewise.
25005 (hypot_test_data): Likewise.
25006 (ilogb_test_data): Likewise.
25007 (isfinite_test_data): Likewise.
25008 (isgreater_test_data): Likewise.
25009 (isgreaterequal_test_data): Likewise.
25010 (isinf_test_data): Likewise.
25011 (isless_test_data): Likewise.
25012 (islessequal_test_data): Likewise.
25013 (islessgreater_test_data): Likewise.
25014 (isnan_test_data): Likewise.
25015 (isnormal_test_data): Likewise.
25016 (issignaling_test_data): Likewise.
25017 (isunordered_test_data): Likewise.
25018 (j0_test_data): Likewise.
25019 (j1_test_data): Likewise.
25020 (jn_test_data): Likewise.
25021 (ldexp_test_data): Likewise.
25022 (lgamma_test_data): Likewise.
25023 (lrint_test_data): Likewise.
25024 (lrint_tonearest_test_data): Likewise.
25025 (lrint_towardzero_test_data): Likewise.
25026 (lrint_downward_test_data): Likewise.
25027 (lrint_upward_test_data): Likewise.
25028 (llrint_test_data): Likewise.
25029 (llrint_tonearest_test_data): Likewise.
25030 (llrint_towardzero_test_data): Likewise.
25031 (llrint_downward_test_data): Likewise.
25032 (llrint_upward_test_data): Likewise.
25033 (log_test_data): Likewise.
25034 (log10_test_data): Likewise.
25035 (log1p_test_data): Likewise.
25036 (log2_test_data): Likewise.
25037 (logb_test_data): Likewise.
25038 (logb_downward_test_data): Likewise.
25039 (lround_test_data): Likewise.
25040 (llround_test_data): Likewise.
25041 (modf_test_data): Likewise.
25042 (nearbyint_test_data): Likewise.
25043 (nextafter_test_data): Likewise.
25044 (nexttoward_test_data): Likewise.
25045 (pow_test_data): Likewise.
25046 (pow_tonearest_test_data): Likewise.
25047 (pow_towardzero_test_data): Likewise.
25048 (pow_downward_test_data): Likewise.
25049 (pow_upward_test_data): Likewise.
25050 (remainder_test_data): Likewise.
25051 (remainder_tonearest_test_data): Likewise.
25052 (remainder_towardzero_test_data): Likewise.
25053 (remainder_downward_test_data): Likewise.
25054 (remainder_upward_test_data): Likewise.
25055 (remquo_test_data): Likewise.
25056 (rint_test_data): Likewise.
25057 (rint_tonearest_test_data): Likewise.
25058 (rint_towardzero_test_data): Likewise.
25059 (rint_downward_test_data): Likewise.
25060 (rint_upward_test_data): Likewise.
25061 (round_test_data): Likewise.
25062 (scalb_test_data): Likewise.
25063 (scalbn_test_data): Likewise.
25064 (scalbln_test_data): Likewise.
25065 (signbit_test_data): Likewise.
25066 (sin_test_data): Likewise.
25067 (sin_tonearest_test_data): Likewise.
25068 (sin_towardzero_test_data): Likewise.
25069 (sin_downward_test_data): Likewise.
25070 (sin_upward_test_data): Likewise.
25071 (sincos_test_data): Likewise.
25072 (sinh_test_data): Likewise.
25073 (sinh_tonearest_test_data): Likewise.
25074 (sinh_towardzero_test_data): Likewise.
25075 (sinh_downward_test_data): Likewise.
25076 (sinh_upward_test_data): Likewise.
25077 (sqrt_test_data): Likewise.
25078 (tan_test_data): Likewise.
25079 (tan_tonearest_test_data): Likewise.
25080 (tan_towardzero_test_data): Likewise.
25081 (tan_downward_test_data): Likewise.
25082 (tan_upward_test_data): Likewise.
25083 (tanh_test_data): Likewise.
25084 (tgamma_test_data): Likewise.
25085 (trunc_test_data): Likewise.
25086 (y0_test_data): Likewise.
25087 (y1_test_data): Likewise.
25088 (yn_test_data): Likewise.
25089 (significand_test_data): Likewise.
25091 * math/gen-libm-test.pl (@functions): Remove variable.
25092 (generate_testfile): Don't handle START and END lines.
25093 * math/libm-test.inc (START): New macro.
25095 (END_COMPLEX): Likewise.
25096 (acos_test): Use END macro without arguments.
25097 (acos_test_tonearest): Likewise.
25098 (acos_test_towardzero): Likewise.
25099 (acos_test_downward): Likewise.
25100 (acos_test_upward): Likewise.
25101 (acosh_test): Likewise.
25102 (asin_test): Likewise.
25103 (asin_test_tonearest): Likewise.
25104 (asin_test_towardzero): Likewise.
25105 (asin_test_downward): Likewise.
25106 (asin_test_upward): Likewise.
25107 (asinh_test): Likewise.
25108 (atan_test): Likewise.
25109 (atanh_test): Likewise.
25110 (atan2_test): Likewise.
25111 (cabs_test): Likewise.
25112 (cacos_test): Use END_COMPLEX macro without arguments.
25113 (cacosh_test): Likewise.
25114 (carg_test): Use END macro without arguments.
25115 (casin_test): Use END_COMPLEX macro without arguments.
25116 (casinh_test): Likewise.
25117 (catan_test): Likewise.
25118 (catanh_test): Likewise.
25119 (cbrt_test): Use END macro without arguments.
25120 (ccos_test): Use END_COMPLEX macro without arguments.
25121 (ccosh_test): Likewise.
25122 (ceil_test): Use END macro without arguments.
25123 (cexp_test): Use END_COMPLEX macro without arguments.
25124 (cimag_test): Use END macro without arguments.
25125 (clog_test): Use END_COMPLEX macro without arguments.
25126 (clog10_test): Likewise.
25127 (conj_test): Likewise.
25128 (copysign_test): Use END macro without arguments.
25129 (cos_test): Likewise.
25130 (cos_test_tonearest): Likewise.
25131 (cos_test_towardzero): Likewise.
25132 (cos_test_downward): Likewise.
25133 (cos_test_upward): Likewise.
25134 (cosh_test): Likewise.
25135 (cosh_test_tonearest): Likewise.
25136 (cosh_test_towardzero): Likewise.
25137 (cosh_test_downward): Likewise.
25138 (cosh_test_upward): Likewise.
25139 (cpow_test): Use END_COMPLEX macro without arguments.
25140 (cproj_test): Likewise.
25141 (creal_test): Use END macro without arguments.
25142 (csin_test): Use END_COMPLEX macro without arguments.
25143 (csinh_test): Likewise.
25144 (csqrt_test): Likewise.
25145 (ctan_test): Likewise.
25146 (ctan_test_tonearest): Likewise.
25147 (ctan_test_towardzero): Likewise.
25148 (ctan_test_downward): Likewise.
25149 (ctan_test_upward): Likewise.
25150 (ctanh_test): Likewise.
25151 (ctanh_test_tonearest): Likewise.
25152 (ctanh_test_towardzero): Likewise.
25153 (ctanh_test_downward): Likewise.
25154 (ctanh_test_upward): Likewise.
25155 (erf_test): Use END macro without arguments.
25156 (erfc_test): Likewise.
25157 (exp_test): Likewise.
25158 (exp_test_tonearest): Likewise.
25159 (exp_test_towardzero): Likewise.
25160 (exp_test_downward): Likewise.
25161 (exp_test_upward): Likewise.
25162 (exp10_test): Likewise.
25163 (exp2_test): Likewise.
25164 (expm1_test): Likewise.
25165 (fabs_test): Likewise.
25166 (fdim_test): Likewise.
25167 (finite_test): Likewise.
25168 (floor_test): Likewise.
25169 (fma_test): Likewise.
25170 (fma_test_towardzero): Likewise.
25171 (fma_test_downward): Likewise.
25172 (fma_test_upward): Likewise.
25173 (fmax_test): Likewise.
25174 (fmin_test): Likewise.
25175 (fmod_test): Likewise.
25176 (fpclassify_test): Likewise.
25177 (frexp_test): Likewise.
25178 (gamma_test): Likewise.
25179 (hypot_test): Likewise.
25180 (ilogb_test): Likewise.
25181 (isfinite_test): Likewise.
25182 (isgreater_test): Likewise.
25183 (isgreaterequal_test): Likewise.
25184 (isinf_test): Likewise.
25185 (isless_test): Likewise.
25186 (islessequal_test): Likewise.
25187 (islessgreater_test): Likewise.
25188 (isnan_test): Likewise.
25189 (isnormal_test): Likewise.
25190 (issignaling_test): Likewise.
25191 (isunordered_test): Likewise.
25192 (j0_test): Likewise.
25193 (j1_test): Likewise.
25194 (jn_test): Likewise.
25195 (ldexp_test): Likewise.
25196 (lgamma_test): Likewise.
25197 (lrint_test): Likewise.
25198 (lrint_test_tonearest): Likewise.
25199 (lrint_test_towardzero): Likewise.
25200 (lrint_test_downward): Likewise.
25201 (lrint_test_upward): Likewise.
25202 (llrint_test): Likewise.
25203 (llrint_test_tonearest): Likewise.
25204 (llrint_test_towardzero): Likewise.
25205 (llrint_test_downward): Likewise.
25206 (llrint_test_upward): Likewise.
25207 (log_test): Likewise.
25208 (log10_test): Likewise.
25209 (log1p_test): Likewise.
25210 (log2_test): Likewise.
25211 (logb_test): Likewise.
25212 (logb_test_downward): Likewise.
25213 (lround_test): Likewise.
25214 (llround_test): Likewise.
25215 (modf_test): Likewise.
25216 (nearbyint_test): Likewise.
25217 (nextafter_test): Likewise.
25218 (nexttoward_test): Likewise.
25219 (pow_test): Likewise.
25220 (pow_test_tonearest): Likewise.
25221 (pow_test_towardzero): Likewise.
25222 (pow_test_downward): Likewise.
25223 (pow_test_upward): Likewise.
25224 (remainder_test): Likewise.
25225 (remainder_test_tonearest): Likewise.
25226 (remainder_test_towardzero): Likewise.
25227 (remainder_test_downward): Likewise.
25228 (remainder_test_upward): Likewise.
25229 (remquo_test): Likewise.
25230 (rint_test): Likewise.
25231 (rint_test_tonearest): Likewise.
25232 (rint_test_towardzero): Likewise.
25233 (rint_test_downward): Likewise.
25234 (rint_test_upward): Likewise.
25235 (round_test): Likewise.
25236 (scalb_test): Likewise.
25237 (scalbn_test): Likewise.
25238 (scalbln_test): Likewise.
25239 (signbit_test): Likewise.
25240 (sin_test): Likewise.
25241 (sin_test_tonearest): Likewise.
25242 (sin_test_towardzero): Likewise.
25243 (sin_test_downward): Likewise.
25244 (sin_test_upward): Likewise.
25245 (sincos_test): Likewise.
25246 (sinh_test): Likewise.
25247 (sinh_test_tonearest): Likewise.
25248 (sinh_test_towardzero): Likewise.
25249 (sinh_test_downward): Likewise.
25250 (sinh_test_upward): Likewise.
25251 (sqrt_test): Likewise.
25252 (tan_test): Likewise.
25253 (tan_test_tonearest): Likewise.
25254 (tan_test_towardzero): Likewise.
25255 (tan_test_downward): Likewise.
25256 (tan_test_upward): Likewise.
25257 (tanh_test): Likewise.
25258 (tgamma_test): Likewise.
25259 (trunc_test): Likewise.
25260 (y0_test): Likewise.
25261 (y1_test): Likewise.
25262 (yn_test): Likewise.
25263 (significand_test): Likewise.
25265 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
25268 * libio/genops.c (_IO_no_init): Initialize wide struct info.
25270 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
25273 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
25274 __ppc_mdoio and __ppc_mdoom.
25275 * manual/platform.texi: Document new functions __ppc_yield,
25276 __ppc_mdoio and __ppc_mdoom.
25278 2013-05-22 Carlos O'Donell <carlos@redhat.com>
25280 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
25281 (main): Mention "tls" pseudo-hwcap is legacy.
25282 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
25284 2013-05-22 Joseph Myers <joseph@codesourcery.com>
25286 * math/gen-libm-test.pl (parse_args): Output only string of
25287 arguments as text for test name, not full call or descriptions of
25288 tests for extra outputs.
25289 (generate_testfile): Do not pass function name to parse_args.
25290 Generate this_func variable from START.
25291 * math/libm-test.inc (struct test_f_f_data): Rename test_name
25293 (struct test_ff_f_data): Likewise.
25294 (test_ff_f_data_nexttoward): Likewise.
25295 (struct test_fi_f_data): Likewise.
25296 (struct test_fl_f_data): Likewise.
25297 (struct test_if_f_data): Likewise.
25298 (struct test_fff_f_data): Likewise.
25299 (struct test_c_f_data): Likewise.
25300 (struct test_f_f1_data): Likewise. Remove field extra_name.
25301 (struct test_fF_f1_data): Likewise.
25302 (struct test_ffI_f1_data): Likewise.
25303 (struct test_c_c_data): Rename test_name field to arg_str.
25304 (struct test_cc_c_data): Likewise.
25305 (struct test_f_i_data): Likewise.
25306 (struct test_ff_i_data): Likewise.
25307 (struct test_f_l_data): Likewise.
25308 (struct test_f_L_data): Likewise.
25309 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
25311 (COMMON_TEST_SETUP): New macro.
25312 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
25313 (COMMON_TEST_CLEANUP): Likewise.
25314 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
25315 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
25317 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
25318 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
25320 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
25321 (RUN_TEST_fff_f): Take argument string. Call new setup and
25323 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
25324 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
25326 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
25327 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
25329 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
25330 (RUN_TEST_fF_f1): Take argument string. Call new setup and
25332 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
25333 (RUN_TEST_fI_f1): Take argument string. Call new setup and
25335 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
25336 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
25338 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
25339 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
25341 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
25342 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
25344 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
25345 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
25347 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
25348 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
25350 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
25351 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
25353 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
25354 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
25356 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
25357 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
25359 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
25360 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
25362 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
25363 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
25365 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
25366 (RUN_TEST_fFF_11): Take argument string. Call new setup and
25368 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
25370 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
25372 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
25373 to _sifields.sigfault.
25374 (si_addr_lsb): Define new macro.
25375 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
25376 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25377 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
25379 2013-05-03 Carlos O'Donell <carlos at redhat.com>
25382 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
25384 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
25386 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
25387 loading the domain.
25389 2013-05-22 Joseph Myers <joseph@codesourcery.com>
25391 * math/gen-libm-test.pl (parse_args): Do not include expected
25392 result in test name.
25393 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
25394 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25395 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25396 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25397 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25400 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
25402 * benchtests/Makefile: Sort function entries.
25404 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
25405 tanh, asinh, acosh, atanh.
25406 * benchtests/acos-inputs: New file.
25407 * benchtests/acosh-inputs: New file.
25408 * benchtests/asin-inputs: New file.
25409 * benchtests/asinh-inputs: New file.
25410 * benchtests/atanh-inputs: New file.
25411 * benchtests/cosh-inputs: New file.
25412 * benchtests/log-inputs: New file.
25413 * benchtests/sinh-inputs: New file.
25414 * benchtests/tanh-inputs: New file.
25416 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
25419 * posix/tst-getaddrinfo4.c: New test.
25420 * posix/Makefile (tests): Add it.
25422 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25425 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
25426 when no services were used.
25427 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
25428 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
25430 2013-05-21 Andreas Schwab <schwab@suse.de>
25433 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
25434 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
25436 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
25437 redundant variable declarations and reallocation of buffer when
25438 parsing as IPv6 address. Always set NSS status when called from
25439 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
25440 buffer too small. Correct computation of needed size.
25441 * nss/Makefile (tests): Add test-digits-dots.
25442 * nss/test-digits-dots.c: New test.
25444 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25446 * benchtests/Makefile: Remove instructions for adding
25448 * benchtests/README: New file to explain how to execute and
25449 enhance the benchmark tests.
25451 2013-05-21 Andreas Schwab <schwab@suse.de>
25454 * setjmp/Makefile (tests): Add tst-sigsetjmp.
25455 * setjmp/tst-sigsetjmp.c: New test.
25457 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
25459 * sysdeps/x86_64/memset.S (memset): New implementation.
25460 (__bzero): Likewise.
25461 (__memset_tail): New function.
25463 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
25465 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
25466 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
25467 __memcpy_sse2_unaligned ifunc selection.
25468 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25469 Add memcpy-sse2-unaligned.S.
25470 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25471 Add: __memcpy_sse2_unaligned.
25473 2013-05-19 Joseph Myers <joseph@codesourcery.com>
25476 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25477 math_force_eval before restoring floating-point envrionment.
25478 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
25479 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
25481 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
25483 (__nearbyintl): Use math_force_eval before restoring
25484 floating-point environment.
25485 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
25487 * math/gen-libm-test.pl (special_functions): Remove.
25488 (parse_args): Don't handle TEST_extra. Handle functions with no
25490 * math/libm-test.inc (struct test_sincos_data): Replace with
25491 struct test_fFF_11_data.
25492 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
25493 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
25494 (sincos_test_data): Change element type to struct
25495 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
25496 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
25497 RUN_TEST_LOOP_sincos.
25498 * math/README.libm-test: Don't mention special handling of
25499 individual functions.
25500 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
25501 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25502 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25503 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25504 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25507 * math/gen-libm-test.pl (get_variable): Remove function.
25508 (parse_args): Don't show pointer parameters to call in test
25509 names. Use "extra output N" in test names for extra outputs
25510 rather than naming variables.
25512 2013-05-18 Joseph Myers <joseph@codesourcery.com>
25515 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
25516 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
25517 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
25519 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
25521 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
25524 * math/gen-libm-test.pl (@tests): Remove variable.
25525 ($count): Likewise.
25526 (new_test): Remove function.
25527 (show_exceptions): New function.
25528 (special_functions): Use show_exceptions instead of new_test.
25529 (parse_args): Likewise.
25530 (generate_testfile): Pass only function name in generated call to
25531 print_max_error or print_complex_max_error.
25532 (get_ulps): Do not handle complex tests specially.
25533 (output_test): Rename to ...
25534 (get_all_ulps_for_test): ... this. Return a string rather than
25535 printing to a file. Require ulps to be present.
25536 (output_ulps): Generate arrays rather than #defines.
25537 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
25538 (struct ulp_data): New type.
25539 (BUILD_COMPLEX_ULP): Remove macro.
25540 (compare_ulp_data): New function.
25541 (find_ulps): Likewise.
25542 (find_test_ulps): Likewise.
25543 (find_function_ulps): Likewise.
25544 (find_complex_function_ulps): Likewise.
25545 (print_max_error): Determine allowed ulps using
25546 find_function_ulps.
25547 (print_complex_max_error): Determine allowed ulps using
25548 find_complex_function_ulps.
25549 (check_float_internal): Determine max ulps using find_test_ulps.
25550 (check_float): Do not take max_ulp parameter. Update call to
25551 check_float_internal.
25552 (check_complex): Likewise.
25553 (check_int): Do not take max_ulp parameter.
25554 (check_long): Likewise.
25555 (check_bool): Likewise.
25556 (check_longlong): Likewise.
25557 (struct test_f_f_data): Remove max_ulp field.
25558 (struct test_ff_f_data): Likewise.
25559 (struct test_ff_f_data_nexttoward): Likewise.
25560 (struct test_fi_f_data): Likewise.
25561 (struct test_fl_f_data): Likewise.
25562 (struct test_if_f_data): Likewise.
25563 (struct test_fff_f_data): Likewise.
25564 (struct test_c_f_data): Likewise.
25565 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
25566 (struct test_fF_f1_data): Likewise.
25567 (struct test_ffI_f1_data): Likewise.
25568 (struct test_c_c_data): Remove max_ulp field.
25569 (struct test_cc_c_data): Likewise.
25570 (struct test_f_i_data): Likewise.
25571 (struct test_ff_i_data): Likewise.
25572 (struct test_f_l_data): Likewise.
25573 (struct test_f_L_data): Likewise.
25574 (struct test_sincos_data): Likewise.
25575 (RUN_TEST_f_f): Do not handle ulps.
25576 (RUN_TEST_LOOP_f_f): Likewise.
25577 (RUN_TEST_2_f): Likewise.
25578 (RUN_TEST_LOOP_2_f): Likewise.
25579 (RUN_TEST_fff_f): Likewise.
25580 (RUN_TEST_LOOP_fff_f): Likewise.
25581 (RUN_TEST_c_f): Likewise.
25582 (RUN_TEST_LOOP_c_f): Likewise.
25583 (RUN_TEST_f_f1): Likewise.
25584 (RUN_TEST_LOOP_f_f1): Likewise.
25585 (RUN_TEST_fF_f1): Likewise.
25586 (RUN_TEST_LOOP_fF_f1): Likewise.
25587 (RUN_TEST_fI_f1): Likewise.
25588 (RUN_TEST_LOOP_fI_f1): Likewise.
25589 (RUN_TEST_ffI_f1): Likewise.
25590 (RUN_TEST_LOOP_ffI_f1): Likewise.
25591 (RUN_TEST_c_c): Likewise.
25592 (RUN_TEST_LOOP_c_c): Likewise.
25593 (RUN_TEST_cc_c): Likewise.
25594 (RUN_TEST_LOOP_cc_c): Likewise.
25595 (RUN_TEST_f_i): Likewise.
25596 (RUN_TEST_LOOP_f_i): Likewise.
25597 (RUN_TEST_f_i_tg): Likewise.
25598 (RUN_TEST_LOOP_f_i_tg): Likewise.
25599 (RUN_TEST_ff_i_tg): Likewise.
25600 (RUN_TEST_LOOP_ff_i_tg): Likewise.
25601 (RUN_TEST_f_b): Likewise.
25602 (RUN_TEST_LOOP_f_b): Likewise.
25603 (RUN_TEST_f_b_tg): Likewise.
25604 (RUN_TEST_LOOP_f_b_tg): Likewise.
25605 (RUN_TEST_f_l): Likewise.
25606 (RUN_TEST_LOOP_f_l): Likewise.
25607 (RUN_TEST_f_L): Likewise.
25608 (RUN_TEST_LOOP_f_L): Likewise.
25609 (RUN_TEST_sincos): Likewise.
25610 (RUN_TEST_LOOP_sincos): Likewise.
25612 2013-05-17 Joseph Myers <joseph@codesourcery.com>
25616 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
25617 main case of finite arguments, set rounding mode to FE_TONEAREST
25618 and discard exceptions.
25619 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
25621 (remainder_tonearest_test_data): New variable.
25622 (remainder_test_tonearest): New function.
25623 (remainder_towardzero_test_data): New variable.
25624 (remainder_test_towardzero): New function.
25625 (remainder_downward_test_data): New variable.
25626 (remainder_test_downward): New function.
25627 (remainder_upward_test_data): New variable.
25628 (remainder_test_upward): New function.
25629 (main): Call the new test functions.
25631 * math/libm-test.inc (struct test_f_f1_data): Remove field
25633 (struct test_fF_f1_data): Likewise.
25634 (struct test_ffI_f1_data): Likewise.
25635 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
25636 based on value of EXTRA_EXPECTED.
25637 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
25638 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
25639 EXTRA_VAR based on value of EXTRA_EXPECTED.
25640 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
25641 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
25642 EXTRA_VAR based on value of EXTRA_EXPECTED.
25643 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
25644 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
25645 EXTRA_VAR based on value of EXTRA_EXPECTED.
25646 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
25647 * math/gen-libm-test.pl (parse_args): Don't output initializers
25648 for extra output values.
25650 * math/libm-test.inc (check_int): Expect result to be exactly
25651 equal to expected value and do not handle ulps.
25652 (check_long): Likewise.
25653 (check_longlong): Likewise.
25655 * math/libm-test.inc (ceil_test_data): Test for "inexact"
25657 (cimag_test_data): Likewise.
25658 (conj_test_data): Likewise.
25659 (copysign_test_data): Likewise.
25660 (cproj_test_data): Likewise.
25661 (creal_test_data): Likewise.
25662 (fabs_test_data): Likewise.
25663 (fdim_test_data): Likewise.
25664 (finite_test_data): Likewise.
25665 (floor_test_data): Likewise.
25666 (fmax_test_data): Likewise.
25667 (fmin_test_data): Likewise.
25668 (fmod_test_data): Likewise.
25669 (fpclassify_test_data): Likewise.
25670 (frexp_test_data): Likewise.
25671 (ilogb_test_data): Likewise.
25672 (isfinite_test_data): Likewise.
25673 (isgreater_test_data): Likewise.
25674 (isgreaterequal_test_data): Likewise.
25675 (isinf_test_data): Likewise.
25676 (isless_test_data): Likewise.
25677 (islessequal_test_data): Likewise.
25678 (islessgreater_test_data): Likewise.
25679 (isnan_test_data): Likewise.
25680 (isnormal_test_data): Likewise.
25681 (issignaling_test_data): Likewise.
25682 (isunordered_test_data): Likewise.
25683 (ldexp_test_data): Likewise.
25684 (lrint_test_data): Likewise.
25685 (lrint_test_data) [TEST_FLOAT]: Disable one test.
25686 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
25687 (lrint_tonearest_test_data): Test for "inexact" exceptions.
25688 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
25689 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
25690 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
25692 (lrint_towardzero_test_data): Test for "inexact" exceptions.
25693 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
25694 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
25695 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
25697 (lrint_downward_test_data): Test for "inexact" exceptions.
25698 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
25699 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
25700 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
25702 (lrint_upward_test_data): Test for "inexact" exceptions.
25703 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
25705 (llrint_test_data): Test for "inexact" exceptions.
25706 (llrint_test_data) [TEST_FLOAT]: Disable one test.
25707 (llrint_tonearest_test_data): Test for "inexact" exceptions.
25708 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
25709 (llrint_towardzero_test_data): Test for "inexact" exceptions.
25710 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
25711 (llrint_downward_test_data): Test for "inexact" exceptions.
25712 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
25713 (llrint_upward_test_data): Test for "inexact" exceptions.
25714 (logb_test_data): Likewise.
25715 (logb_downward_test_data): Likewise.
25716 (nextafter_test_data): Likewise.
25717 (nexttoward_test_data): Likewise.
25718 (remainder_test_data): Likewise.
25719 (remquo_test_data): Likewise.
25720 (scalbn_test_data): Likewise.
25721 (scalbln_test_data): Likewise.
25722 (signbit_test_data): Likewise.
25723 (sqrt_test_data): Likewise.
25724 (significand_test_data): Likewise.
25726 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
25729 * benchtests/bench-modf.c (struct args): Mark arg0 as
25731 * scripts/bench.pl: Mark members of struct args as volatile.
25733 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25736 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
25737 negative infinity on POWER6 or lower.
25738 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
25740 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
25743 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
25744 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
25745 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
25746 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
25747 (_FP_SETQNAN): New macro.
25748 (_FP_SETQNAN_SEMIRAW): Likewise.
25749 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
25750 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
25751 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
25752 (FP_EXTEND): Use _FP_FRAC_SNANP.
25753 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
25754 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
25756 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
25758 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
25761 2013-05-16 Joseph Myers <joseph@codesourcery.com>
25763 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
25764 with DIVIDE_BY_ZERO_EXCEPTION.
25765 (gamma_test_data): Likewise.
25766 (lgamma_test_data): Likewise.
25767 (log_test_data): Likewise.
25768 (log10_test_data): Likewise.
25769 (log2_test_data): Likewise.
25770 (tgamma_test_data): Likewise.
25772 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
25773 (acos_test_tonearest): Likewise.
25774 (acos_test_towardzero): Likewise.
25775 (acos_test_downward): Likewise.
25776 (acos_test_upward): Likewise.
25777 (acosh_test): Likewise.
25778 (asin_test): Likewise.
25779 (asin_test_tonearest): Likewise.
25780 (asin_test_towardzero): Likewise.
25781 (asin_test_downward): Likewise.
25782 (asin_test_upward): Likewise.
25783 (asinh_test): Likewise.
25784 (atan_test): Likewise.
25785 (atanh_test): Likewise.
25786 (atan2_test): Likewise.
25787 (cabs_test): Likewise.
25788 (cacos_test): Likewise.
25789 (cacosh_test): Likewise.
25790 (casin_test): Likewise.
25791 (casinh_test): Likewise.
25792 (catan_test): Likewise.
25793 (catanh_test): Likewise.
25794 (cbrt_test): Likewise.
25795 (ccos_test): Likewise.
25796 (ccosh_test): Likewise.
25797 (cexp_test): Likewise.
25798 (clog_test): Likewise.
25799 (clog10_test): Likewise.
25800 (cos_test): Likewise.
25801 (cos_test_tonearest): Likewise.
25802 (cos_test_towardzero): Likewise.
25803 (cos_test_downward): Likewise.
25804 (cos_test_upward): Likewise.
25805 (cosh_test): Likewise.
25806 (cosh_test_tonearest): Likewise.
25807 (cosh_test_towardzero): Likewise.
25808 (cosh_test_downward): Likewise.
25809 (cosh_test_upward): Likewise.
25810 (cpow_test): Likewise.
25811 (csin_test): Likewise.
25812 (csinh_test): Likewise.
25813 (csqrt_test): Likewise.
25814 (ctan_test): Likewise.
25815 (ctan_test_tonearest): Likewise.
25816 (ctan_test_towardzero): Likewise.
25817 (ctan_test_downward): Likewise.
25818 (ctan_test_upward): Likewise.
25819 (ctanh_test): Likewise.
25820 (ctanh_test_tonearest): Likewise.
25821 (ctanh_test_towardzero): Likewise.
25822 (ctanh_test_downward): Likewise.
25823 (ctanh_test_upward): Likewise.
25824 (erf_test): Likewise.
25825 (erfc_test): Likewise.
25826 (exp_test): Likewise.
25827 (exp_test_tonearest): Likewise.
25828 (exp_test_towardzero): Likewise.
25829 (exp_test_downward): Likewise.
25830 (exp_test_upward): Likewise.
25831 (exp10_test): Likewise.
25832 (exp2_test): Likewise.
25833 (expm1_test): Likewise.
25834 (fmod_test): Likewise.
25835 (gamma_test): Likewise.
25836 (hypot_test): Likewise.
25837 (j0_test): Likewise.
25838 (j1_test): Likewise.
25839 (jn_test): Likewise.
25840 (lgamma_test): Likewise.
25841 (log_test): Likewise.
25842 (log10_test): Likewise.
25843 (log1p_test): Likewise.
25844 (log2_test): Likewise.
25845 (logb_test_downward): Likewise.
25846 (pow_test): Likewise.
25847 (pow_test_tonearest): Likewise.
25848 (pow_test_towardzero): Likewise.
25849 (pow_test_downward): Likewise.
25850 (pow_test_upward): Likewise.
25851 (remainder_test): Likewise.
25852 (remquo_test): Likewise.
25853 (sin_test): Likewise.
25854 (sin_test_tonearest): Likewise.
25855 (sin_test_towardzero): Likewise.
25856 (sin_test_downward): Likewise.
25857 (sin_test_upward): Likewise.
25858 (sincos_test): Likewise.
25859 (sinh_test): Likewise.
25860 (sinh_test_tonearest): Likewise.
25861 (sinh_test_towardzero): Likewise.
25862 (sinh_test_downward): Likewise.
25863 (sinh_test_upward): Likewise.
25864 (sqrt_test): Likewise.
25865 (tan_test): Likewise.
25866 (tan_test_tonearest): Likewise.
25867 (tan_test_towardzero): Likewise.
25868 (tan_test_downward): Likewise.
25869 (tan_test_upward): Likewise.
25870 (tanh_test): Likewise.
25871 (tgamma_test): Likewise.
25872 (y0_test): Likewise.
25873 (y1_test): Likewise.
25874 (yn_test): Likewise.
25876 * math/gen-libm-test.pl (adjust_arg): Remove function.
25877 (special_function): Remove argument $in_func. Only handle
25878 generating output for tables of tests, not inside functions.
25879 (parse_args): Likewise.
25880 (generate_testfile): Remove variable $in_func. Update call to
25882 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
25883 (MINUS_ZERO_INIT): Rename macro to minus_zero.
25884 (PLUS_INFTY_INIT): Rename macro to plus_infty.
25885 (MINUS_INFTY_INIT): Rename macro to minus_infty.
25886 (QNAN_VALUE_INIT): Rename macro to qnan_value.
25887 (MAX_VALUE_INIT): Rename macro to max_value.
25888 (MIN_VALUE_INIT): Rename macro to min_value.
25889 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
25890 (plus_zero): Remove variable.
25891 (minus_zero): Likewise.
25892 (plus_infty): Likewise.
25893 (minus_infty): Likewise.
25894 (qnan_value): Likewise.
25895 (max_value): Likewise.
25896 (min_value): Likewise.
25897 (min_subnorm_value): Likewise.
25899 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25901 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
25902 uint64_t or uint32_t usage.
25903 * crypt/sha256-block.c: Likewise.
25904 * crypt/sha256-crypt.c: Likewise.
25905 * crypt/sha256.c: Likewise.
25906 * crypt/sha512-block.c: Likewise.
25907 * crypt/sha512-crypt.c: Likewise.
25908 * crypt/sha512.c: Likewise.
25909 * debug/backtrace-tst.c: Likewise.
25910 * debug/pcprofiledump.c: Likewise.
25911 * elf/cache.c: Likewise.
25912 * elf/dl-cache.c: Likewise.
25913 * elf/dl-misc.c: Likewise.
25914 * elf/dl-profile.c: Likewise.
25915 * elf/dl-support.c: Likewise.
25916 * elf/ldconfig.c: Likewise.
25917 * elf/sprof.c: Likewise.
25918 * iconv/dummy-repertoire.c: Likewise.
25919 * iconv/iconv_charmap.c: Likewise.
25920 * iconv/skeleton.c: Likewise.
25921 * iconvdata/8bit-generic.c: Likewise.
25922 * iconvdata/cp737.h: Likewise.
25923 * iconvdata/cp775.h: Likewise.
25924 * iconvdata/ibm1008.h: Likewise.
25925 * iconvdata/ibm1025.h: Likewise.
25926 * iconvdata/ibm1046.h: Likewise.
25927 * iconvdata/ibm1097.h: Likewise.
25928 * iconvdata/ibm1112.h: Likewise.
25929 * iconvdata/ibm1122.h: Likewise.
25930 * iconvdata/ibm1123.h: Likewise.
25931 * iconvdata/ibm1124.h: Likewise.
25932 * iconvdata/ibm1129.h: Likewise.
25933 * iconvdata/ibm1130.h: Likewise.
25934 * iconvdata/ibm1132.h: Likewise.
25935 * iconvdata/ibm1133.h: Likewise.
25936 * iconvdata/ibm1137.h: Likewise.
25937 * iconvdata/ibm1140.h: Likewise.
25938 * iconvdata/ibm1141.h: Likewise.
25939 * iconvdata/ibm1142.h: Likewise.
25940 * iconvdata/ibm1143.h: Likewise.
25941 * iconvdata/ibm1144.h: Likewise.
25942 * iconvdata/ibm1145.h: Likewise.
25943 * iconvdata/ibm1146.h: Likewise.
25944 * iconvdata/ibm1147.h: Likewise.
25945 * iconvdata/ibm1148.h: Likewise.
25946 * iconvdata/ibm1149.h: Likewise.
25947 * iconvdata/ibm1153.h: Likewise.
25948 * iconvdata/ibm1154.h: Likewise.
25949 * iconvdata/ibm1155.h: Likewise.
25950 * iconvdata/ibm1156.h: Likewise.
25951 * iconvdata/ibm1157.h: Likewise.
25952 * iconvdata/ibm1158.h: Likewise.
25953 * iconvdata/ibm1160.h: Likewise.
25954 * iconvdata/ibm1161.h: Likewise.
25955 * iconvdata/ibm1162.h: Likewise.
25956 * iconvdata/ibm1163.h: Likewise.
25957 * iconvdata/ibm1164.h: Likewise.
25958 * iconvdata/ibm1166.h: Likewise.
25959 * iconvdata/ibm1167.h: Likewise.
25960 * iconvdata/ibm12712.h: Likewise.
25961 * iconvdata/ibm1390.h: Likewise.
25962 * iconvdata/ibm1399.h: Likewise.
25963 * iconvdata/ibm16804.h: Likewise.
25964 * iconvdata/ibm4517.h: Likewise.
25965 * iconvdata/ibm4899.h: Likewise.
25966 * iconvdata/ibm4909.h: Likewise.
25967 * iconvdata/ibm4971.h: Likewise.
25968 * iconvdata/ibm5347.h: Likewise.
25969 * iconvdata/ibm803.h: Likewise.
25970 * iconvdata/ibm856.h: Likewise.
25971 * iconvdata/ibm901.h: Likewise.
25972 * iconvdata/ibm902.h: Likewise.
25973 * iconvdata/ibm9030.h: Likewise.
25974 * iconvdata/ibm9066.h: Likewise.
25975 * iconvdata/ibm921.h: Likewise.
25976 * iconvdata/ibm922.h: Likewise.
25977 * iconvdata/ibm9448.h: Likewise.
25978 * iconvdata/isiri-3342.h: Likewise.
25979 * iconvdata/jis0201.h: Likewise.
25980 * include/link.h: Likewise.
25981 * include/netdb.h: Likewise.
25982 * inet/check_native.c: Likewise.
25983 * inet/check_pf.c: Likewise.
25984 * inet/getipv4sourcefilter.c: Likewise.
25985 * inet/getnameinfo.c: Likewise.
25986 * inet/getsourcefilter.c: Likewise.
25987 * inet/htonl.c: Likewise.
25988 * inet/setipv4sourcefilter.c: Likewise.
25989 * inet/setsourcefilter.c: Likewise.
25990 * inet/test-inet6_opt.c: Likewise.
25991 * inet/tst-network.c: Likewise.
25992 * locale/C-collate.c: Likewise.
25993 * locale/C-ctype.c: Likewise.
25994 * locale/C-time.c: Likewise.
25995 * locale/C-translit.h: Likewise.
25996 * locale/loadarchive.c: Likewise.
25997 * locale/programs/3level.h: Likewise.
25998 * locale/programs/charmap.c: Likewise.
25999 * locale/programs/charmap.h: Likewise.
26000 * locale/programs/ld-address.c: Likewise.
26001 * locale/programs/ld-collate.c: Likewise.
26002 * locale/programs/ld-ctype.c: Likewise.
26003 * locale/programs/ld-identification.c: Likewise.
26004 * locale/programs/ld-measurement.c: Likewise.
26005 * locale/programs/ld-messages.c: Likewise.
26006 * locale/programs/ld-monetary.c: Likewise.
26007 * locale/programs/ld-name.c: Likewise.
26008 * locale/programs/ld-numeric.c: Likewise.
26009 * locale/programs/ld-paper.c: Likewise.
26010 * locale/programs/ld-telephone.c: Likewise.
26011 * locale/programs/ld-time.c: Likewise.
26012 * locale/programs/linereader.c: Likewise.
26013 * locale/programs/locale.c: Likewise.
26014 * locale/programs/locarchive.c: Likewise.
26015 * locale/programs/locfile.h: Likewise.
26016 * locale/programs/repertoire.c: Likewise.
26017 * locale/programs/simple-hash.c: Likewise.
26018 * locale/programs/simple-hash.h: Likewise.
26019 * malloc/memusage.c: Likewise.
26020 * malloc/memusagestat.c: Likewise.
26021 * nis/nis_defaults.c: Likewise.
26022 * nis/nis_hash.c: Likewise.
26023 * nis/nis_print.c: Likewise.
26024 * nis/nis_xdr.c: Likewise.
26025 * nscd/connections.c: Likewise.
26026 * nscd/hstcache.c: Likewise.
26027 * nscd/nscd_gethst_r.c: Likewise.
26028 * nscd/nscd_getserv_r.c: Likewise.
26029 * nscd/nscd_helper.c: Likewise.
26030 * nscd/servicescache.c: Likewise.
26031 * nss/makedb.c: Likewise.
26032 * nss/nss_db/db-XXX.c: Likewise.
26033 * nss/nss_db/db-initgroups.c: Likewise.
26034 * nss/nss_db/db-netgrp.c: Likewise.
26035 * nss/nss_files/files-network.c: Likewise.
26036 * nss/nss_files/files-parse.c: Likewise.
26037 * posix/bug-regex5.c: Likewise.
26038 * posix/fnmatch_loop.c: Likewise.
26039 * posix/regcomp.c: Likewise.
26040 * posix/regexec.c: Likewise.
26041 * posix/tst-rfc3484-2.c: Likewise.
26042 * posix/tst-rfc3484-3.c: Likewise.
26043 * posix/tst-rfc3484.c: Likewise.
26044 * resolv/nss_dns/dns-canon.c: Likewise.
26045 * resolv/nss_dns/dns-network.c: Likewise.
26046 * resolv/res_init.c: Likewise.
26047 * resolv/res_mkquery.c: Likewise.
26048 * resolv/tst-aton.c: Likewise.
26049 * stdlib/cxa_atexit.c: Likewise.
26050 * stdlib/cxa_finalize.c: Likewise.
26051 * stdlib/gen-fpioconst.c: Likewise.
26052 * stdlib/strtol_l.c: Likewise.
26053 * string/tst-endian.c: Likewise.
26054 * sunrpc/auth_des.c: Likewise.
26055 * sunrpc/clnt_udp.c: Likewise.
26056 * sunrpc/rtime.c: Likewise.
26057 * sunrpc/svcauth_des.c: Likewise.
26058 * sunrpc/xdr.c: Likewise.
26059 * sunrpc/xdr_intXX_t.c: Likewise.
26060 * sunrpc/xdr_rec.c: Likewise.
26061 * sysdeps/generic/ldconfig.h: Likewise.
26062 * sysdeps/generic/ldsodefs.h: Likewise.
26063 * sysdeps/generic/memusage.h: Likewise.
26064 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
26065 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
26066 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
26067 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
26068 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26069 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26070 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
26071 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
26072 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26073 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26074 * sysdeps/posix/getaddrinfo.c: Likewise.
26075 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26076 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26077 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
26078 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26079 * sysdeps/powerpc/test-gettimebase.c: Likewise.
26080 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
26081 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
26082 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
26083 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
26084 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
26085 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26086 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26087 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
26088 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
26089 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
26090 * sysdeps/x86_64/dl-tls.h: Likewise.
26091 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
26092 * time/alt_digit.c: Likewise.
26093 * time/era.c: Likewise.
26094 * wcsmbs/tst-c16c32-1.c: Likewise.
26096 2013-05-16 Joseph Myers <joseph@codesourcery.com>
26098 * math/libm-test.inc (struct test_sincos_data): New type.
26099 (RUN_TEST_LOOP_sincos): New macro.
26100 (sincos_test_data): New variable.
26101 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
26103 2013-05-16 Richard Henderson <rth@redhat.com>
26105 * math/atest-exp2.c (LIMB64): New macro.
26106 (CONSTSZ): New macro.
26107 (mp_exp1, mp_exp_m1, mp_log2): New variables.
26109 (print_mpn_fp): ... to function scope.
26110 (read_mpn_hex): Remove.
26111 (get_log2): Remove.
26112 (exp2_mpn): Use mp_log2.
26113 (main): Use mp_exp1.
26115 2013-05-16 Joseph Myers <joseph@codesourcery.com>
26117 * math/libm-test.inc: Remove comment about not testing "inexact"
26119 (INEXACT_EXCEPTION): New macro.
26120 (NO_INEXACT_EXCEPTION): Likewise.
26121 (INVALID_EXCEPTION_OK): Update value.
26122 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26123 (OVERFLOW_EXCEPTION_OK): Likewise.
26124 (UNDERFLOW_EXCEPTION_OK): Likewise.
26125 (IGNORE_ZERO_INF_SIGN): Likewise.
26126 (ERRNO_UNCHANGED): Likewise.
26127 (ERRNO_EDOM): Likewise.
26128 (ERRNO_ERANGE): Likewise.
26129 (test_exceptions): Handle testing "inexact" exceptions.
26130 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
26131 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
26132 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
26133 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
26135 (rint_towardzero_test_data): Likewise.
26136 (rint_downward_test_data): Likewise.
26137 (rint_upward_test_data): Likewise.
26139 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
26140 with OVERFLOW_EXCEPTION.
26141 (exp10_test_data): Likewise.
26142 (exp2_test_data): Likewise.
26143 (expm1_test_data): Likewise.
26144 (lgamma_test_data): Likewise.
26145 (pow_test_data): Likewise.
26146 (tgamma_test_data): Likewise.
26147 (yn_test_data): Remove duplicate test of overflow.
26149 * math/libm-test.inc (struct test_cc_c_data): New type.
26150 (RUN_TEST_LOOP_cc_c): New macro.
26151 (cpow_test_data): New variable.
26152 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
26154 * math/libm-test.inc (struct test_f_L_data): New type.
26155 (RUN_TEST_LOOP_f_L): New macro.
26156 (llrint_test_data): New variable.
26157 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
26158 (llrint_tonearest_test_data): New variable.
26159 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
26160 (llrint_towardzero_test_data): New variable.
26161 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
26162 (llrint_downward_test_data): New variable.
26163 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
26164 (llrint_upward_test_data): New variable.
26165 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
26166 (llround_test_data): New variable.
26167 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
26169 2013-05-13 Peter Collingbourne <pcc@google.com>
26171 * math/atest-exp2.c (get_log2): Remove const attribute.
26173 2013-05-15 Joseph Myers <joseph@codesourcery.com>
26175 * math/libm-test.inc (struct test_f_l_data): New type.
26176 (RUN_TEST_LOOP_f_l): New macro.
26177 (lrint_test_data): New variable.
26178 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
26179 (lrint_tonearest_test_data): New variable.
26180 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
26181 (lrint_towardzero_test_data): New variable.
26182 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
26183 (lrint_downward_test_data): New variable.
26184 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
26185 (lrint_upward_test_data): New variable.
26186 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
26187 (lround_test_data): New variable.
26188 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
26190 2013-05-15 Peter Collingbourne <pcc@google.com>
26192 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
26193 (EXTRACT_WORDS64) Use where appropriate.
26194 (INSERT_WORDS64) Likewise.
26196 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
26197 constraints with x constraints.
26198 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
26200 * malloc/obstack.c (_obstack_compat): Add initializer.
26202 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
26204 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
26205 si_trapno and add si_addr_lsb to _sifields.sigfault.
26206 (si_trapno): Remove macro.
26207 (si_addr_lsb): Define new macro.
26208 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
26210 2013-05-15 Joseph Myers <joseph@codesourcery.com>
26212 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
26213 instead of TEST_f_l.
26214 (llrint_test_tonearest): Likewise.
26215 (llrint_test_towardzero): Likewise.
26216 (llrint_test_downward): Likewise.
26217 (llrint_test_upward): Likewise.
26218 (llround_test): Likewise.
26220 * math/libm-test.inc (struct test_f_i_data): Add comment.
26221 (RUN_TEST_LOOP_f_b): New macro.
26222 (RUN_TEST_LOOP_f_b_tg): Likewise.
26223 (finite_test_data): New variable.
26224 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
26225 (isfinite_test_data): New variable.
26226 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26227 (isinf_test_data): New variable.
26228 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26229 (isnan_test_data): New variable.
26230 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26231 (isnormal_test_data): New variable.
26232 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26233 (issignaling_test_data): New variable.
26234 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26235 (signbit_test_data): New variable.
26236 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26238 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
26239 with INVALID_EXCEPTION.
26240 (acosh_test_data): Likewise.
26241 (asin_test_data): Likewise.
26242 (atanh_test_data): Likewise.
26243 (fmod_test_data): Likewise.
26244 (log_test_data): Likewise.
26245 (log10_test_data): Likewise.
26246 (log2_test_data): Likewise.
26247 (pow_test_data): Likewise.
26248 (sqrt_test_data): Likewise.
26249 (y0_test_data): Likewise.
26250 (y1_test_data): Likewise.
26251 (yn_test_data): Likewise.
26253 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
26256 * math/libm-test.inc (struct test_ff_i_data): New type.
26257 (RUN_TEST_LOOP_ff_i_tg): New macro.
26258 (isgreater_test_data): New variable.
26259 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26260 (isgreaterequal_test_data): New variable.
26261 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26262 (isless_test_data): New variable.
26263 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26264 (islessequal_test_data): New variable.
26265 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26266 (islessgreater_test_data): New variable.
26267 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26268 (isunordered_test_data): New variable.
26269 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26271 2013-05-14 David S. Miller <davem@davemloft.net>
26273 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26275 2013-05-14 Joseph Myers <joseph@codesourcery.com>
26277 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
26279 * math/libm-test.inc (struct test_fF_f1_data): Change type of
26281 (struct test_f_i_data): Change type of max_ulp to int.
26283 * math/libm-test.inc (test_ffI_f1_data): New type.
26284 (RUN_TEST_LOOP_ffI_f1): New macro.
26285 (remquo_test_data): New variable.
26286 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
26288 * setjmp/tst-setjmp-fp.c: New file.
26289 * setjmp/Makefile (tests): Add tst-setjmp-fp.
26290 (link-libm): New variable.
26291 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
26293 * math/libm-test.inc (struct test_f_i_data): New type.
26294 (RUN_TEST_LOOP_f_i): New macro.
26295 (RUN_TEST_LOOP_f_i_tg): Likewise.
26296 (fpclassify_test_data): New variable.
26297 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
26298 (ilogb_test_data): New variable.
26299 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
26301 * math/libm-test.inc (scalbln_test): Correct function name in END
26304 * math/libm-test.inc (struct test_f_f1_data): Add comment.
26305 (RUN_TEST_LOOP_fI_f1): New macro.
26306 (frexp_test_data): New variable.
26307 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
26309 * math/libm-test.inc (struct test_fF_f1_data): New type.
26310 (RUN_TEST_LOOP_fF_f1): New macro.
26311 (modf_test_data): New variable.
26312 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
26314 * math/libm-test.inc (struct test_f_f1_data): New type.
26315 (RUN_TEST_LOOP_f_f1): New macro.
26316 (gamma_test_data): New variable.
26317 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
26318 (lgamma_test_data): New variable.
26319 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
26321 2013-05-13 Carlos O'Donell <carlos@redhat.com>
26323 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
26324 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
26325 (main): Comment "tls" pseudo-hwcap.
26327 2013-05-13 Joseph Myers <joseph@codesourcery.com>
26329 * math/libm-test.inc (struct test_fl_f_data): New type.
26330 (RUN_TEST_LOOP_fl_f): New variable.
26331 (scalbln_test_data): New variable.
26332 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
26334 * math/libm-test.inc (struct test_fi_f_data): New type.
26335 (RUN_TEST_LOOP_fi_f): New macro.
26336 (ldexp_test_data): New variable.
26337 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
26338 (scalbn_test_data): New variable.
26339 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
26341 * math/libm-test.inc (struct test_c_f_data): New type.
26342 (RUN_TEST_LOOP_c_f): New macro.
26343 (cabs_test_data): New variable.
26344 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
26345 (carg_test_data): New variable.
26346 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
26347 (cimag_test_data): New variable.
26348 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
26349 (creal_test_data): New variable.
26350 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
26352 * math/libm-test.inc (struct test_if_f_data): New type.
26353 (RUN_TEST_LOOP_if_f): New macro.
26354 (jn_test_data): New variable.
26355 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
26356 (yn_test_data): New variable.
26357 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
26359 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
26361 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26363 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
26364 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
26366 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26368 * benchtests/Makefile (CPPFLAGS-nonlib): Add
26369 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
26370 (bench-deps): Add bench-timing.h.
26371 * benchtests-bench-skeleton.c: Include bench-timing.h.
26372 (main): Use TIMING_* macros instead of clock_gettime.
26373 * benchtests/bench-timing.h: New file.
26376 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
26377 Renamed from _LIB_VERSION.
26378 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
26380 2013-05-12 Joseph Myers <joseph@codesourcery.com>
26382 * math/libm-test.inc (struct test_fff_f_data): New type.
26383 (RUN_TEST_LOOP_fff_f): New macro.
26384 (fma_test_data): New variable.
26385 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
26386 (fma_towardzero_test_data): New variable.
26387 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
26388 (fma_downward_test_data): New variable.
26389 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
26390 (fma_upward_test_data): New variable.
26391 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
26393 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
26394 (struct test_c_c_data): New type.
26395 (RUN_TEST_LOOP_c_c): New macro.
26396 (cacos_test_data): New variable.
26397 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
26398 (cacosh_test_data): New variable.
26399 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
26400 (casin_test_data): New variable.
26401 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
26402 (casinh_test_data): New variable.
26403 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
26404 (catan_test_data): New variable.
26405 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
26406 (catanh_test_data): New variable.
26407 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
26408 (ccos_test_data): New variable.
26409 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
26410 (ccosh_test_data): New variable.
26411 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
26412 (cexp_test_data): New variable.
26413 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
26414 (clog_test_data): New variable.
26415 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
26416 (clog10_test_data): New variable.
26417 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
26418 (conj_test_data): New variable.
26419 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
26420 (cproj_test_data): New variable.
26421 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
26422 (csin_test_data): New variable.
26423 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
26424 (csinh_test_data): New variable.
26425 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
26426 (csqrt_test_data): New variable.
26427 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
26428 (ctan_test_data): New variable.
26429 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
26430 (ctan_tonearest_test_data): New variable.
26431 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
26432 (ctan_towardzero_test_data): New variable.
26433 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
26434 (ctan_downward_test_data): New variable.
26435 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
26436 (ctan_upward_test_data): New variable.
26437 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
26438 (ctanh_test_data): New variable.
26439 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
26440 (ctanh_tonearest_test_data): New variable.
26441 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
26442 (ctanh_towardzero_test_data): New variable.
26443 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
26444 (ctanh_downward_test_data): New variable.
26445 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
26446 (ctanh_upward_test_data): New variable.
26447 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
26448 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
26451 * math/libm-test.inc (struct test_ff_f_data): New type.
26452 (struct test_ff_f_data_nexttoward): Likewise.
26453 (RUN_TEST_LOOP_2_f): New macro.
26454 (RUN_TEST_LOOP_ff_f): Likewise.
26455 (atan2_test_data): New variable.
26456 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
26457 (copysign_test_data): New variable.
26458 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
26459 (fdim_test_data): New variable.
26460 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
26461 (fmax_test_data): New variable.
26462 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
26463 (fmin_test_data): New variable.
26464 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
26465 (fmod_test_data): New variable.
26466 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
26467 (hypot_test_data): New variable.
26468 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
26469 (nextafter_test_data): New variable.
26470 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
26471 (nexttoward_test_data): New variable.
26472 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
26473 (pow_test_data): New variable.
26474 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
26475 (pow_tonearest_test_data): New variable.
26476 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
26477 (pow_towardzero_test_data): New variable.
26478 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
26479 (pow_downward_test_data): New variable.
26480 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
26481 (pow_upward_test_data): New variable.
26482 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
26483 (remainder_test_data): New variable.
26484 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
26485 (scalb_test_data): New variable.
26486 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
26487 * sysdeps/i386/fpu/libm-test-ulps: Update.
26489 2013-05-11 Joseph Myers <joseph@codesourcery.com>
26491 * math/libm-test.inc (fma_test): Use max_value instead of local
26493 (nextafter_test): Likewise.
26495 * math/libm-test.inc (acos_towardzero_test_data): New variable.
26496 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26497 (acos_downward_test_data): New variable.
26498 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26499 (acos_upward_test_data): New variable.
26500 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26501 (acosh_test_data): New variable.
26502 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
26503 (asin_test_data): New variable.
26504 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
26505 (asin_tonearest_test_data): New variable.
26506 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26507 (asin_towardzero_test_data): New variable.
26508 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26509 (asin_downward_test_data): New variable.
26510 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26511 (asin_upward_test_data): New variable.
26512 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26513 (asinh_test_data): New variable.
26514 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
26515 (atan_test_data): New variable.
26516 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
26517 (atanh_test_data): New variable.
26518 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
26519 (cbrt_test_data): New variable.
26520 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
26521 (ceil_test_data): New variable.
26522 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
26523 (cos_test_data): New variable.
26524 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
26525 (cos_tonearest_test_data): New variable.
26526 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26527 (cos_towardzero_test_data): New variable.
26528 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26529 (cos_downward_test_data): New variable.
26530 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26531 (cos_upward_test_data): New variable.
26532 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26533 (cosh_test_data): New variable.
26534 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
26535 (cosh_tonearest_test_data): New variable.
26536 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26537 (cosh_towardzero_test_data): New variable.
26538 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26539 (cosh_downward_test_data): New variable.
26540 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26541 (cosh_upward_test_data): New variable.
26542 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26543 (erf_test_data): New variable.
26544 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
26545 (erfc_test_data): New variable.
26546 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
26547 (exp_test_data): New variable.
26548 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
26549 (exp_tonearest_test_data): New variable.
26550 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26551 (exp_towardzero_test_data): New variable.
26552 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26553 (exp_downward_test_data): New variable.
26554 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26555 (exp_upward_test_data): New variable.
26556 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26557 (exp10_test_data): New variable.
26558 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
26559 (exp2_test_data): New variable.
26560 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
26561 (expm1_test_data): New variable.
26562 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
26563 (fabs_test_data): New variable.
26564 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
26565 (floor_test_data): New variable.
26566 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
26567 (j0_test_data): New variable.
26568 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
26569 (j1_test_data): New variable.
26570 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
26571 (log_test_data): New variable.
26572 (log_test): Run tests with RUN_TEST_LOOP_f_f.
26573 (log10_test_data): New variable.
26574 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
26575 (log1p_test_data): New variable.
26576 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
26577 (log2_test_data): New variable.
26578 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
26579 (logb_test_data): New variable.
26580 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
26581 (logb_downward_test_data): New variable.
26582 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26583 (nearbyint_test_data): New variable.
26584 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
26585 (rint_test_data): New variable.
26586 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
26587 (rint_tonearest_test_data): New variable.
26588 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26589 (rint_towardzero_test_data): New variable.
26590 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26591 (rint_downward_test_data): New variable.
26592 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26593 (rint_upward_test_data): New variable.
26594 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26595 (round_test_data): New variable.
26596 (round_test): Run tests with RUN_TEST_LOOP_f_f.
26597 (sin_test_data): New variable.
26598 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
26599 (sin_tonearest_test_data): New variable.
26600 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26601 (sin_towardzero_test_data): New variable.
26602 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26603 (sin_downward_test_data): New variable.
26604 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26605 (sin_upward_test_data): New variable.
26606 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26607 (sinh_test_data): New variable.
26608 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
26609 (sinh_tonearest_test_data): New variable.
26610 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26611 (sinh_towardzero_test_data): New variable.
26612 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26613 (sinh_downward_test_data): New variable.
26614 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26615 (sinh_upward_test_data): New variable.
26616 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26617 (sqrt_test_data): New variable.
26618 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
26619 (tan_test_data): New variable.
26620 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
26621 (tan_tonearest_test_data): New variable.
26622 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26623 (tan_towardzero_test_data): New variable.
26624 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26625 (tan_downward_test_data): New variable.
26626 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26627 (tan_upward_test_data): New variable.
26628 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26629 (tanh_test_data): New variable.
26630 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
26631 (tgamma_test_data): New variable.
26632 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
26633 (trunc_test_data): New variable.
26634 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
26635 (y0_test_data): New variable.
26636 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
26637 (y1_test_data): New variable.
26638 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
26639 (significand_test_data): New variable.
26640 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
26642 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
26645 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
26647 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
26649 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
26651 2013-05-10 Andreas Jaeger <aj@suse.de>
26654 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
26655 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
26657 2013-05-10 Joseph Myers <joseph@codesourcery.com>
26659 * math/gen-libm-test.pl (adjust_arg): New function.
26660 (special_functions): Handle generating output in both functions
26662 (parse_args): Likewise.
26663 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
26664 $in_func argument to parse_args.
26665 * math/libm-test.inc (struct test_f_f_data): New type.
26666 (IF_ROUND_INIT_): New macro.
26667 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
26668 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
26669 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
26670 (IF_ROUND_INIT_FE_UPWARD): Likewise.
26671 (ROUND_RESTORE_): Likewise.
26672 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
26673 (ROUND_RESTORE_FE_TONEAREST): Likewise.
26674 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
26675 (ROUND_RESTORE_FE_UPWARD): Likewise.
26676 (RUN_TEST_LOOP_f_f): New macro.
26677 (acos_test_data): New variable.
26678 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
26679 (acos_tonearest_test_data): New variable.
26680 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26682 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26684 * benchtests/bench-skeleton.c (startup): Fix coding style.
26686 2013-05-10 Joseph Myers <joseph@codesourcery.com>
26689 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
26690 negative infinity argument.
26691 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
26692 negative infinity argument.
26693 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
26694 negative infinity argument.
26695 * math/libm-test.inc (tgamma_test): Expect errno to be set for
26698 2013-05-10 Florian Weimer <fweimer@redhat.com>
26700 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
26701 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
26702 * iconv/iconv_prog.c (main): Likewise.
26703 * locale/programs/charmap-dir.c (charmap_readdir)
26704 (fopen_uncompressed): Likewise.
26705 * locale/programs/locfile.c (siblings_uncached)
26706 (write_locale_data): Use lstat64 instead of lstat.
26707 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
26710 2013-05-10 Andreas Jaeger <aj@suse.de>
26713 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
26715 Include <locale.h>.
26717 2013-05-09 Carlos O'Donell <carlos@redhat.com>
26719 * elf/dl-close.c (_dl_close_worker): Add comments.
26721 2013-05-09 Joseph Myers <joseph@codesourcery.com>
26724 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
26726 (__ieee754_rem_pio2l): Update comments.
26729 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
26731 (__ieee754_rem_pio2l): Update comments.
26733 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
26734 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
26736 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
26739 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
26740 (M_PI_34_LOG10El): Likewise.
26741 (M_PI2_LOG10El): Likewise.
26742 (M_PI4_LOG10El): Likewise.
26743 (M_PI_LOG10El): Likewise.
26745 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26747 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26749 2013-05-08 Joseph Myers <joseph@codesourcery.com>
26751 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
26752 (MINUS_ZERO_INIT): Likewise.
26753 (PLUS_INFTY_INIT): Likewise.
26754 (MINUS_INFTY_INIT): Likewise.
26755 (QNAN_VALUE_INIT): Likewise.
26756 (MAX_VALUE_INIT): Likewise.
26757 (MIN_VALUE_INIT): Likewise.
26758 (MIN_SUBNORM_VALUE_INIT): Likewise.
26759 (plus_zero): Initialize with PLUS_ZERO_INIT.
26760 (minus_zero): Initialize with MINUS_ZERO_INIT.
26761 (plus_infty): Initialize with PLUS_INFTY_INIT.
26762 (minus_infty): Initialize with MINUS_INFTY_INIT.
26763 (qnan_value): Initialize with QNAN_VALUE_INIT.
26764 (max_value): Initialize with MAX_VALUE_INIT.
26765 (min_value): Initialize with MIN_VALUE_INIT.
26766 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
26768 * math/libm-test.inc (RUN_TEST_if_f): New macro.
26769 (jn_test): Use TEST_if_f instead of TEST_ff_f.
26770 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
26771 (yn_test): Use TEST_if_f instead of TEST_ff_f.
26773 * math/libm-test.inc (RUN_TEST_f_f): New macro.
26774 (RUN_TEST_2_f): Likewise.
26775 (RUN_TEST_ff_f): Likewise.
26776 (RUN_TEST_fi_f): Likewise.
26777 (RUN_TEST_fl_f): Likewise.
26778 (RUN_TEST_fff_f): Likewise.
26779 (RUN_TEST_c_f): Likewise.
26780 (RUN_TEST_f_f1): Likewise.
26781 (RUN_TEST_fF_f1): Likewise.
26782 (RUN_TEST_fI_f1): Likewise.
26783 (RUN_TEST_ffI_f1): Likewise.
26784 (RUN_TEST_c_c): Likewise.
26785 (RUN_TEST_cc_c): Likewise.
26786 (RUN_TEST_f_i): Likewise.
26787 (RUN_TEST_f_i_tg): Likewise.
26788 (RUN_TEST_ff_i_tg): Likewise.
26789 (RUN_TEST_f_b): Likewise.
26790 (RUN_TEST_f_b_tg): Likewise.
26791 (RUN_TEST_f_l): Likewise.
26792 (RUN_TEST_f_L): Likewise.
26793 (RUN_TEST_sincos): Likewise.
26794 * math/gen-libm-test.pl (new_test): Take new argument to indicate
26795 whether to show exceptions. Do not include ");\n" in return
26797 (special_functions): Output call to RUN_TEST_sincos instead of
26798 check_float calls. Update calls to new_test.
26799 (parse_args): Output call to single RUN_TEST_* macro instead of
26800 check_* calls and other assignments. Update calls to new_test.
26806 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
26807 input to result for tgamma overflow.
26808 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
26809 (gamma_coeff): New variable.
26810 (NCOEFF): New macro.
26811 (gamma_positive): New function.
26812 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
26813 underflow here. Use gamma_positive instead of exp (lgamma) for
26815 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
26816 (gamma_coeff): New variable.
26817 (NCOEFF): New macro.
26818 (gammaf_positive): New function.
26819 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
26820 underflow here. Use gamma_positive instead of exp (lgamma) for
26822 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
26823 (gamma_coeff): New variable.
26824 (NCOEFF): New macro.
26825 (gammal_positive): New function.
26826 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
26827 underflow here. Use gamma_positive instead of exp (lgamma) for
26829 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
26830 (gamma_coeff): New variable.
26831 (NCOEFF): New macro.
26832 (gammal_positive): New function.
26833 (__ieee754_gammal_r): Handle positive infinity, overflow and
26834 underflow here. Handle NaN the same as positive infinity. Remove
26835 check x < 0xffffffff for negative integers. Use gamma_positive
26836 instead of exp (lgamma) for other arguments.
26837 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
26838 (gamma_coeff): New variable.
26839 (NCOEFF): New macro.
26840 (gammal_positive): New function.
26841 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
26842 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
26843 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
26844 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
26845 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
26846 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
26847 * sysdeps/generic/math_private.h (__gamma_productf): New
26849 (__gamma_product): Likewise.
26850 (__gamma_productl): Likewise.
26851 * math/Makefile (libm-calls): Add gamma_product.
26852 * math/libm-test.inc (tgamma_test): Add more tests.
26853 * sysdeps/i386/fpu/libm-test-ulps: Update.
26854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26856 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
26858 * benchtests/bench-skeleton.c (main): Preheat CPU.
26860 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
26862 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
26864 2013-05-07 Roland McGrath <roland@hack.frob.com>
26866 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
26867 and _dl_skip_args_internal.
26869 2013-05-07 Carlos O'Donell <carlos@redhat.com>
26871 * manual/message.texi (Message Translation): Talk about users.
26872 Message to key mapping impacts design.
26874 2013-05-06 Roland McGrath <roland@hack.frob.com>
26876 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
26878 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
26880 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
26881 * sysdeps/wordsize-64/glob64.c: ... here.
26883 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
26884 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
26887 * debug/getlogin_r_chk.c: Moved to ...
26888 * login/getlogin_r_chk.c: ... here.
26889 * debug/Makefile (routines): Move getlogin_r_chk to ...
26890 * login/Makefile (routines): ... here.
26891 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
26892 * login/Versions (libc: GLIBC_2.4): ... here.
26894 * io/poll.c (__poll): Renamed from poll.
26895 Add libc_hidden_def.
26896 (poll): Define as weak alias.
26898 * debug/ptsname_r_chk.c: Moved to ...
26899 * login/ptsname_r_chk.c: ... here.
26900 * debug/Makefile (routines): Move ptsname_r_chk to ...
26901 * login/Makefile (routines): ... here.
26902 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
26903 * login/Versions (libc: GLIBC_2.4): ... here.
26905 * posix/getlogin.c: Moved to ...
26906 * login/getlogin.c: ... here.
26907 * posix/getlogin_r.c: Moved to ...
26908 * login/getlogin_r.c: ... here.
26909 * posix/getlogin_r.c: Moved to ...
26910 * login/getlogin_r.c: ... here.
26911 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
26912 * login/Makefile (routines): ... here.
26913 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
26914 * login/Versions (libc: GLIBC_2.0): ... here.
26916 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
26917 (setrlimit): Define as weak alias.
26919 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
26920 Call __ names for open, ftruncate, and close.
26921 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
26922 (truncate): Define as weak alias.
26924 2013-05-06 Joseph Myers <joseph@codesourcery.com>
26926 * math/gen-libm-test.pl (parse_args): Initialize x before each
26927 test of frexp, modf and remquo.
26929 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
26930 test signgam value.
26932 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26936 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
26938 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26940 2013-05-06 Roland McGrath <roland@hack.frob.com>
26942 * elf/dl-writev.h: New file.
26943 * elf/dl-misc.c: Include it.
26944 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
26945 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
26947 2013-05-04 Joseph Myers <joseph@codesourcery.com>
26949 * math/libm-test.inc (noXFails): Remove variable.
26950 (noXPasses): Likewise.
26951 (BUILD_COMPLEX_INT): Remove macro.
26952 (print_screen): Remove xfail argument.
26953 (print_screen_max_error): Likewise.
26954 (update_stats): Likewise.
26955 (print_max_error): Likewise. Update calls to other affected
26957 (print_complex_max_error): Likewise.
26958 (test_single_exception): Update calls to print_screen.
26959 (test_single_errno): Likewise.
26960 (check_float_internal): Remove xfail argument. Update calls to
26961 other affected functions.
26962 (check_float): Likewise.
26963 (check_complex): Likewise.
26964 (check_int): Likewise.
26965 (check_long): Likewise.
26966 (check_bool): Likewise.
26967 (check_longlong): Likewise.
26968 (main): Don't print noXFails and noXPasses.
26969 * math/gen-libm-test.pl (top level): Don't mention expected
26970 failure handling in comment.
26971 (new_test): Don't handle expected failures.
26972 (parse_args): Don't mention expected failure handling in comment.
26973 (generate_testfile): Don't handle expected failures.
26974 (parse_ulps): Likewise.
26975 (print_ulps_file): Likewise.
26976 (get_failure): Remove function.
26977 (output_test): Don't handle expected failures.
26978 * make/README.libm-test: Don't mention expected failure handling.
26980 * math/libm-test.inc (plus_zero): Make const. Add initializer.
26981 (minus_zero): Likewise.
26982 (plus_infty): Likewise.
26983 (minus_infty): Likewise.
26984 (qnan_value): Likewise.
26985 (max_value): Likewise.
26986 (min_value): Likewise.
26987 (min_subnorm_value): Likewise.
26988 (initialize): Do not initialize those variables dynamically.
26990 2013-05-03 Roland McGrath <roland@hack.frob.com>
26992 * io/open.c (__open_2): Moved to ...
26993 * io/open_2.c: ... this new file.
26994 * io/open64.c (__open64_2): Moved to ...
26995 * io/open64_2.c: ... this new file.
26996 * io/openat.c (__openat_2): Moved to ...
26997 * io/openat_2.c: ... this new file.
26998 * io/openat64.c (__openat64_2): Moved to ...
26999 * io/openat64_2.c: ... this new file.
27000 * io/Makefile (routines): Add them.
27001 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
27002 * sysdeps/unix/sysv/linux/open_2.c: File removed.
27003 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
27004 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
27005 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
27006 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
27007 (__openat64): Add hidden_ver.
27008 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
27009 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
27011 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
27012 Separately conditionalize setting of GLRO(dl_sysinfo) so
27013 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
27014 as well, but the actual setting is only under [NEED_DL_SYSINFO].
27016 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27018 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
27019 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
27021 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
27022 * sysdeps/unix/sysv/linux/powerpc/init-first.c
27023 (_libc_vdso_platform_setup): Add __vdso_time initialization.
27024 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
27025 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
27027 2013-05-03 Joseph Myers <joseph@codesourcery.com>
27029 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
27030 test signgam value.
27032 * math/libm-test.inc (hypot_test): Do not use
27033 IGNORE_ZERO_INF_SIGN.
27035 2013-05-03 Andreas Jaeger <aj@suse.de>
27037 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
27039 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
27040 (PF_MAX): Adjust for VSOCK change.
27042 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27044 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27046 2013-05-02 Carlos O'Donell <carlos@redhat.com>
27049 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
27050 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
27051 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
27053 2013-05-02 David S. Miller <davem@davemloft.net>
27055 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27057 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
27059 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
27061 2013-05-01 Roland McGrath <roland@hack.frob.com>
27063 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
27065 2013-05-01 Richard Smith <richard@metafoo.co.uk>
27068 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
27069 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
27070 Use __attribute__ ((__gnu_inline__)).
27071 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
27072 Don't use __attribute__ ((__gnu_inline__)).
27074 2013-05-01 Joseph Myers <joseph@codesourcery.com>
27077 * math/s_catan.c (__catan): Handle small real or imaginary part of
27078 input specially to avoid spurious underflow.
27079 * math/s_catanf.c (__catanf): Likewise.
27080 * math/s_catanh.c (__catanh): Likewise.
27081 * math/s_catanhf.c (__catanhf): Likewise.
27082 * math/s_catanhl.c (__catanhl): Likewise.
27083 * math/s_catanl.c (__catanl): Likewise.
27084 * math/libm-test.inc (catan_test): Add more tests.
27085 (catanh_test): Likewise.
27086 * sysdeps/i386/fpu/libm-test-ulps: Update.
27087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27089 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27091 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27093 2013-04-30 Joseph Myers <joseph@codesourcery.com>
27096 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
27097 accurately for denominator in atan2.
27098 * math/s_catanf.c (__catanf): Likewise.
27099 * math/s_catanh.c (__catanh): Likewise.
27100 * math/s_catanhf.c (__catanhf): Likewise.
27101 * math/s_catanhl.c (__catanhl): Likewise.
27102 * math/s_catanl.c (__catanl): Likewise.
27103 * math/libm-test.inc (catan_test): Add more tests.
27104 (catanh_test): Likewise.
27105 * sysdeps/i386/fpu/libm-test-ulps: Update.
27106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27108 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27110 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
27112 * benchtests/Makefile (bench): Remove slow benchmarks.
27113 * benchtests/atan-inputs: Add slow benchmark inputs.
27114 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
27115 (BENCH_FUNC): Accept variant offset.
27117 * benchtests/bench-skeleton.c (main): Run benchmark for each
27119 * benchtests/cos-inputs: Add slow benchmark inputs.
27120 * benchtests/exp-inputs: Likewise.
27121 * benchtests/pow-inputs: Likewise.
27122 * benchtests/sin-inputs: Likewise.
27123 * benchtests/slowatan-inputs: Remove.
27124 * benchtests/slowatan.c: Remove.
27125 * benchtests/slowcos-inputs: Remove.
27126 * benchtests/slowcos.c: Remove.
27127 * benchtests/slowexp-inputs: Remove.
27128 * benchtests/slowexp.c: Remove.
27129 * benchtests/slowpow-inputs: Remove.
27130 * benchtests/slowpow.c: Remove.
27131 * benchtests/slowsin-inputs: Remove.
27132 * benchtests/slowsin.c: Remove.
27133 * benchtests/slowtan-inputs: Remove.
27134 * benchtests/slowtan.c: Remove.
27135 * benchtests/tan-inputs: Add slow benchmark inputs.
27136 * scripts/bench.pl: Parse comments and directives.
27138 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
27140 ($(objpfx)bench-%.c): Remove *-ITER.
27141 * benchtests/bench-modf.c: Remove definition of ITER.
27142 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
27143 (main): Loop for DURATION seconds instead of fixed number of
27145 * scripts/bench.pl: Don't expect iterations in parameters.
27147 2013-04-29 Roland McGrath <roland@hack.frob.com>
27149 * io/fchdir.c (__fchdir): Renamed from fchdir.
27150 (fchdir): Define as weak alias.
27152 2013-04-29 Joseph Myers <joseph@codesourcery.com>
27154 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
27155 (ERRNO_EDOM): Likewise.
27156 (ERRNO_ERANGE): Likewise.
27157 (noErrnoTests): New variable.
27158 (init_max_error): Set errno to 0.
27159 (test_single_errno): New function.
27160 (test_errno): Likewise.
27161 (check_float_internal): Call test_errno. Set errno to 0.
27162 (check_complex): Refer to errno tests in comment.
27163 (check_int): Call test_errno. Set errno to 0.
27164 (check_long): Likewise.
27165 (check_bool): Likewise.
27166 (check_longlong): Likewise.
27167 (cos_test): Use ERRNO_* flags for errno tests instead of
27169 (expm1_test): Likewise.
27170 (fmod_test): Likewise.
27171 (ilogb_test): Likewise.
27172 (lgamma_test): Likewise.
27173 (pow_test): Likewise.
27174 (remainder_test): Likewise.
27175 (sin_test): Likewise.
27176 (tan_test): Likewise.
27177 (yn_test): Likewise.
27178 (initialize): Set errno to 0.
27179 (main): Print number of errno tests.
27180 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
27182 2013-04-29 Andreas Jaeger <aj@suse.de>
27185 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
27189 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
27190 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
27194 * stdlib/random.c (__initstate): Return NULL if
27198 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
27199 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
27202 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27204 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27206 2013-04-29 Joseph Myers <joseph@codesourcery.com>
27208 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
27209 of individual tests.
27210 (casin_test): Likewise.
27211 (casinh_test): Likewise.
27213 2013-04-27 Joseph Myers <joseph@codesourcery.com>
27216 * math/s_catan.c (__catan): Handle arguments with large real or
27217 imaginary part separately without squaring.
27218 * math/s_catanf.c (__catanf): Likewise.
27219 * math/s_catanh.c (__catanh): Likewise.
27220 * math/s_catanhf.c (__catanhf): Likewise.
27221 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27223 (__catanhl): Handle arguments with large real or imaginary part
27224 separately without squaring.
27225 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27227 (__catanl): Handle arguments with large real or imaginary part
27228 separately without squaring.
27229 * math/libm-test.inc (catan_test): Add more tests.
27230 (catanh_test): Likewise.
27231 * sysdeps/i386/fpu/libm-test-ulps: Update.
27232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27234 2013-04-27 Andreas Jaeger <aj@suse.de>
27237 * stdlib/stdlib.h: Update guards for qecvt.
27238 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
27241 2013-04-27 Allan McRae <allan@archlinux.org>
27243 * sysdeps/i386/fpu/libm-test-ulps: Update.
27245 2013-04-26 Joseph Myers <joseph@codesourcery.com>
27248 * math/s_catan.c: Include <float.h>.
27249 (__catan): Ensure underflow exception occurs for underflowed
27251 * math/s_catanf.c: Include <float.h>.
27252 (__catanf): Ensure underflow exception occurs for underflowed
27254 * math/s_catanh.c: Include <float.h>.
27255 (__catanh): Ensure underflow exception occurs for underflowed
27257 * math/s_catanhf.c: Include <float.h>.
27258 (__catanhf): Ensure underflow exception occurs for underflowed
27260 * math/s_catanhl.c: Include <float.h>.
27261 (__catanhl): Ensure underflow exception occurs for underflowed
27263 * math/s_catanl.c: Include <float.h>.
27264 (__catanl): Ensure underflow exception occurs for underflowed
27266 * math/libm-test.inc (catan_test): Add more tests.
27267 (catanh_test): Likewise.
27270 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
27271 underflowed result.
27272 * math/s_ccoshf.c (__ccoshf): Likewise.
27273 * math/s_ccoshl.c (__ccoshl): Likewise.
27274 * math/s_csin.c (__csin): Likewise.
27275 * math/s_csinf.c (__csinf): Likewise.
27276 * math/s_csinh.c (__csinh): Likewise.
27277 * math/s_csinhf.c (__csinhf): Likewise.
27278 * math/s_csinhl.c (__csinhl): Likewise.
27279 * math/s_csinl.c (__csinl): Likewise.
27280 * math/libm-test.inc (ccos_test): Add more tests.
27281 (ccosh_test): Likewise.
27282 (csin_test): Likewise.
27283 (csinh_test): Likewise.
27285 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27287 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
27288 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
27289 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
27290 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
27291 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
27292 powerpc/power5+/fpu folders.
27293 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
27296 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
27298 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27300 2013-04-25 Joseph Myers <joseph@codesourcery.com>
27302 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
27303 additions to variable.
27304 [$(config-machine) = x86_64] (modules-names): Likewise.
27305 ($(objpfx)tst-audit3): Remove dependency.
27306 ($(objpfx)tst-audit3.out): Likewise.
27307 ($(objpfx)tst-audit4): Likewise.
27308 ($(objpfx)tst-audit4.out): Likewise.
27309 ($(objpfx)tst-audit5): Likewise.
27310 ($(objpfx)tst-audit5.out): Likewise.
27311 ($(objpfx)tst-audit6): Likewise.
27312 ($(objpfx)tst-audit6.out): Likewise.
27313 ($(objpfx)tst-audit7): Likewise.
27314 ($(objpfx)tst-audit7.out): Likewise.
27315 (tst-audit3-ENV): Remove variable.
27316 (tst-audit4-ENV): Likewise.
27317 (tst-audit5-ENV): Likewise.
27318 (tst-audit6-ENV): Likewise.
27319 (tst-audit7-ENV): Likewise.
27320 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
27321 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
27322 addition to variable.
27323 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
27324 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
27325 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
27326 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
27327 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
27328 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
27329 tst-audit3, tst-audit4 and tst-audit5.
27330 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
27331 tst-audit6 and tst-audit7.
27332 [$(subdir) = elf] (modules-names): Add audit modules for those
27334 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
27335 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
27336 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
27337 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
27338 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
27339 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
27340 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
27341 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
27342 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
27343 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
27344 [$(subdir) = elf] (tst-audit3-ENV): New variable.
27345 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
27346 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
27347 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
27348 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
27349 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
27351 [$(subdir) = elf && $(config-cflags-avx) = yes]
27352 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
27353 [$(subdir) = elf && $(config-cflags-avx) = yes]
27354 (CFLAGS-tst-auditmod4a.c): Likewise.
27355 [$(subdir) = elf && $(config-cflags-avx) = yes]
27356 (CFLAGS-tst-auditmod4b.c): Likewise.
27357 [$(subdir) = elf && $(config-cflags-avx) = yes]
27358 (CFLAGS-tst-auditmod6b.c): Likewise.
27359 [$(subdir) = elf && $(config-cflags-avx) = yes]
27360 (CFLAGS-tst-auditmod6c.c): Likewise.
27361 [$(subdir) = elf && $(config-cflags-avx) = yes]
27362 (CFLAGS-tst-auditmod7b.c): Likewise.
27363 * elf/tst-audit3.c: Move to ...
27364 * sysdeps/x86_64/tst-audit3.c: ... here.
27365 * elf/tst-audit4.c: Move to ...
27366 * sysdeps/x86_64/tst-audit4.c: ... here.
27367 * elf/tst-audit5.c: Move to ...
27368 * sysdeps/x86_64/tst-audit5.c: ... here.
27369 * elf/tst-audit6.c: Move to ...
27370 * sysdeps/x86_64/tst-audit6.c: ... here.
27371 * elf/tst-audit7.c: Move to ...
27372 * sysdeps/x86_64/tst-audit7.c: ... here.
27373 * elf/tst-auditmod3a.c: Move to ...
27374 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
27375 * elf/tst-auditmod3b.c: Move to ...
27376 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
27377 * elf/tst-auditmod4a.c: Move to ...
27378 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
27379 * elf/tst-auditmod4b.c: Move to ...
27380 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
27381 * elf/tst-auditmod5a.c: Move to ...
27382 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
27383 * elf/tst-auditmod5b.c: Move to ...
27384 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
27385 * elf/tst-auditmod6a.c: Move to ...
27386 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
27387 * elf/tst-auditmod6b.c: Move to ...
27388 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
27389 * elf/tst-auditmod6c.c: Move to ...
27390 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
27391 * elf/tst-auditmod7a.c: Move to ...
27392 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
27393 * elf/tst-auditmod7b.c: Move to ...
27394 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
27396 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
27399 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
27400 define unconditionally.
27401 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
27402 define unconditionally.
27403 (INT8_C, INT16_C, etc.): Likewise.
27405 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
27407 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
27408 __ehdr_start with hidden visibility.
27410 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
27412 2013-04-24 Carlos O'Donell <carlos@redhat.com>
27414 * math/libm-test.inc (cos_test): Use accurate hex constants.
27415 (sincost_test): Likewise.
27417 2013-04-24 Joseph Myers <joseph@codesourcery.com>
27419 * math/libm-test.inc (catan_test): Add more tests.
27420 (catanh_test): Likewise.
27422 * math/s_catanf.c (__catanf): Use suffixed floating-point
27424 * math/s_catanhf.c (__catanhf): Likewise.
27425 * math/s_catanhl.c (__catanhl): Likewise.
27426 * math/s_catanl.c (__catanl): Likewise.
27429 * math/s_catan.c (__catan): Calculate imaginary part of result
27430 with log1p not log unless computing log of number close to 0.
27431 * math/s_catanf.c (__catanf): Likewise.
27432 * math/s_catanl.c (__catanl): Likewise.
27433 * math/s_catanh.c (__catanh): Calculate real part of result with
27434 log1p not log unless computing log of number close to 0.
27435 * math/s_catanhf.c (__catanhf): Likewise.
27436 * math/s_catanhl.c (__catanhl): Likewise.
27437 * math/libm-test.inc (catan_test): Add more tests.
27438 (catanh_test): Likewise.
27439 * sysdeps/i386/fpu/libm-test-ulps: Update.
27440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27442 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
27444 * benchtests/Makefile: Mention files in which fast and slow
27445 paths of math functions are implemented.
27447 2013-04-23 Roland McGrath <roland@hack.frob.com>
27449 * sysdeps/posix/timespec_get.c: New file.
27451 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27453 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
27455 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
27457 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
27458 powerpc/power5/fpu folders.
27459 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
27460 * benchtests/Makefile: Add modf testcase.
27461 * benchtests/bench-modf.c: New file: Benchmark test for mo
27463 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
27466 * time/Makefile (tests): Add tst-strptime-whitespace.
27467 * time/strptime_l.c (get_number): Use ISSPACE.
27468 (__strptime_internal): Likewise.
27469 * time/tst-strptime-whitespace.c: New test case.
27471 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
27473 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
27475 (_nss_files_init): Set it here.
27477 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
27479 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
27480 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
27483 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
27485 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
27487 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27489 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
27492 2013-04-21 David S. Miller <davem@davemloft.net>
27494 * po/ru.po: Update Russion translation from translation project.
27496 2013-04-17 Adam Conrad <adconrad@0c3.net>
27498 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
27501 2013-04-17 Carlos O'Donell <carlos@redhat.com>
27503 * configure.in: Remove i386 configure warning. Remove i386 case.
27504 * configure: Regenerate.
27505 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
27506 Add example to error message.
27507 * sysdeps/i386/configure: Regenerate.
27509 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
27511 * benchtests/Makefile (bench): Add cos, tan, slowcos and
27513 * benchtests/cos-inputs: New file.
27514 * benchtests/slowcos-inputs: New file.
27515 * benchtests/slowcos.c: New file.
27516 * benchtests/slowtan-inputs: New file.
27517 * benchtests/slowtan.c: New file.
27518 * benchtests/tan-inputs: New file.
27520 2013-04-16 Roland McGrath <roland@hack.frob.com>
27522 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
27525 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27527 * benchtests/Makefile: Include cppflags-iterator.mk to add
27528 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
27530 * Makefile.in (bench-clean): New target.
27531 * benchtests/Makefile (bench-clean): Likewise.
27533 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
27535 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
27537 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
27539 * stdio-common/tstdiomisc.c: Fix coding-style violation.
27541 2013-04-15 Andreas Schwab <schwab@suse.de>
27543 * nscd/grpcache.c (cache_addgr): Properly check for short write.
27544 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27545 * nscd/pwdcache.c (cache_addpw): Likewise.
27546 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
27549 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27551 * benchtests/Makefile (bench): Write all output to
27552 bench-out.tmp together.
27554 2013-04-15 Andreas Schwab <schwab@suse.de>
27556 * nscd/nscd.c (main): Don't fork again after closing files.
27558 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27560 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
27562 * benchtests/Rules (bench-deps): Collect dependencies into a
27563 single variable. Add Makefile to dependencies.
27564 ($(objpfx)bench-%.c): Depend on bench-deps.
27566 2013-04-12 Roland McGrath <roland@hack.frob.com>
27567 Xavier Roche <roche+kml2@exalead.com>
27570 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
27571 just that it's a file descriptor.
27572 * manual/llio.texi (Synchronizing AIO Operations): Update description
27573 for EBADF error from aio_fsync.
27575 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
27577 * Rules (bench): Move target definition...
27578 * benchtests/Makefile: ... here.
27580 2013-04-11 Carlos O'Donell <carlos@redhat.com>
27582 * math/libm-test.inc (cos_test): Fix PI/2 test.
27583 (sincos_test): Likewise.
27584 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
27585 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
27587 2013-04-11 Andreas Schwab <schwab@suse.de>
27590 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
27591 accept exponent character only when digits were seen.
27592 * stdio-common/Makefile (tests): Add bug26.
27593 * stdio-common/bug26.c: New file.
27596 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
27599 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27601 * Makeconfig (rtld-prefix): Define built linker prefix.
27602 * Rules (run-bench): Use it.
27603 * math/Makefile (run-regen-ulps): Likewise.
27605 * Rules (bench): Remove eval.
27607 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27608 Roland McGrath <roland@hack.frob.com>
27609 Ondrej Bilka <neleai@seznam.cz>
27612 * time/getdate.c: Include ctype.h and alloca.h.
27613 (__getdate_r): Trim leading and trailing spaces of input.
27614 * time/tst-getdate.c (tests): Add tests with leading and
27617 2013-04-08 Roland McGrath <roland@hack.frob.com>
27620 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
27621 when computing value.
27623 2013-04-06 Carlos O'Donell <carlos@redhat.com>
27625 * math/README.libm-test (How can I generate "libm-test-ulps"?):
27626 Use testrun.sh to run libm tests.
27629 * elf/dl-open.c (dl_open_worker): memset all of seen array.
27631 2013-04-06 Marko Myllynen <myllynen@redhat.com>
27634 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
27636 2013-04-06 Carlos O'Donell <carlos@redhat.com>
27638 * Makefile.in (regen-ulps): New target.
27639 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
27640 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
27641 [ifneq (no,$(PERL)] (regen-ulps): New target.
27642 [ifeq (no,$(PERL)] (regen-ulps): New target.
27643 * math/libm-test.inc (ulps_file_name): Define.
27644 (output_dir): New variable.
27645 (options): Add "output-dir" option.
27646 (parse_opt): Handle 'o' case.
27647 (main): If output_dir is non-NULL use it as a prefix
27649 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
27651 2013-04-06 Carlos O'Donell <carlos@redhat.com>
27653 [BZ #10060, #10062]
27654 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
27655 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
27656 fail configure if __sync_val_compare_and_swap is not inlined.
27657 * sysdeps/i386/configure: Regenerate.
27658 * configure.in: Build for i686 when configured for i386.
27659 * configure: Regenerate.
27660 * README: Remove i386 reference.
27662 2013-04-06 Carlos O'Donell <carlos@redhat.com>
27664 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
27665 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27667 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
27669 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
27670 (lmsnanval): New variables.
27671 (F): Add conversion tests.
27672 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
27673 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
27675 * stdio-common/tstdiomisc.c (F): Properly collect individual
27678 [BZ #14686, #15336]
27679 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
27680 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
27681 Instead, use input NaN values or generate a qNaN by arithmetic
27682 operation. Also fix bugs to comply with the standard.
27683 * math/libm-test.inc (remainder_test): Add more tests.
27685 [BZ #15335, #15342]
27686 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
27687 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
27688 input NaN values or generate a qNaN by arithmetic operation.
27690 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
27693 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
27696 2013-04-03 Joseph Myers <joseph@codesourcery.com>
27699 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
27700 underflowed result.
27701 * math/s_cexpf.c (__cexpf): Likewise.
27702 * math/s_cexpl.c (__cexpl): Likewise.
27703 * math/libm-test.inc (cexp_test): Add more tests.
27705 2013-04-03 Andreas Schwab <schwab@suse.de>
27708 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
27709 order arrays from heap if bigger than alloca cutoff.
27711 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
27713 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
27714 (SNAN_TESTS_double): Refer to GCC PR56831.
27715 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
27718 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
27720 * Rules (bench): Move bench.out after the run is complete.
27722 * Rules (bench): Echo currently running benchmark.
27724 * benchtests/Makefile (bench): Add atan and slowatan.
27725 * benchtests/atan-inputs: New file.
27726 * benchtests/slowatan-inputs: New file.
27727 * benchtests/slowatan.c: New file.
27729 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
27730 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
27734 * sysdeps/unix/sysv/linux/kernel-features.h
27735 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
27736 __ASSUME_XFS_RESTRICTED_CHOWN.
27737 * sysdeps/unix/sysv/linux/pathconf.c
27738 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
27739 Save and restore errno.
27741 2013-04-02 Joseph Myers <joseph@codesourcery.com>
27744 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
27745 arguments using __kernel_casinh.
27746 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
27747 arguments using __kernel_casinhf.
27748 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
27749 arguments using __kernel_casinhl.
27750 * math/libm-test.inc (cacosh_test): Add more tests.
27751 * sysdeps/i386/fpu/libm-test-ulps: Update.
27752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27754 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
27756 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
27757 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
27759 * bench/Makefile (bench): Add sin and slowsin.
27760 * benchtests/sin-inputs: New file.
27761 * benchtests/slowsin-inputs: New file.
27762 * benchtests/slowsin.c: New file.
27764 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
27765 (bench): Add slowexp and slowpow.
27766 (exp-ITER): Increase iterations.
27767 (pow-ITER): Likewise.
27768 * benchtests/exp-inputs: Change input.
27769 * benchtests/pow-inputs: Likewise.
27770 * benchtests/slowexp-inputs: New file.
27771 * benchtests/slowexp.c: New file.
27772 * benchtests/slowpow-inputs: New file.
27773 * benchtests/slowpow.c: New file.
27775 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27777 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
27779 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
27780 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
27781 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
27782 * benchtests/Makefile: Add rint benchtest.
27783 * benchtests/rint-inputs: Input for rint benchtest.
27785 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
27787 * Versions.def (libm): Add GLIBC_2.18.
27788 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
27789 hidden libm prototypes.
27790 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
27791 * math/Makefile (libm-calls): Add s_issignaling.
27792 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
27793 __issignalingf, __issignalingl. Adjust all libm.abilist files.
27794 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
27796 * math/math.h [__USE_GNU] (issignaling): New macro.
27797 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
27798 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
27799 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
27800 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
27801 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
27802 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
27803 * manual/arith.texi (issignaling): New section.
27804 * manual/libm-err-tab.pl (@all_functions): Update comment.
27805 * math/gen-libm-test.pl (parse_args): Apply special handling for
27807 * math/libm-test.inc (print_float, issignaling_test): New
27809 (check_float_internal): Add issignaling checks.
27810 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
27811 default definition.
27812 * sysdeps/powerpc/math-tests.h: New file.
27813 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
27815 * math/test-snan.c (TEST_FUNC): Likewise.
27817 2013-03-30 David S. Miller <davem@davemloft.net>
27819 * po/de.po: Update from translation team.
27821 2013-03-30 Joseph Myers <joseph@codesourcery.com>
27824 * math/k_casinh.c (__kernel_casinh): Handle arguments with
27825 imaginary part less than 1.0 and real part less than 0.5
27827 * math/k_casinhf.c (__kernel_casinhf): Likewise.
27828 * math/k_casinhl.c (__kernel_casinhl): Likewise.
27829 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
27830 (cacos_test): Add more tests.
27831 (casin_test): Likewise.
27832 (casinh_test): Likewise.
27833 * sysdeps/i386/fpu/libm-test-ulps: Update.
27834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27836 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27838 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
27839 ONE with its value.
27841 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
27842 (__pow_mp): Replace ONE and MONE with their values.
27843 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27844 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
27845 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27846 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
27847 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27848 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27850 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
27852 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
27853 (__pow_mp): Replace ZERO and MZERO with their values.
27854 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
27855 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27856 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27857 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27858 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27859 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
27862 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
27864 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
27866 2013-03-28 Roland McGrath <roland@hack.frob.com>
27868 * include/stdlib.h [!SHARED] (__call_tls_dtors):
27869 Declare with __attribute__ ((weak)).
27870 * stdlib/exit.c (__libc_atexit) [!SHARED]:
27871 Call __call_tls_dtors only if it's not NULL.
27873 2013-03-28 Roland McGrath <roland@hack.frob.com>
27875 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
27876 didn't do it already, then set _dl_phdr and _dl_phnum based on the
27877 magic __ehdr_start linker symbol if it's defined.
27878 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
27879 them up here if it was already done.
27881 * elf/dl-support.c (_dl_phdr): Make pointer to const.
27882 (_dl_aux_init): Use const in cast when setting it.
27883 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
27884 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
27885 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
27887 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
27889 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
27890 * csu/libc-tls.c: Nor here.
27891 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
27893 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
27894 (__libc_message): Never call vsyslog.
27896 2013-03-28 Alan Modra <amodra@gmail.com>
27898 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
27900 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
27903 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27906 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
27908 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27910 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27913 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
27914 Don't add gid passed as argument.
27916 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
27918 2013-03-27 Joseph Myers <joseph@codesourcery.com>
27921 * math/k_casinh.c (__kernel_casinh): Handle arguments with
27922 imaginary part between 1.0 and 1.5 and real part less than 0.5
27924 * math/k_casinhf.c (__kernel_casinhf): Likewise.
27925 * math/k_casinhl.c (__kernel_casinhl): Likewise.
27926 * math/libm-test.inc (cacos_test): Add more tests.
27927 (casin_test): Likewise.
27928 (casinh_test): Likewise.
27929 * sysdeps/i386/fpu/libm-test-ulps: Update.
27930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27932 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27934 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
27937 (denorm): Likewise.
27938 (__dbl_mp): Likewise.
27939 (add_magnitudes): Likewise.
27940 (sub_magnitudes): Likewise.
27948 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
27950 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
27951 (__dubcos): Likewise.
27952 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
27953 (__ieee754_acos): Likewise.
27954 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
27955 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
27956 (__exp1): Likewise.
27957 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27958 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
27960 (my_log2): Likewise.
27961 (checkint): Likewise.
27962 * sysdeps/ieee754/dbl-64/e_remainder.c
27963 (__ieee754_remainder): Likewise.
27964 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27965 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
27966 (bsloww): Likewise.
27967 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27969 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
27970 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
27971 MANTISSA_STORE_T to store computations on mantissa. Use
27972 macros for rounding and division.
27973 (denorm): Likewise.
27974 (__dbl_mp): Likewise.
27975 (add_magnitudes): Likewise.
27976 (sub_magnitudes): Likewise.
27979 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
27980 powers of two in terms of TWOPOW macro.
27981 (mp_no): Make type of mantissa as MANTISSA_T.
27982 [!RADIXI]: Define RADIXI.
27983 [!TWO52]: Define TWO52.
27984 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
27986 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27988 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
27989 llroundl symbol when building for PPC32.
27991 2013-03-24 Mark H Weaver <mhw@netris.org>
27993 * manual/arith.texi (Normalization Functions): Fix prototypes for
27994 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
27996 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27999 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
28000 high value to check if expl overflow.
28001 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
28002 to check for underflow and overflow.
28003 * math/libm-test.inc: Add exp test.
28005 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
28008 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
28011 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28013 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
28016 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
28018 * math/gen-libm-test.pl (parse_args, special_functions): Properly
28019 wrap blocks consisting of several statements.
28021 * sysdeps/generic/math-tests.h: New file.
28022 * sysdeps/i386/fpu/math-tests.h: Likewise.
28023 * math/test-snan.c: Include it.
28024 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
28026 2013-03-21 Joseph Myers <joseph@codesourcery.com>
28029 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
28030 (__ieee754_j0l): Do not improve calculations using cos of twice
28031 input for inputs above LDBL_MAX / 2.0L.
28032 (__ieee754_y0l): Likewise.
28033 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
28034 (__ieee754_j1l): Do not improve calculations using cos of twice
28035 input for inputs above LDBL_MAX / 2.0L.
28036 (__ieee754_y1l): Likewise.
28037 * math/libm-test.inc (j0_test): Add another test.
28038 (j1_test): Likewise.
28039 (y0_test): Likewise.
28040 (y1_test): Likewise.
28041 * sysdeps/i386/fpu/libm-test-ulps: Update.
28043 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28045 * Rules ($(objpfx)bench-%.c): Include code from a C source
28048 2013-03-21 Joseph Myers <joseph@codesourcery.com>
28051 * math/k_casinh.c (__kernel_casinh): Handle arguments with
28052 imaginary part 1.0 and real part less than 0.5 specially.
28053 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28054 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28055 * math/libm-test.inc (cacos_test): Add more tests.
28056 (casin_test): Likewise.
28057 (casinh_test): Likewise.
28058 * sysdeps/i386/fpu/libm-test-ulps: Update.
28059 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28061 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28063 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
28064 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
28066 2013-03-20 Joseph Myers <joseph@codesourcery.com>
28068 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
28069 * config.make.in (config-cflags-sse4): Remove variable.
28070 (config-cflags-avx): Likewise.
28071 (config-cflags-sse2avx): Likewise.
28072 (config-cflags-novzeroupper): Likewise.
28073 (config-asflags-i686): Likewise.
28074 (have-mfma4): Likewise.
28075 (have-as-vis3): Likewise.
28077 * configure.in (MIG): Do not AC_SUBST.
28078 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
28079 (libc_cv_cc_sse4): Do not AC_SUBST.
28080 (libc_cv_cc_avx): Likewise.
28081 (libc_cv_cc_sse2avx): Likewise.
28082 (libc_cv_cc_novzeroupper): Likewise.
28083 (libc_cv_cc_fma4): Likewise.
28084 (libc_cv_as_i686): Likewise.
28085 (libc_cv_sparc_as_vis3): Likewise.
28086 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
28088 (config-asflags-i686): Likewise.
28089 (config-cflags-avx): Likewise.
28090 (config-cflags-sse2avx): Likewise.
28091 (have-mfma4): Likewise.
28092 (config-cflags-novzeroupper): Likewise.
28093 * sysdeps/mach/configure.in (MIG): Likewise.
28094 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
28095 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
28097 (config-cflags-avx): Likewise.
28098 (config-cflags-sse2avx): Likewise.
28099 (have-mfma4): Likewise.
28100 (config-cflags-novzeroupper): Likewise.
28101 * configure: Regenerated.
28102 * sysdeps/i386/configure: Likewise.
28103 * sysdeps/mach/configure: Likewise.
28104 * sysdeps/sparc/configure: Likewise.
28105 * sysdeps/x86_64/configure: Likewise.
28107 2013-03-20 Roland McGrath <roland@hack.frob.com>
28110 * locale/programs/localedef.c (options): Put N_ translation marker
28111 on argument names, not just descriptions.
28113 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28115 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
28117 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
28120 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
28122 2013-03-19 Roland McGrath <roland@hack.frob.com>
28124 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
28125 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
28126 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
28127 [!BEFORE_ABORT] (before_abort): New function.
28128 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
28129 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
28130 (writev_for_fatal): New function.
28131 (WRITEV_FOR_FATAL): New macro; call that.
28132 (backtrace_and_maps): New function.
28133 (BEFORE_ABORT): New macro; call that.
28134 (struct str_list): Type removed.
28135 (__libc_message, __libc_fatal): Functions removed.
28136 Include <sysdeps/posix/libc_fatal.c> instead.
28138 2013-03-19 Joseph Myers <joseph@codesourcery.com>
28140 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
28142 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
28145 2013-03-19 Andreas Schwab <schwab@suse.de>
28147 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
28148 * sysdeps/gnu/configure: Regenerate.
28150 * configure.in: Substitute libc_cv_rtlddir.
28151 * configure: Regenerate.
28152 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
28153 * Makeconfig (rtlddir, inst_rtlddir): New variables.
28154 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
28155 * elf/Makefile (install-others, CFLAGS-interp.c)
28156 (ldso_install, common-ldd-rewrite): Likewise.
28157 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
28158 $(inst_slibdir)/$(rtld-installed-name).
28159 * scripts/rellns-sh: Add -p option.
28160 * Makerules (make-shlib-link): Use rellns-sh to get relative name
28163 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28165 * manual/nptl.texi: Renamed to ...
28166 * manual/threads.texi: ... this.
28167 * manual/Makefile (chapters): Update.
28169 2013-03-18 Roland McGrath <roland@hack.frob.com>
28172 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
28173 on argument names, not just descriptions.
28174 * malloc/memusagestat.c (options): Likewise.
28175 * nss/getent.c (options): Likewise.
28177 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
28180 * iconv/iconv_prog.c (options): Put N_ translation marker
28181 on argument names, not just descriptions.
28182 * iconv/iconvconfig.c (options): Likewise.
28184 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
28186 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
28187 implementation which is faster on all x86_64 architectures.
28188 Tested on AMD, Intel Nehalem, SNB, IVB.
28189 * sysdeps/x86_64/strnlen.S: Likewise.
28191 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28192 Remove all multiarch strlen and strnlen versions.
28193 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
28194 Remove strlen and strnlen related parts.
28196 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
28197 Inline strlen part.
28198 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
28200 * sysdeps/x86_64/multiarch/strlen.S: Remove.
28201 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
28202 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
28203 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
28204 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28205 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
28207 2013-03-17 Carlos O'Donell <carlos@redhat.com>
28209 * manual/memory.texi (Malloc Tunable Parameters):
28210 Sort parameters alphabetically. Add comments for missing entries.
28212 2013-03-17 David S. Miller <davem@davemloft.net>
28214 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28216 2013-03-16 Joseph Myers <joseph@codesourcery.com>
28219 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
28220 for arguments at most half maximum finite value.
28221 * math/libm-test.inc (j0_test): Add more tests.
28222 (j1_test): Likewise.
28223 (y0_test): Likewise.
28224 (y1_test): Likewise.
28225 * sysdeps/i386/fpu/libm-test-ulps: Update.
28226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28229 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
28230 1 / x and functions P and Q for arguments above 0x1p256L.
28231 (__ieee754_y0l): Likewise.
28232 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
28233 (__ieee754_y1l): Likewise.
28234 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
28235 (j1_test): Likewise.
28236 (y0_test): Likewise.
28237 (y1_test): Likewise.
28239 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
28241 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
28244 2013-03-15 Roland McGrath <roland@hack.frob.com>
28246 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
28247 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
28248 zero since it's initialized to EXEC_PAGESIZE.
28250 * sysdeps/unix/sysv/linux/ldsodefs.h
28251 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
28252 * sysdeps/generic/ldsodefs.h: ... here.
28254 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
28256 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
28258 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
28260 * math/test-snan.c: Renamed from
28261 sysdeps/powerpc/fpu/test-powerpc-snan.c.
28262 * math/Makefile (tests): Add test-snan.
28263 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
28266 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
28267 SUFFIX. Initialize qNaN_var with __builtin_nan family of
28269 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
28270 __builtin_nan family of functions.
28271 * math/libm-test.inc (initialize): Initialize qnan_value with
28272 __builtin_nan family of functions.
28273 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
28275 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
28277 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
28278 storage class. Initialize qNaN_var and sNaN_var with
28279 __builtin_nan and __builtin_nans families of functions,
28282 * math/libm-test.inc (acosh_test): Also test with qNaN input.
28283 (sqrt_test): Remove duplicate test with qNaN input.
28284 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
28285 (round_test, signbit_test, significand_test): Note missing +/-Inf
28286 as well as qNaN tests.
28288 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
28289 qNaN_var. Fix a few strings, too.
28290 * math/libm-test.inc (nan_value): Rename to qnan_value.
28291 * math/gen-libm-test.pl (%beautify): Adjust to that.
28292 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
28293 * math/test-misc.c (main): Likewise.
28294 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
28295 to __qnan_bytes, and __qnan_union, respectively.
28296 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
28298 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
28299 and lqnanval, respectively.
28300 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
28301 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
28302 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
28303 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
28305 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
28306 * math/test-misc.c (main) [__x86_64__]: Enable test for long
28309 * math/test-misc.c (main): Fix copy'n'pastos.
28310 * misc/tst-efgcvt.c (special): Likewise.
28312 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
28313 Remove declarations.
28315 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28317 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
28318 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
28319 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
28320 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
28322 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28324 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
28325 macro to return vdso values correctly in IFUNC implementations.
28326 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
28327 Optimization by using IFUNC.
28329 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28330 Richard Henderson <rth@redhat.com>
28331 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28333 * Makefile.in (bench): New target.
28334 * NEWS: Mention the benchmark framework.
28335 * Rules (bench): Likewise.
28336 (binaries-bench): Generate binaries for functions to
28338 * benchtests/Makefile: New makefile for benchmark tests.
28339 * benchtests/bench-skeleton.c: New skeleton file for benchmark
28341 * benchtests/exp-inputs: New input file for EXP function.
28342 * benchtests/pow-inputs: New input file for POW function.
28343 * scripts/bench.pl: New script to generate source files for
28344 benchmark programs.
28346 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28348 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
28349 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
28350 computations on mantissa. Use macros for rounding and
28352 (denorm): Likewise.
28353 (__dbl_mp): Likewise.
28354 (add_magnitudes): Likewise.
28355 (sub_magnitudes): Likewise.
28358 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
28359 powers of two in terms of TWOPOW macro.
28360 (mp_no): Make type of mantissa as MANTISSA_T.
28361 [!RADIXI]: Define RADIXI.
28362 [!TWO52]: Define TWO52.
28363 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
28365 * manual/nptl.texi (cindex): Modify threads to pthreads.
28367 2013-03-15 Joseph Myers <joseph@codesourcery.com>
28369 * sysdeps/x86_64/preconfigure: Regenerated.
28371 2013-03-14 Joseph Myers <joseph@codesourcery.com>
28374 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
28376 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
28377 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
28379 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
28380 * math/libm-test.inc (j0_test): Do not allow one spurious
28381 underflow exception.
28382 (y1_test): Likewise.
28384 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28386 * manual/Makefile (chapters): Add nptl.
28387 * manual/debug.texi (Debugging Support): Add link to Threads
28389 * manual/nptl.texi: New file.
28391 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
28393 2013-03-14 Petr Baudis <pasky@ucw.cz>
28395 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
28396 for non-NULL pointer before the memory validity test. Pointed
28397 out by Holger Brunck <holger.brunck@keymile.com>.
28399 2013-03-13 Andreas Schwab <schwab@suse.de>
28401 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
28404 2013-03-13 Joseph Myers <joseph@codesourcery.com>
28406 * timezone/zic.c: Update from tzcode 2013b.
28408 2013-03-12 Carlos O'Donell <carlos@redhat.com>
28410 * manual/install.texi (Configuring and compiling):
28411 Mention i686 and i586.
28412 * INSTALL: Regenerate.
28414 2013-03-12 Roland McGrath <roland@hack.frob.com>
28416 * sysdeps/init_array/elf-init.c: New file.
28418 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
28419 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
28421 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
28422 __gmon_start__ as global, but as static with a .preinit_array pointer.
28423 * sysdeps/init_array/gmon-start.c: New file. Use that.
28424 * sysdeps/init_array/crti.S: New file, empty except for comments.
28425 * sysdeps/init_array/crtn.S: Likewise.
28427 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
28429 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
28431 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28432 Remove Prefer_SSE_for_memop.
28433 * sysdeps/x86_64/multiarch/init-arch.h: Remove
28434 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
28435 HAS_PREFER_SSE_FOR_MEMOP.
28436 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
28438 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28439 Remove bzero, memset ifunc support.
28440 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
28441 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
28442 * sysdeps/x86_64/multiarch/memset.S: Likewise.
28443 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28445 2013-03-11 Andreas Schwab <schwab@suse.de>
28448 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
28450 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
28451 (GLIBC_2.16): Remove pthread_atfork.
28453 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
28455 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
28456 (ptestcases.h): Likewise.
28458 2013-03-08 Roland McGrath <roland@hack.frob.com>
28460 * Makeconfig ($(common-objpfx)config.status): Depend on
28461 sysdeps/*/preconfigure{,.in} too.
28463 2013-03-08 Joseph Myers <joseph@codesourcery.com>
28465 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
28466 (__free_hook): Use void * instead of __malloc_ptr_t.
28467 (__malloc_hook): Likewise.
28468 (__realloc_hook): Likewise.
28469 (__memalign_hook): Likewise.
28470 (__after_morecore_hook): Likewise.
28471 * malloc/arena.c (save_malloc_hook): Likewise.
28472 (save_free_hook): Likewise.
28473 * malloc/hooks.c (malloc_hook_ini): Likewise.
28474 (realloc_hook_ini): Likewise.
28475 (memalign_hook_ini): Likewise.
28476 * malloc/malloc.c (malloc_hook_ini): Likewise.
28477 (realloc_hook_ini): Likewise.
28478 (memalign_hook_ini): Likewise.
28479 (__free_hook): Likewise.
28480 (__malloc_hook): Likewise.
28481 (__realloc_hook): Likewise.
28482 (__memalign_hook): Likewise.
28483 (__libc_malloc): Likewise.
28484 (__libc_free): Likewise.
28485 (__libc_realloc): Likewise.
28486 (__libc_memalign): Likewise.
28487 (__libc_valloc): Likewise.
28488 (__libc_pvalloc): Likewise.
28489 (__libc_calloc): Likewise.
28490 (__posix_memalign): Likewise.
28491 * malloc/morecore.c (__sbrk): Likewise.
28492 (__default_morecore): Likewise.
28494 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
28496 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
28497 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
28498 __malloc_ptrdiff_t.
28500 * malloc/malloc.h (__malloc_size_t): Remove macro.
28501 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
28503 (old_memalign_hook): Likewise.
28504 (old_realloc_hook): Likewise.
28505 (struct hdr): Likewise.
28507 (mallochook): Likewise.
28508 (memalignhook): Likewise.
28509 (reallochook): Likewise.
28510 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
28511 (tr_old_realloc_hook): Likewise.
28512 (tr_old_memalign_hook): Likewise.
28513 (tr_mallochook): Likewise.
28514 (tr_reallochook): Likewise.
28515 (tr_memalignhook): Likewise.
28517 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28519 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
28520 default_ldbl_pack and using as default implementation.
28521 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
28523 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
28524 redundant definition.
28525 (ldbl_insert_mantissa): Likewise.
28526 (ldbl_canonicalize): Likewise.
28527 (ldbl_nearbyint): Likewise.
28528 (ldbl_pack): Rename to ldbl_pack_ppc.
28529 (ldbl_unpack): Rename to ldbl_unpack_ppc.
28530 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
28531 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
28533 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
28535 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
28536 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
28537 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
28538 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
28539 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
28540 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
28541 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
28542 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
28544 2013-03-07 Andreas Jaeger <aj@suse.de>
28546 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28549 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
28551 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
28552 Include mpa.h and declare __MPEXP.
28553 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
28554 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
28555 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
28556 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
28557 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
28558 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
28559 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
28561 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
28562 (__slowpow): Use long double EXPL and LOGL functions to
28564 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
28565 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
28566 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
28567 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
28568 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
28569 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
28571 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
28572 intermediate variable to calculate exponent.
28574 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
28578 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
28579 [!NO__SQR]: Define __sqr.
28580 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
28581 and NO__SQR. Remove all code except __mul and __sqr. Include
28582 sysdeps/ieee754/dbl-64/mpa.c.
28583 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28586 * posix/Makefile (tests): Add tst-pathconf.
28587 * posix/tst-pathconf.c: New test case.
28588 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
28590 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
28592 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
28594 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
28596 2013-03-06 Andreas Jaeger <aj@suse.de>
28598 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
28599 definition via __MAP_ANONYMOUS.
28601 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
28602 it's not part of Linux headers.
28604 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
28605 (MAP_HUGE_MASK): Define.
28607 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28609 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28610 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28612 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28613 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28615 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28616 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
28618 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28620 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
28621 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
28622 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
28623 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
28624 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
28625 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
28627 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
28630 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28631 Handle f2fs and efivarfs.
28633 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
28636 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
28637 (EFIVARFS_MAGIC): Add.
28638 (F2FS_LINK_MAX): Add.
28640 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
28642 * stdio-common/vfprintf.c: Replace __builtin_expect with
28645 2013-03-06 Joseph Myers <joseph@codesourcery.com>
28648 * sysdeps/generic/bp-sym.h: Remove file.
28649 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
28650 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
28651 <bp-sym.h> and <bp-asm.h>.
28652 (__longjmp): Don't use BP_SYM.
28653 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
28655 (memcpy): Don't use BP_SYM.
28656 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
28657 <bp-sym.h> and <bp-asm.h>.
28658 (memcpy): Don't use BP_SYM.
28659 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
28661 (memcpy): Don't use BP_SYM.
28662 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
28664 (memset): Don't use BP_SYM.
28665 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28666 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28667 (__bzero): Don't use BP_SYM.
28668 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28669 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28670 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
28671 <bp-sym.h> and <bp-asm.h>.
28672 (memcmp): Don't use BP_SYM. Remove comment about bounded
28674 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
28675 <bp-sym.h> and <bp-asm.h>.
28676 (memcpy): Don't use BP_SYM.
28677 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
28678 <bp-sym.h> and <bp-asm.h>.
28679 (memset): Don't use BP_SYM.
28680 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28681 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28682 (__bzero): Don't use BP_SYM.
28683 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28684 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28685 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
28686 <bp-sym.h> and <bp-asm.h>.
28687 (strncmp): Don't use BP_SYM. Remove comment about bounded
28689 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
28690 <bp-sym.h> and <bp-asm.h>.
28691 (memcpy): Don't use BP_SYM.
28692 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
28693 <bp-sym.h> and <bp-asm.h>.
28694 (memset): Don't use BP_SYM.
28695 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28696 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28697 (__bzero): Don't use BP_SYM.
28698 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28699 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28700 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
28701 <bp-sym.h> and <bp-asm.h>.
28702 (__memchr): Don't use BP_SYM.
28703 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
28704 <bp-sym.h> and <bp-asm.h>.
28705 (memcmp): Don't use BP_SYM. Remove comment about bounded
28707 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
28708 <bp-sym.h> and <bp-asm.h>.
28709 (memcpy): Don't use BP_SYM.
28710 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
28711 <bp-sym.h> and <bp-asm.h>.
28712 (__mempcpy): Don't use BP_SYM.
28713 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
28714 <bp-sym.h> and <bp-asm.h>.
28715 (__memrchr): Don't use BP_SYM.
28716 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
28717 <bp-sym.h> and <bp-asm.h>.
28718 (memset): Don't use BP_SYM.
28719 (__bzero): Likewise.
28720 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
28721 <bp-sym.h> and <bp-asm.h>.
28722 (__rawmemchr): Don't use BP_SYM.
28723 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
28724 <bp-sym.h> and <bp-asm.h>.
28725 (__STRCMP): Don't use BP_SYM.
28726 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
28727 <bp-sym.h> and <bp-asm.h>.
28728 (strchr): Don't use BP_SYM.
28729 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
28730 <bp-sym.h> and <bp-asm.h>.
28731 (__strchrnul): Don't use BP_SYM.
28732 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
28733 <bp-sym.h> and <bp-asm.h>.
28734 (strlen): Don't use BP_SYM.
28735 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
28736 <bp-sym.h> and <bp-asm.h>.
28737 (strncmp): Don't use BP_SYM. Remove comment about bounded
28739 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
28740 <bp-sym.h> and <bp-asm.h>.
28741 (__strnlen): Don't use BP_SYM.
28742 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
28743 <bp-sym.h> and <bp-asm.h>.
28744 (__GI__setjmp): Don't use BP_SYM.
28745 (_setjmp): Likewise.
28746 (__sigsetjmp): Likewise.
28747 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
28748 (L(start_addresses)): Don't use BP_SYM.
28749 (_start): Likewise.
28750 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
28752 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
28753 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
28754 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28755 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28756 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
28758 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
28759 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
28760 about bounded pointers.
28761 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28762 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28763 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
28765 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
28766 about bounded pointers. Remove GKM FIXME comments.
28767 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28768 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
28770 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
28771 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
28772 Remove GKM FIXME comments.
28773 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28774 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28775 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
28777 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
28778 about bounded pointers. Remove GKM FIXME comment.
28779 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
28781 (strncmp): Don't use BP_SYM. Remove comment about bounded
28783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
28784 <bp-sym.h> and <bp-asm.h>.
28785 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
28786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
28787 <bp-sym.h> and <bp-asm.h>.
28788 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
28791 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
28793 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
28796 2013-03-05 David S. Miller <davem@davemloft.net>
28798 * po/es.po: Update from translation team.
28800 2013-03-05 Andreas Jaeger <aj@suse.de>
28802 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
28803 <bits/mman-linux.h>.
28804 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28806 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
28807 <bits/mman-linux.h> to end of file.
28808 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28810 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
28811 <bits/mman-linux.h> to end of file.
28812 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28814 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
28815 <bits/mman-linux.h> to end of file.
28817 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
28818 (MCL_CURRENT, MCL_FUTURE): Define here.
28820 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28823 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
28825 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28827 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28829 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
28830 fourth parameter needed for rt_sigprocmask syscall.
28831 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
28832 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
28833 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
28834 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
28835 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
28836 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
28838 2013-03-04 Joseph Myers <joseph@codesourcery.com>
28841 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
28842 comment about bounded pointers.
28843 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
28844 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
28846 2013-03-04 Andreas Jaeger <aj@suse.de>
28848 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
28849 common definitions.
28851 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
28852 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
28853 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
28854 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
28855 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
28856 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
28858 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28861 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
28862 __ieee754_sqrl instead of __sqrl.
28864 2013-03-01 Joseph Myers <joseph@codesourcery.com>
28866 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
28867 * sysdeps/powerpc/fpu_control.h: ... here.
28868 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
28869 * sysdeps/powerpc/bits/fenvinline.h: ... here.
28870 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
28871 * sysdeps/powerpc/bits/mathinline.h: ... here.
28873 2013-03-01 Roland McGrath <roland@hack.frob.com>
28875 * elf/dl-hwcaps.c (_dl_important_hwcaps):
28876 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
28877 to just [NEED_DL_SYSINFO_DSO].
28878 * elf/dl-support.c: Likewise.
28879 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
28880 * elf/rtld.c (dl_main): Likewise.
28881 * elf/setup-vdso.h (setup_vdso): Likewise.
28882 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
28883 * sysdeps/unix/sysv/linux/dl-sysdep.c
28884 (_dl_discover_osversion): Likewise.
28886 2013-03-01 Carlos O'Donell <carlos@redhat.com>
28888 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
28889 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
28891 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
28893 * NEWS: Mention libm performance improvements and non-x86 PI
28896 * csu/libc-start.c (__pthread_initialize_minimal): Change
28897 function arguments.
28898 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
28900 2013-02-28 Joseph Myers <joseph@codesourcery.com>
28903 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
28904 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
28905 <bp-sym.h> and <bp-asm.h>.
28906 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28907 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
28909 (memcpy): Don't use BP_SYM.
28910 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
28912 (__mpn_add_n): Don't use BP_SYM.
28913 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
28914 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
28916 (__mpn_addmul_1): Don't use BP_SYM.
28917 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28918 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
28920 (_setjmp): Don't use BP_SYM.
28921 (__novmx_setjmp): Likewise.
28922 (__GI__setjmp): Likewise.
28923 (__vmx_setjmp): Likewise.
28924 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
28926 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
28927 (__bzero): Don't use BP_SYM.
28928 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28929 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28930 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
28931 <bp-sym.h> and <bp-asm.h>.
28932 (memcpy): Don't use BP_SYM.
28933 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
28934 <bp-sym.h> and <bp-asm.h>.
28935 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28936 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
28937 <bp-sym.h> and <bp-asm.h>.
28938 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28939 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
28941 (__mpn_lshift): Don't use BP_SYM.
28942 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28943 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
28945 (memset): Don't use BP_SYM.
28946 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28947 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28948 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
28950 (__mpn_mul_1): Don't use BP_SYM.
28951 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28952 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
28953 <bp-sym.h> and <bp-asm.h>.
28954 (memcmp): Don't use BP_SYM.
28955 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
28956 <bp-sym.h> and <bp-asm.h>.
28957 (memcpy): Don't use BP_SYM.
28958 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
28959 <bp-sym.h> and <bp-asm.h>.
28960 (memset): Don't use BP_SYM.
28961 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
28962 <bp-sym.h> and <bp-asm.h>.
28963 (strncmp): Don't use BP_SYM.
28964 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
28965 <bp-sym.h> and <bp-asm.h>.
28966 (memcpy): Don't use BP_SYM.
28967 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
28968 <bp-sym.h> and <bp-asm.h>.
28969 (memset): Don't use BP_SYM.
28970 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
28971 <bp-sym.h> and <bp-asm.h>.
28972 (__memchr): Don't use BP_SYM.
28973 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
28974 <bp-sym.h> and <bp-asm.h>.
28975 (memcmp): Don't use BP_SYM.
28976 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
28977 <bp-sym.h> and <bp-asm.h>.
28978 (memcpy): Don't use BP_SYM.
28979 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
28980 <bp-sym.h> and <bp-asm.h>.
28981 (__mempcpy): Don't use BP_SYM.
28982 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
28983 <bp-sym.h> and <bp-asm.h>.
28984 (__memrchr): Don't use BP_SYM.
28985 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
28986 <bp-sym.h> and <bp-asm.h>.
28987 (memset): Don't use BP_SYM.
28988 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
28989 <bp-sym.h> and <bp-asm.h>.
28990 (__rawmemchr): Don't use BP_SYM.
28991 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
28992 <bp-sym.h> and <bp-asm.h>.
28993 (__STRCMP): Don't use BP_SYM.
28994 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
28995 <bp-sym.h> and <bp-asm.h>.
28996 (strchr): Don't use BP_SYM.
28997 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
28998 <bp-sym.h> and <bp-asm.h>.
28999 (__strchrnul): Don't use BP_SYM.
29000 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
29001 <bp-sym.h> and <bp-asm.h>.
29002 (strlen): Don't use BP_SYM.
29003 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
29004 <bp-sym.h> and <bp-asm.h>.
29005 (strncmp): Don't use BP_SYM.
29006 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
29007 <bp-sym.h> and <bp-asm.h>.
29008 (__strnlen): Don't use BP_SYM.
29009 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
29011 (__mpn_rshift): Don't use BP_SYM.
29012 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29013 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
29014 <bp-sym.h> and <bp-asm.h>.
29015 (__sigsetjmp): Don't use BP_SYM.
29016 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
29017 (L(start_addresses)): Don't use BP_SYM.
29018 (_start): Likewise.
29019 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
29021 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
29022 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29023 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29024 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
29026 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
29027 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29028 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29029 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
29031 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
29033 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29034 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
29036 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
29038 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29039 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29040 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
29042 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
29044 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
29046 (strncmp): Don't use BP_SYM,
29047 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
29049 (__mpn_sub_n): Don't use BP_SYM.
29050 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29051 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
29053 (__mpn_submul_1): Don't use BP_SYM.
29054 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
29056 <bp-sym.h> and <bp-asm.h>.
29057 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
29058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
29059 <bp-sym.h> and <bp-asm.h>.
29060 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
29063 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29065 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
29066 Use ZK to minimize writes to Z.
29067 (sub_magnitudes): Simplify code a bit.
29068 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
29069 Use ZK to minimize writes to Z.
29070 (sub_magnitudes): Simplify code a bit.
29072 2013-02-27 Roland McGrath <roland@hack.frob.com>
29074 * csu/gmon-start.c: Add special exception to license text.
29076 2013-02-27 Richard Henderson <rth@redhat.com>
29078 * scripts/config.guess: Update from config.git.
29079 * scripts/config.sub: Likewise.
29081 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29083 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
29085 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
29087 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
29089 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
29091 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
29093 2013-02-26 Roland McGrath <roland@hack.frob.com>
29095 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
29096 [$(build-shared = yes].
29098 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29100 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
29101 (__mul): Reduce iterations for calculating mantissa.
29103 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
29105 (__mpranred): Likewise.
29108 * malloc/memusagestat.c (main): Draw graphs for heap and stack
29109 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
29111 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
29113 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
29114 Define __attribute__.
29116 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29118 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
29120 * posix/regex_internal.h (__attribute): Remove.
29121 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
29122 (re_string_context_at): Likewise.
29123 (bitset_not): Use __attribute__ and mark function as possibly
29125 (bitset_merge): Likewise.
29126 (bitset_mask): Likewise.
29127 (re_string_char_size_at): Likewise.
29128 (re_string_wchar_at): Likewise.
29129 (re_string_elem_size_at): Likewise.
29131 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29133 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
29137 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
29141 (denorm): Likewise.
29142 (__dbl_mp): Likewise.
29143 (add_magnitudes): Likewise.
29144 (sub_magnitudes): Likewise.
29148 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
29151 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
29154 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
29157 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
29158 up changes with default code.
29159 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
29162 2013-02-24 Allan McRae <allan@archlinux.org>
29164 * manual/socket.texi (The Internet Namespace): Order menu items
29165 to match that in the file.
29167 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
29168 node listing of the info page menu.
29170 2013-02-21 Joseph Myers <joseph@codesourcery.com>
29173 * sysdeps/i386/bp-asm.h: Remove file.
29174 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
29175 (PARMS): Do not use macros from bp-asm.h.
29179 (__mpn_add_n): Do not use BP_SYM
29180 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
29182 (PARMS): Do not use macros from bp-asm.h.
29185 (__mpn_addmul_1): Do not use BP_SYM
29186 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
29188 (PARMS): Do not use macros from bp-asm.h.
29189 (SIGMSK): Likewise.
29190 (_setjmp): Likewise. Do not use BP_SYM.
29191 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
29193 (PARMS): Do not use macros from bp-asm.h.
29194 (SIGMSK): Likewise.
29195 (setjmp): Likewise. Do not use BP_SYM.
29196 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
29198 (PARMS): Do not use macros from bp-asm.h.
29199 (__frexp): Do not use BP_SYM.
29201 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
29203 (PARMS): Do not use macros from bp-asm.h.
29204 (__frexpf): Do not use BP_SYM.
29205 (frexpf): Likewise.
29206 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
29208 (PARMS): Do not use macros from bp-asm.h.
29209 (__frexpl): Do not use BP_SYM.
29210 (frexpl): Likewise.
29211 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
29213 (PARMS): Do not use macros from bp-asm.h.
29214 (__remquo): Do not use BP_SYM.
29215 (remquo): Likewise.
29216 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
29218 (PARMS): Do not use macros from bp-asm.h.
29219 (__remquof): Do not use BP_SYM.
29220 (remquof): Likewise.
29221 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
29223 (PARMS): Do not use macros from bp-asm.h.
29224 (__remquol): Do not use BP_SYM.
29225 (remquol): Likewise.
29226 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
29228 (PARMS): Do not use macros from bp-asm.h.
29231 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
29232 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
29234 (PARMS): Do not use macros from bp-asm.h.
29235 (strlen): Do not use BP_SYM.
29236 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
29238 (PARMS): Do not use macros from bp-asm.h.
29242 (__mpn_add_n): Do not use BP_SYM.
29243 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
29245 (PARMS): Do not use macros from bp-asm.h.
29248 (__mpn_addmul_1): Do not use BP_SYM.
29249 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
29252 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
29254 (PARMS): Do not use macros from bp-asm.h.
29257 (__mpn_lshift): Do not use BP_SYM.
29258 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
29260 (PARMS): Do not use macros from bp-asm.h.
29264 (memcpy): Likewise. Do not use BP_SYM.
29265 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
29266 libc_hidden_def and weak_alias.
29267 (mempcpy): Do not use BP_SYM in weak_alias.
29268 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
29270 (PARMS): Do not use macros from bp-asm.h.
29273 [!BZERO_P] (CHR): Likewise.
29274 (memset): Likewise. Do not use BP_SYM.
29275 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
29277 (PARMS): Do not use macros from bp-asm.h.
29280 (__mpn_mul_1): Do not use BP_SYM.
29281 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
29283 (PARMS): Do not use macros from bp-asm.h.
29286 (__mpn_rshift): Do not use BP_SYM.
29287 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
29289 (PARMS): Do not use macros from bp-asm.h.
29292 (strchr): Likewise. Do not use BP_SYM.
29293 (index): Do not use BP_SYM in weak_alias.
29294 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
29296 (PARMS): Do not use macros from bp-asm.h.
29299 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
29300 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
29302 (PARMS): Do not use macros from bp-asm.h.
29303 (strlen): Do not use BP_SYM.
29304 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
29306 (PARMS): Do not use macros from bp-asm.h.
29310 (__mpn_sub_n): Do not use BP_SYM.
29311 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
29313 (PARMS): Do not use macros from bp-asm.h.
29316 (__mpn_submul_1): Do not use BP_SYM.
29317 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
29319 (PARMS): Do not use macros from bp-asm.h.
29323 (__mpn_add_n): Do not use BP_SYM.
29324 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
29327 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
29329 (PARMS): Do not use macros from bp-asm.h.
29332 (memcmp): Do not use BP_SYM.
29333 (bcmp): Do not use BP_SYM in weak_alias.
29334 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
29336 (PARMS): Do not use macros from bp-asm.h.
29340 (memcpy): Likewise. Do not use BP_SYM.
29341 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
29343 (PARMS): Do not use macros from bp-asm.h.
29347 (memmove): Likewise. Do not use BP_SYM.
29348 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
29350 (PARMS): Do not use macros from bp-asm.h.
29354 (__mempcpy): Likewise. Do not use BP_SYM.
29355 (mempcpy): Do not use BP_SYM in weak_alias.
29356 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
29358 (PARMS): Do not use macros from bp-asm.h.
29361 [!BZERO_P] (CHR): Likewise.
29362 (memset): Likewise. Do not use BP_SYM.
29363 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
29365 (PARMS): Do not use macros from bp-asm.h.
29367 (strcmp): Do not use BP_SYM.
29368 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
29370 (PARMS): Do not use macros from bp-asm.h.
29373 [USE_AS_STRTOK_R] (SAVE): Likewise.
29374 (FUNCTION): Likewise. Do not use BP_SYM.
29375 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
29377 (strtok_r): Likewise.
29378 (__GI___strtok_r): Likewise.
29379 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
29380 (PARMS): Do not use macros from bp-asm.h.
29383 (__mpn_lshift): Do not use BP_SYM.
29384 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
29385 (PARMS): Do not use macros from bp-asm.h.
29388 (__memchr): Do not use BP_SYM.
29389 (memchr): Do not use BP_SYM in weak_alias.
29390 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
29391 (PARMS): Do not use macros from bp-asm.h.
29394 (memcmp): Do not use BP_SYM.
29395 (bcmp): Do not use BP_SYM in weak_alias.
29396 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
29397 (PARMS): Do not use macros from bp-asm.h.
29400 (__mpn_mul_1): Do not use BP_SYM.
29401 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
29403 (PARMS): Do not use macros from bp-asm.h.
29406 (__rawmemchr): Do not use BP_SYM.
29407 (rawmemchr): Do not use BP_SYM in weak_alias.
29408 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
29409 (PARMS): Do not use macros from bp-asm.h.
29412 (__mpn_rshift): Do not use BP_SYM.
29413 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
29414 (PARMS): Do not use macros from bp-asm.h.
29415 (SIGMSK): Likewise.
29416 (__sigsetjmp): Likewise. Do not use BP_SYM.
29417 * sysdeps/i386/start.S: Do not include "bp-sym.h".
29418 (_start): Do not use BP_SYM.
29419 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
29420 (PARMS): Do not use macros from bp-asm.h.
29423 (__stpcpy): Likewise. Do not use BP_SYM.
29424 (stpcpy): Do not use BP_SYM in weak_alias.
29425 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
29427 (PARMS): Do not use macros from bp-asm.h.
29431 (__stpncpy): Likewise. Do not use BP_SYM.
29432 (stpncpy): Do not use BP_SYM in weak_alias.
29433 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
29434 (PARMS): Do not use macros from bp-asm.h.
29437 (strchr): Likewise. Do not use BP_SYM.
29438 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
29440 (PARMS): Do not use macros from bp-asm.h.
29443 (__strchrnul): Likewise. Do not use BP_SYM.
29444 (strchrnul): Do not use BP_SYM in weak_alias.
29445 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
29447 (PARMS): Do not use macros from bp-asm.h.
29449 (strcspn): Do not use BP_SYM.
29450 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
29452 (PARMS): Do not use macros from bp-asm.h.
29455 (strpbrk): Likewise. Do not use BP_SYM.
29456 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
29458 (PARMS): Do not use macros from bp-asm.h.
29461 (strrchr): Likewise. Do not use BP_SYM.
29462 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
29463 (PARMS): Do not use macros from bp-asm.h.
29465 (strspn): Do not use BP_SYM.
29466 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
29467 (PARMS): Do not use macros from bp-asm.h.
29471 (FUNCTION): Likewise. Do not use BP_SYM.
29472 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
29474 (strtok_r): Likewise.
29475 (__GI___strtok_r): Likewise.
29476 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
29477 (PARMS): Do not use macros from bp-asm.h.
29481 (__mpn_sub_n): Do not use BP_SYM.
29482 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
29484 (PARMS): Do not use macros from bp-asm.h.
29487 (__mpn_submul_1): Do not use BP_SYM.
29488 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
29490 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
29492 (PARMS): Do not use macros from bp-asm.h.
29497 (__clone): Do not use BP_SYM.
29498 (clone): Do not use BP_SYM in weak_alias.
29499 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
29501 (PARMS): Do not use macros from bp-asm.h.
29503 (__mmap64): Do not use BP_SYM.
29504 (mmap64): Do not use BP_SYM in weak_alias.
29505 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29506 <bp-sym.h> and <bp-asm.h>.
29507 (PARMS): Do not use macros from bp-asm.h.
29508 (__posix_fadvise64_l64): Do not use BP_SYM.
29509 * sysdeps/unix/sysv/linux/i386/semtimedop.S
29510 (PARMS): Do not use macros from bp-asm.h.
29512 (semtimedop): Do not use BP_SYM.
29513 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
29516 2013-02-21 Allan McRae <allan@archlinux.org>
29518 * manual/message.texi (Charset conversion in gettext):
29519 Move @end statement to beginning of line.
29521 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29523 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
29525 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
29528 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
29529 (denorm): Likewise.
29530 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
29531 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
29533 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29535 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
29536 tail-call to the resolved function if pltexit isn't needed.
29538 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29540 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
29541 or Y being zero as being unlikely.
29542 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
29545 2013-02-20 Carlos O'Donell <carlos@redhat.com>
29547 * manual/nss.texi (System Databases and Name Service Switch):
29548 Remove frobnicate @pxref.
29550 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
29552 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
29553 __attribute__ ((unused)) to __attribute__ ((__unused__)).
29555 2013-02-20 Petr Machata <pmachata@redhat.com>
29557 * elf/elf.h (R_ARM_TARGET1): New macro.
29558 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
29559 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
29560 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
29561 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
29562 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
29563 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
29564 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
29565 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
29566 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
29567 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
29568 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
29569 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
29570 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
29571 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
29572 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
29573 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
29574 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
29575 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
29576 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
29577 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
29578 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
29579 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
29580 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
29581 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
29582 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
29583 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
29584 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
29585 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
29586 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
29587 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
29588 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
29589 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
29590 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
29591 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
29592 (R_ARM_THM_GOT_BREL12): Likewise.
29593 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
29594 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
29595 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
29596 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
29597 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
29598 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
29599 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
29600 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
29601 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
29603 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
29605 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
29606 __attribute_used__ to __attribute__ ((unused)).
29608 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29610 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
29612 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
29613 comment formatting.
29614 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
29616 2013-02-19 Joseph Myers <joseph@codesourcery.com>
29619 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
29621 (ENTER): Remove both macro definitions.
29623 (CHECK_BOUNDS_LOW): Likewise.
29624 (CHECK_BOUNDS_HIGH): Likewise.
29625 (CHECK_BOUNDS_BOTH): Likewise.
29626 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
29627 (RETURN_BOUNDED_POINTER): Likewise.
29628 (RETURN_NULL_BOUNDED_POINTER): Likewise.
29629 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
29630 (POP_ERRNO_LOCATION_RETURN): Likewise.
29631 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
29632 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29633 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
29635 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29636 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
29637 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
29638 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
29639 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
29640 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
29641 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
29642 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
29643 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
29644 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
29645 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
29646 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
29647 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29648 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
29650 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29651 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
29653 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29654 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
29655 * sysdeps/i386/i586/memset.S (memset): Likewise.
29656 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
29657 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29658 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
29660 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29661 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
29662 Change uses of L(2) to L(out).
29663 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
29664 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
29665 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
29666 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29667 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
29669 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29670 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
29672 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29673 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
29674 (RETURN): Do not use macro LEAVE.
29675 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
29676 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
29677 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
29678 * sysdeps/i386/i686/memset.S (memset): Likewise.
29679 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
29680 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
29681 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29682 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
29684 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29685 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
29686 L(1_2) and L(1_3) into L(1).
29687 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
29688 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
29689 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29690 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
29691 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29692 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
29693 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
29694 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29695 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
29697 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
29698 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29699 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
29700 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
29701 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
29702 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29703 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
29704 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
29705 * sysdeps/i386/strcspn.S (strcspn): Likewise.
29706 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
29707 * sysdeps/i386/strrchr.S (strrchr): Likewise.
29708 * sysdeps/i386/strspn.S (strspn): Likewise.
29709 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
29711 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29712 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
29713 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
29714 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
29715 L(1_3) into L(1_1).
29716 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
29717 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29718 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
29720 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29722 2013-02-19 Jakub Jelinek <jakub@redhat.com>
29724 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
29727 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29729 * math/atest-exp.c (exp_mpn): Remove ROUND.
29730 * math/atest-exp2.c (exp_mpn): Likewise.
29731 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
29733 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
29734 * stdlib/tst-tls-atexit-lib.c: Likewise.
29735 * stdlib/tst-tls-atexit.c: Likewise.
29737 2013-02-18 Mike Frysinger <vapier@gentoo.org>
29739 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
29740 and __attribute_alloc_size__.
29742 2013-02-18 Mike Frysinger <vapier@gentoo.org>
29744 * include/programs/xmalloc.h: Change __attribute_alloc_size to
29745 __attribute_alloc_size__.
29746 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
29747 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
29749 2013-02-18 Mike Frysinger <vapier@gentoo.org>
29751 * include/programs/xmalloc.h: New file.
29752 * catgets/gencat.c: Include it.
29753 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
29754 * elf/pldd.c: Likewise.
29755 * iconv/iconv_charmap.c: Likewise.
29756 * iconv/iconvconfig.c: Likewise.
29757 * iconv/strtab.c: Likewise.
29758 * locale/programs/locale.c: Likewise.
29759 * locale/programs/localedef.h: Likewise.
29760 * locale/programs/simple-hash.c: Likewise.
29761 * nscd/nscd.h: Likewise.
29762 * nss/makedb.c: Likewise.
29763 * sysdeps/generic/ldconfig.h: Likewise.
29765 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29767 * Versions.def: Add GLIBC_2.18.
29768 * include/link.h (struct link_map): New member l_tls_dtor_count.
29769 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
29770 (__call_tls_dtors): Likewise.
29771 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
29772 __cxa_thread_atexit_impl.
29773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29777 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
29779 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
29781 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29782 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
29784 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
29786 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29787 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29789 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
29790 (tests): Add test case tst-tls-atexit.
29791 (modules-names): Add shared library for tst-tls-atexit.
29792 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
29793 (GLIBC_PRIVATE): Add __call_tls_dtors.
29794 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
29796 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
29797 * stdlib/tst-tls-atexit.c: New test case.
29798 * stdlib/tst-tls-atexit-lib.c: New test case.
29800 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
29802 * elf/Versions (ld): Add _dl_find_dso_for_object.
29803 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
29804 * elf/dl-open.c (_dl_find_dso_for_object): New function.
29805 (dl_open_worker): Use _dl_find_dso_for_object.
29806 * elf/dl-sym.c (do_sym): Likewise.
29807 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
29809 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29811 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
29812 Syntactic changes only.
29813 (_dl_runtime_profile): Do a tail-call to the resolved function.
29815 2013-02-17 Joseph Myers <joseph@codesourcery.com>
29818 * sysdeps/x86_64/bp-asm.h: Remove file.
29819 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
29820 <bp-sym.h> and <bp-asm.h>.
29821 (__clone): Do not use BP_SYM.
29822 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
29823 <bp-sym.h> and <bp-asm.h>.
29824 * sysdeps/unix/x86_64/sysdep.S: Likewise.
29825 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
29827 (_setjmp): Do not use BP_SYM.
29828 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
29830 (setjmp): Do not use BP_SYM.
29831 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
29833 (mempcpy): Do not use BP_SYM in weak_alias.
29834 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
29836 (strchr): Do not use BP_SYM.
29837 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
29839 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
29840 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
29841 (_start): Do not use BP_SYM.
29842 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
29844 (strcat): Do not use BP_SYM.
29845 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
29847 (STRCMP): Do not use BP_SYM.
29848 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
29850 (STRCPY): Do not use BP_SYM.
29851 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
29853 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
29855 (FUNCTION): Do not use BP_SYM.
29856 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
29858 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
29860 2013-02-17 Andreas Jaeger <aj@suse.de>
29862 * time/Versions: Sort entries.
29863 * string/Versions: Likewise.
29864 * resolv/Versions: Likewise.
29865 * posix/Versions: Likewise.
29866 * iconv/Versions: Likewise.
29867 * elf/Versions: Likewise.
29868 * wcsmbs/Versions: Likewise.
29870 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29872 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
29873 loop termination condition.
29875 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
29876 variable to calculate EZ.
29879 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
29880 the lower precision input.
29882 2013-02-15 Joseph Myers <joseph@codesourcery.com>
29885 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
29886 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
29887 (run-via-rtld-prefix): Do not handle %-bp tests.
29888 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
29889 (all-object-suffixes): Remove .ob.
29890 (bppfx): Remove variable.
29891 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
29892 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
29893 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
29894 [$(build-bounded) = yes] (libtype.ob): Likewise.
29895 * Makerules (elide-routines.ob): Remove variable.
29896 (do-tests-clean): Do not handle *-bp.out.
29897 (common-mostlyclean): Do not handle *-bp and *-bp.out.
29898 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
29899 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
29900 (tests): Do not include $(tests-bp.out).
29901 (xtests): Do not include $(xtests-bp.out).
29902 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
29903 [$(build-bounded) = yes] ($(addprefix
29904 $(objpfx),$(binaries-bounded))): Remove rule.
29905 ($(objpfx)%-bp.out): Remove rule.
29906 * config.make.in (build-bounded): Remove variable.
29907 * crypt/Makefile [$(build-bounded) = yes]
29908 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
29909 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
29910 append to variable.
29911 [$(build-bounded) = yes] (install-lib): Likewise.
29912 [$(build-bounded) = yes] (generated): Likewise.
29913 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
29915 * intl/Makefile [$(build-bounded) = yes]
29916 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
29917 * math/Makefile [$(build-bounded) = yes]
29918 ($(tests:%=$(objpfx)%-bp): Likewise.
29919 * misc/Makefile [$(build-bounded) = yes]
29920 ($(objpfx)tst-tsearch-bp): Likewise.
29921 * nptl/Makeconfig (bounded-thread-library): Remove variable.
29922 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
29924 * string/Makefile (o-objects.ob): Remove variable.
29925 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
29926 (CFLAGS-.ob): Remove variable.
29927 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
29928 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
29929 both definitions of variable.
29930 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
29931 (ASFLAGS-.ob): Remove variable.
29933 2013-02-14 Joseph Myers <joseph@codesourcery.com>
29936 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
29937 Remove __BOUNDED_POINTERS__ from condition.
29938 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
29939 * string/bits/string2.h [!__NO_STRING_INLINES &&
29940 !__BOUNDED_POINTERS__]: Likewise.
29941 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
29943 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
29944 Remove conditional code.
29945 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
29946 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
29947 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
29951 * csu/libc-start.c: Do not include <bp-sym.h>.
29952 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
29953 * elf/dl-open.c: Do not include <bp-sym.h>.
29954 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
29955 * math/fegetenv.c: Do not include <bp-sym.h>.
29956 (fegetenv): Do not use BP_SYM in versioned symbols.
29957 * nptl/sysdeps/pthread/bits/libc-lockP.h
29958 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
29960 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29961 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
29962 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29963 (__pthread_mutex_destroy): Likewise.
29964 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29965 (__pthread_mutex_lock): Likewise.
29966 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29967 (__pthread_mutex_trylock): Likewise.
29968 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29969 (__pthread_mutex_unlock): Likewise.
29970 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29971 (__pthread_mutexattr_init): Likewise.
29972 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29973 (__pthread_mutexattr_destroy): Likewise.
29974 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29975 (__pthread_mutexattr_settype): Likewise.
29976 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29977 (__pthread_rwlock_init): Likewise.
29978 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29979 (__pthread_rwlock_destroy): Likewise.
29980 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29981 (__pthread_rwlock_rdlock): Likewise.
29982 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29983 (__pthread_rwlock_tryrdlock): Likewise.
29984 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29985 (__pthread_rwlock_wrlock): Likewise.
29986 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29987 (__pthread_rwlock_trywrlock): Likewise.
29988 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29989 (__pthread_rwlock_unlock): Likewise.
29990 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29991 (__pthread_key_create): Likewise.
29992 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29993 (__pthread_setspecific): Likewise.
29994 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29995 (__pthread_getspecific): Likewise.
29996 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
29998 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29999 (_pthread_cleanup_push_defer): Likewise.
30000 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30001 (_pthread_cleanup_pop_restore): Likewise.
30002 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30003 (pthread_setcancelstate): Likewise.
30004 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
30006 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
30007 (memchr): Do not use BP_SYM in weak_alias.
30008 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
30009 (fegetenv): Do not use BP_SYM in versioned symbols.
30010 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
30011 (fesetenv): Do not use BP_SYM in versioned symbols.
30012 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
30013 (feupdateenv): Do not use BP_SYM in versioned symbols.
30014 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
30015 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
30016 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
30017 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
30018 (open64): Do not use BP_SYM in weak_alias.
30019 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
30020 (fegetenv): Do not use BP_SYM in versioned symbols.
30021 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
30022 (fesetenv): Do not use BP_SYM in versioned symbols.
30023 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
30024 (feupdateenv): Do not use BP_SYM in versioned symbols.
30025 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
30026 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
30027 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
30028 (feraiseexcept): Do not use BP_SYM in versioned symbols.
30029 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
30030 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
30031 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
30033 (__libc_start_main): Do not use BP_SYM.
30035 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30037 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
30038 redundant return line.
30040 (denorm): Likewise.
30041 (dbl_mp): Likewise.
30042 (sub_magnitudes): Likewise.
30048 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
30050 (denorm): Likewise.
30051 (dbl_mp): Likewise.
30052 (sub_magnitudes): Likewise.
30059 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
30061 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
30062 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
30065 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
30066 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
30067 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
30068 of __mul for squares.
30069 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
30071 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
30073 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
30074 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30076 2013-02-13 Joseph Myers <joseph@codesourcery.com>
30079 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
30081 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
30082 prototype or function definition. Rename ubp_* variables and
30083 parameters. Remove argv definitions conditional on
30084 [__BOUNDED_POINTERS__].
30085 * debug/backtrace.c (__backtrace): Do not use __unbounded.
30086 * elf/dl-runtime.c (_dl_fixup): Likewise.
30087 * include/set-hooks.h (RUN_HOOK): Likewise.
30088 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
30090 * string/strcpy.c (strcpy): Do not use __unbounded.
30091 * sysdeps/generic/frame.h (struct layout): Likewise.
30092 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
30093 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
30094 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
30095 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
30096 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
30097 (__backtrace): Likewise.
30098 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
30100 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
30101 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
30102 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
30104 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
30105 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
30106 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
30107 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
30108 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
30109 Do not use __unbounded.
30110 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
30111 Rename __unboundedrlimits parameter to rlimits in prototype.
30112 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
30113 Do not use __unbounded.
30114 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
30115 not use __ptrvalue.
30116 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
30117 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
30118 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
30119 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
30120 __ptrvalue or __unbounded.
30121 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
30122 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
30124 (__new_msgctl): Do not use __ptrvalue.
30125 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
30127 (__libc_msgrcv): Do not use __ptrvalue.
30128 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
30129 startup_info): Do not use __unbounded.
30130 (__libc_start_main): Likewise. Rename ubp_* variables and
30131 parameters. Remove argv definitions conditional on
30132 [__BOUNDED_POINTERS__].
30133 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
30135 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
30137 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
30139 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
30141 (__new_shmctl): Do not use __ptrvalue.
30142 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
30143 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
30145 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
30146 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
30147 (__libc_sigaction): Likewise.
30148 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
30149 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
30151 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
30153 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
30155 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
30157 * string/mempcpy.c: Implement by calling memcpy.
30159 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
30161 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
30163 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
30166 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
30167 values in the mantissa.
30169 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
30170 minimize writes to Z.
30171 (sub_magnitudes): Simplify code a bit.
30173 2013-02-12 Roland McGrath <roland@hack.frob.com>
30175 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
30176 from the message. The linker prefixes all warnings with that already.
30178 2013-02-12 Andreas Schwab <schwab@suse.de>
30181 * posix/regexec.c (extend_buffers): Add parameter min_len.
30182 (check_matching): Pass minimum needed length.
30183 (clean_state_log_if_needed): Likewise.
30184 (get_subexp): Likewise.
30185 * posix/Makefile (tests): Add bug-regex34.
30186 (bug-regex34-ENV): Define.
30187 * posix/bug-regex34.c: New file.
30190 * posix/regcomp.c (parse_bracket_exp): When looking up collating
30191 elements compare against the byte sequence of it, not its name.
30192 * posix/Makefile (tests): Add bug-regex35.
30193 (bug-regex35-ENV): Define.
30194 * posix/bug-regex35.c: New file.
30196 2013-02-11 Tom de Vries <tom@codesourcery.com>
30198 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
30200 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
30201 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
30202 (CHECK_EOL): Add undef.
30204 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
30206 * bits/stdlib-bsearch.h: New file.
30207 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
30208 * stdlib/stdlib.h: Likewise.
30210 2013-02-11 Roland McGrath <roland@hack.frob.com>
30212 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
30213 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
30215 * manual/search.texi (Array Search Function): Add missing const in
30217 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
30218 declaration to use rlim_t.
30219 (Basic Scheduling Functions): Remove erroneous const from
30220 sched_getparam prototype. Remove erroneous * from
30221 sched_get_priority_max and sched_get_priority_min prototypes.
30222 (Resource Usage): Fix summary @comment on vtimes to refer to
30223 sys/vtimes.h rather than vtimes.h.
30224 Add missing *s in vtimes prototype.
30225 (Limits on Resources): Fix ulimit prototype to return long int.
30226 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
30227 prototypes to use long int rather than double.
30228 (BSD Random): Fix initstate and setstate to use char *, not void *.
30229 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
30230 prototype to make second argument 'struct aiocb64 *const[]'.
30231 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
30232 (Status of AIO Operations): Remove erroneous const in aio_return and
30233 aio_return64 prototypes.
30234 (Synchronizing I/O): Fix sync prototype to return void.
30235 * manual/startup.texi (Suboptions): Remove an erroneous const in
30236 getsubopt prototype.
30237 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
30238 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
30239 use size_t rather than int.
30240 (Scanning All Users): Likewise for getpwent_r.
30241 (Setting Groups): Add missing const to setgroups prototype.
30242 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
30243 * manual/socket.texi (Host Names): Fix gethostbyaddr and
30244 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
30245 'const void *' rather than 'const char *'.
30246 (Host Address Functions): Likewise for inet_ntop.
30247 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
30248 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
30249 ssize_t for return value.
30250 (Sending Data): Likewise for send, sendto, sendmsg.
30251 (Socket Option Functions): Add a missing const in setsockopt prototype.
30252 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
30253 use wchar_t for the argument.
30254 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
30255 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
30257 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
30258 double/float/long double for second argument.
30259 Fix return types of significand, significandf, significandl.
30260 * manual/filesys.texi (Setting Permissions): Use mode_t for second
30261 argument in fchmod prototype.
30262 (File Owner): Use uid_t and gid_t in fchown prototype.
30263 (File Times): Add const to utimes, futimes, and lutimes prototypes.
30264 (Making Special Files): Use mode_t and dev_t in mknod prototype.
30265 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
30266 use 'const struct dirent **' as argument types to CMP function pointer
30268 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
30269 (File Times): Fix summary magic @comment for struct utimbuf and utime
30270 to refer to utime.h, not time.h.
30271 * manual/string.texi (Argz Functions): Add missing const in
30272 argz_extract and argz_next prototypes.
30273 (Finding Tokens in a String): Likewise for basename.
30274 (String/Array Comparison): Fix typo in wcscasecmp prototype.
30275 (Copying and Concatenation): Fix typo in wmemmove prototype.
30276 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
30277 (Signal Stack): Remove erroneous const in sigstack prototype.
30278 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
30280 (Simple Calendar Time): Likewise for stime.
30281 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
30283 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
30284 say sys/sysctl.h instead.
30285 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
30286 and vsyslog prototypes.
30288 2013-02-11 Tom de Vries <tom@codesourcery.com>
30290 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
30293 2013-02-11 Roland McGrath <roland@hack.frob.com>
30295 * misc/sys/mman.h: Fix typo in mremap comment.
30297 2013-02-08 Roland McGrath <roland@hack.frob.com>
30299 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
30300 the '\0' terminator.
30302 2013-02-08 Joseph Myers <joseph@codesourcery.com>
30305 * debug/segfault.c: Don't include <bp-checks.h>.
30306 * sysdeps/generic/bp-checks.h: Remove file.
30307 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
30308 (__GETDENTS): Don't use CHECK_N.
30309 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
30310 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
30311 (__getgroups): Don't use CHECK_N.
30312 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
30313 (setgroups): Don't use CHECK_N.
30314 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
30315 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
30316 (__libc_msgrcv): Don't use CHECK_N.
30317 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
30318 (__libc_msgsnd): Don't use CHECK_N.
30319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
30321 (__libc_pread): Don't use CHECK_N.
30322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
30323 include <bp-checks.h>.
30324 (__libc_pread64): Don't use CHECK_N.
30325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
30326 include <bp-checks.h>.
30327 (__libc_pwrite): Don't use CHECK_N.
30328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
30329 include <bp-checks.h>.
30330 (__libc_pwrite64): Don't use CHECK_N.
30331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
30333 (__libc_pread): Don't use CHECK_N.
30334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
30335 include <bp-checks.h>.
30336 (__libc_pread64): Don't use CHECK_N.
30337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
30338 include <bp-checks.h>.
30339 (__libc_pwrite): Don't use CHECK_N.
30340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
30341 include <bp-checks.h>.
30342 (__libc_pwrite64): Don't use CHECK_N.
30343 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
30344 (do_pread): Don't use CHECK_N.
30345 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
30346 (do_pread64): Don't use CHECK_N.
30347 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
30348 (do_pwrite): Don't use CHECK_N.
30349 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
30350 (do_pwrite64): Don't use CHECK_N.
30351 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
30352 (__libc_readv): Don't use CHECK_N.
30353 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
30354 (semop): Don't use CHECK_N.
30355 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
30357 (semtimedop): Don't use CHECK_N.
30358 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
30359 (__libc_pread): Don't use CHECK_N.
30360 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
30362 (__libc_pread64): Don't use CHECK_N.
30363 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
30365 (__libc_pwrite): Don't use CHECK_N.
30366 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
30368 (__libc_pwrite64): Don't use CHECK_N.
30369 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
30371 (__libc_msgrcv): Don't use CHECK_N.
30372 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
30373 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
30374 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
30375 (__libc_writev): Don't use CHECK_N.
30377 2013-02-08 Roland McGrath <roland@hack.frob.com>
30379 * string/strcpy.c: Removed unused variable.
30381 * Makeconfig (+sysdep-includes): Define with := rather than =.
30382 Use an existing include/ subdir of each sysdeps dir before it.
30384 2013-02-08 Carlos O'Donell <carlos@redhat.com>
30386 * nscd/connection.c (register_traced_file): Comment function.
30387 [HAVE_INOTIFY] (union __inev): Define.
30388 [HAVE_INOTIFY] (inotify_check_files): New function.
30389 [HAVE_INOTIFY] (clear_db_cache): Likewise.
30390 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
30392 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
30394 2013-02-08 Carlos O'Donell <carlos@redhat.com>
30396 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
30397 loaded if not already and that a failure is permanent.
30399 2013-02-08 Carlos O'Donell <carlos@redhat.com>
30402 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
30403 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
30405 2013-02-08 Joseph Myers <joseph@codesourcery.com>
30408 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
30409 (CHECK_1_NULL_OK): Likewise.
30410 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
30411 (__fxstat): Do not use CHECK_1.
30412 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
30414 (___fxstat64): Do not use CHECK_1.
30415 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
30417 (__fxstatat): Do not use CHECK_1.
30418 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
30420 (__fxstatat64): Do not use CHECK_1.
30421 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
30423 (__fxstat): Do not use CHECK_1.
30424 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
30426 (__fxstatat): Do not use CHECK_1.
30427 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
30429 (__getresgid): Do not use CHECK_1.
30430 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
30432 (__getresuid): Do not use CHECK_1.
30433 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
30435 (__lxstat): Do not use CHECK_1.
30436 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
30438 (__old_msgctl): Do not use CHECK_1.
30439 (__new_msgctl): Likewise.
30440 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
30442 (__new_setrlimit): Do not use CHECK_1.
30443 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
30445 (__old_shmctl): Do not use CHECK_1.
30446 (__new_shmctl): Likewise.
30447 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
30449 (__xstat): Do not use CHECK_1.
30450 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
30451 (__lxstat): Do not use CHECK_1.
30452 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
30454 (___lxstat64): Do not use CHECK_1.
30455 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
30456 (__old_msgctl): Do not use CHECK_1.
30457 (__new_msgctl): Likewise.
30458 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
30460 (__gettimeofday): Do not use CHECK_1.
30461 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
30462 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
30463 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
30465 (__gettimeofday): Do not use CHECK_1.
30466 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
30467 (__old_shmctl): Do not use CHECK_1_NULL_OK.
30468 (__new_shmctl): Do not use CHECK_1.
30469 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
30471 (do_sigtimedwait): Do not use CHECK_1.
30472 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
30474 (do_sigwaitinfo): Do not use CHECK_1.
30475 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
30477 (msgctl): Do not use CHECK_1.
30478 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
30480 (shmctl): Do not use CHECK_1.
30481 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
30482 (ustat): Do not use CHECK_1.
30483 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
30485 (__fxstat): Do not use CHECK_1.
30486 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
30488 (__fxstatat): Do not use CHECK_1.
30489 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
30491 (__lxstat): Do not use CHECK_1.
30492 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
30494 (__xstat): Do not use CHECK_1.
30495 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
30496 (__xstat): Do not use CHECK_1.
30497 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
30498 (___xstat64): Do not use CHECK_1.
30501 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
30503 (CHECK_BOUNDS_HIGH): Likewise.
30504 * string/strcpy.c: Do not include <bp-checks.h>.
30505 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
30507 2013-02-07 Roland McGrath <roland@hack.frob.com>
30509 * nscd/nscd-client.h (__nscd_drop_map_ref):
30510 Add __attribute__ ((unused)).
30511 * nis/nss-nisplus.h (niserr2nss): Likewise.
30513 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
30514 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
30516 * csu/libc-tls.c (init_static_tls, init_slotinfo):
30517 Remove inline keyword.
30518 * include/rounding-mode.h (round_away): Likewise.
30519 * libio/wfileops.c (adjust_wide_data): Likewise.
30520 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
30521 (__m128i_strloadu_tolower): Likewise.
30522 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
30523 (__m128i_strloadu_tolower): Likewise.
30524 * time/mktime.c (ydhms_diff): Likewise.
30525 * locale/elem-hash.h (elem_hash): Likewise.
30526 * locale/setlocale.c (setdata): Likewise.
30527 * posix/regex_internal.h (re_string_char_size_at): Likewise.
30528 (re_string_wchar_at): Likewise.
30529 (bitset_not, bitset_merge, bitset_mask): Likewise.
30530 [!(__GNUC__ > 3)] (inline): Remove macro.
30531 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
30532 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
30533 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
30534 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
30535 * string/memcmp.c (memcmp_bytes): Likewise.
30536 * locale/programs/locarchive.c (compute_hashval): Likewise.
30537 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
30538 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
30539 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
30540 * nss/getent.c (print_rpc, print_protocols): Likewise.
30541 (print_passwd, print_group, print_aliases): Likewise.
30542 * nis/nss-nisplus.h (niserr2nss): Likewise.
30543 * nscd/connections.c (restart_p): Likewise.
30544 Change return type to bool.
30546 2013-02-05 Roland McGrath <roland@hack.frob.com>
30548 * Makeconfig (all-Depend-files): Add existing
30549 $(sorted-subdirs:=/Depend) files.
30550 (all-subdirs): Remove nss.
30551 * sysdeps/unix/inet/Subdirs: Add it here instead.
30552 * hesiod/Depend: New file.
30554 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
30555 instead of calling alloca.
30557 * io/lseek.c (__lseek): Rename to __libc_lseek.
30558 Define __lseek as an alias.
30560 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
30562 2013-02-04 Carlos O'Donell <carlos@redhat.com>
30564 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
30565 else clause and remove check for non-standard endianness.
30567 2013-02-04 David S. Miller <davem@davemloft.net>
30569 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30571 2013-02-04 Joseph Myers <joseph@codesourcery.com>
30574 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
30575 (__ubp_memchr): Remove prototype.
30576 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
30577 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
30578 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
30579 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
30580 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
30582 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
30583 (__ubp_memchr): Likewise.
30584 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
30585 (__ubp_memchr): Likewise.
30586 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
30587 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
30588 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
30589 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
30591 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
30592 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
30593 (__getcwd): Do not use CHECK_STRING.
30594 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
30596 (__real_chown): Do not use CHECK_STRING.
30597 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
30599 (fchownat): Do not use CHECK_STRING.
30600 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
30602 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
30604 (__lchown): Do not use CHECK_STRING.
30605 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
30606 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
30607 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
30608 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
30609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30610 include <bp-checks.h>.
30611 (truncate64): Do not use CHECK_STRING.
30612 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
30614 (__real_chown): Do not use CHECK_STRING.
30615 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
30617 (__lchown): Do not use CHECK_STRING.
30618 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
30620 (__chown): Do not use CHECK_STRING.
30621 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
30623 (truncate64): Do not use CHECK_STRING.
30624 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
30626 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
30627 (__xmknod): Do not use CHECK_STRING.
30628 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
30630 (__xmknodat): Do not use CHECK_STRING.
30631 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
30632 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
30634 2013-02-04 Andreas Schwab <schwab@suse.de>
30637 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
30638 * include/netdb.h: Likewise for h_errno.
30639 * elf/tst-stackguard1.c: Include <tls.h>.
30641 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
30643 * elf/link.h (struct link_map): Extend the l_addr comment.
30644 * include/link.h (struct link_map): Likewise.
30646 2013-02-01 Joseph Myers <joseph@codesourcery.com>
30649 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
30650 (BOUNDED_1): Remove macro.
30651 * debug/backtrace.c: Don't include <bp-checks.h>.
30652 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
30653 (__backtrace): Likewise.
30654 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
30656 (__backtrace): Don't use BOUNDED_1.
30657 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
30659 (__backtrace): Don't use BOUNDED_1.
30660 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
30661 (__backtrace): Don't use BOUNDED_1.
30662 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
30663 (shmat): Don't use BOUNDED_N.
30665 2013-01-31 Joseph Myers <joseph@codesourcery.com>
30668 * sysdeps/generic/bp-start.h: Remove file.
30669 * csu/libc-start.c: Don't include <bp-start.h>.
30670 (LIBC_START_MAIN): Set up __environ directly instead of using
30671 INIT_ARGV_and_ENVIRON.
30672 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
30676 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
30678 (CHECK_FCNTL): Likewise.
30679 (CHECK_N_PAGES): Likewise.
30682 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
30684 (CHECK_SIGSET_NULL_OK): Likewise.
30685 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
30687 (sigpending): Don't use CHECK_SIGSET.
30688 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
30690 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30691 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
30693 (do_sigsuspend): Don't use CHECK_SIGSET.
30694 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
30696 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
30697 (do_sigwait): Don't use CHECK_SIGSET.
30698 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
30700 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
30701 include <bp-checks.h>.
30702 (sigpending): Don't use CHECK_SIGSET.
30703 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
30704 include <bp-checks.h>.
30705 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30706 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
30708 (sigpending): Don't use CHECK_SIGSET.
30709 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
30711 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30714 * sysdeps/generic/bp-semctl.h: Remove file.
30715 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
30716 <bp-checks.h> and <bp-semctl.h>.
30717 (__old_semctl): Don't use CHECK_SEMCTL.
30718 (__new_semctl): Likewise.
30719 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
30721 (__old_semctl): Don't use CHECK_SEMCTL.
30722 (__new_semctl): Likewise.
30723 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
30724 <bp-checks.h> and <bp-semctl.h>.
30725 (__old_semctl): Don't use CHECK_SEMCTL.
30726 (__new_semctl): Likewise.
30727 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
30728 <bp-checks.h> and <bp-semctl.h>.
30729 (semctl): Don't use CHECK_SEMCTL.
30732 * Makerules (elide-bp-thunks): Remove variable.
30733 (elide-routines.oS): Don't use $(elide-bp-thunks).
30734 (elide-routines.os): Likewise.
30735 (elide-routines.o): Likewise.
30736 (elide-routines.op): Likewise.
30737 (elide-routines.og): Likewise.
30738 (objects): Don't use $(bp-thunks).
30739 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
30741 (common-generated): Do not add s-proto-bp.d.
30742 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
30745 Do not generate makefile rules for bounded-pointer thunks.
30746 * sysdeps/generic/bp-thunks.h: Remove file.
30747 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
30748 * sysdeps/unix/s-proto-bp.S: Likewise.
30751 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
30752 parts of result separately when argument is not close to line from
30753 -i to i and one part of argument is small.
30754 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30755 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30756 * math/libm-test.inc (cacos_test): Add more tests.
30757 (casin_test): Likewise.
30758 (casinh_test): Likewise.
30759 * sysdeps/i386/fpu/libm-test-ulps: Update.
30760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30762 2013-01-31 David S. Miller <davem@davemloft.net>
30764 * po/de.po: Update from translation team.
30766 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
30768 * time/tzfile.c: Include stdint.h for SIZE_MAX.
30770 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
30772 * configure.in (_AC_PROG_CC_C89): New definition.
30773 * configure: Regenerate.
30775 * configure.in (AC_PROG_CPP): New definition.
30776 * configure: Regenerate.
30778 2013-01-23 Joseph Myers <joseph@codesourcery.com>
30780 * debug/tst-backtrace.h: New file.
30781 * debug/tst-backtrace2.c: Include tst-backtrace.h.
30782 (ret): Remove variable.
30784 (FAIL): Remove macro.
30785 (NO_INLINE): Likewise.
30786 (fn1): Use match function instead of strstr.
30787 * debug/tst-backtrace3.c: Include tst-backtrace.h.
30788 (ret): Remove variable.
30790 (FAIL): Remove macro.
30791 (NO_INLINE): Likewise.
30792 (fn): Use match function instead of strstr.
30793 * debug/tst-backtrace4.c: Include tst-backtrace.h.
30794 (ret): Remove variable.
30796 (FAIL): Remove macro.
30797 (NO_INLINE): Likewise.
30798 (handle_signal): Use match function instead of strstr.
30799 * debug/tst-backtrace5.c: Include tst-backtrace.h.
30800 (ret): Remove variable.
30802 (FAIL): Remove macro.
30803 (NO_INLINE): Likewise.
30804 (handle_signal): Use match function instead of strstr.
30806 2013-01-23 Roland McGrath <roland@hack.frob.com>
30808 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
30810 2013-01-23 David S. Miller <davem@davemloft.net>
30812 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
30813 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
30814 argument of CAS if possible.
30815 * sysdeps/sparc/sparc64/bits/atomic.h
30816 (__arch_compare_and_exchange_val_32_acq): Likewise.
30817 (__arch_compare_and_exchange_val_64_acq): Likewise.
30819 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
30821 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
30822 * sysdeps/posix/ulimit.c: ... this.
30823 Include <limits.h>.
30824 * sysdeps/unix/bsd/ulimit.c: Remove file.
30826 2013-01-23 Adam Conrad <adconrad@0c3.net>
30828 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
30829 (LDFLAGS-tst-array5): Likewise.
30831 2013-01-23 Joseph Myers <joseph@codesourcery.com>
30834 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
30835 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
30836 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
30837 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
30839 2013-01-21 David S. Miller <davem@davemloft.net>
30841 * sysdeps/sparc/backtrace.c: New file.
30842 * sysdeps/sparc/sparc32/backtrace.h: New file.
30843 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
30844 * sysdeps/sparc/sparc64/backtrace.h: New file.
30845 * sysdeps/sparc/sparc64/backtrace.c: Delete.
30846 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
30849 2013-01-21 Andreas Schwab <schwab@suse.de>
30852 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
30855 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
30857 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
30859 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30861 2013-01-18 Joseph Myers <joseph@codesourcery.com>
30862 Mark Mitchell <mark@codesourcery.com>
30863 Tom de Vries <tom@codesourcery.com>
30864 Paul Pluzhnikov <ppluzhnikov@google.com>
30866 * debug/tst-backtrace2.c: New file.
30867 * debug/tst-backtrace3.c: Likewise.
30868 * debug/tst-backtrace4.c: Likewise.
30869 * debug/tst-backtrace5.c: Likewise.
30870 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
30871 (CFLAGS-tst-backtrace3.c): Likewise.
30872 (CFLAGS-tst-backtrace4.c): Likewise.
30873 (CFLAGS-tst-backtrace5.c): Likewise.
30874 (LDFLAGS-tst-backtrace2): Likewise.
30875 (LDFLAGS-tst-backtrace3): Likewise.
30876 (LDFLAGS-tst-backtrace4): Likewise.
30877 (LDFLAGS-tst-backtrace5): Likewise.
30878 (tests): Add new tests tst-backtrace2, tst-backtrace3,
30879 tst-backtrace4 and tst-backtrace5.
30881 2013-01-18 Anton Blanchard <anton@samba.org>
30882 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30884 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
30885 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
30886 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
30887 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
30888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30889 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
30890 "+r" and remove output regs list as redundant. Add explicit inline
30891 asm to specify register of return val to work around compiler codegen
30892 bug. Remove (int) cast on return value. Add return type parameter to
30893 use in macro so that this macro does not truncate return value for
30895 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
30896 pass to INTERNAL_VSYSCALL_NCS.
30897 (INLINE_VSYSCALL): Add 'long int' as return type to
30898 INTERNAL_VSYSCALL_NCS macro invocation.
30899 (INTERNAL_VSYSCALL): Add 'long int' as return type to
30900 INTERNAL_VSYSCALL_NCS macro invocation.
30901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30903 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
30906 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
30907 Fix application of SIMD FP exception mask.
30909 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
30910 mp_no from a power of two.
30911 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
30912 __mpexp_twomm1. Use __pow_mp.
30914 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
30917 2013-01-17 David S. Miller <davem@davemloft.net>
30919 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30921 2013-01-17 Joseph Myers <joseph@codesourcery.com>
30924 * include/complex.h: Condition contents on [!_COMPLEX_H].
30925 (__kernel_casinhf): New prototype.
30926 (__kernel_casinh): Likewise.
30927 (__kernel_casinhl): Likewise.
30928 * math/Makefile (libm_calls): Add k_casinh.
30929 * math/k_casinh.c: New file.
30930 * math/k_casinhf.c: Likewise.
30931 * math/k_casinhl.c: Likewise.
30932 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
30933 finite nonzero arguments.
30934 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
30935 finite nonzero arguments.
30936 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
30937 finite nonzero arguments.
30938 * math/s_casinh.c: Do not include <float.h>.
30939 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
30940 * math/s_casinhf.c: Do not include <float.h>.
30941 (__casinhf): Move code for finite nonzero arguments to
30943 * math/s_casinhl.c: Do not include <float.h>.
30944 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
30946 (__casinhl): Move code for finite nonzero arguments to
30948 * math/libm-test.inc (cacos_test): Add more tests.
30949 * sysdeps/i386/fpu/libm-test-ulps: Update.
30950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30952 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
30954 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
30955 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
30956 [!HAVE_MREMAP]: Remove [defined linux] case.
30957 * malloc/arena.c: Do not include <malloc-sysdep.h>.
30959 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
30961 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
30963 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
30965 * elf/elf.h (R_386_SIZE32): New relocation.
30966 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
30968 (elf_machine_rela): Likewise.
30969 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
30970 R_X86_64_SIZE64 and R_X86_64_SIZE32.
30972 2013-01-17 Joseph Myers <joseph@codesourcery.com>
30974 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
30975 (FP_FAST_FMA): Do not define.
30976 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
30977 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
30978 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
30979 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
30980 !_SOFT_FLOAT]: Likewise.
30981 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
30982 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
30984 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
30985 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
30986 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
30987 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
30988 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
30989 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
30992 2013-01-16 Andreas Schwab <schwab@suse.de>
30995 * include/stdlib.h (__mktemp): Add declaration.
30996 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
30997 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
30999 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31001 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
31003 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
31004 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
31005 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
31007 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
31008 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
31010 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
31012 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
31013 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
31014 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
31016 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
31017 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
31019 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
31021 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
31023 2013-01-15 David S. Miller <davem@davemloft.net>
31025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31026 trunc{,f} to libm-sysdep_routes.
31027 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
31030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
31031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
31033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
31035 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
31036 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
31037 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
31038 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
31039 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
31040 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
31041 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
31042 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
31044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31045 nearbyint{,f} to libm-sysdep_routes.
31046 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
31049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
31051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
31053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
31055 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
31056 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
31057 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
31059 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
31060 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
31062 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
31063 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
31064 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
31066 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
31067 libc_feholdexcept and libc_fesetenv.
31069 2013-01-15 Mike Frysinger <vapier@gentoo.org>
31071 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
31073 2013-01-14 David S. Miller <davem@davemloft.net>
31075 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
31076 (SPARC_ASM_VIS2_IFUNC): Likewise.
31077 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
31078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
31079 use of 'siam' instruction.
31080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
31082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
31084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
31086 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
31087 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
31088 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
31089 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
31090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
31092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
31094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
31096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
31098 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
31099 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
31100 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
31101 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
31102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
31104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
31105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
31108 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
31109 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
31110 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
31111 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
31112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
31113 routines to libm-sysdep_routines.
31114 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31117 fdim/fdimf to libm-sysdep_routines.
31118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
31120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
31121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
31123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
31124 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
31125 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
31126 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
31127 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
31128 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
31129 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
31131 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31133 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
31134 to optimize copies.
31136 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
31137 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31138 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31140 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
31141 local variable MPTWO.
31142 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
31145 2013-01-13 Mike Frysinger <vapier@gentoo.org>
31147 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
31150 2013-01-13 Mike Frysinger <vapier@gentoo.org>
31152 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
31154 2013-01-13 Mike Frysinger <vapier@gentoo.org>
31156 * manual/pattern.texi (glob_t): Document gl_flags.
31157 (glob64_t): Likewise.
31159 2013-01-11 David S. Miller <davem@davemloft.net>
31161 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
31162 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
31163 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
31164 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
31165 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
31166 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
31167 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
31168 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
31169 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
31170 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
31171 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
31172 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
31173 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
31175 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
31176 sparc V9 rather than using V8 code.
31177 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31178 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31180 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
31182 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
31185 2013-01-11 Roland McGrath <roland@hack.frob.com>
31187 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
31188 not in the main loop.
31189 * configure: Regenerated.
31191 2013-01-11 Joseph Myers <joseph@codesourcery.com>
31193 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
31194 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
31196 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
31197 [!__GLIBC_HAVE_LONG_LONG] case.
31198 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
31199 condition to just #else.
31200 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
31201 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
31202 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
31203 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
31205 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
31206 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
31207 #elif condition to just #else.
31208 * sysdeps/unix/sysv/linux/sys/sysmacros.h
31209 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
31210 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
31211 #elif condition to just #else.
31213 2013-01-11 Steve Ellcey <sellcey@mips.com>
31215 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
31216 (EF_MIPS_ARCH_64): Fix value.
31217 (EF_MIPS_ARCH_32R2): New.
31218 (EF_MIPS_ARCH_64R2): New.
31220 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
31222 * Makeconfig (+link-pie-before-libc): New.
31223 (+link-pie-after-libc): Likewise.
31224 (+link-pie-tests): Likewise.
31225 (+link-pie): Rewritten.
31226 (link-before-libc): Remove $(config-LDFLAGS).
31227 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
31228 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
31229 (config-LDFLAGS): Renamed to ...
31230 (rtld-LDFLAGS): This.
31231 (rtld-tests-LDFLAGS): New macro.
31232 (link-libc-rpath-link): Likewise.
31233 (link-libc-tests-rpath-link): Likewise.
31234 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
31235 (link-libc): Prepand $(link-libc-rpath-link).
31236 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
31237 (test-program-prefix): New macro.
31238 (test-via-rtld-prefix): Likewise.
31239 (test-program-cmd): Likewise.
31240 (host-test-program-cmd): Likewise.
31241 * Makefile ($(common-objpfx)testrun.sh): Replace
31242 $(run-program-prefix) with $(test-program-prefix).
31243 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
31245 ($(common-objpfx)shlib.lds): Likewise.
31246 (build-module-helper): Likewise.
31247 ($(common-objpfx)format.lds): Likewise.
31248 * Rules (binaries-pie-tests): New.
31249 (binaries-pie-notests): Likewise.
31250 (binaries-pie): Rewritten.
31251 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
31252 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
31253 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
31254 (make-test-out): Replace $(host-built-program-cmd) with
31255 $(host-test-program-cmd).
31256 * config.make.in (build-hardcoded-path-in-tests): New variable.
31257 * configure.in (--enable-hardcoded-path-in-tests): New configure
31259 (hardcoded_path_in_tests): New AC_SUBST.
31260 * configure: Regenerated.
31261 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
31262 $(built-program-cmd) with $(test-program-cmd).
31263 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
31264 (test_program_cmd): This.
31265 * elf/Makefile ($(objpfx)order.out): Run test with
31266 $(test-program-prefix).
31267 ($(objpfx)order2.out): Likewise.
31268 ($(objpfx)tst-initorder.out): Likewise.
31269 ($(objpfx)tst-initorder2.out): Likewise.
31270 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
31271 $(test-program-cmd).
31272 ($(objpfx)tst-array1-static.out): Likewise.
31273 ($(objpfx)tst-array2.out): Likewise.
31274 ($(objpfx)tst-array3.out): Likewise.
31275 ($(objpfx)tst-array4.out): Likewise.
31276 ($(objpfx)tst-array5.out): Likewise.
31277 ($(objpfx)tst-array5-static.out): Likewise.
31278 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
31279 $(test-program-cmd).
31280 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
31281 $(run-program-prefix) with $(test-program-prefix).
31282 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
31283 (test_program_prefix): This.
31284 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
31285 $(run-program-prefix) with $(test-program-prefix).
31286 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
31287 (test_program_prefix): This.
31288 * iconvdata/tst-tables.sh: Likewise.
31289 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
31290 $(run-program-prefix) with $(test-program-prefix).
31291 ($(objpfx)tst-translit.out): Likewise.
31292 ($(objpfx)tst-gettext2.out): Likewise.
31293 ($(objpfx)tst-gettext4.out): Likewise.
31294 ($(objpfx)tst-gettext6.out): Likewise.
31295 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
31296 (test_program_prefix): This.
31297 * intl/tst-gettext2.sh: Likewise.
31298 * intl/tst-gettext4.sh Likewise.
31299 * intl/tst-gettext6.sh: Likewise.
31300 * intl/tst-translit.sh: Likewise.
31301 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
31302 with $(test-program-cmd).
31303 * libio/Makefile ($(objpfx)test-freopen.out): Replace
31304 $(run-program-prefix) with $(test-program-prefix).
31305 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
31306 (test_program_prefix): This.
31307 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
31308 $(run-program-prefix) with $(test-program-prefix).
31309 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
31310 (test_program_prefix): This.
31311 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
31312 * posix/Makefile ($(objpfx)globtest.out): Replace
31313 $(run-via-rtld-prefix) and $(test-wrapper) with
31314 $(test-program-prefix) and $(test-via-rtld-prefix).
31315 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
31316 $(test-program-prefix).
31317 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
31318 $(host-test-program-cmd).
31319 (tst-spawn-ARGS): Likewise.
31320 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
31321 $(test-program-prefix).
31322 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
31323 (test_via_rtld_prefix): This.
31324 (test_wrapper): Renamed to ...
31325 (test_program_prefix): This.
31326 (run_program_prefix): Replaced by test_program_prefix.
31327 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
31328 (test_program_prefix): This.
31329 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
31330 with $(host-test-program-cmd).
31331 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
31332 $(run-program-prefix) with $(test-program-prefix).
31333 ($(objpfx)tst-printf.out): Likewise.
31334 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
31335 $(test-program-cmd).
31336 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
31337 (test_program_prefix): This.
31338 * stdio-common/tst-unbputc.sh: Likewise.
31339 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
31340 $(run-program-prefix) with $(test-program-prefix).
31341 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
31342 (test_program_prefix): This.
31343 * string/Makefile ($(objpfx)tst-svc.out): Replace
31344 $(built-program-cmd) with $(test-program-cmd).
31346 2013-01-11 Andreas Jaeger <aj@suse.de>
31349 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
31350 value. Sync with Linux 3.7.
31352 2013-01-10 David S. Miller <davem@davemloft.net>
31354 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
31355 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31356 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31358 2013-01-10 Roland McGrath <roland@hack.frob.com>
31360 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
31362 * configure: Regenerated.
31364 2013-01-10 David S. Miller <davem@davemloft.net>
31366 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
31367 sparc V9 rather than using V8 code.
31368 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31369 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31371 2013-01-10 Roland McGrath <roland@hack.frob.com>
31373 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
31374 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
31375 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
31376 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
31377 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
31378 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
31379 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
31380 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
31381 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
31382 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
31383 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
31384 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
31385 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
31386 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
31387 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
31388 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
31389 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
31390 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
31391 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
31392 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
31393 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
31394 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
31395 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
31396 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
31397 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
31398 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
31399 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
31401 2013-01-10 David S. Miller <davem@davemloft.net>
31403 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31405 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
31407 * posix/Makefile (tests-static): New variable.
31408 (tests): Add $(tests-static).
31409 (tst-exec-static-ARGS): New variable.
31410 (tst-spawn-static-ARGS): Likewise.
31411 * posix/tst-exec-static.c: New file.
31412 * posix/tst-spawn-static.c: Likewise.
31413 * posix/tst-exec.c: Support run directly.
31414 * posix/tst-spawn.c: Likewise.
31416 2013-01-10 Joseph Myers <joseph@codesourcery.com>
31418 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
31420 * math/bits/mathcalls.h (llrint): Likewise.
31421 (llround): Likewise.
31422 * stdlib/stdlib.h (struct drand48_data): Likewise.
31423 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
31424 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
31425 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
31427 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
31429 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
31430 (elf_greg_t): Likewise.
31431 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
31432 (__jmp_buf): Likewise.
31433 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
31435 (llrint): Likewise, for all definitions.
31436 (llrintl): Likewise.
31438 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
31439 Remove [__GNUC__] condition.
31440 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
31441 condition to just [__USE_ISOC99].
31442 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
31444 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
31447 * sysdeps/unix/sysv/linux/x86/bits/environments.h
31448 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
31450 (_POSIX_V6_ILP32_OFF32): Likewise.
31451 (_XBS5_ILP32_OFF32): Likewise.
31452 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
31453 (__ILP32_OFFBIG_LDFLAGS): Likewise.
31455 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31457 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
31459 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
31460 doubles __mpexp_twomm1. Adjust usage.
31461 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
31464 2013-01-10 Andreas Schwab <schwab@suse.de>
31467 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
31468 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
31470 2013-01-09 David S. Miller <davem@davemloft.net>
31473 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
31474 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
31475 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
31476 (TCP_FASTOPEN): Define.
31477 (tcp_repair_opt): New structure.
31478 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
31480 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
31481 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
31482 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
31483 (tcp_cookie_transactions): New structure.
31485 2013-01-09 Anton Blanchard <anton@samba.org>
31487 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
31488 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
31489 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
31490 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
31492 2013-01-09 Joseph Myers <joseph@codesourcery.com>
31494 * include/features.h (__USE_ANSI): Remove.
31496 2013-01-09 Roland McGrath <roland@hack.frob.com>
31498 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
31500 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
31502 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
31504 * sysdeps/s390/fpu/libm-test-ulps: Update.
31506 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31508 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
31512 (denorm): Likewise.
31513 (__mp_dbl): Likewise.
31514 (__dbl_mp): Likewise.
31515 (add_magnitudes): Likewise.
31516 (sub_magnitudes): Likewise.
31522 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
31526 (denorm): Likewise.
31527 (__mp_dbl): Likewise.
31528 (__dbl_mp): Likewise.
31529 (add_magnitudes): Likewise.
31530 (sub_magnitudes): Likewise.
31536 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
31540 (denorm): Likewise.
31541 (__mp_dbl): Likewise.
31542 (__dbl_mp): Likewise.
31543 (add_magnitudes): Likewise.
31544 (sub_magnitudes): Likewise.
31551 2013-01-08 Joseph Myers <joseph@codesourcery.com>
31553 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
31554 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
31555 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
31556 2 && __USE_EXTERN_INLINES]: Likewise.
31558 2013-01-08 Andreas Jaeger <aj@suse.de>
31561 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
31563 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
31564 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
31566 2013-01-07 Anton Blanchard <anton@samba.org>
31568 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
31569 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
31570 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
31571 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
31572 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
31573 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31574 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
31575 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
31576 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31577 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31578 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31579 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31580 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
31581 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31582 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
31583 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31584 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31585 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31586 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
31587 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
31588 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
31589 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
31590 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31591 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
31592 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
31593 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
31594 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31595 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
31596 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
31597 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
31598 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
31599 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31600 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31601 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31602 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31603 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31604 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31605 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31606 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
31607 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
31608 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
31609 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31610 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31612 2013-01-07 Joseph Myers <joseph@codesourcery.com>
31614 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
31615 (__MALLOC_PMT): Likewise.
31616 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
31617 [__GNUC__], only on [_LIBC].
31618 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
31619 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
31620 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
31621 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
31622 forward declaration.
31623 (realloc_hook_ini): Likewise.
31624 (memalign_hook_ini): Likewise.
31625 (__libc_memalign): Do not use __MALLOC_PMT in variable
31627 (__libc_valloc): Likewise.
31628 (__libc_pvalloc): Likewise.
31629 (__libc_calloc): Likewise.
31630 (__posix_memalign): Likewise.
31633 * math/s_casinh.c: Include <float.h>.
31634 (__casinh): Do not do computation with squaring and square root
31635 for large arguments.
31636 * math/s_casinhf.c: Include <float.h>.
31637 (__casinhf): Do not do computation with squaring and square root
31638 for large arguments.
31639 * math/s_casinhl.c: Include <float.h>.
31640 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
31641 (__casinhl): Do not do computation with squaring and square root
31642 for large arguments.
31643 * math/libm-test.inc (casin_test): Add more tests.
31644 (casinh_test): Likewise.
31645 * sysdeps/i386/fpu/libm-test-ulps: Update.
31646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31648 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
31650 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
31651 (__x86_64_raw_data_cache_size): Likewise.
31652 (__x86_64_data_cache_size_half): Likewise.
31653 (__x86_64_raw_data_cache_size_half): Likewise.
31654 (__x86_64_shared_cache_size): Likewise.
31655 (__x86_64_raw_shared_cache_size): Likewise.
31656 (__x86_64_shared_cache_size_half): Likewise.
31657 (__x86_64_raw_shared_cache_size_half): Likewise.
31658 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
31660 (__x86_data_cache_size): This.
31661 (__x86_64_raw_data_cache_size): Renamed to ...
31662 (__x86_raw_data_cache_size): This.
31663 (__x86_64_data_cache_size_half): Renamed to ...
31664 (__x86_data_cache_size_half): This.
31665 (__x86_64_raw_data_cache_size_half): Renamed to ...
31666 (__x86_raw_data_cache_size_half): This.
31667 (__x86_64_shared_cache_size): Renamed to ...
31668 (__x86_shared_cache_size): This.
31669 (__x86_64_raw_shared_cache_size): Renamed to ...
31670 (__x86_raw_shared_cache_size): This.
31671 (__x86_64_shared_cache_size_half): Renamed to ...
31672 (__x86_shared_cache_size_half): This.
31673 (__x86_64_raw_shared_cache_size_half): Renamed to ...
31674 (__x86_raw_shared_cache_size_half): This.
31675 * sysdeps/x86_64/memcpy.S: Updated.
31676 * sysdeps/x86_64/memset.S: Likewise.
31677 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
31678 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31679 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31681 2013-01-04 David S. Miller <davem@davemloft.net>
31683 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31685 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
31687 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
31688 1 to avoid redefinition warning.
31689 (__USE_GNU): Don't define.
31690 (init_signaling_nan): Protoize.
31692 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31694 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31696 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
31697 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
31698 (__cpymn): Likewise.
31699 (norm): Remove commented code.
31700 (denorm): Likewise.
31701 (__mp_dbl): Likewise.
31703 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
31704 (__cpymn): Likewise.
31705 (norm): Remove commented code.
31706 (denorm): Likewise.
31707 (__mp_dbl): Likewise.
31710 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
31711 mp_no value for 1.0 and 2.0.
31712 (norm): Use RADIXI instead of radixi.d.
31713 (denorm): Likewise.
31714 (__mul): Use 0.0 instead of zero.d.
31715 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
31716 mp_no value for 1.0 and 2.0.
31717 (norm): Use RADIXI instead of radixi.d.
31718 (denorm): Likewise.
31719 (__mul): Use 0.0 instead of zero.d.
31721 2013-01-04 Joseph Myers <joseph@codesourcery.com>
31724 * math/s_casinh.c (__casinh): Reduce finite argument to first
31725 quadrant then set signs of results at the end.
31726 * math/s_casinhf.c (__casinhf): Likewise.
31727 * math/s_casinhl.c (__casinhl): Likewise.
31728 * math/libm-test.inc (casin_test): Add more tests.
31729 (casinh_test): Likewise.
31730 * sysdeps/i386/fpu/libm-test-ulps: Update.
31731 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31733 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31735 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
31737 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
31739 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
31741 (denorm): Likewise.
31742 (__mp_dbl): Likewise.
31745 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
31746 and adjust the header comment.
31748 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
31749 variable name from declaration.
31751 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
31753 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31754 Initialize COMMON_CPUID_INDEX_7 element.
31755 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
31756 (CPUID_RTM): Likewise.
31757 (HAS_RTM): Likewise.
31758 (COMMON_CPUID_INDEX_7): New enum.
31760 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
31763 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
31764 size is zero, record memory as freed.
31766 2013-01-03 Andreas Jaeger <aj@suse.de>
31768 * po/ia.po: Add new Interlingua translation.
31770 2012-01-03 Allan McRae <allan@archlinux.org>
31772 * locale/programs/localedef.c: Fix description of '--posix' flag.
31774 2013-01-02 Joseph Myers <joseph@codesourcery.com>
31776 * NEWS: Update dates in second copyright notice.
31777 * README: Update copyright dates in example.
31778 * manual/libc.texinfo: Update copyright dates.
31779 * scripts/test-installation.pl: Update copyright date in --version
31782 * hurd/ctty-input.c: Fix copyright notice formatting.
31783 * hurd/ctty-output.c: Likewise.
31784 * hurd/dtable.c: Likewise.
31785 * hurd/hurd-raise.c: Likewise.
31786 * hurd/hurdprio.c: Likewise.
31787 * hurd/msgportdemux.c: Likewise.
31788 * misc/sys/file.h: Likewise.
31789 * misc/sys/ioctl.h: Likewise.
31790 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
31791 * sysdeps/mach/hurd/chdir.c: Likewise.
31792 * sysdeps/mach/hurd/fchdir.c: Likewise.
31793 * sysdeps/mach/hurd/rename.c: Likewise.
31794 * sysdeps/mach/hurd/rmdir.c: Likewise.
31795 * sysdeps/mach/hurd/seekdir.c: Likewise.
31796 * sysdeps/mach/hurd/setsid.c: Likewise.
31797 * sysdeps/posix/wait3.c: Likewise.
31799 * All files with FSF copyright notices: Update copyright dates
31800 using scripts/update-copyrights.
31801 * intl/plural.c: Regenerated.
31802 * locale/programs/charmap-kw.h: Likewise.
31803 * locale/programs/locfile-kw.h: Likewise.
31805 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
31807 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
31810 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
31811 calculation loop and add branch prediction.
31813 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
31814 check access beyond bounds of m1np.
31816 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
31818 (__inv): Remove local variable MPTWO to use the global
31820 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
31821 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
31823 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
31824 MP3HALFS static const.
31826 2013-01-01 David S. Miller <davem@davemloft.net>
31828 * po/ca.po: Update from translation team.
31830 2013-01-01 Joseph Myers <joseph@codesourcery.com>
31832 * scripts/update-copyrights: New file.
31833 * Makeconfig: Reformat copyright notice.
31834 * ctype/ctype.h: Likewise.
31835 * debug/swprintf_chk.c: Likewise.
31836 * elf/dl-cache.c: Likewise.
31837 * elf/dl-debug.c: Likewise.
31838 * elf/dl-object.c: Likewise.
31839 * grp/initgroups.c: Likewise.
31840 * hurd/Makefile: Likewise.
31841 * hurd/hurd/signal.h: Likewise.
31842 * hurd/hurdfault.c: Likewise.
31843 * hurd/hurdioctl.c: Likewise.
31844 * hurd/hurdlookup.c: Likewise.
31845 * hurd/intr-msg.c: Likewise.
31846 * iconv/gconv_open.c: Likewise.
31847 * libio/swprintf.c: Likewise.
31848 * locale/lc-ctype.c: Likewise.
31849 * locale/nl_langinfo.c: Likewise.
31850 * mach/Machrules: Likewise.
31851 * mach/Makefile: Likewise.
31852 * malloc/obstack.h: Likewise.
31853 * manual/Makefile: Likewise.
31854 * manual/tsort.awk: Likewise.
31855 * misc/bits/stab.def: Likewise.
31856 * nis/nis_print_group_entry.c: Likewise.
31857 * nis/nis_table.c: Likewise.
31858 * nis/nss_compat/compat-pwd.c: Likewise.
31859 * nis/nss_compat/compat-spwd.c: Likewise.
31860 * po/Makefile: Likewise.
31861 * posix/fnmatch.c: Likewise.
31862 * posix/regex.h: Likewise.
31863 * resolv/Makefile: Likewise.
31864 * resolv/nss_dns/dns-network.c: Likewise.
31865 * resolv/res_hconf.c: Likewise.
31866 * scripts/gen-sorted.awk: Likewise.
31867 * soft-fp/soft-fp.h: Likewise.
31868 * stdio-common/printf.h: Likewise.
31869 * stdlib/monetary.h: Likewise.
31870 * stdlib/random.c: Likewise.
31871 * stdlib/random_r.c: Likewise.
31872 * sysdeps/generic/Makefile: Likewise.
31873 * sysdeps/gnu/Makefile: Likewise.
31874 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
31875 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31876 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31877 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31878 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31879 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31880 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31881 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31882 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31883 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31884 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31885 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31886 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
31887 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
31888 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
31889 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
31890 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31891 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31892 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31893 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31894 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
31895 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
31896 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
31897 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
31898 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
31899 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
31900 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
31901 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
31902 * sysdeps/mach/hurd/errnos.awk: Likewise.
31903 * sysdeps/mach/hurd/fork.c: Likewise.
31904 * sysdeps/mach/hurd/getcwd.c: Likewise.
31905 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
31906 * sysdeps/mach/hurd/mmap.c: Likewise.
31907 * sysdeps/mach/hurd/utimes.c: Likewise.
31908 * sysdeps/mach/hurd/xmknod.c: Likewise.
31909 * sysdeps/posix/profil.c: Likewise.
31910 * sysdeps/posix/readdir_r.c: Likewise.
31911 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31912 * sysdeps/powerpc/bits/setjmp.h: Likewise.
31913 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
31914 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
31915 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31916 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
31917 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31918 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31919 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31920 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
31921 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31922 * sysdeps/pthread/lio_listio.c: Likewise.
31923 * sysdeps/sparc/dl-procinfo.h: Likewise.
31924 * sysdeps/unix/i386/sysdep.S: Likewise.
31925 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
31926 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
31927 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
31928 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
31929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31930 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
31931 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
31932 * sysdeps/unix/sysv/linux/speed.c: Likewise.
31933 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
31934 * sysdeps/wordsize-32/divdi3.c: Likewise.
31935 * time/sys/time.h: Likewise.
31936 * wcsmbs/Makefile: Likewise.
31938 2013-01-01 David S. Miller <davem@davemloft.net>
31940 * po/fr.po: Update from translation team.
31942 * catgets/gencat.c: Update copyright year.
31943 * csu/version.c: Likewise.
31944 * debug/catchsegv.sh: Likewise.
31945 * debug/pcprofiledump.c: Likewise.
31946 * debug/xtrace.sh: Likewise.
31947 * elf/ldconfig.c: Likewise.
31948 * elf/ldd.bash.in: Likewise.
31949 * elf/pldd.c: Likewise.
31950 * elf/sotruss.ksh: Likewise.
31951 * elf/sprof.c: Likewise.
31952 * iconv/iconv_prog.c: Likewise.
31953 * iconv/iconvconfig.c: Likewise.
31954 * locale/programs/locale.c: Likewise.
31955 * locale/programs/localedef.c: Likewise.
31956 * login/programs/pt_chown.c: Likewise.
31957 * malloc/memusage.sh: Likewise.
31958 * malloc/memusagestat.c: Likewise.
31959 * malloc/mtrace.pl: Likewise.
31960 * nscd/nscd.c: Likewise.
31961 * nss/getent.c: Likewise.
31962 * nss/makedb.c: Likewise.
31963 * posix/getconf.c: Likewise.
31965 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
31967 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
31970 2012-12-30 Mike Frysinger <vapier@gentoo.org>
31972 * math/bits/mathcalls.h (modf): Use __nonnull.
31974 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
31976 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
31977 (split): Use macro CN instead of the bare value.
31978 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
31980 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
31981 instead of the bare value.
31982 (power1): Likewise.
31984 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31986 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
31988 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31990 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
31992 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
31993 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
31994 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
31995 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
31997 2012-12-28 Andreas Jaeger <aj@suse.de>
31999 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
32000 values are from Linux 3.7.
32002 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
32003 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
32005 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32007 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
32010 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
32012 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
32013 variables with preprocessor constants.
32014 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32015 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32016 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32018 2012-12-27 Bruno Haible <bruno@clisp.org>
32021 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
32024 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
32026 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
32027 and use variable directly.
32028 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
32030 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
32032 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
32033 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
32035 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
32036 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
32037 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
32038 include directive. Remove local variable MPONE.
32039 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
32040 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
32041 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32043 2012-12-25 David S. Miller <davem@davemloft.net>
32045 * version.h (RELEASE): Set to "development".
32046 (VERSION): Set to "2.17.90".
32047 * NEWS: Add 2.18 section.
32049 2012-12-21 David S. Miller <davem@davemloft.net>
32051 * po/hr.po: Update from translation team.
32053 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32055 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
32057 2012-12-19 Steve Ellcey <sellcey@mips.com>
32059 * NEWS: Mention new memcpy for MIPS.
32061 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32063 * manual/contrib.texi (Contributors): Spelling correction.
32065 2012-12-15 David S. Miller <davem@davemloft.net>
32067 * po/ru.po: Update from translation team.
32069 2012-12-13 David S. Miller <davem@davemloft.net>
32071 * NEWS: Mention IFUNC testsuite enhancements.
32073 * po/pl.po: Update from translation team.
32074 * po/bg.po: Likewise.
32076 * manual/contrib.texi (Contributors): Update entries for Hongjiu
32077 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
32079 2012-12-11 David S. Miller <davem@davemloft.net>
32081 * po/sv.po: Update from translation team.
32083 * po/vi.po: Update from translation team.
32085 * po/cs.po: Update from translation team.
32087 * po/de.po: Update from translation team.
32088 * po/eo.po: Likewise.
32089 * po/nl.po: Likewise.
32091 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
32094 * manual/argp.texi (Argp Helper Functions): Move node to follow
32095 Argp Parsing State.
32098 * manual/conf.texi (Limits on File System Capacity): Mention if
32099 terminating null is included in the max size.
32101 2012-12-10 Andreas Jaeger <aj@suse.de>
32103 * po/cs.po: Update from translation team.
32105 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
32107 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
32108 void pointer and cast to uintptr_t.
32109 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
32111 * sysdeps/s390/s390-64/memcpy.S: Likewise.
32112 * sysdeps/s390/s390-64/memset.S: Likewise.
32114 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
32117 * menual/message.texi (Message Translation): Fix typos.
32118 (Helper programs for gettext): Likewise.
32120 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
32123 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
32126 2012-12-07 David S. Miller <davem@davemloft.net>
32128 * po/libc.pot: Update.
32130 2012-12-07 Richard Henderson <rth@redhat.com>
32133 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
32134 normal/normal case to before the switch.
32135 (_FP_DIV): Likewise.
32137 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
32138 Mike Frysinger <vapier@gentoo.org>
32140 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
32141 check for __NR_fadvise64_64.
32143 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
32145 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
32146 0, not just to plain "0" as a statement.
32147 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
32150 2012-12-06 Joseph Myers <joseph@codesourcery.com>
32152 * NEWS: Use sourceware.org in Bugzilla URL.
32154 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
32156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
32157 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
32159 * stdio-common/tst-put-error.c (do_test): Add newline to the
32160 padded test to ensure flush.
32162 2012-12-05 Jeff Law <law@redhat.com>
32164 * sunrpc/etc.rpc (fedfs_admin): Add entry.
32166 2012-12-05 Joseph Myers <joseph@codesourcery.com>
32168 * README: Don't refer to ports add-on as distributed separately.
32169 Mention AArch64 in list of systems supported in the ports add-on.
32171 * LICENSES: Add more non-FSF copyright and license notices.
32173 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
32176 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
32178 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
32179 10000 as width of padded output.
32181 2012-12-04 Joseph Myers <joseph@codesourcery.com>
32183 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
32185 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
32186 variable LX with __attribute__ ((unused)).
32187 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
32189 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
32190 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32191 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
32192 with __attribute__ ((unused)).
32194 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
32196 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
32198 2012-12-04 Joseph Myers <joseph@codesourcery.com>
32200 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
32201 (CFLAGS-nldbl-acos.c): New variable.
32202 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
32203 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
32204 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
32205 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
32206 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
32207 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
32208 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
32209 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
32210 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
32211 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
32212 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
32213 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
32214 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
32215 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
32216 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
32217 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
32218 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
32219 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
32220 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
32221 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
32222 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
32223 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
32224 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
32225 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
32226 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
32227 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
32228 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
32229 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
32230 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
32231 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
32232 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
32233 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
32234 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
32235 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
32236 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
32237 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
32238 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
32239 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
32240 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
32241 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
32242 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
32243 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
32244 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
32245 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
32246 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
32247 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
32248 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
32249 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
32250 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
32251 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
32252 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
32253 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
32254 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
32255 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
32256 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
32257 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
32258 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
32259 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
32260 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
32261 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
32262 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
32263 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
32264 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
32265 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
32266 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
32267 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
32268 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
32269 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
32270 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
32271 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
32272 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
32273 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
32274 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
32275 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
32276 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
32277 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
32278 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
32279 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
32280 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
32281 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
32282 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
32283 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
32284 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
32285 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
32286 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
32287 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
32288 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
32289 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
32290 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
32291 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
32292 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
32293 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
32294 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
32295 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
32296 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
32297 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
32298 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
32300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32301 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
32304 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
32305 whole low double instead of just low 47 bits when splitting values
32308 2012-12-03 Allan McRae <allan@archlinux.org>
32310 * manual/stdio.texi (Predefined Printf Handlers): Remove
32311 @hsep and @vsep usage.
32313 2012-12-03 Mike Frysinger <vapier@gentoo.org>
32315 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
32316 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
32318 2012-12-03 Jeff Law <law@redhat.com>
32320 * time/sys/time.h (settimeofday): Do not mark TV argument
32323 2012-12-01 Mike Frysinger <vapier@gentoo.org>
32325 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
32326 when currently writing and seek to current position when not.
32327 * libio/Makefile (tests): Remove bug-fclose1.
32328 * libio/bug-fclose1.c: Delete.
32330 2012-12-01 Joseph Myers <joseph@codesourcery.com>
32332 * manual/arith.texi (feenableexcept): Fix typo.
32333 (fedisableexcept): Likewise.
32335 2012-11-30 Roland McGrath <roland@hack.frob.com>
32337 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
32338 second, differently-typed declaration, rather than a cast.
32340 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32342 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
32343 * include/rpc/svc.h: ... here.
32345 2012-11-30 Aurelien Jarno <aurel32@debian.org>
32348 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
32349 depending n and resplen2 to catch cases where answer
32352 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
32354 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
32355 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
32357 2012-11-29 Mike Frysinger <vapier@gentoo.org>
32359 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
32361 2012-11-29 Roland McGrath <roland@hack.frob.com>
32363 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
32365 2012-11-28 Jeff Law <law@redhat.com>
32368 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
32369 dataset_temporary. Track alloca usage into alloca_used.
32370 If dataset is large allocate and release it via malloc/free.
32372 2012-06-04 Florian Weimer <fweimer@redhat.com>
32375 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
32377 2012-11-28 David S. Miller <davem@davemloft.net>
32379 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32381 2012-11-28 Joseph Myers <joseph@codesourcery.com>
32384 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
32385 of pi/2 rounded to nearest to 64 bits.
32386 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
32387 nearest to 64 bits.
32388 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
32391 2012-11-28 Jeff Law <law@redhat.com>
32392 Martin Osvald <mosvald@redhat.com>
32395 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
32396 * sunrpc/svc.c: Include time.h.
32397 (__svc_accept_failed): New function.
32398 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
32399 any reason other than EINTR, call __svc_accept_failed.
32400 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
32401 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
32403 2012-11-28 Andreas Schwab <schwab@suse.de>
32405 * scripts/abilist.awk: Also handle indirect functions in .opd
32408 2012-11-28 Joseph Myers <joseph@codesourcery.com>
32411 * sysdeps/x86/fpu/powl_helper.c: New file.
32412 * sysdeps/x86/fpu/Makefile: Likewise.
32413 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
32415 (__ieee754_powl): Use __powl_helper for finite arguments except
32416 integer exponents below 8.
32417 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
32419 (__ieee754_powl): Use __powl_helper for finite arguments except
32420 integer exponents below 8.
32421 * math/libm-test.inc (pow_test): Add more tests and enable some
32422 previously disabled tests.
32423 * sysdeps/i386/fpu/libm-test-ulps: Update.
32424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32426 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32427 Carlos O'Donell <carlos_odonell@mentor.com>
32429 * nss/makedb.c (is_prime): Assert that input is odd and greater
32430 than 4. Note that fact in a comment too.
32431 (next_prime): Add 4 to input.
32433 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
32436 * libio/Makefile (tests): Add test case tst-fwrite-error.
32437 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
32438 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
32439 * libio/tst-fwrite-error.c: New test case.
32441 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
32443 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
32444 before casting to void *.
32445 * include/libc-internal.h (__pointer_type): New macro.
32446 (__integer_if_pointer_type_sub): Likewise.
32447 (__integer_if_pointer_type): Likewise.
32448 (cast_to_integer): Likewise.
32449 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
32450 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
32451 before casting to atomic64_t.
32452 (atomic_exchange_acq): Likewise.
32453 (__arch_exchange_and_add_body): Likewise.
32454 (__arch_add_body): Likewise.
32455 (atomic_add_negative): Likewise.
32456 (atomic_add_zero): Likewise.
32458 2012-11-26 Joseph Myers <joseph@codesourcery.com>
32460 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
32461 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
32462 (add_fdes): Likewise.
32463 (linear_search_fdes): Likewise.
32464 (binary_search_unencoded_fdes): Likewise.
32466 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
32468 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
32470 2012-11-24 Adam Conrad <adconrad@0c3.net>
32472 * configure.in: Autodetect C++ header directories.
32473 * configure: Regenerated.
32475 2012-11-23 Mike Frysinger <vapier@gentoo.org>
32477 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
32479 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
32481 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32483 2012-11-22 Joseph Myers <joseph@codesourcery.com>
32485 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
32486 LDBL_MANT_DIG == 106]: Disable some tests.
32487 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
32489 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
32493 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
32494 input for small inputs. Return +/- pi/2 for large inputs.
32495 * math/libm-test.inc (atan_test): Add more tests.
32497 * sysdeps/generic/unwind-dw2-fde-glibc.c
32498 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
32499 __attribute__ ((unused)).
32502 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
32503 x * y if x and y are nonzero and z is zero.
32506 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
32507 nonzero exponents with absolute value below 0x1p-117 to +/-
32511 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
32512 up arguments below 2**-450, not just those below 2**-500.
32513 * math/libm-test.inc (hypot_test): Add another test.
32516 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
32517 Return a+b for ratio over 2**120, not 2**60.
32518 * math/libm-test.inc (hypot_test): Add another test.
32520 * math/libm-test.inc (clog_test): Use
32521 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
32522 (clog10_test): Likewise.
32525 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
32527 2012-11-22 Andreas Schwab <schwab@suse.de>
32529 * sysdeps/i386/fpu/libm-test-ulps: Update.
32531 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
32533 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
32534 printf output with newline.
32536 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
32539 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
32540 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
32541 -z nodlopen, -z initfirst and -z execstack support.
32542 * configure: Regenerated.
32544 * elf/elf.h (DF_1_NODIRECT): New macro.
32545 (DF_1_IGNMULDEF): Likewise.
32546 (DF_1_NOKSYMS): Likewise.
32547 (DF_1_NOHDR): Likewise.
32548 (DF_1_EDITED): Likewise.
32549 (DF_1_NORELOC): Likewise.
32550 (DF_1_SYMINTPOSE): Likewise.
32551 (DF_1_GLOBAUDIT): Likewise.
32552 (DF_1_SINGLETON): Likewise.
32553 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
32554 DT_1_SUPPORTED_MASK bits.
32555 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
32557 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
32559 * sysdeps/unix/make-syscalls.sh: Document prefixes.
32561 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
32563 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
32566 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
32567 (sendmmsg): Move declarations...
32568 * socket/sys/socket.h: ... here.
32569 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
32570 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
32572 * socket/recvmmsg.c: ... this new file.
32573 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
32574 (sendmmsg): Rename to __sendmmsg, create weak alias and make
32575 definition of __sendmmsg hidden.
32576 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
32577 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
32578 Move ENOSYS stub into and include it from...
32579 * socket/sendmmsg.c: ... this new file.
32580 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
32581 (sysdep_routines): Move recvmmsg and sendmmsg...
32582 * socket/Makefile (routines): ... here.
32583 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
32584 (GLIBC_PRIVATE): Add __sendmmsg.
32585 * include/sys/socket.h (__sendmmsg): Add declarations.
32586 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
32589 2012-11-20 Joseph Myers <joseph@codesourcery.com>
32591 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
32592 variable I1 with __attribute__ ((unused)).
32593 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
32595 2012-11-19 Joseph Myers <joseph@codesourcery.com>
32597 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
32598 DUMMY variables with __attribute__ ((unused)).
32600 * bits/byteswap.h: Include <bits/types.h>.
32601 (__bswap_64): Use __uint64_t instead of unsigned long long int.
32603 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
32605 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
32606 string_t. Do not manually set errno.
32607 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
32608 length with __strnlen. Make sure to both set errno and return it on
32611 2012-11-19 David S. Miller <davem@davemloft.net>
32613 With help from Joseph Myers.
32614 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
32615 very large arguments properly.
32616 * math/libm-test.inc (atan_test): New tests.
32617 (atan2_test): New tests.
32618 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32619 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32621 2012-11-19 Joseph Myers <joseph@codesourcery.com>
32624 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
32627 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
32628 [POSIX] (EADDRNOTAVAIL): Likewise.
32629 [POSIX] (EAFNOSUPPORT): Likewise.
32630 [POSIX] (EALREADY): Likewise.
32631 [POSIX] (ECONNABORTED): Likewise.
32632 [POSIX] (ECONNREFUSED): Likewise.
32633 [POSIX] (ECONNRESET): Likewise.
32634 [POSIX] (EDESTADDRREQ): Likewise.
32635 [POSIX] (EDQUOT): Likewise.
32636 [POSIX] (EHOSTUNREACH): Likewise.
32637 [POSIX] (EIDRM): Likewise.
32638 [POSIX] (EISCONN): Likewise.
32639 [POSIX] (ELOOP): Likewise.
32640 [POSIX] (EMULTIHOP): Likewise.
32641 [POSIX] (ENETDOWN): Likewise.
32642 [POSIX] (ENETUNREACH): Likewise.
32643 [POSIX] (ENOBUFS): Likewise.
32644 [POSIX] (ENODATA): Likewise.
32645 [POSIX] (ENOLINK): Likewise.
32646 [POSIX] (ENOMSG): Likewise.
32647 [POSIX] (ENOPROTOOPT): Likewise.
32648 [POSIX] (ENOSR): Likewise.
32649 [POSIX] (ENOSTR): Likewise.
32650 [POSIX] (ENOTCONN): Likewise.
32651 [POSIX] (ENOTSOCK): Likewise.
32652 [POSIX] (EOPNOTSUPP): Likewise.
32653 [POSIX] (EOVERFLOW): Likewise.
32654 [POSIX] (EPROTO): Likewise.
32655 [POSIX] (EPROTONOSUPPORT): Likewise.
32656 [POSIX] (EPROTOTYPE): Likewise.
32657 [POSIX] (ESTALE): Likewise.
32658 [POSIX] (ETIME): Likewise.
32659 [POSIX] (ETXTBSY): Likewise.
32660 [POSIX] (EWOULDBLOCK): Likewise.
32661 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
32662 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
32663 [POSIX] (SEEK_CUR): Likewise.
32664 [POSIX] (SEEK_END): Likewise.
32665 [POSIX || UNIX98] (mode_t): Do not require.
32666 [POSIX] (off_t): Likewise.
32667 [POSIX] (pid_t): Likewise.
32668 [POSIX] (sys/stat.h): Do not allow header.
32669 [POSIX] (unistd.h): Likewise.
32670 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
32671 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
32672 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
32673 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
32675 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
32676 sigevent): Specify elements.
32677 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
32679 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
32680 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
32682 * conform/data/cpio.h-data [POSIX]: Disable whole file.
32683 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
32684 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
32685 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
32686 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
32687 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
32688 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
32689 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
32690 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
32691 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
32692 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
32693 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
32694 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
32695 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
32697 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
32699 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
32701 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
32703 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
32704 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
32705 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
32706 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
32707 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
32708 Specify lower bound on value.
32709 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
32710 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
32711 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
32712 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
32713 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
32714 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
32715 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
32716 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
32718 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
32720 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
32721 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
32722 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
32723 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
32724 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
32725 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
32726 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
32727 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
32728 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
32729 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
32730 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
32731 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
32732 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
32733 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
32734 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
32735 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
32737 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
32739 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
32740 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
32741 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
32742 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
32743 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
32744 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
32746 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
32747 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
32748 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
32749 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
32750 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
32751 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
32752 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
32754 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
32755 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
32756 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
32757 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
32758 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
32759 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
32760 specify as optional.
32761 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
32762 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
32763 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
32764 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
32765 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
32766 [XPG3] (NL_LANGMAX): Likewise.
32767 [POSIX || XPG3] (NL_MSGMAX): Likewise.
32768 [POSIX || XPG3] (NL_NMAX): Likewise.
32769 [POSIX || XPG3] (NL_SETMAX): Likewise.
32770 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
32771 [XPG3] (NZERO): Likewise.
32772 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
32773 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
32774 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
32775 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
32776 (REG_ERANGE): Expect.
32777 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
32779 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
32780 Use (void) in prototype.
32781 [POSIX] (*_t): Allow.
32782 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
32783 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
32784 (WRDE_BADVAL): Expect.
32786 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
32788 [XPG3 || XPG4] (O_RSYNC): Likewise.
32789 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
32791 [XPG3 || XPG4] (pthread_sigmask): Likewise.
32792 [XPG3 || XPG4] (sigqueue): Likewise.
32793 [XPG3 || XPG4] (sigtimedwait): Likewise.
32794 [XPG3 || XPG4] (sigwaitinfo): Likewise.
32795 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
32796 [XPG3 || XPG4] (vsnprintf): Likewise.
32797 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
32799 [XPG3 || XPG4] (blksize_t): Likewise.
32800 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
32802 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
32803 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
32804 [XPG3 || XPG4] (struct itimerspec): Likewise.
32805 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
32806 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
32807 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
32808 [XPG3 || XPG4] (clockid_t): Likewise.
32809 [XPG3 || XPG4] (timer_t): Likewise.
32810 [XPG3 || XPG4] (clock_getres): Likewise.
32811 [XPG3 || XPG4] (clock_gettime): Likewise.
32812 [XPG3 || XPG4] (clock_settime): Likewise.
32813 [XPG3 || XPG4] (nanosleep): Likewise.
32814 [XPG3 || XPG4] (timer_create): Likewise.
32815 [XPG3 || XPG4] (timer_delete): Likewise.
32816 [XPG3 || XPG4] (timer_gettime): Likewise.
32817 [XPG3 || XPG4] (timer_getoverrun): Likewise.
32818 [XPG3 || XPG4] (timer_settime): Likewise.
32819 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
32820 [XPG3 || XPG4] (getlogin_r): Likewise.
32821 [XPG3 || XPG4] (pread): Likewise.
32822 [XPG3 || XPG4] (pthread_atfork): Likewise.
32823 [XPG3 || XPG4] (pwrite): Likewise.
32826 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
32829 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
32831 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
32832 finalizing MALLSTREAM.
32834 * sysdeps/mach/hurd/syncfs.c: New file.
32836 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32839 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
32840 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
32841 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
32842 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
32843 (_nss_dns_gethostbyname4_r): Likewise.
32844 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
32845 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
32847 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
32850 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
32852 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
32854 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
32855 * elf/cache.c (print_entry): Print ",AArch64" for
32858 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
32859 * elf/cache.c (print_entry): Print ",hard-float" for
32862 2012-11-18 David S. Miller <davem@davemloft.net>
32864 With help from Joseph Myers.
32865 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
32867 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
32869 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
32870 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
32872 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
32873 * math/libm-test.inc (y0_test): New tests.
32874 (y1_test): New tests.
32875 * sysdeps/i386/fpu/libm-test-ulps: Update.
32876 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32877 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32879 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
32881 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
32883 * configure: Regenerated.
32885 2012-11-17 David S. Miller <davem@davemloft.net>
32888 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
32889 nonzero exponents with absolute value below 0x1p-128 to +/-
32892 2012-11-17 Joseph Myers <joseph@codesourcery.com>
32894 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
32896 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
32898 * posix/getconf-speclist.c: New file.
32899 * posix/posix-envs.def: Likewise.
32900 * posix/confstr.c (START_ENV_GROUP): New macro.
32901 (END_ENV_GROUP): Likewise.
32902 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
32903 (KNOWN_PRESENT_ENV_STRING): Likewise.
32904 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
32905 (UNKNOWN_ENVIRONMENT): Likewise.
32906 (confstr): Include posix-envs.def instead of handling
32907 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
32908 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
32909 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
32910 (END_ENV_GROUP): Likewise.
32911 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
32912 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
32913 (UNKNOWN_ENVIRONMENT): Likewise.
32914 (__sysconf): Include posix-envs.def instead of handling associated
32915 cases directly here.
32916 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
32917 preprocessing getconf-speclist.c rather than running getconf or
32918 generating empty file.
32920 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
32922 * scripts/check-local-headers.sh: Ignore 'mach' headers.
32924 2012-11-16 Andrej Lajovic <natrij@gmail.com>
32927 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
32929 2012-11-16 David S. Miller <davem@davemloft.net>
32931 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
32932 smaller than LDBL_EPSILON/2.0L, just return xm1.
32934 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
32936 * elf/tst-array1.c (init): Set constructor priority to 1000.
32937 (fini): Set destructor priority to 1000.
32938 * elf/tst-array2dep.c: Likewise.
32940 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
32943 * libio/fileops.c (_IO_new_file_write): Correctly return error.
32944 (_IO_new_file_xsputn): Also return EOF if none of the input
32945 data was written when overflow failed.
32946 * libio/iopadn.c (_IO_padn): Likewise.
32947 * libio/iowpadn.c (_IO_wpadn): Likewise.
32948 * stdio-common/tst-put-error.c: Add copyright notice.
32949 (do_test): Add case for printing padded string.
32950 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
32951 _IO_padn returned error.
32952 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
32953 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
32956 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
32958 * libio/libioP.h: Add comment note that the references to C++
32959 bits are now obsolete.
32961 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32963 * math/libm-test.inc (check_complex): Use asprintf.
32965 2012-11-14 Joseph Myers <joseph@codesourcery.com>
32967 * debug/pcprofiledump.c (print_version): Update copyright year.
32968 * malloc/memusagestat.c (print_version): Likewise.
32970 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
32973 * elf/Makefile (tests): Add tst-audit8.
32974 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
32975 ($(objpfx)tst-audit8.out): New target.
32976 (tst-audit8-ENV): New variable.
32977 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
32978 audit if l_reloc_result is NULL.
32979 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
32980 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
32981 * elf/tst-audit8.c: New file.
32983 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32985 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
32986 * misc/Makefile (CFLAGS-select.c): Define.
32987 * posix/Makefile (CFLAGS-pause.c): Define.
32989 2012-11-13 David S. Miller <davem@davemloft.net>
32991 * crypt/Makefile: Move test targets after toplevel Rules
32992 inclusion. Grab any necessary sysdep routines when linking.
32993 * crypt/md5.c (md5_process_block): Remove define, we will always
32994 name it __md5_process_block.
32995 (md5_finish_ctx): Update md5_process_block call.
32996 (md5_stream): Likewise.
32997 (md5_process_bytes): Likewise.
32998 (md5_process_block): Rename to __md5_process_block and move to ...
32999 * crypt/md5-block.c: ... here.
33000 * crypt/sha256.c (sha256_process_block): Move to ...
33001 * crypt/sha256-block.c: ... here.
33002 * crypt/sha512.c (sha512_process_block): Move to ...
33003 * crypt/sha512-block.c: ... here.
33004 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
33006 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
33007 * sysdeps/sparc/sparc64/multiarch/Makefile
33008 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
33010 (localedef-aux): Add md5 crypto assembler when in locale subdir.
33011 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
33013 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
33014 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
33015 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
33016 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
33017 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
33018 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
33019 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
33020 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
33021 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
33023 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
33024 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
33026 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
33028 2012-11-13 Joseph Myers <joseph@codesourcery.com>
33030 * timezone/tzselect.ksh: Update from tzcode git revision
33031 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
33032 * timezone/zdump.c: Likewise.
33033 * timezone/zic.c: Likewise.
33034 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
33035 in TZVERSION setting, not $(PKGVERSION).
33036 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
33037 REPORT_BUGS_TO settings.
33040 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
33043 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33045 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
33046 detection to immediately after _FP_ROUND().
33047 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
33050 2012-11-11 David S. Miller <davem@davemloft.net>
33052 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
33054 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
33055 __close rather than their public counterparts.
33057 2012-11-10 Joseph Myers <joseph@codesourcery.com>
33059 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
33061 [UNIX98] (sem_timedwait): Do not expect.
33062 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
33063 [XPG4 || UNIX98] (sockatmark): Do not expect.
33064 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
33065 (clock_getcpuclockid): Do not expect.
33066 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
33067 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
33069 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
33070 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
33071 [UNIX98] (vwscanf): Likewise.
33072 [UNIX98] (vswscanf): Likewise.
33074 2012-11-09 Joseph Myers <joseph@codesourcery.com>
33076 * timezone/version.h: Remove file.
33077 * timezone/README: Do not refer to version.h.
33078 * timezone/Makefile ($(objpfx)zic.o): New dependency on
33079 $(objpfx)version.h.
33080 ($(objpfx)zdump.o): Likewise.
33081 ($(objpfx)version.h): New target.
33083 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
33085 * timezone/README: Don't mention modification to tzselect.ksh.
33086 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
33087 work on unmodified tzselect.ksh. Substitute version numbers in
33090 * Makefile (format-me): Remove.
33091 (INSTALL): Adjust indentation. Use commands directly instead of
33092 using $(format-me).
33094 * aclocal.m4 (ACX_PKGVERSION): New macro.
33095 (ACX_BUGURL): Likewise.
33096 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
33097 (PKGVERSION): New AC_DEFINE_UNQUOTED.
33098 (REPORT_BUGS_TO): Likewise.
33099 * configure: Regenerated.
33100 * config.h.in (PKGVERSION): New macro.
33101 (REPORT_BUGS_TO): Likewise.
33102 * config.make.in (PKGVERSION): New variable.
33103 (PKGVERSION_TEXI): Likewise.
33104 (REPORT_BUGS_TO): Likewise.
33105 (REPORT_BUGS_TEXI): Likewise.
33106 * Makefile (format-me): Use -I$(common-objpfx)manual.
33107 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
33108 ($(common-objpfx)manual/%): New target.
33109 (manual/%): Remove target.
33110 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
33111 (print_version): Use PKGVERSION.
33112 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
33113 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
33114 and REPORT_BUGS_TO.
33115 ($(objpfx)xtrace): Likewise.
33116 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
33117 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
33118 (print_version): Use PKGVERSION.
33119 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
33120 (do_version): Use PKGVERSION.
33121 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
33123 (common-ldd-rewrite): Likewise.
33124 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
33125 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
33126 (print_version): Use PKGVERSION.
33127 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
33128 * elf/pldd.c (argp_program_bug_address): Remove variable.
33129 (more_help): New function.
33130 (argp): Use more_help.
33131 (print_version): Use PKGVERSION.
33132 * elf/sln.c (main): Use PKGVERSION.
33133 (usage): Use REPORT_BUGS_TO.
33134 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
33135 (top level): Use PKGVERSION.
33136 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
33137 (print_version): Use PKGVERSION.
33138 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
33139 (print_version): Use PKGVERSION.
33140 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
33141 (print_version): Use PKGVERSION.
33142 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
33143 (print_version): Use PKGVERSION.
33144 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
33145 (print_version): Use PKGVERSION.
33146 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
33147 (print_version): Use PKGVERSION.
33148 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
33150 ($(objpfx)memusage): Likewise.
33151 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
33152 (do_version): Use PKGVERSION.
33153 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
33154 (print_version): Use PKGVERSION.
33155 * malloc/mtrace.pl ($PACKAGE): Remove variable.
33156 ($PKGVERSION): New variable.
33157 ($REPORT_BUGS_TO): Likewise.
33158 (usage): Use $REPORT_BUGS_TO.
33159 (top level): Use $PKGVERSION.
33160 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
33161 ($(objpfx)pkgvers.texi): New rule.
33162 ($(objpfx)stamp-pkgvers): Likewise.
33163 * manual/install.texi: Include pkgvers.texi.
33164 (--with-pkgversion): Document new configure option.
33165 (--with-bugurl): Likewise.
33166 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
33167 than necessarily for this particular distribution. Use
33168 REPORT_BUGS_TO for where to report bugs.
33169 * INSTALL: Regenerated.
33170 * manual/libc.texinfo: Include pkgvers.texi.
33171 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
33172 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
33173 (print_version): Use PKGVERSION.
33174 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
33175 (print_version): Use PKGVERSION.
33176 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
33177 (print_version): Use PKGVERSION.
33178 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
33179 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
33181 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
33182 (print_version): Use PKGVERSION.
33183 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
33184 (print_version): Use PKGVERSION.
33185 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
33188 * timezone/checktab.awk: Update from tzcode 2012i.
33189 * timezone/ialloc.c: Likewise.
33190 * timezone/private.h: Likewise.
33191 * timezone/scheck.c: Likewise.
33192 * timezone/tzfile.h: Likewise.
33193 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
33194 (TZVERSION): Hardcode tzcode version number.
33195 * timezone/zdump.c: Update from tzcode 2012i.
33196 * timezone/zic.c: Likewise.
33197 * timezone/version.h: New file.
33198 * timezone/README: Describe version.h. Update upstream location.
33201 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
33202 (mktemp): Enable declaration.
33203 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
33204 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
33205 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
33206 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
33208 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
33210 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
33212 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
33214 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
33216 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
33220 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
33221 offset in buffer as u_int32_t not u_long. Consistently use memcpy
33222 for copies of such integer values.
33223 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33224 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33226 2012-11-09 Andreas Jaeger <aj@suse.de>
33228 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
33229 definitions and declarations that are provided by
33230 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
33232 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33234 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
33235 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
33236 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
33239 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33241 * elf/elf.h: Update comment before AArch64 relocations.
33243 2012-11-07 David S. Miller <davem@davemloft.net>
33245 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
33246 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33247 (__start_context): Declare.
33248 (__makecontext_ret): Delete.
33249 (__makecontext): Hook up __start_context instead of
33251 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
33252 (sysdep_routines): Add __start_context when in stdlib.
33254 2012-11-07 Joseph Myers <joseph@codesourcery.com>
33256 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
33257 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
33258 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
33260 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
33261 (READELF): New variable. Use it instead of hardcoded "readelf".
33263 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
33265 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
33266 * sysdeps/x86/Makefile: Here.
33267 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
33268 * sysdeps/x86/tst-xmmymm.sh: This.
33270 2012-11-07 Joseph Myers <joseph@codesourcery.com>
33272 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
33274 [UNIX98] (pthread_barrier_t): Do not expect.
33275 [UNIX98] (pthread_barrierattr_t): Likewise.
33276 [UNIX98] (pthread_spinlock_t): Likewise.
33277 [UNIX98] (pthread_barrier_destroy): Likewise.
33278 [UNIX98] (pthread_barrier_init): Likewise.
33279 [UNIX98] (pthread_barrier_wait): Likewise.
33280 [UNIX98] (pthread_barrierattr_destroy): Likewise.
33281 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
33282 [UNIX98] (pthread_barrierattr_init): Likewise.
33283 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
33284 [UNIX98] (pthread_getcpuclockid): Likewise.
33285 [UNIX98] (pthread_mutex_timedlock): Likewise.
33286 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
33287 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
33288 [UNIX98] (pthread_sigmask): Likewise.
33289 [UNIX98] (pthread_spin_destroy): Likewise.
33290 [UNIX98] (pthread_spin_init): Likewise.
33291 [UNIX98] (pthread_spin_lock): Likewise.
33292 [UNIX98] (pthread_spin_trylock): Likewise.
33293 [UNIX98] (pthread_spin_unlock): Likewise.
33294 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
33296 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
33297 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
33298 [XPG3 || XPG4] (pthread_cond_t): Likewise.
33299 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
33300 [XPG3 || XPG4] (pthread_key_t): Likewise.
33301 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
33302 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
33303 [XPG3 || XPG4] (pthread_once_t): Likewise.
33304 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
33305 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
33306 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
33307 [XPG3 || XPG4] (pthread_t): Likewise.
33309 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
33311 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
33313 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
33314 Change function return type to int.
33316 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
33317 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
33318 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
33319 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
33320 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
33321 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
33322 [!POSIX] (posix_madvise): Likewise.
33323 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
33325 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
33326 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
33327 (mode_t): Likewise.
33328 (posix_mem_offset): Likewise.
33329 (posix_typed_mem_get_info): Likewise.
33330 (posix_typed_mem_open): Likewise.
33332 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
33333 Change condition to [XOPEN2K8].
33335 * conform/conformtest.pl: Preprocess allow-header data with -x c
33336 instead of from stdin.
33337 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
33338 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
33339 [C99-based standards] (cerfc): Likewise.
33340 [C99-based standards] (cexp2): Likewise.
33341 [C99-based standards] (cexpm1): Likewise.
33342 [C99-based standards] (clog10): Likewise.
33343 [C99-based standards] (clog1p): Likewise.
33344 [C99-based standards] (clog2): Likewise.
33345 [C99-based standards] (clgamma): Likewise.
33346 [C99-based standards] (ctgamma): Likewise.
33347 [C99-based standards] (cerff): Likewise.
33348 [C99-based standards] (cerfcf): Likewise.
33349 [C99-based standards] (cexp2f): Likewise.
33350 [C99-based standards] (cexpm1f): Likewise.
33351 [C99-based standards] (clog10f): Likewise.
33352 [C99-based standards] (clog1pf): Likewise.
33353 [C99-based standards] (clog2f): Likewise.
33354 [C99-based standards] (clgammaf): Likewise.
33355 [C99-based standards] (ctgammaf): Likewise.
33356 [C99-based standards] (cerfl): Likewise.
33357 [C99-based standards] (cerfcl): Likewise.
33358 [C99-based standards] (cexp2l): Likewise.
33359 [C99-based standards] (cexpm1l): Likewise.
33360 [C99-based standards] (clog10l): Likewise.
33361 [C99-based standards] (clog1pl): Likewise.
33362 [C99-based standards] (clog2l): Likewise.
33363 [C99-based standards] (clgammal): Likewise.
33364 [C99-based standards] (ctgammal): Likewise.
33365 * conform/data/inttypes.h-data [C99-based standards]: Include
33366 stdint.h-data. Remove all expectations for stdint.h contents.
33367 [C99-based standards] (PRI*): Do not allow.
33368 [C99-based standards] (SCN*): Likewise.
33369 [C99-based standards] (*_t): Likewise.
33370 [C99-based-standards] (PRId8): Expect macro.
33371 [C99-based-standards] (PRIi8): Likewise.
33372 [C99-based-standards] (PRIo8): Likewise.
33373 [C99-based-standards] (PRIu8): Likewise.
33374 [C99-based-standards] (PRIx8): Likewise.
33375 [C99-based-standards] (PRIX8): Likewise.
33376 [C99-based-standards] (SCNd8): Likewise.
33377 [C99-based-standards] (SCNi8): Likewise.
33378 [C99-based-standards] (SCNo8): Likewise.
33379 [C99-based-standards] (SCNu8): Likewise.
33380 [C99-based-standards] (SCNx8): Likewise.
33381 [C99-based-standards] (PRIdLEAST8): Likewise.
33382 [C99-based-standards] (PRIiLEAST8): Likewise.
33383 [C99-based-standards] (PRIoLEAST8): Likewise.
33384 [C99-based-standards] (PRIuLEAST8): Likewise.
33385 [C99-based-standards] (PRIxLEAST8): Likewise.
33386 [C99-based-standards] (PRIXLEAST8): Likewise.
33387 [C99-based-standards] (SCNdLEAST8): Likewise.
33388 [C99-based-standards] (SCNiLEAST8): Likewise.
33389 [C99-based-standards] (SCNoLEAST8): Likewise.
33390 [C99-based-standards] (SCNuLEAST8): Likewise.
33391 [C99-based-standards] (SCNxLEAST8): Likewise.
33392 [C99-based-standards] (PRIdFAST8): Likewise.
33393 [C99-based-standards] (PRIiFAST8): Likewise.
33394 [C99-based-standards] (PRIoFAST8): Likewise.
33395 [C99-based-standards] (PRIuFAST8): Likewise.
33396 [C99-based-standards] (PRIxFAST8): Likewise.
33397 [C99-based-standards] (PRIXFAST8): Likewise.
33398 [C99-based-standards] (SCNdFAST8): Likewise.
33399 [C99-based-standards] (SCNiFAST8): Likewise.
33400 [C99-based-standards] (SCNoFAST8): Likewise.
33401 [C99-based-standards] (SCNuFAST8): Likewise.
33402 [C99-based-standards] (SCNxFAST8): Likewise.
33403 [C99-based-standards] (PRId16): Likewise.
33404 [C99-based-standards] (PRIi16): Likewise.
33405 [C99-based-standards] (PRIo16): Likewise.
33406 [C99-based-standards] (PRIu16): Likewise.
33407 [C99-based-standards] (PRIx16): Likewise.
33408 [C99-based-standards] (PRIX16): Likewise.
33409 [C99-based-standards] (SCNd16): Likewise.
33410 [C99-based-standards] (SCNi16): Likewise.
33411 [C99-based-standards] (SCNo16): Likewise.
33412 [C99-based-standards] (SCNu16): Likewise.
33413 [C99-based-standards] (SCNx16): Likewise.
33414 [C99-based-standards] (PRIdLEAST16): Likewise.
33415 [C99-based-standards] (PRIiLEAST16): Likewise.
33416 [C99-based-standards] (PRIoLEAST16): Likewise.
33417 [C99-based-standards] (PRIuLEAST16): Likewise.
33418 [C99-based-standards] (PRIxLEAST16): Likewise.
33419 [C99-based-standards] (PRIXLEAST16): Likewise.
33420 [C99-based-standards] (SCNdLEAST16): Likewise.
33421 [C99-based-standards] (SCNiLEAST16): Likewise.
33422 [C99-based-standards] (SCNoLEAST16): Likewise.
33423 [C99-based-standards] (SCNuLEAST16): Likewise.
33424 [C99-based-standards] (SCNxLEAST16): Likewise.
33425 [C99-based-standards] (PRIdFAST16): Likewise.
33426 [C99-based-standards] (PRIiFAST16): Likewise.
33427 [C99-based-standards] (PRIoFAST16): Likewise.
33428 [C99-based-standards] (PRIuFAST16): Likewise.
33429 [C99-based-standards] (PRIxFAST16): Likewise.
33430 [C99-based-standards] (PRIXFAST16): Likewise.
33431 [C99-based-standards] (SCNdFAST16): Likewise.
33432 [C99-based-standards] (SCNiFAST16): Likewise.
33433 [C99-based-standards] (SCNoFAST16): Likewise.
33434 [C99-based-standards] (SCNuFAST16): Likewise.
33435 [C99-based-standards] (SCNxFAST16): Likewise.
33436 [C99-based-standards] (PRId32): Likewise.
33437 [C99-based-standards] (PRIi32): Likewise.
33438 [C99-based-standards] (PRIo32): Likewise.
33439 [C99-based-standards] (PRIu32): Likewise.
33440 [C99-based-standards] (PRIx32): Likewise.
33441 [C99-based-standards] (PRIX32): Likewise.
33442 [C99-based-standards] (SCNd32): Likewise.
33443 [C99-based-standards] (SCNi32): Likewise.
33444 [C99-based-standards] (SCNo32): Likewise.
33445 [C99-based-standards] (SCNu32): Likewise.
33446 [C99-based-standards] (SCNx32): Likewise.
33447 [C99-based-standards] (PRIdLEAST32): Likewise.
33448 [C99-based-standards] (PRIiLEAST32): Likewise.
33449 [C99-based-standards] (PRIoLEAST32): Likewise.
33450 [C99-based-standards] (PRIuLEAST32): Likewise.
33451 [C99-based-standards] (PRIxLEAST32): Likewise.
33452 [C99-based-standards] (PRIXLEAST32): Likewise.
33453 [C99-based-standards] (SCNdLEAST32): Likewise.
33454 [C99-based-standards] (SCNiLEAST32): Likewise.
33455 [C99-based-standards] (SCNoLEAST32): Likewise.
33456 [C99-based-standards] (SCNuLEAST32): Likewise.
33457 [C99-based-standards] (SCNxLEAST32): Likewise.
33458 [C99-based-standards] (PRIdFAST32): Likewise.
33459 [C99-based-standards] (PRIiFAST32): Likewise.
33460 [C99-based-standards] (PRIoFAST32): Likewise.
33461 [C99-based-standards] (PRIuFAST32): Likewise.
33462 [C99-based-standards] (PRIxFAST32): Likewise.
33463 [C99-based-standards] (PRIXFAST32): Likewise.
33464 [C99-based-standards] (SCNdFAST32): Likewise.
33465 [C99-based-standards] (SCNiFAST32): Likewise.
33466 [C99-based-standards] (SCNoFAST32): Likewise.
33467 [C99-based-standards] (SCNuFAST32): Likewise.
33468 [C99-based-standards] (SCNxFAST32): Likewise.
33469 [C99-based-standards] (PRId64): Likewise.
33470 [C99-based-standards] (PRIi64): Likewise.
33471 [C99-based-standards] (PRIo64): Likewise.
33472 [C99-based-standards] (PRIu64): Likewise.
33473 [C99-based-standards] (PRIx64): Likewise.
33474 [C99-based-standards] (PRIX64): Likewise.
33475 [C99-based-standards] (SCNd64): Likewise.
33476 [C99-based-standards] (SCNi64): Likewise.
33477 [C99-based-standards] (SCNo64): Likewise.
33478 [C99-based-standards] (SCNu64): Likewise.
33479 [C99-based-standards] (SCNx64): Likewise.
33480 [C99-based-standards] (PRIdLEAST64): Likewise.
33481 [C99-based-standards] (PRIiLEAST64): Likewise.
33482 [C99-based-standards] (PRIoLEAST64): Likewise.
33483 [C99-based-standards] (PRIuLEAST64): Likewise.
33484 [C99-based-standards] (PRIxLEAST64): Likewise.
33485 [C99-based-standards] (PRIXLEAST64): Likewise.
33486 [C99-based-standards] (SCNdLEAST64): Likewise.
33487 [C99-based-standards] (SCNiLEAST64): Likewise.
33488 [C99-based-standards] (SCNoLEAST64): Likewise.
33489 [C99-based-standards] (SCNuLEAST64): Likewise.
33490 [C99-based-standards] (SCNxLEAST64): Likewise.
33491 [C99-based-standards] (PRIdFAST64): Likewise.
33492 [C99-based-standards] (PRIiFAST64): Likewise.
33493 [C99-based-standards] (PRIoFAST64): Likewise.
33494 [C99-based-standards] (PRIuFAST64): Likewise.
33495 [C99-based-standards] (PRIxFAST64): Likewise.
33496 [C99-based-standards] (PRIXFAST64): Likewise.
33497 [C99-based-standards] (SCNdFAST64): Likewise.
33498 [C99-based-standards] (SCNiFAST64): Likewise.
33499 [C99-based-standards] (SCNoFAST64): Likewise.
33500 [C99-based-standards] (SCNuFAST64): Likewise.
33501 [C99-based-standards] (SCNxFAST64): Likewise.
33502 [C99-based-standards] (PRIdMAX): Likewise.
33503 [C99-based-standards] (PRIiMAX): Likewise.
33504 [C99-based-standards] (PRIoMAX): Likewise.
33505 [C99-based-standards] (PRIuMAX): Likewise.
33506 [C99-based-standards] (PRIxMAX): Likewise.
33507 [C99-based-standards] (PRIXMAX): Likewise.
33508 [C99-based-standards] (SCNdMAX): Likewise.
33509 [C99-based-standards] (SCNiMAX): Likewise.
33510 [C99-based-standards] (SCNoMAX): Likewise.
33511 [C99-based-standards] (SCNuMAX): Likewise.
33512 [C99-based-standards] (SCNxMAX): Likewise.
33513 [C99-based-standards] (PRIdPTR): Likewise.
33514 [C99-based-standards] (PRIiPTR): Likewise.
33515 [C99-based-standards] (PRIoPTR): Likewise.
33516 [C99-based-standards] (PRIuPTR): Likewise.
33517 [C99-based-standards] (PRIxPTR): Likewise.
33518 [C99-based-standards] (PRIXPTR): Likewise.
33519 [C99-based-standards] (SCNdPTR): Likewise.
33520 [C99-based-standards] (SCNiPTR): Likewise.
33521 [C99-based-standards] (SCNoPTR): Likewise.
33522 [C99-based-standards] (SCNuPTR): Likewise.
33523 [C99-based-standards] (SCNxPTR): Likewise.
33524 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
33526 * conform/data/stdint.h-data: Update comments to clarify
33528 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
33530 [C99-based standards] (INT8_MAX): Likewise.
33531 [C99-based standards] (INT16_MIN): Likewise.
33532 [C99-based standards] (INT16_MAX): Likewise.
33533 [C99-based standards] (INT32_MIN): Likewise.
33534 [C99-based standards] (INT32_MAX): Likewise.
33535 [C99-based standards] (INT64_MIN): Likewise.
33536 [C99-based standards] (INT64_MAX): Likewise.
33537 [C99-based standards] (UINT8_MAX): Likewise.
33538 [C99-based standards] (UINT16_MAX): Likewise.
33539 [C99-based standards] (UINT32_MAX): Likewise.
33540 [C99-based standards] (UINT64_MAX): Likewise.
33541 [C99-based standards] (INT_LEAST8_MIN): Likewise.
33542 [C99-based standards] (INT_LEAST8_MAX): Likewise.
33543 [C99-based standards] (INT_LEAST16_MIN): Likewise.
33544 [C99-based standards] (INT_LEAST16_MAX): Likewise.
33545 [C99-based standards] (INT_LEAST32_MIN): Likewise.
33546 [C99-based standards] (INT_LEAST32_MAX): Likewise.
33547 [C99-based standards] (INT_LEAST64_MIN): Likewise.
33548 [C99-based standards] (INT_LEAST64_MAX): Likewise.
33549 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
33550 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
33551 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
33552 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
33553 [C99-based standards] (INT_FAST8_MIN): Likewise.
33554 [C99-based standards] (INT_FAST8_MAX): Likewise.
33555 [C99-based standards] (INT_FAST16_MIN): Likewise.
33556 [C99-based standards] (INT_FAST16_MAX): Likewise.
33557 [C99-based standards] (INT_FAST32_MIN): Likewise.
33558 [C99-based standards] (INT_FAST32_MAX): Likewise.
33559 [C99-based standards] (INT_FAST64_MIN): Likewise.
33560 [C99-based standards] (INT_FAST64_MAX): Likewise.
33561 [C99-based standards] (UINT_FAST8_MAX): Likewise.
33562 [C99-based standards] (UINT_FAST16_MAX): Likewise.
33563 [C99-based standards] (UINT_FAST32_MAX): Likewise.
33564 [C99-based standards] (UINT_FAST64_MAX): Likewise.
33565 [C99-based standards] (INTPTR_MIN): Likewise.
33566 [C99-based standards] (INTPTR_MAX): Likewise.
33567 [C99-based standards] (UINTPTR_MAX): Likewise.
33568 [C99-based standards] (INTMAX_MIN): Likewise.
33569 [C99-based standards] (INTMAX_MAX): Likewise.
33570 [C99-based standards] (UINTMAX_MAX): Likewise.
33571 [C99-based standards] (PTRDIFF_MIN): Likewise.
33572 [C99-based standards] (PTRDIFF_MAX): Likewise.
33573 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
33574 [C99-based standards] (SIZE_MAX): Likewise.
33575 [C99-based standards] (WCHAR_MAX): Likewise.
33576 [C99-based standards] (WINT_MAX): Likewise.
33577 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
33578 constraint on value.
33579 [C99-based standards] (WCHAR_MIN): Likewise.
33580 [C99-based standards] (WINT_MIN): Likewise.
33581 [C99-based standards] (*_t): Allow.
33582 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
33583 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
33584 Include math.h-data and complex.h-data. Remove all expectations
33585 of math.h and complex.h contents.
33586 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
33588 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
33589 (struct tm): Expect tag.
33590 [C99-based-standards] (wcstof): Expect function.
33591 [C99-based-standards] (wcstold): Likewise.
33592 [C99-based-standards] (wcstoll): Likewise.
33593 [C99-based-standards] (wcstoull): Likewise.
33594 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
33595 macro-int-constant. Specify type.
33596 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
33597 constraint on value.
33598 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
33600 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
33602 [ISO C standards]: Do not allow headers.
33603 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
33604 wcs[abcdefghijklmnopqrstuvwxyz]*.
33605 [ISO C standards] (*_t): Do not allow.
33606 * conform/data/wctype.h-data [C99-based standards] (iswblank):
33608 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
33609 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
33611 [ISO C standards]: Do not allow headers.
33612 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
33613 is[abcdefghijklmnopqrstuvwxyz]*.
33614 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
33615 to[abcdefghijklmnopqrstuvwxyz]*.
33616 [ISO C standards] (*_t): Do not allow.
33617 * conform/data/stdalign.h-data: New file.
33618 * conform/data/stdbool.h-data: Likewise.
33619 * conform/data/stdnoreturn.h-data: Likewise.
33621 2012-11-07 Roland McGrath <roland@hack.frob.com>
33624 * manual/filesys.texi (Directory Entries): Typo fix.
33625 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
33627 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33629 * elf/elf.h (EM_AARCH64): New macro.
33630 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
33631 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
33632 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
33633 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
33634 (R_AARCH64_TLSDESC): Likewise.
33635 (NT_ARM_TLS): Likewise.
33636 (NT_ARM_HW_BREAK): Likewise.
33637 (NT_ARM_HW_WATCH): Likewise.
33639 2012-11-07 Joseph Myers <joseph@codesourcery.com>
33642 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
33643 (__ieee754_powl): Saturate nonzero exponents with absolute value
33644 below 0x1p-79 to +/- 0x1p-79.
33645 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
33646 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
33647 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
33648 nonzero exponents with absolute value below 0x1p-32 to +/-
33650 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
33651 (__ieee754_powl): Saturate nonzero exponents with absolute value
33652 below 0x1p-79 to +/- 0x1p-79.
33653 * math/libm-test.inc (pow_test): Add more tests.
33655 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33657 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
33658 _dl_s390_cap_flags with kernel. Increase string length.
33659 (_dl_s390_platforms): Add z196 and zEC12.
33661 2012-11-07 Joseph Myers <joseph@codesourcery.com>
33663 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
33664 Change XOPEN21K to XOPEN2K.
33666 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
33668 * string/memmove.c: Use memcpy when possible.
33670 2012-11-06 Andreas Jaeger <aj@suse.de>
33672 * po/eo.po: Update from translation team.
33674 2012-11-06 Joseph Myers <joseph@codesourcery.com>
33677 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
33678 exponent and small x and y exponents, scale x or y up. Increase
33679 by 2 the exponent used in scaling up.
33680 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33681 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33682 * math/libm-test.inc (fma_test): Add more tests.
33683 (fma_test_towardzero): Likewise.
33684 (fma_test_downward): Likewise.
33685 (fma_test_upward): Likewise.
33687 2012-11-05 Joseph Myers <joseph@codesourcery.com>
33690 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
33694 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
33695 namespace for names of struct fields.
33696 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
33698 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
33699 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
33701 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
33704 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
33706 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
33708 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
33712 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
33715 2012-11-04 Joseph Myers <joseph@codesourcery.com>
33718 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
33719 definitely overflow as x * y not x * y + z.
33720 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33721 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33722 * math/libm-test.inc (fma_test): Add more tests.
33723 (fma_test_towardzero): Likewise.
33724 (fma_test_downward): Likewise.
33725 (fma_test_upward): Likewise.
33727 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
33731 * include/stub-tag.h: Remove file.
33732 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
33734 * manual/maint.texi (Porting): Don't reference it.
33735 * Makerules ($(objpfx)stubs): Likewise.
33736 * dirent/closedir.c: Don't include <stub-tag.h>.
33737 * dirent/dirfd.c: Likewise.
33738 * dirent/fdopendir.c: Likewise.
33739 * dirent/getdents.c: Likewise.
33740 * dirent/getdents64.c: Likewise.
33741 * dirent/opendir.c: Likewise.
33742 * dirent/readdir.c: Likewise.
33743 * dirent/readdir64.c: Likewise.
33744 * dirent/readdir64_r.c: Likewise.
33745 * dirent/readdir_r.c: Likewise.
33746 * dirent/rewinddir.c: Likewise.
33747 * dirent/seekdir.c: Likewise.
33748 * dirent/telldir.c: Likewise.
33749 * gmon/profil.c: Likewise.
33750 * grp/setgroups.c: Likewise.
33751 * inet/if_index.c: Likewise.
33752 * io/access.c: Likewise.
33753 * io/chdir.c: Likewise.
33754 * io/chmod.c: Likewise.
33755 * io/chown.c: Likewise.
33756 * io/close.c: Likewise.
33757 * io/dup.c: Likewise.
33758 * io/dup2.c: Likewise.
33759 * io/dup3.c: Likewise.
33760 * io/euidaccess.c: Likewise.
33761 * io/faccessat.c: Likewise.
33762 * io/fchdir.c: Likewise.
33763 * io/fchmod.c: Likewise.
33764 * io/fchmodat.c: Likewise.
33765 * io/fchown.c: Likewise.
33766 * io/fchownat.c: Likewise.
33767 * io/fcntl.c: Likewise.
33768 * io/flock.c: Likewise.
33769 * io/fstatfs.c: Likewise.
33770 * io/fstatfs64.c: Likewise.
33771 * io/fstatvfs.c: Likewise.
33772 * io/fstatvfs64.c: Likewise.
33773 * io/futimens.c: Likewise.
33774 * io/fxstat.c: Likewise.
33775 * io/fxstat64.c: Likewise.
33776 * io/fxstatat.c: Likewise.
33777 * io/fxstatat64.c: Likewise.
33778 * io/getcwd.c: Likewise.
33779 * io/isatty.c: Likewise.
33780 * io/lchmod.c: Likewise.
33781 * io/lchown.c: Likewise.
33782 * io/link.c: Likewise.
33783 * io/linkat.c: Likewise.
33784 * io/lseek.c: Likewise.
33785 * io/lseek64.c: Likewise.
33786 * io/lxstat64.c: Likewise.
33787 * io/mkdir.c: Likewise.
33788 * io/mkdirat.c: Likewise.
33789 * io/mkfifo.c: Likewise.
33790 * io/mkfifoat.c: Likewise.
33791 * io/open.c: Likewise.
33792 * io/open64.c: Likewise.
33793 * io/openat.c: Likewise.
33794 * io/openat64.c: Likewise.
33795 * io/pipe.c: Likewise.
33796 * io/pipe2.c: Likewise.
33797 * io/poll.c: Likewise.
33798 * io/posix_fadvise.c: Likewise.
33799 * io/posix_fadvise64.c: Likewise.
33800 * io/posix_fallocate.c: Likewise.
33801 * io/posix_fallocate64.c: Likewise.
33802 * io/read.c: Likewise.
33803 * io/readlink.c: Likewise.
33804 * io/readlinkat.c: Likewise.
33805 * io/rmdir.c: Likewise.
33806 * io/sendfile.c: Likewise.
33807 * io/sendfile64.c: Likewise.
33808 * io/statfs.c: Likewise.
33809 * io/statfs64.c: Likewise.
33810 * io/statvfs.c: Likewise.
33811 * io/statvfs64.c: Likewise.
33812 * io/symlink.c: Likewise.
33813 * io/symlinkat.c: Likewise.
33814 * io/ttyname.c: Likewise.
33815 * io/ttyname_r.c: Likewise.
33816 * io/umask.c: Likewise.
33817 * io/unlink.c: Likewise.
33818 * io/unlinkat.c: Likewise.
33819 * io/utime.c: Likewise.
33820 * io/utimensat.c: Likewise.
33821 * io/write.c: Likewise.
33822 * io/xmknod.c: Likewise.
33823 * io/xmknodat.c: Likewise.
33824 * io/xstat.c: Likewise.
33825 * io/xstat64.c: Likewise.
33826 * login/getpt.c: Likewise.
33827 * login/grantpt.c: Likewise.
33828 * login/unlockpt.c: Likewise.
33829 * math/e_acoshl.c: Likewise.
33830 * math/e_acosl.c: Likewise.
33831 * math/e_asinl.c: Likewise.
33832 * math/e_atan2l.c: Likewise.
33833 * math/e_atanhl.c: Likewise.
33834 * math/e_coshl.c: Likewise.
33835 * math/e_expl.c: Likewise.
33836 * math/e_fmodl.c: Likewise.
33837 * math/e_gammal_r.c: Likewise.
33838 * math/e_hypotl.c: Likewise.
33839 * math/e_j0l.c: Likewise.
33840 * math/e_j1l.c: Likewise.
33841 * math/e_jnl.c: Likewise.
33842 * math/e_lgammal_r.c: Likewise.
33843 * math/e_log10l.c: Likewise.
33844 * math/e_log2l.c: Likewise.
33845 * math/e_logl.c: Likewise.
33846 * math/e_powl.c: Likewise.
33847 * math/e_rem_pio2l.c: Likewise.
33848 * math/e_sinhl.c: Likewise.
33849 * math/e_sqrtl.c: Likewise.
33850 * math/fclrexcpt.c: Likewise.
33851 * math/fedisblxcpt.c: Likewise.
33852 * math/feenablxcpt.c: Likewise.
33853 * math/fegetenv.c: Likewise.
33854 * math/fegetexcept.c: Likewise.
33855 * math/fegetround.c: Likewise.
33856 * math/feholdexcpt.c: Likewise.
33857 * math/fesetenv.c: Likewise.
33858 * math/fesetround.c: Likewise.
33859 * math/feupdateenv.c: Likewise.
33860 * math/fgetexcptflg.c: Likewise.
33861 * math/fraiseexcpt.c: Likewise.
33862 * math/fsetexcptflg.c: Likewise.
33863 * math/ftestexcept.c: Likewise.
33864 * math/k_cosl.c: Likewise.
33865 * math/k_rem_pio2l.c: Likewise.
33866 * math/k_sinl.c: Likewise.
33867 * math/k_tanl.c: Likewise.
33868 * math/s_asinhl.c: Likewise.
33869 * math/s_atanl.c: Likewise.
33870 * math/s_cbrtl.c: Likewise.
33871 * math/s_erfl.c: Likewise.
33872 * math/s_expm1l.c: Likewise.
33873 * math/s_log1pl.c: Likewise.
33874 * math/s_tanhl.c: Likewise.
33875 * misc/acct.c: Likewise.
33876 * misc/brk.c: Likewise.
33877 * misc/chflags.c: Likewise.
33878 * misc/chroot.c: Likewise.
33879 * misc/fchflags.c: Likewise.
33880 * misc/fgetxattr.c: Likewise.
33881 * misc/flistxattr.c: Likewise.
33882 * misc/fremovexattr.c: Likewise.
33883 * misc/fsetxattr.c: Likewise.
33884 * misc/fsync.c: Likewise.
33885 * misc/ftruncate.c: Likewise.
33886 * misc/futimes.c: Likewise.
33887 * misc/futimesat.c: Likewise.
33888 * misc/getdomain.c: Likewise.
33889 * misc/getdtsz.c: Likewise.
33890 * misc/gethostid.c: Likewise.
33891 * misc/gethostname.c: Likewise.
33892 * misc/getloadavg.c: Likewise.
33893 * misc/getpagesize.c: Likewise.
33894 * misc/getsysstats.c: Likewise.
33895 * misc/getxattr.c: Likewise.
33896 * misc/gtty.c: Likewise.
33897 * misc/ioctl.c: Likewise.
33898 * misc/lgetxattr.c: Likewise.
33899 * misc/listxattr.c: Likewise.
33900 * misc/llistxattr.c: Likewise.
33901 * misc/lremovexattr.c: Likewise.
33902 * misc/lsetxattr.c: Likewise.
33903 * misc/lutimes.c: Likewise.
33904 * misc/madvise.c: Likewise.
33905 * misc/mincore.c: Likewise.
33906 * misc/mlock.c: Likewise.
33907 * misc/mlockall.c: Likewise.
33908 * misc/mmap.c: Likewise.
33909 * misc/mprotect.c: Likewise.
33910 * misc/msync.c: Likewise.
33911 * misc/munlock.c: Likewise.
33912 * misc/munlockall.c: Likewise.
33913 * misc/munmap.c: Likewise.
33914 * misc/preadv.c: Likewise.
33915 * misc/preadv64.c: Likewise.
33916 * misc/ptrace.c: Likewise.
33917 * misc/pwritev.c: Likewise.
33918 * misc/pwritev64.c: Likewise.
33919 * misc/readv.c: Likewise.
33920 * misc/reboot.c: Likewise.
33921 * misc/remap_file_pages.c: Likewise.
33922 * misc/removexattr.c: Likewise.
33923 * misc/revoke.c: Likewise.
33924 * misc/select.c: Likewise.
33925 * misc/setdomain.c: Likewise.
33926 * misc/setegid.c: Likewise.
33927 * misc/seteuid.c: Likewise.
33928 * misc/sethostid.c: Likewise.
33929 * misc/sethostname.c: Likewise.
33930 * misc/setregid.c: Likewise.
33931 * misc/setreuid.c: Likewise.
33932 * misc/setxattr.c: Likewise.
33933 * misc/sstk.c: Likewise.
33934 * misc/stty.c: Likewise.
33935 * misc/swapoff.c: Likewise.
33936 * misc/swapon.c: Likewise.
33937 * misc/sync.c: Likewise.
33938 * misc/syncfs.c: Likewise.
33939 * misc/syscall.c: Likewise.
33940 * misc/truncate.c: Likewise.
33941 * misc/ualarm.c: Likewise.
33942 * misc/usleep.c: Likewise.
33943 * misc/ustat.c: Likewise.
33944 * misc/utimes.c: Likewise.
33945 * misc/vhangup.c: Likewise.
33946 * misc/writev.c: Likewise.
33947 * posix/_exit.c: Likewise.
33948 * posix/alarm.c: Likewise.
33949 * posix/execve.c: Likewise.
33950 * posix/fexecve.c: Likewise.
33951 * posix/fork.c: Likewise.
33952 * posix/fpathconf.c: Likewise.
33953 * posix/getaddrinfo.c: Likewise.
33954 * posix/getegid.c: Likewise.
33955 * posix/geteuid.c: Likewise.
33956 * posix/getgid.c: Likewise.
33957 * posix/getgroups.c: Likewise.
33958 * posix/getlogin.c: Likewise.
33959 * posix/getlogin_r.c: Likewise.
33960 * posix/getpgid.c: Likewise.
33961 * posix/getpid.c: Likewise.
33962 * posix/getppid.c: Likewise.
33963 * posix/getresgid.c: Likewise.
33964 * posix/getresuid.c: Likewise.
33965 * posix/getsid.c: Likewise.
33966 * posix/getuid.c: Likewise.
33967 * posix/glob64.c: Likewise.
33968 * posix/nanosleep.c: Likewise.
33969 * posix/pathconf.c: Likewise.
33970 * posix/pause.c: Likewise.
33971 * posix/posix_madvise.c: Likewise.
33972 * posix/pread.c: Likewise.
33973 * posix/pread64.c: Likewise.
33974 * posix/pwrite.c: Likewise.
33975 * posix/pwrite64.c: Likewise.
33976 * posix/sched_getaffinity.c: Likewise.
33977 * posix/sched_getp.c: Likewise.
33978 * posix/sched_gets.c: Likewise.
33979 * posix/sched_primax.c: Likewise.
33980 * posix/sched_primin.c: Likewise.
33981 * posix/sched_rr_gi.c: Likewise.
33982 * posix/sched_setaffinity.c: Likewise.
33983 * posix/sched_setp.c: Likewise.
33984 * posix/sched_sets.c: Likewise.
33985 * posix/sched_yield.c: Likewise.
33986 * posix/setgid.c: Likewise.
33987 * posix/setlogin.c: Likewise.
33988 * posix/setpgid.c: Likewise.
33989 * posix/setresgid.c: Likewise.
33990 * posix/setresuid.c: Likewise.
33991 * posix/setsid.c: Likewise.
33992 * posix/setuid.c: Likewise.
33993 * posix/sleep.c: Likewise.
33994 * posix/spawni.c: Likewise.
33995 * posix/sysconf.c: Likewise.
33996 * posix/times.c: Likewise.
33997 * posix/wait.c: Likewise.
33998 * posix/wait3.c: Likewise.
33999 * posix/wait4.c: Likewise.
34000 * posix/waitpid.c: Likewise.
34001 * resolv/gai_sigqueue.c: Likewise.
34002 * resource/getpriority.c: Likewise.
34003 * resource/getrlimit.c: Likewise.
34004 * resource/getrusage.c: Likewise.
34005 * resource/nice.c: Likewise.
34006 * resource/setpriority.c: Likewise.
34007 * resource/setrlimit.c: Likewise.
34008 * resource/ulimit.c: Likewise.
34009 * rt/aio_cancel.c: Likewise.
34010 * rt/aio_fsync.c: Likewise.
34011 * rt/aio_read.c: Likewise.
34012 * rt/aio_sigqueue.c: Likewise.
34013 * rt/aio_suspend.c: Likewise.
34014 * rt/aio_write.c: Likewise.
34015 * rt/clock_getres.c: Likewise.
34016 * rt/clock_gettime.c: Likewise.
34017 * rt/clock_nanosleep.c: Likewise.
34018 * rt/clock_settime.c: Likewise.
34019 * rt/lio_listio.c: Likewise.
34020 * rt/mq_close.c: Likewise.
34021 * rt/mq_getattr.c: Likewise.
34022 * rt/mq_notify.c: Likewise.
34023 * rt/mq_open.c: Likewise.
34024 * rt/mq_receive.c: Likewise.
34025 * rt/mq_send.c: Likewise.
34026 * rt/mq_setattr.c: Likewise.
34027 * rt/mq_timedreceive.c: Likewise.
34028 * rt/mq_timedsend.c: Likewise.
34029 * rt/mq_unlink.c: Likewise.
34030 * rt/shm_open.c: Likewise.
34031 * rt/shm_unlink.c: Likewise.
34032 * rt/timer_create.c: Likewise.
34033 * rt/timer_delete.c: Likewise.
34034 * rt/timer_getoverr.c: Likewise.
34035 * rt/timer_gettime.c: Likewise.
34036 * rt/timer_settime.c: Likewise.
34037 * setjmp/__longjmp.c: Likewise.
34038 * setjmp/setjmp.c: Likewise.
34039 * signal/kill.c: Likewise.
34040 * signal/killpg.c: Likewise.
34041 * signal/raise.c: Likewise.
34042 * signal/sigaction.c: Likewise.
34043 * signal/sigaltstack.c: Likewise.
34044 * signal/sigblock.c: Likewise.
34045 * signal/sigignore.c: Likewise.
34046 * signal/sigintr.c: Likewise.
34047 * signal/signal.c: Likewise.
34048 * signal/sigpause.c: Likewise.
34049 * signal/sigpending.c: Likewise.
34050 * signal/sigqueue.c: Likewise.
34051 * signal/sigreturn.c: Likewise.
34052 * signal/sigset.c: Likewise.
34053 * signal/sigsetmask.c: Likewise.
34054 * signal/sigstack.c: Likewise.
34055 * signal/sigsuspend.c: Likewise.
34056 * signal/sigtimedwait.c: Likewise.
34057 * signal/sigvec.c: Likewise.
34058 * signal/sigwait.c: Likewise.
34059 * signal/sigwaitinfo.c: Likewise.
34060 * signal/sysv_signal.c: Likewise.
34061 * socket/accept.c: Likewise.
34062 * socket/accept4.c: Likewise.
34063 * socket/bind.c: Likewise.
34064 * socket/connect.c: Likewise.
34065 * socket/getpeername.c: Likewise.
34066 * socket/getsockname.c: Likewise.
34067 * socket/getsockopt.c: Likewise.
34068 * socket/isfdtype.c: Likewise.
34069 * socket/listen.c: Likewise.
34070 * socket/recv.c: Likewise.
34071 * socket/recvfrom.c: Likewise.
34072 * socket/recvmsg.c: Likewise.
34073 * socket/send.c: Likewise.
34074 * socket/sendmsg.c: Likewise.
34075 * socket/sendto.c: Likewise.
34076 * socket/setsockopt.c: Likewise.
34077 * socket/shutdown.c: Likewise.
34078 * socket/sockatmark.c: Likewise.
34079 * socket/socket.c: Likewise.
34080 * socket/socketpair.c: Likewise.
34081 * stdio-common/ctermid.c: Likewise.
34082 * stdio-common/cuserid.c: Likewise.
34083 * stdio-common/remove.c: Likewise.
34084 * stdio-common/rename.c: Likewise.
34085 * stdio-common/renameat.c: Likewise.
34086 * stdio-common/tempname.c: Likewise.
34087 * stdlib/getcontext.c: Likewise.
34088 * stdlib/makecontext.c: Likewise.
34089 * stdlib/setcontext.c: Likewise.
34090 * stdlib/swapcontext.c: Likewise.
34091 * stdlib/system.c: Likewise.
34092 * streams/fattach.c: Likewise.
34093 * streams/fdetach.c: Likewise.
34094 * streams/getmsg.c: Likewise.
34095 * streams/getpmsg.c: Likewise.
34096 * streams/putmsg.c: Likewise.
34097 * streams/putpmsg.c: Likewise.
34098 * sysdeps/unix/bsd/getpt.c: Likewise.
34099 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
34100 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
34101 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
34102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
34104 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
34105 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
34106 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
34107 * sysvipc/msgctl.c: Likewise.
34108 * sysvipc/msgget.c: Likewise.
34109 * sysvipc/msgrcv.c: Likewise.
34110 * sysvipc/msgsnd.c: Likewise.
34111 * sysvipc/semctl.c: Likewise.
34112 * sysvipc/semget.c: Likewise.
34113 * sysvipc/semop.c: Likewise.
34114 * sysvipc/semtimedop.c: Likewise.
34115 * sysvipc/shmat.c: Likewise.
34116 * sysvipc/shmctl.c: Likewise.
34117 * sysvipc/shmdt.c: Likewise.
34118 * sysvipc/shmget.c: Likewise.
34119 * termios/tcdrain.c: Likewise.
34120 * termios/tcflow.c: Likewise.
34121 * termios/tcflush.c: Likewise.
34122 * termios/tcgetattr.c: Likewise.
34123 * termios/tcgetpgrp.c: Likewise.
34124 * termios/tcsendbrk.c: Likewise.
34125 * termios/tcsetattr.c: Likewise.
34126 * termios/tcsetpgrp.c: Likewise.
34127 * time/adjtime.c: Likewise.
34128 * time/clock.c: Likewise.
34129 * time/getitimer.c: Likewise.
34130 * time/gettimeofday.c: Likewise.
34131 * time/setitimer.c: Likewise.
34132 * time/settimeofday.c: Likewise.
34133 * time/stime.c: Likewise.
34134 * time/time.c: Likewise.
34136 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
34138 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
34141 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
34143 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
34145 2012-11-03 Joseph Myers <joseph@codesourcery.com>
34148 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
34149 FE_TONEAREST before applying Dekker multiplication and Knuth
34150 addition. Clear inexact exceptions and check for exact zero
34151 results afterwards.
34152 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34153 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34154 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34155 * math/libm-test.inc (fma_test): Add more tests.
34156 (fma_test_towardzero): Likewise.
34157 (fma_test_downward): Likewise.
34158 (fma_test_upward): Likewise.
34159 * sysdeps/generic/math_private.h (default_libc_fesetround): New
34161 (libc_fesetround): New macro.
34162 (libc_fesetroundf): Likewise.
34163 (libc_fesetroundl): Likewise.
34164 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
34166 (libc_fesetround_387): Likewise.
34167 (libc_fesetroundf): New macro.
34168 (libc_fesetround): Likewise.
34169 (libc_fesetroundl): Likewise.
34170 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
34172 (libc_fesetroundf): New macro.
34173 (libc_fesetround): Likewise.
34174 (libc_fesetroundl): Likewise.
34175 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
34176 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
34177 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
34179 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
34180 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
34182 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
34183 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
34185 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
34189 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
34190 integer constant usable in #if and use that to give value to enum
34192 (FE_DIVBYZERO): Likewise.
34193 (FE_UNDERFLOW): Likewise.
34194 (FE_OVERFLOW): Likewise.
34195 (FE_INVALID): Likewise.
34196 (FE_INVALID_SNAN): Likewise.
34197 (FE_INVALID_ISI): Likewise.
34198 (FE_INVALID_IDI): Likewise.
34199 (FE_INVALID_ZDZ): Likewise.
34200 (FE_INVALID_IMZ): Likewise.
34201 (FE_INVALID_COMPARE): Likewise.
34202 (FE_INVALID_SOFTWARE): Likewise.
34203 (FE_INVALID_SQRT): Likewise.
34204 (FE_INVALID_INTEGER_CONVERSION): Likewise.
34205 (FE_TONEAREST): Likewise.
34206 (FE_TOWARDZERO): Likewise.
34207 (FE_UPWARD): Likewise.
34208 (FE_DOWNWARD): Likewise.
34209 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
34210 (FE_DIVBYZERO): Likewise.
34211 (FE_OVERFLOW): Likewise.
34212 (FE_UNDERFLOW): Likewise.
34213 (FE_INEXACT): Likewise.
34214 (FE_TONEAREST): Likewise.
34215 (FE_DOWNWARD): Likewise.
34216 (FE_UPWARD): Likewise.
34217 (FE_TOWARDZERO): Likewise.
34218 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
34219 (FE_UNDERFLOW): Likewise.
34220 (FE_OVERFLOW): Likewise.
34221 (FE_DIVBYZERO): Likewise.
34222 (FE_INVALID): Likewise.
34223 (FE_TONEAREST): Likewise.
34224 (FE_TOWARDZERO): Likewise.
34225 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
34226 (FE_OVERFLOW): Likewise.
34227 (FE_UNDERFLOW): Likewise.
34228 (FE_DIVBYZERO): Likewise.
34229 (FE_INEXACT): Likewise.
34230 (FE_TONEAREST): Likewise.
34231 (FE_TOWARDZERO): Likewise.
34232 (FE_UPWARD): Likewise.
34233 (FE_DOWNWARD): Likewise.
34234 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
34235 (FE_DIVBYZERO): Likewise.
34236 (FE_OVERFLOW): Likewise.
34237 (FE_UNDERFLOW): Likewise.
34238 (FE_INEXACT): Likewise.
34239 (FE_TONEAREST): Likewise.
34240 (FE_DOWNWARD): Likewise.
34241 (FE_UPWARD): Likewise.
34242 (FE_TOWARDZERO): Likewise.
34244 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
34246 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
34248 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
34250 * scripts/cross-test-ssh.sh (command): Use newlines to separate
34251 commands. Quote $PWD.
34252 (blacklist_exports): Don't use remove_newlines. Replace "declare
34254 (remove_newlines): Remove.
34256 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
34258 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
34259 * stdlib/stdlib.h (atof): Moved to ...
34260 * include/bits/stdlib-float.h: Here. New file.
34261 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
34262 * stdlib/bits/stdlib-float.h: New file.
34263 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
34265 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
34268 2012-11-02 Joseph Myers <joseph@codesourcery.com>
34270 * conform/conformtest.pl (@headers): Add fenv.h.
34271 * conform/data/fenv.h-data: New file.
34272 * include/fenv.h [_ISOMAC]: Disable all contents of file except
34273 include of <math/fenv.h>.
34275 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
34276 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
34277 && !UNIX98]. Enables tests for XOPEN2K8.
34278 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
34279 POSIX2008]: Likewise.
34281 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
34282 (struct rusage): Do not expect type or its members.
34285 * math/math.h (FP_NAN): Define macro to integer constant usable in
34286 #if and use that to give value to enum constant.
34287 (FP_INFINITE): Likewise.
34288 (FP_ZERO): Likewise.
34289 (FP_SUBNORMAL): Likewise.
34290 (FP_NORMAL): Likewise.
34292 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
34294 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
34295 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
34298 2012-11-02 Roland McGrath <roland@hack.frob.com>
34300 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
34301 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
34302 autoconf-time if not.
34303 * configure.in: Remove AC_PREREQ.
34305 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34307 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
34308 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
34309 of the internal implementation.
34311 2012-11-02 Joseph Myers <joseph@codesourcery.com>
34313 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
34314 except include of <misc/sys/syslog.h>.
34316 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
34318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
34319 function returns with a NULL context exit with zero.
34321 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34323 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
34325 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
34327 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
34328 (run_program_cmd): This.
34329 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
34330 (tst_langinfo): New variable. Use it.
34332 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
34334 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
34335 floating point opcodes.
34337 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
34339 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
34342 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
34344 * sysdeps/mach/hurd/powerpc: Remove directory.
34345 * sysdeps/mach/powerpc: Likewise.
34347 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
34349 * scripts/check-local-headers.sh: Ignore c++ headers.
34351 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
34353 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
34354 __libc_cleanup_region_start argument.
34356 2012-11-01 Joseph Myers <joseph@codesourcery.com>
34360 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
34361 x * y using scaling, not as x * y + z.
34362 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34363 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34364 * math/libm-test.inc (fma_test): Add more tests.
34365 (fma_test_towardzero): Likewise.
34366 (fma_test_downward): Likewise.
34367 (fma_test_upward): Likewise.
34369 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
34371 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
34373 2012-10-31 Joseph Myers <joseph@codesourcery.com>
34375 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
34378 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
34380 * rt/tst-shm.c (worker): Correct checking for mmap failure.
34382 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
34384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34389 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34392 Fix the order of the list for glibc 2.17.
34393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34396 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
34398 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34400 2012-10-31 Joseph Myers <joseph@codesourcery.com>
34403 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
34404 for low part of x being zero before using __atanl (y).
34405 * math/libm-test.inc (atan2_test): Add another test.
34407 * manual/install.texi (Configuring and compiling): Document
34408 general use of test-wrapper and test-wrapper-env.
34409 * INSTALL: Regenerated.
34411 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
34412 (__fma): Do not extract and scale down low bits on after-rounding
34413 systems when result rounded to normal precision would have normal
34415 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
34416 (__fmal): Do not extract and scale down low bits on after-rounding
34417 systems when result rounded to normal precision would have normal
34419 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
34420 (__fmal): Do not extract and scale down low bits on after-rounding
34421 systems when result rounded to normal precision would have normal
34423 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
34425 (fma_test): Add more tests.
34426 (fma_test_towardzero): Likewise.
34427 (fma_test_downward): Likewise.
34428 (fma_test_upward): Likewise.
34430 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
34432 * sysdeps/i386/tininess.h: Renamed to ...
34433 * sysdeps/x86/tininess.h: This.
34434 * sysdeps/x86_64/tininess.h: Removed.
34436 2012-10-30 Joseph Myers <joseph@codesourcery.com>
34438 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
34439 input. Use $(build-program-cmd).
34440 ($(objpfx)tst-array1-static.out): Likewise.
34441 ($(objpfx)tst-array2.out): Likewise.
34442 ($(objpfx)tst-array3.out): Likewise.
34443 ($(objpfx)tst-array4.out): Likewise.
34444 ($(objpfx)tst-array5.out): Likewise.
34445 ($(objpfx)tst-array5-static.out): Likewise.
34447 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
34449 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
34452 * nss/nsswitch.h (nss_interface_function): Provide new
34453 macro for use with NSS functions.
34454 * grp/initgroups.c: Use new macro.
34455 * nss/getXXbyYY.c: Likewise.
34456 * nss/getXXbyYY_r.c: Likewise.
34457 * nss/getXXent.c: Likewise.
34458 * nss/getXXent_r.c: Likewise.
34459 * sysdeps/posix/getaddrinfo.c: Likewise.
34461 2012-10-30 Andreas Jaeger <aj@suse.de>
34463 * po/ru.po: Update Russion translation from translation project.
34465 2012-10-30 Joseph Myers <joseph@codesourcery.com>
34469 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
34470 result and shift together with sticky bit instead of replicating
34471 round-to-nearest rounding.
34472 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34473 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34474 * math/libm-test.inc (fma_test): Add more tests. Do not permit
34475 missing underflow exceptions.
34476 (fma_test_towardzero): Add more tests.
34477 (fma_test_downward): Likewise.
34478 (fma_test_upward): Likewise.
34481 * sysdeps/generic/tininess.h: New file.
34482 * sysdeps/i386/tininess.h: Likewise.
34483 * sysdeps/sh/tininess.h: Likewise.
34484 * sysdeps/x86_64/tininess.h: Likewise.
34485 * stdlib/tst-strtod-underflow.c: Likewise.
34486 * stdlib/tst-tininess.c: Likewise.
34487 * stdlib/strtod_l.c: Include <tininess.h>.
34488 (round_and_return): Do not set errno for exact underflow cases.
34489 Force an underflow exception when setting errno for underflow.
34490 Determine underflow based on rounding to normal precision if
34491 TININESS_AFTER_ROUNDING.
34492 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
34493 ERANGE for exact underflow cases.
34494 * stdlib/Makefile (tests): Add tst-tininess and
34495 tst-strtod-underflow.
34496 ($(objpfx)tst-tininess): Use $(link-libm).
34497 ($(objpfx)tst-strtod-underflow): Likewise.
34499 2012-10-30 Andreas Jaeger <aj@suse.de>
34502 * elf/Makefile (tests): Remove conditional for have-initfini-array
34503 since this is now always required and the variable does not exist
34505 (tests-static): Likewise.
34506 (modules-names): Likewise.
34508 * po/eo.po: Add Esperanto translation from translation project.
34510 * elf/tst-array1.c (fini_array): Make writeable so that it can be
34511 merged with constructor/destructor.
34512 (init_array): Likewise.
34513 * elf/tst-array2dep.c (fini_array): Likewise.
34514 (init_array): Likewise.
34516 2012-10-29 Mike Frysinger <vapier@gentoo.org>
34518 * manual/message.texi: Delete @cartouche tags.
34520 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
34522 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
34524 * sysdeps/mach/hurd/fsync.c: Likewise.
34526 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
34527 [_POSIX_REALTIME_SIGNALS]: Change condition to
34528 [_POSIX_REALTIME_SIGNALS > 0].
34530 2012-10-27 Andreas Jaeger <aj@suse.de>
34532 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
34533 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
34534 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
34535 [__WORDSIZE != 64]: Likewise.
34537 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
34539 * iconvdata/tst-table.sh: Remove ${SHELL}.
34540 * iconvdata/tst-tables.sh: Likewise.
34542 2012-10-25 David S. Miller <davem@davemloft.net>
34544 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34545 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
34548 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
34550 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34551 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
34552 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
34555 2012-10-25 Roland McGrath <roland@hack.frob.com>
34557 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34558 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
34561 2012-10-25 Joseph Myers <joseph@codesourcery.com>
34562 Jim Blandy <jimb@codesourcery.com>
34564 * scripts/cross-test-ssh.sh: New file.
34565 * manual/install.texi (Configuring and compiling): Document use of
34567 * INSTALL: Regenerated.
34569 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
34571 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
34574 2012-10-25 Joseph Myers <joseph@codesourcery.com>
34576 * Makeconfig (run-program-prefix): Fix comment.
34578 2012-10-24 Joseph Myers <joseph@codesourcery.com>
34579 Jim Blandy <jimb@codesourcery.com>
34581 * Makeconfig (test-wrapper): New variable,
34582 (test-wrapper-env): Likewise.
34583 [$(cross-compiling) = yes && $(test-wrapper) != ""]
34584 (run-built-tests): Define to yes.
34585 (run-program-prefix): Use $(test-wrapper).
34586 (built-program-cmd): Likewise.
34587 * Rules (make-test-out): Use $(test-wrapper-env) and
34588 $(host-built-program-cmd).
34589 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
34590 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
34592 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
34593 $(test-wrapper-env) to tst-rtld-load-self.sh.
34594 ($(objpfx)order2.out): Use $(test-wrapper).
34595 ($(objpfx)tst-initorder.out): Likewise.
34596 ($(objpfx)tst-initorder2.out): Likewise.
34597 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
34598 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
34599 (test_wrapper_env): New variable. Use it to run ld.so.
34600 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
34601 Use it to run ld.so.
34602 (test_wrapper_env): Likewise.
34603 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
34604 $(test-wrapper) to run-iconv-test.sh.
34605 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
34606 (ICONV): Use $test_wrapper.
34607 * posix/Makefile ($(objpfx)globtest.out): Pass
34608 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
34609 globtest.sh, not $(run-program-prefix).
34610 * posix/globtest.sh (run_via_rtld_prefix): New variable.
34611 (test_wrapper): Likewise.
34612 (test_wrapper_env): Likewise. Use it to run globtest with HOME
34613 set together with run_via_rtld_prefix.
34614 (run_program_prefix): Define in terms of test_wrapper and
34615 run_via_rtld_prefix.
34617 2012-10-24 Roland McGrath <roland@hack.frob.com>
34619 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
34620 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
34624 * include/time.h: Remove librt_hidden_proto (clock_gettime).
34625 Declare __clock_getres, __clock_gettime, __clock_settime,
34626 __clock_nanosleep, and __clock_getcpuclockid.
34627 * rt/clock_gettime.c: Define __clock_gettime as an alias.
34628 Remove librt_hidden_def (clock_gettime).
34629 * sysdeps/unix/clock_gettime.c: Likewise.
34630 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
34631 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
34632 * rt/clock_getres.c: Define __clock_getres as an alias.
34633 * sysdeps/posix/clock_getres.c: Likewise.
34634 * rt/clock_settime.c: Define __clock_settime as an alias.
34635 * sysdeps/unix/clock_settime.c: Likewise.
34636 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
34637 * sysdeps/unix/clock_nanosleep.c: Likewise.
34638 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
34639 * rt/clock-compat.c: New file.
34640 * rt/Makefile (librt-routines): Add clock-compat and move
34641 $(clock-routines) to ...
34642 (routines): ... here, new variable.
34643 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
34644 Don't add get_clockfreq here.
34645 * rt/Versions (libc: GLIBC_2.17): New version set.
34646 Add clock_* symbols here.
34647 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
34648 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
34649 (GLIBC_2.17): Add clock_* symbols.
34650 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
34651 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
34652 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34657 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34658 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
34659 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
34660 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
34661 * NEWS: Mention the move.
34663 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
34664 Use __open, __read, __close rather than their public counterparts.
34665 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34666 (__get_clockfreq_via_cpuinfo): Likewise.
34667 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
34668 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
34670 * config.h.in (HAVE_IFUNC): New #undef.
34671 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
34673 * configure: Regenerated.
34675 2012-10-24 Mike Frysinger <vapier@gentoo.org>
34677 * configure.in: Move READELF check to start of file.
34678 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
34679 libc_cv_asm_gnu_indirect_function in the process.
34680 * configure: Regenerated.
34682 2012-10-24 Mike Frysinger <vapier@gentoo.org>
34684 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
34685 send the output to /dev/null.
34686 (libc_cv_cc_with_libunwind): Likewise.
34687 (libc_cv_as_noexecstack): Likewise.
34688 * configure: Regenerate.
34690 2012-10-24 Joseph Myers <joseph@codesourcery.com>
34692 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
34694 * posix/globtest.sh (TMPDIR): Do not set.
34695 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
34696 (testout): Likewise.
34698 2012-10-24 Andreas Jaeger <aj@suse.de>
34700 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
34701 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
34702 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
34703 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
34704 posix_fadvise64, posix_fallocate64.
34706 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
34707 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
34708 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
34710 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
34712 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
34714 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
34715 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
34716 <bits/fcntl-linux.h>.
34717 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
34719 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
34720 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
34721 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
34722 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
34723 [__WORDSIZE != 64]: Likewise.
34725 2012-10-23 Joseph Myers <joseph@codesourcery.com>
34727 * Makeconfig (run-built-tests): New variable.
34728 * Rules [$(cross-compiling) = yes]: Change condition to
34729 [$(run-built-tests) = no].
34730 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
34731 to [$(run-built-tests) = yes].
34732 * elf/Makefile [$(cross-compiling) = no]: Likewise
34733 * grp/Makefile [$(cross-compiling) = no]: Likewise.
34734 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
34735 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
34736 * intl/Makefile [$(cross-compiling) = no]: Likewise.
34737 * io/Makefile [$(cross-compiling) = no]: Likewise.
34738 * libio/Makefile [$(cross-compiling) = no]: Likewise.
34739 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
34740 * misc/Makefile [$(cross-compiling) = no]: Likewise.
34741 * posix/Makefile [$(cross-compiling) = no]: Likewise.
34742 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
34743 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
34744 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
34745 * string/Makefile [$(cross-compiling) = no]: Likewise.
34747 * posix/Makefile ($(objpfx)globtest.out): Pass
34748 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
34749 $(rtld-installed-name).
34750 * posix/globtest.sh (elf_objpfx): Remove variable.
34751 (rtld_installed_name): Likewise.
34752 (library_path): Likewise.
34753 (run_program_prefix): New variable. Use for running globtest
34756 2012-10-23 Jim Blandy <jimb@codesourcery.com>
34757 Joseph Myers <joseph@codesourcery.com>
34759 * Makeconfig (host-built-program-cmd): New variable.
34760 * elf/Makefile (tst-stackguard1-ARGS): Use
34761 $(host-built-program-cmd).
34762 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
34763 (tst-spawn-ARGS): Likewise.
34764 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
34766 2012-10-23 Joseph Myers <joseph@codesourcery.com>
34767 Jim Blandy <jimb@codesourcery.com>
34769 * Makeconfig (run-via-rtld-prefix): New variable.
34770 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
34771 (built-program-cmd): Likewise.
34773 2012-10-22 Andreas Jaeger <aj@suse.de>
34775 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
34776 __O_RSYNC if it exists, otherwise to O_SYNC.
34778 2012-10-22 Jim Blandy <jimb@codesourcery.com>
34779 Joseph Myers <joseph@codesourcery.com>
34781 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
34783 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
34785 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
34788 2012-10-22 Andreas Jaeger <aj@suse.de>
34790 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
34792 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
34794 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34795 bits/fcntl-linux.h.
34797 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
34798 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
34800 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
34802 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
34805 2012-10-21 Jim Blandy <jimb@codesourcery.com>
34806 Joseph Myers <joseph@codesourcery.com>
34808 * config.make.in (NM): New variable.
34810 2012-10-21 Andreas Jaeger <aj@suse.de>
34812 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
34813 definitions and declarations that are provided by
34814 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
34816 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
34819 * elf/Makefile (tests-static): Add tst-leaks1-static.
34820 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
34821 ($(objpfx)tst-leaks1-static): New rule.
34822 ($(objpfx)tst-leaks1-static-mem): Likewise.
34823 (tst-leaks1-static-ENV): New macro.
34824 * elf/dl-open.c (dl_open_worker): Check the main application
34825 only if SHARED is defined.
34826 * elf/tst-leaks1-static.c: New file.
34828 2012-10-20 Andreas Jaeger <aj@suse.de>
34830 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
34831 generic values for Linux.
34832 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
34833 and declarations that are provided by <bits/fcntl-linux.h> and
34834 include <bits/fcntl-linux.h>.
34835 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34836 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34838 2012-10-20 Roland McGrath <roland@hack.frob.com>
34840 * io/fcntl.h: Move include of <bits/types.h> to the top and
34841 include it unconditionally.
34843 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
34845 * wcsmbs/Makefile (tests-ifunc): New variable.
34846 (tests): Add $(tests-ifunc).
34847 * wcsmbs/test-wcschr-ifunc.c: New file.
34848 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
34849 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
34850 * wcsmbs/test-wcslen-ifunc.c: Likewise.
34851 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
34852 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
34854 * string/Makefile (tests-ifunc): New variable.
34855 (tests): Add $(tests-ifunc).
34856 * string/test-memccpy.c (TEST_NAME): New macro.
34857 * string/test-memchr.c (TEST_NAME): Likewise.
34858 * string/test-memcmp.c (TEST_NAME): Likewise.
34859 * string/test-memcpy.c (TEST_NAME): Likewise.
34860 * string/test-memmem.c (TEST_NAME): Likewise.
34861 * string/test-memmove.c (TEST_NAME): Likewise.
34862 * string/test-memset.c (TEST_NAME): Likewise.
34863 * string/test-rawmemchr.c (TEST_NAME): Likewise.
34864 * string/test-stpcpy.c (TEST_NAME): Likewise.
34865 * string/test-stpncpy.c (TEST_NAME): Likewise.
34866 * string/test-strcasecmp.c (TEST_NAME): Likewise.
34867 * string/test-strcasestr.c (TEST_NAME): Likewise.
34868 * string/test-strcat.c (TEST_NAME): Likewise.
34869 * string/test-strchr.c (TEST_NAME): Likewise.
34870 * string/test-strcmp.c(TEST_NAME): Likewise.
34871 * string/test-strcpy.c (TEST_NAME): Likewise.
34872 * string/test-strcspn.c (TEST_NAME): Likewise.
34873 * string/test-strlen.c (TEST_NAME): Likewise.
34874 * string/test-strncasecmp.c (TEST_NAME): Likewise.
34875 * string/test-strncmp.c (TEST_NAME): Likewise.
34876 * string/test-strncpy.c (TEST_NAME): Likewise.
34877 * string/test-strnlen.c (TEST_NAME): Likewise.
34878 * string/test-strpbrk.c (TEST_NAME): Likewise.
34879 * string/test-strrchr.c (TEST_NAME): Likewise.
34880 * string/test-strspn.c (TEST_NAME): Likewise.
34881 * string/test-strstr.c (TEST_NAME): Likewise.
34882 * string/test-bcopy-ifunc.c: New file.
34883 * string/test-bzero-ifunc.c: Likewise.
34884 * string/test-memccpy-ifunc.c: Likewise.
34885 * string/test-memchr-ifunc.c: Likewise.
34886 * string/test-memcmp-ifunc.c: Likewise.
34887 * string/test-memcpy-ifunc.c: Likewise.
34888 * string/test-memmem-ifunc.c: Likewise.
34889 * string/test-memmove-ifunc.c: Likewise.
34890 * string/test-mempcpy-ifunc.c: Likewise.
34891 * string/test-memset-ifunc.c: Likewise.
34892 * string/test-rawmemchr-ifunc.c: Likewise.
34893 * string/test-stpcpy-ifunc.c: Likewise.
34894 * string/test-stpncpy-ifunc.c: Likewise.
34895 * string/test-strcasecmp-ifunc.c: Likewise.
34896 * string/test-strcasestr-ifunc.c: Likewise.
34897 * string/test-strcat-ifunc.c: Likewise.
34898 * string/test-strchr-ifunc.c: Likewise.
34899 * string/test-strchrnul-ifunc.c: Likewise.
34900 * string/test-strcmp-ifunc.c: Likewise.
34901 * string/test-strcpy-ifunc.c: Likewise.
34902 * string/test-strcspn-ifunc.c: Likewise.
34903 * string/test-strlen-ifunc.c: Likewise.
34904 * string/test-strncasecmp-ifunc.c: Likewise.
34905 * string/test-strncat-ifunc.c: Likewise.
34906 * string/test-strncmp-ifunc.c: Likewise.
34907 * string/test-strncpy-ifunc.c: Likewise.
34908 * string/test-strnlen-ifunc.c: Likewise.
34909 * string/test-strpbrk-ifunc.c: Likewise.
34910 * string/test-strrchr-ifunc.c: Likewise.
34911 * string/test-strspn-ifunc.c: Likewise.
34912 * string/test-strstr-ifunc.c: Likewise.
34914 * debug/Makefile (tests-ifunc): New variable.
34915 (tests): Add $(tests-ifunc).
34916 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
34917 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
34918 * debug/test-stpcpy_chk-ifunc.c: New file.
34919 * debug/test-strcpy_chk-ifunc.c: Likewise.
34921 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
34924 * elf/dl-load.c (open_verify): Retry read if the entire ELF
34925 header is not read in.
34927 2012-10-19 Joseph Myers <joseph@codesourcery.com>
34929 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
34930 script to $(SHELL) as $<. Pass $(common-objpfx) to script
34931 directly. Pass built executable to script as
34932 $(built-program-cmd).
34933 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
34934 $testprogram without using LD_LIBRARY_PATH and $ldso.
34936 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
34937 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
34938 $(rtld-installed-name).
34939 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
34940 (rtld_installed_name): Likewise.
34941 (library_path): Likewise.
34942 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
34943 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
34944 $(run-program-prefix) to tst-tables.sh.
34945 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
34946 it to run tst-table-from and tst-table-to.
34947 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
34948 Pass it to tst-table.sh.
34949 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
34950 $(run-program-prefix) to tst-gettext.sh.
34951 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
34953 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
34955 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
34956 to run tst-gettext.
34957 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
34958 to run tst-gettext2.
34959 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
34960 to run tst-translit.
34961 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
34962 $(run-program-prefix) to tst-mtrace.sh.
34963 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
34965 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
34966 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
34967 $(rtld-installed-name).
34968 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
34969 (rtld_installed_name): Likewise.
34970 (run_program_prefix): New variable. Use it to run wordexp-test.
34972 * Makeconfig (ARCH): Remove all definitions.
34973 (machine): Likewise.
34974 [ARCH]: Remove conditional code.
34975 [!objdir]: Give error.
34976 [!objdir] (objpfx): Remove.
34977 [!objdir] (common-objpfx): Likewise.
34978 [!objdir] (common-objdir): Likewise.
34979 * configure.in (config_makefile): Remove. Hardcode Makefile in
34980 AC_CONFIG_FILES call.
34981 * configure: Regenerated.
34984 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
34986 (testout): Likewise.
34988 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
34989 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
34990 $(rtld-installed-name).
34991 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
34992 (rtld_installed_name): Likwise.
34993 (runit): Remove function.
34994 (run_getconf): New variable, Use it for running getconf binary.
34996 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
34999 * string/test-memmem.c (check_result): New function.
35000 (do_one_test): Use it.
35001 (check1): New function.
35002 (test_main): Use it.
35004 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
35006 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
35008 2012-10-18 Joseph Myers <joseph@codesourcery.com>
35010 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
35011 (_G_LSEEK64): Likewise.
35012 (_G_MMAP64): Likewise.
35013 (_G_FSTAT64): Likewise.
35014 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
35015 (_G_LSEEK64): Likewise.
35016 (_G_MMAP64): Likewise.
35017 (_G_FSTAT64): Likewise.
35018 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
35019 unconditional. Call __mmap64 directly.
35020 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
35021 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
35022 __lseek64 directly.
35023 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
35024 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
35026 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
35027 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
35028 __lseek64 directly.
35029 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
35030 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
35031 __lseek64 directly.
35032 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
35033 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
35034 __lseek64 directly.
35035 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
35036 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
35037 __fxstat64 directly.
35038 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
35039 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
35041 (freopen64) [!_G_OPEN64]: Remove conditional code.
35042 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
35044 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
35045 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
35047 (ftello64) [!_G_LSEEK64]: Remove conditional code.
35048 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
35050 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
35051 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
35053 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
35054 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
35056 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
35057 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
35059 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
35060 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
35062 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
35064 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
35067 * manual/memory.texi (Malloc Tunable Parameters): Add note
35068 about free list pointers overwriting some perturb bytes.
35069 Wording suggested by Roland McGrath.
35071 2012-10-17 Joseph Myers <joseph@codesourcery.com>
35073 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
35074 (lgamma_test): Likewise.
35075 (tgamma_test): Likewise.
35077 2012-10-16 Florian Weimer <fweimer@redhat.com>
35080 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
35081 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
35083 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
35085 * NEWS: Mention BZ #14716.
35086 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
35087 when removing AVAILABLE1_USES_J macro.
35089 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
35091 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
35092 (__bswap_64): __uint64_t for unsigned 64-bit int.
35094 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
35096 * include/string.h (memmem): Declare libc hidden alias.
35097 * string/memmem.c (memmem): Define libc hidden alias.
35098 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
35099 __read, __close instead of open, read, close.
35101 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
35103 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
35104 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
35106 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
35107 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
35108 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
35110 (__rawmemchr_sse2): Likewise.
35111 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
35112 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
35113 (__strchr_sse2): Likewise.
35114 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
35115 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
35116 (__strcasecmp_sse2): Likewise.
35117 (__strncasecmp_sse2): Likewise.
35118 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
35119 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
35120 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
35121 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
35122 (__strrchr_sse2): Likewise.
35123 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
35125 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
35126 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
35127 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
35128 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
35129 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
35130 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
35131 * sysdeps/x86_64/multiarch/memset.S: Likewise.
35132 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35133 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
35134 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
35135 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
35136 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
35137 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
35138 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
35139 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
35140 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
35141 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
35142 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
35143 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
35144 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
35145 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
35146 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
35147 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
35148 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
35149 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
35150 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
35151 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
35152 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
35153 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
35154 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
35156 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
35158 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
35159 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
35160 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
35161 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
35163 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
35165 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
35166 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
35167 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
35168 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
35170 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35171 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35172 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35173 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35174 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35175 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35176 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35177 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35178 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35179 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35180 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35181 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35182 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35183 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
35184 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
35185 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35186 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
35187 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
35188 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35189 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35190 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35191 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35192 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35193 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35194 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35195 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
35196 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
35197 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
35198 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
35199 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35200 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
35201 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35202 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35203 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
35204 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35205 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35206 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35207 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35208 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35209 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35210 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
35212 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
35213 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
35214 * include/ifunc-impl-list.h: New file.
35215 * misc/ifunc-impl-list.c: Likewise.
35216 * misc/Makefile (routines): Add ifunc-impl-list.
35217 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
35218 * string/test-string.h: Include <ifunc-impl-list.h>.
35219 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
35220 TEST_NAME]: New variables.
35221 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
35223 (test_init): Call __libc_ifunc_impl_list to initialize
35224 func_list if TEST_IFUNC and TEST_NAME are defined.
35226 * string/Makefile (strop-tests): Add bcopy and bzero.
35227 * string/test-bcopy.c: New file.
35228 * string/test-bzero.c: Likewise.
35229 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
35231 * string/test-memset.c: Support bzero test if TEST_BZERO is
35233 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
35235 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
35237 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
35240 2012-10-10 Joseph Myers <joseph@codesourcery.com>
35242 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
35243 * configure: Regenerated.
35245 * Makeconfig (+link-static-before-libc): Don't include
35246 $(link-static-libc).
35248 * libio/libio.h (_IO_pos_t): Remove.
35250 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
35252 * NEWS: Add note about FIPS mode. Wording suggested by Roland
35255 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
35257 * crypt/crypt-entry.c: Include fips-private.h.
35258 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
35259 * crypt/md5c-test.c (main): Tolerate disabled MD5.
35260 * sysdeps/unix/sysv/linux/fips-private.h: New file.
35261 * sysdeps/generic/fips-private.h: New file, dummy fallback.
35263 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
35265 * crypt/crypt-private.h: Include stdbool.h.
35266 (_ufc_setup_salt_r): Return bool.
35267 * crypt/crypt-entry.c: Include errno.h.
35268 (__crypt_r): Return NULL with EINVAL for bad salt.
35269 * crypt/crypt_util.c (bad_for_salt): New.
35270 (_ufc_setup_salt_r): Check that salt is long enough and within
35271 the specified alphabet.
35272 * crypt/badsalttest.c: New file.
35273 * crypt/Makefile (tests): Add it.
35274 ($(objpfx)badsalttest): New.
35276 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
35278 * NEWS: Add entry for BZ #14602.
35280 2012-10-09 Joseph Myers <joseph@codesourcery.com>
35282 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
35284 * math/libm-test.inc: Update comment listing what functions and
35286 (isgreater_test): New function.
35287 (isgreaterequal_test): Likewise.
35288 (isless_test): Likewise.
35289 (islessequal_test): Likewise.
35290 (islessgreater_test): Likewise.
35291 (isunordered_test): Likewise.
35292 (main): Call the new functions.
35294 2012-10-09 Roland McGrath <roland@hack.frob.com>
35296 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
35297 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
35298 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
35299 * sysdeps/i386/configure: Regenerated.
35300 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
35301 * sysdeps/mach/configure: Regenerated.
35302 * sysdeps/mach/hurd/configure: Regenerated.
35303 * sysdeps/powerpc/configure: Regenerated.
35304 * sysdeps/powerpc/powerpc32/configure: Regenerated.
35305 * sysdeps/powerpc/powerpc64/configure: Regenerated.
35306 * sysdeps/s390/s390-32/configure: Regenerated.
35307 * sysdeps/s390/s390-64/configure: Regenerated.
35308 * sysdeps/sh/configure: Regenerated.
35309 * sysdeps/sparc/configure: Regenerated.
35310 * sysdeps/unix/sysv/linux/configure: Regenerated.
35311 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
35312 * sysdeps/x86_64/configure: Regenerated.
35314 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
35315 defined. Don't check if MAP is NULL.
35317 2012-10-09 Joseph Myers <joseph@codesourcery.com>
35319 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
35320 (_G_stat64): Likewise.
35321 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
35322 (_G_stat64): Likewise.
35323 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
35324 instead of struct _G_stat64.
35325 * libio/fileops.c (mmap_remap_check): Likewise.
35326 (decide_maybe_mmap): Likewise.
35327 (_IO_new_file_seekoff): Likewise.
35328 (_IO_file_stat): Likewise.
35329 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
35331 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
35332 instead of struct _G_stat64.
35333 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
35335 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
35338 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35340 (CHECK_EOL): New macro.
35341 (two_way_short_needle): Check beginning of haystack for EOL. Use
35343 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35344 Replace with CHECK_EOL.
35345 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35346 Replace with CHECK_EOL.
35348 2012-10-08 Joseph Myers <joseph@codesourcery.com>
35350 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
35352 * math/libm-test.inc: Update comment listing what functions and
35354 (finite_test): New function.
35355 (isinf_test): Likewise.
35356 (isnan_test): Likewise.
35357 (fpclassify_test): Test subnormal input.
35358 (isfinite_test): Likewise.
35359 (isnormal_test): Likewise.
35360 (main): Call the new functions.
35362 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
35365 * Makerules (%.dynsym): Force C locale when running
35366 $(OBJDUMP) --dynamic-syms.
35368 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
35370 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
35373 2012-10-06 David S. Miller <davem@davemloft.net>
35375 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
35376 upper 32-bits of the length value in %o2 since we use branch-on-register
35377 tests which consider the entire 64-bit register.
35379 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
35381 * string/test-strstr.c (check2): Add a test for page boundary.
35383 2012-10-05 David S. Miller <davem@davemloft.net>
35385 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
35386 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
35388 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
35390 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
35391 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
35392 and bzero when HWCAP_SPARC_CRYPTO is present.
35394 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
35397 * string/test-strstr.c (check2): New function.
35398 (test_main): Call check2.
35400 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
35402 * string/bug-strcasestr1.c (do_test): Moved to ...
35403 * string/test-strcasestr.c (check1): Here. New function.
35404 (do_one_test): Break out result checking code into ...
35405 (check_result): This. New function.
35406 (do_one_test): Call check_result.
35407 (test_main): Call check1.
35408 * string/bug-strchr1.c (do_test): Moved to ...
35409 * string/test-strchr.c (check1): Here. New function.
35410 (do_one_test): Break out result checking code into ...
35411 (check_result): This. New function.
35412 (do_one_test): Call check_result.
35413 (test_main): Call check1.
35414 * string/bug-strstr1.c (main): Moved to ...
35415 * string/test-strstr.c (check1): Here. New function.
35416 (do_one_test): Break out result checking code into ...
35417 (check_result): This. New function.
35418 (do_one_test): Call check_result.
35419 (test_main): Call check1.
35420 * string/bug-strcasestr1.c: Removed.
35421 * string/bug-strchr1.c: Likewise.
35422 * string/bug-strstr1.c: Likewise.
35424 * elf/Makefile (dl-routines): Add hwcaps.
35425 * elf/dl-support.c (_dl_important_hwcaps): Removed.
35426 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
35427 (_dl_important_hwcaps): Moved to ...
35428 * elf/dl-hwcaps.c: Here. New file.
35429 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
35432 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
35433 if IS_IN_rtld isn't defined.
35435 * elf/dl-support.c (_dl_sysinfo_map): New.
35436 Include "get-dynamic-info.h" and "setup-vdso.h".
35437 (_dl_non_dynamic_init): Call setup_vdso.
35438 * elf/dynamic-link.h: Don't include <assert.h>.
35439 (elf_get_dynamic_info): Moved to ...
35440 * elf/get-dynamic-info.h: Here. New file.
35441 * elf/dynamic-link.h: Include "get-dynamic-info.h".
35442 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
35443 * elf/setup-vdso.h: Here. New file.
35444 * elf/rtld.c: Include "setup-vdso.h".
35445 (dl_main): Call setup_vdso.
35447 2012-10-05 Joseph Myers <joseph@codesourcery.com>
35449 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
35450 creal in comment listing functions tested. List finite, isinf,
35451 isnan, isless, islessequal, isgreater, isgreaterequal,
35452 islessgreater, isunordered, lgamma_r and pow10 as functions and
35453 macros not tested. Mention which functions not tested are aliases
35454 for other functions. Fix typo. Note that signs of NaNs are not
35457 * scripts/config.guess: Update from config.git.
35458 * scripts/config.sub: Likewise.
35460 2012-10-04 Roland McGrath <roland@hack.frob.com>
35462 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
35463 * misc/madvise.c (madvise): Renamed to __madvise.
35464 Make madvise a weak alias.
35465 * include/sys/mman.h: Declare __madvise.
35466 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
35467 * sysdeps/unix/syscalls.list
35468 (madvise): Make __madvise the strong name, and madvise a weak alias.
35469 * sysdeps/unix/sysv/linux/syscalls.list
35470 (madvise, mmap): Remove redundant entries.
35471 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
35472 * malloc/malloc.c (mtrim): Likewise.
35473 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
35475 2012-10-03 Roland McGrath <roland@hack.frob.com>
35477 * sysdeps/mach/hurd/dl-cache.c: File removed.
35478 * config.h.in (USE_LDCONFIG): New #undef.
35479 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
35480 * configure: Regenerated.
35481 * elf/Makefile (dl-routines): Add dl-cache only under
35482 [$(use-ldconfig) = yes].
35483 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
35484 cache on [USE_LDCONFIG].
35485 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
35487 * elf/rtld.c (dl_main): Likewise.
35489 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
35491 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
35492 _SC_LEVEL4_CACHE_LINESIZE.
35494 2012-10-03 Roland McGrath <roland@hack.frob.com>
35496 * sysdeps/unix/bsd/confstr.h: File removed.
35498 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
35500 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
35503 2012-10-02 Roland McGrath <roland@hack.frob.com>
35505 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
35506 Make 'mapoff' field ElfW(Off) rather than off_t.
35508 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
35510 * nscd/Makefile: Remove nscd-cflags and all its users.
35511 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
35512 (CFLAGS-nonlib): Add compiler flags for nscd modules.
35515 * malloc.c (malloc_printerr): Clarify error message.
35517 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
35520 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35521 Set bit_FMA_Usable if FMA is supported.
35522 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
35524 (bit_FMA4_Usable): Updated.
35525 (index_FMA_Usable): New macro.
35526 (CPUID_FMA): Likewise
35527 (HAS_FMA): Defined with bit_FMA_Usable.
35529 2012-10-01 Roland McGrath <roland@hack.frob.com>
35531 * bits/types.h (__swblk_t): Type removed.
35532 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
35533 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
35534 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35535 (__SWBLK_T_TYPE): Likewise.
35536 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35537 (__SWBLK_T_TYPE): Likewise.
35538 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35539 (__SWBLK_T_TYPE): Likewise.
35540 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35541 (__SWBLK_T_TYPE): Likewise.
35543 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
35544 Honza Horak <hhorak@redhat.com>
35546 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
35547 (xdr_mapname): Use YPMAXMAP as maxsize.
35548 (xdr_peername): Use YPMAXPEER as maxsize.
35549 (xdr_keydat): Use YPAXRECORD as maxsize.
35550 (xdr_valdat): Use YPMAXRECORD as maxsize.
35552 2012-10-01 Roland McGrath <roland@hack.frob.com>
35554 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
35556 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
35557 * csu/init-first.c: ... here.
35558 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
35559 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
35560 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
35561 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
35562 * sysdeps/i386/init-first.c: File removed.
35563 * sysdeps/sh/init-first.c: File removed.
35565 2012-10-01 Joseph Myers <joseph@codesourcery.com>
35568 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
35569 if x * y might underflow to zero and z is zero.
35570 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35571 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35572 * math/libm-test.inc (min_subnorm_value): New variable.
35573 (fma_test): Add more tests.
35574 (fma_test_towardzero): Likewise.
35575 (fma_test_downward): Likewise
35576 (fma_test_upward): Likewise.
35577 (initialize): Set min_subnorm_value.
35579 2012-09-29 Joseph Myers <joseph@codesourcery.com>
35582 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
35584 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
35585 mode for addition resulting in exact zero.
35586 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
35587 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
35589 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35590 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35591 * math/libm-test.inc (fma_test): Add more tests.
35592 (fma_test_towardzero): New function.
35593 (fma_test_downward): Likewise.
35594 (fma_test_upward): Likewise.
35595 (main): Call the new functions.
35597 2012-09-28 David S. Miller <davem@davemloft.net>
35599 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
35601 2012-09-28 Roland McGrath <roland@hack.frob.com>
35603 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
35604 instead of SIGALRM.
35606 * sysdeps/gnu/_G_config.h: Moved to ...
35607 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
35608 * sysdeps/mach/hurd/_G_config.h: Moved to ...
35609 * sysdeps/generic/_G_config.h: ... here.
35611 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
35613 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
35615 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
35616 Conditionalize target on [libnss_test1.so-version].
35618 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
35620 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
35621 (elfobjdir): Move out of conditionals.
35623 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
35624 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
35625 (__nss_lookup_function): Conditionalize label remove_from_tree on
35626 [!DO_STATIC_NSS || SHARED], matching its only use.
35628 2012-09-28 David S. Miller <davem@davemloft.net>
35630 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
35631 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
35633 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
35635 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
35636 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
35637 when HWCAP_SPARC_CRYPTO is present.
35639 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
35641 * io/tst-mknodat.c: Create a FIFO instead of a socket.
35643 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
35646 * stdio-common/vfprintf.c (process_string_arg): Revert
35649 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
35651 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
35653 * stdio-common/tst-sprintf.c: Include <locale.h>
35654 (main): Test sprintf's handling of incomplete multibyte
35657 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
35659 * elf/dl-runtime.c (VERSYMIDX): Removed.
35660 * elf/dl-version.c (VERSYMIDX): Likewise.
35661 * elf/do-rel.h (VERSYMIDX): Likewise.
35662 (VALIDX): Likewise.
35663 * elf/dynamic-link.h (VERSYMIDX): Likewise.
35664 * elf/rtld.c (VALIDX): Likewise.
35665 (ADDRIDX): Likewise.
35666 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
35667 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
35668 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
35669 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
35670 (VALIDX): Likewise.
35671 (ADDRIDX): Likewise.
35673 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
35675 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
35677 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
35680 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
35682 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
35683 addresses are in the same scope as 192.0.2/24.
35684 * posix/gai.conf: Document new scope table defaults.
35686 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35689 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
35690 for ftell. Compute offsets from write pointers instead.
35691 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
35693 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35696 * libio/Makefile (tests): New test case tst-fseek.
35697 * libio/tst-fseek.c: New test case to verify that fseek/ftell
35698 combination works in wide mode.
35699 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
35700 state when the external buffer state changes.
35702 2012-09-27 David S. Miller <davem@davemloft.net>
35705 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
35706 pass reloc->r_addend in as the 'high' argument to
35707 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
35709 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35711 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
35713 * rt/tst-aio2.c: Include <pthread.h>.
35714 * rt/tst-aio3.c: Likewise.
35716 2012-09-27 Steve Ellcey <sellcey@mips.com>
35718 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
35720 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
35722 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
35723 contents on [SHARED].
35725 2012-09-26 Marek Polacek <polacek@redhat.com>
35729 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
35730 for C++ and GCC <4.3 as well as for non GCC compilers.
35732 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
35734 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35736 2012-09-25 Roland McGrath <roland@hack.frob.com>
35738 * Makefile.in (all, install): Declare with .PHONY.
35739 Reported by Michael Hope <michael.hope@linaro.org>.
35741 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35743 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
35744 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
35746 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
35748 (sydep_routines): Add the new and the internal functions.
35749 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
35750 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
35751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
35752 (GLIBC_2.17): Add the new function.
35753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
35754 (GLIBC_2.17): Likewise.
35755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
35756 (GLIBC_2.17): Likewise.
35757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
35758 (GLIBC_2.17): Likewise.
35759 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
35761 2012-09-25 Alan Modra <amodra@gmail.com>
35763 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
35764 Add release barrier before setting once_control to say
35765 initialisation is done. Add hints on lwarx. Use macro in
35767 (clear_once_control): Add release barrier.
35769 2012-09-25 Joseph Myers <joseph@codesourcery.com>
35772 * math/s_clog.c (__clog): Handle more values close to |z| = 1
35774 * math/s_clog10.c (__clog10): Likewise.
35775 * math/s_clog10f.c (__clog10f): Likewise.
35776 * math/s_clog10l.c (__clog10l): Likewise.
35777 * math/s_clogf.c (__clogf): Likewise.
35778 * math/s_clogl.c (__clogl): Likewise.
35779 * math/Makefile (libm-calls): Add x2y2m1.
35780 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
35781 (__x2y2m1): Likewise.
35782 (__x2y2m1l): Likewise.
35783 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
35784 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
35785 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
35786 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
35787 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
35788 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
35789 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
35790 * sysdeps/i386/fpu/libm-test-ulps: Update.
35791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35794 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
35795 int as type of variable DEPTH.
35796 (glob): Use size_t instead of int as type of variables NEWCOUNT
35799 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35801 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
35802 Add s_sincosf-sse2.
35803 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
35804 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
35805 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
35806 macros for using routine as __sincosf_ia32.
35807 Use macro for function declaration and weak_alias.
35808 * sysdeps/i386/fpu/libm-test-ulps: Update.
35810 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
35811 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35813 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
35814 subnormal argument.
35815 * math/s_cexpf.c (__cexpf): Likewise.
35816 * math/s_csinf.c (__csinf): Likewise.
35817 * math/s_csinhf.c (__csinhf): Likewise.
35818 * math/s_ctanf.c (__ctanf): Likewise.
35819 * math/s_ctanhf.c (__ctanhf): Likewise.
35820 * math/s_ccosh.c (__ccoshf): Likewise.
35821 * math/s_cexp.c (__cexpl): Likewise.
35822 * math/s_csin.c (__csin): Likewise.
35823 * math/s_csinh.c (__csinh): Likewise.
35824 * math/s_ctan.c (__ctan): Likewise.
35825 * math/s_ctanh.c (ctanh): Likewise.
35826 * math/s_ccoshl.c (__ccoshl): Likewise.
35827 * math/s_cexpl.c (__cexpl): Likewise.
35828 * math/s_csinl.c (__csinl): Likewise.
35829 * math/s_csinhl.c (__csinhl): Likewise.
35830 * math/s_ctanl.c (__ctanl): Likewise.
35831 * math/s_ctanhl.c (__ctanhl): Likewise.
35833 2012-09-25 Joseph Myers <joseph@codesourcery.com>
35835 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
35836 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
35837 (_IO_off_t): Define to __off_t, not _G_off_t.
35838 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
35839 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
35840 (_IO_wint_t): Define to wint_t, not _G_wint_t.
35841 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
35842 type of __dummy and __dummy2 fields.
35843 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
35844 (_G_ssize_t): Likewise.
35845 (_G_off_t): Likewise.
35846 (_G_pid_t): Likewise.
35847 (_G_uid_t): Likewise.
35848 (_G_wchar_t): Likewise.
35849 (_G_wint_t): Likewise.
35850 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
35851 (_G_ssize_t): Likewise.
35852 (_G_off_t): Likewise.
35853 (_G_pid_t): Likewise.
35854 (_G_uid_t): Likewise.
35855 (_G_wchar_t): Likewise.
35856 (_G_wint_t): Likewise.
35857 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
35858 (_G_ssize_t): Likewise.
35859 (_G_off_t): Likewise.
35860 (_G_pid_t): Likewise.
35861 (_G_uid_t): Likewise.
35862 (_G_wchar_t): Likewise.
35863 (_G_wint_t): Likewise.
35865 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
35867 * malloc/arena.c: Include malloc-sysdep.h.
35868 (shrink_heap): Use check_may_shrink_heap to decide if madvise
35869 is sufficient to shrink the heap or an unmap is needed.
35870 * sysdeps/generic/malloc-sysdep.h: New file. Define
35871 new function check_may_shrink_heap.
35872 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
35873 new function check_may_shrink_heap.
35875 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
35877 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
35880 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
35882 * catgets/test-gencat.sh: Add "set -e".
35883 * elf/tst-pathopt.sh: Likewise.
35884 * grp/tst_fgetgrent.sh: Likewise.
35885 * iconvdata/run-iconv-test.sh: Likewise.
35886 * intl/tst-gettext.sh: Likewise.
35887 * intl/tst-gettext2.sh: Likewise.
35888 * intl/tst-gettext4.sh: Likewise.
35889 * intl/tst-gettext6.sh: Likewise.
35890 * intl/tst-translit.sh: Likewise.
35891 * io/ftwtest-sh: Likewise.
35892 * libio/test-freopen.sh: Likewise.
35893 * malloc/tst-mtrace.sh: Likewise.
35894 * posix/globtest.sh: Likewise.
35895 * posix/tst-getconf.sh: Likewise.
35896 * posix/wordexp-tst.sh: Likewise.
35897 * stdio-common/tst-printf.sh: Likewise.
35898 * stdio-common/tst-unbputc.sh: Likewise.
35899 * stdlib/tst-fmtmsg.sh: Likewise.
35900 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
35901 * catgets/Makefile: Do not specify -e option when running
35902 testsuite shell scripts.
35903 * elf/Makefile: Likewise.
35904 * grp/Makefile: Likewise.
35905 * iconvdata/Makefile: Likewise.
35906 * intl/Makefile: Likewise.
35907 * io/Makefile: Likewise.
35908 * libio/Makefile: Likewise.
35909 * malloc/Makefile: Likewise.
35910 * posix/Makefile: Likewise.
35911 * stdio-common/Makefile: Likewise.
35912 * stdlib/Makefile: Likewise.
35913 * sysdeps/x86_64/Makefile: Likewise.
35915 * io/ftwtest-sh: Add copyright header.
35916 * posix/globtest.sh: Likewise.
35917 * posix/tst-getconf.sh: Likewise.
35918 * posix/wordexp-tst.sh: Likewise.
35919 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
35921 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
35924 * Makeconfig (+link): Defined as $(+link-static) if
35925 $(build-shared) isn't yes.
35926 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
35928 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
35930 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
35933 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
35934 new chunk size with MALLOC_ALIGN_MASK.
35936 2012-09-24 Joseph Myers <joseph@codesourcery.com>
35939 * stdio-common/printf_fphex.c: Include <stdbool.h> and
35941 (__printf_fphex): Determine rounding using get_rounding_mode and
35943 * stdio-common/tst-printf-round.c (struct hex_test): New
35945 (hex_tests): New variable.
35946 (test_hex_in_one_mode): New function.
35947 (do_test): Also run tests for hex float output.
35949 2012-09-21 Joseph Myers <joseph@codesourcery.com>
35951 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
35952 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
35953 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
35954 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
35955 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
35956 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
35957 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
35958 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
35960 2012-09-20 Joseph Myers <joseph@codesourcery.com>
35962 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
35963 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
35964 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
35965 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
35967 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
35970 * elf/rtld.c (dl_main): Limit the check for self loading to normal
35972 * elf/tst-rtld-load-self.sh: New test.
35973 * elf/Makefile: Run it.
35975 2012-09-18 Joseph Myers <joseph@codesourcery.com>
35977 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
35978 (tst-writev-ENV): Remove.
35979 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
35981 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
35983 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
35985 2012-09-17 Joseph Myers <joseph@codesourcery.com>
35987 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
35989 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
35991 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
35992 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
35993 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
35996 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
35999 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
36000 * config.make.in (have-cpp-asm-debuginfo): Removed.
36001 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
36002 * configure: Regenerated.
36004 2012-09-14 Joseph Myers <joseph@codesourcery.com>
36007 * stdio-common/printf_fp.c: Include <stdbool.h> and
36009 (___printf_fp): Determine rounding using get_rounding_mode and
36011 * stdio-common/tst-printf-round.c: New file.
36012 * stdio-common/Makefile (tests): Add tst-printf-round.
36013 (link-libm): New variable.
36014 ($(objpfx)tst-printf-round): Depend in $(link-libm).
36016 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
36019 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
36020 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
36022 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
36025 2012-09-13 Joseph Myers <joseph@codesourcery.com>
36027 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
36028 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36029 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36030 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36032 2012-09-12 Joseph Myers <joseph@codesourcery.com>
36035 * include/rounding-mode.h: New file.
36036 * sysdeps/generic/get-rounding-mode.h: Likewise.
36037 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
36038 * stdlib/strtod_l.c: Include <rounding-mode.h>.
36039 (MAX_VALUE): New macro.
36040 (MIN_VALUE): Likewise.
36041 (overflow_value): New function.
36042 (underflow_value): Likewise.
36043 (round_and_return): Use overflow_value and underflow_value to
36044 determine return values in overflow and underflow cases. Use
36045 round_away to determine rounding depending on rounding mode.
36046 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
36047 determine return values in overflow and underflow cases.
36048 * stdlib/tst-strtod-round.c: Include <fenv.h>.
36049 (struct test_results): New structure.
36050 (struct test): Use struct test_results to store expected results
36051 for all rounding modes.
36052 (TEST): Include expected results for all rounding modes.
36053 (test_in_one_mode): New function.
36054 (do_test): Use test_in_one_mode to compute and check results.
36055 Check results for all rounding modes.
36056 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
36059 2012-12-09 Allan McRae <allan@archlinux.org>
36061 * sysdeps/i386/fpu/libm-test-ulps: Update
36063 2012-09-11 Joseph Myers <joseph@codesourcery.com>
36065 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
36066 (_G_int32_t): Likewise.
36067 (_G_uint16_t): Likewise.
36068 (_G_uint32_t): Likewise.
36069 (_G_HAVE_BOOL): Likewise.
36070 (_G_HAVE_ATEXIT): Likewise.
36071 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36072 (_G_HAVE_IO_FILE_OPEN): Likewise.
36073 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
36074 (_G_int32_t): Likewise.
36075 (_G_uint16_t): Likewise.
36076 (_G_uint32_t): Likewise.
36077 (_G_HAVE_BOOL): Likewise.
36078 (_G_HAVE_ATEXIT): Likewise.
36079 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36080 (_G_HAVE_IO_FILE_OPEN): Likewise.
36081 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
36082 (_G_int32_t): Likewise.
36083 (_G_uint16_t): Likewise.
36084 (_G_uint32_t): Likewise.
36085 (_G_HAVE_BOOL): Likewise.
36086 (_G_HAVE_ATEXIT): Likewise.
36087 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36088 (_G_HAVE_IO_FILE_OPEN): Likewise.
36090 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
36092 * csu/libc-tls.c: Update copyright years.
36094 2012-09-10 Joseph Myers <joseph@codesourcery.com>
36096 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
36097 [!_G_USING_THUNKS]: Remove conditional code.
36098 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
36099 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
36101 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
36102 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
36103 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36104 (_G_VTABLE_LABEL_PREFIX): Likewise.
36105 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36106 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36107 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36108 (_G_VTABLE_LABEL_PREFIX): Likewise.
36109 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
36110 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36111 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36112 (_G_VTABLE_LABEL_PREFIX): Likewise.
36113 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
36115 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
36117 * libio/Makefile: Include ../Makeconfig before tests.
36118 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
36119 only if $(build-shared) is yes.
36121 * iconv/gconv_db.c: Update copyright years.
36123 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36125 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
36126 unwind info if defined PIC. Fix special cases description.
36127 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
36129 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
36131 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
36133 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
36135 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
36137 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
36140 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
36141 (LDLIBS-tst-chk4): This.
36142 (LDFLAGS-tst-chk5): Renamed to ...
36143 (LDLIBS-tst-chk5): This.
36144 (LDFLAGS-tst-chk6): Renamed to ...
36145 (LDLIBS-tst-chk6): This.
36146 (LDFLAGS-tst-lfschk4): Renamed to ...
36147 (LDLIBS-tst-lfschk4): This.
36148 (LDFLAGS-tst-lfschk5): Renamed to ...
36149 (LDLIBS-tst-lfschk5): This.
36150 (LDFLAGS-tst-lfschk6): Renamed to ...
36151 (LDLIBS-tst-lfschk6): This.
36153 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
36154 on $(common-objpfx)soversions.mk.
36156 2012-09-07 Joseph Myers <joseph@codesourcery.com>
36159 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
36162 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
36164 * malloc/arena.c (arena_get_retry): New function that gets
36165 another arena for the caller to try its request on.
36166 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
36167 current arena cannot fulfill the request.
36168 (__libc_memalign): Likewise.
36169 (__libc_memalign): Likewise.
36170 (__libc_pvalloc): Likewise.
36171 (__libc_calloc): Likewise.
36173 2012-09-05 John Tobey <john.tobey@gmail.com>
36176 * manual/arith.texi (Operations on Complex): Fix description
36177 of carg branch cut.
36179 2012-09-06 Joseph Myers <joseph@codesourcery.com>
36182 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
36186 * manual/memory.texi (Memory): Make order of menu items match
36189 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36191 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
36192 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
36193 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
36195 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36197 * csu/libc-tls.c (static_dtv): Renamed to ...
36198 (_dl_static_dtv): This. Make it global.
36199 (_dl_initial_dtv): Removed.
36200 (__libc_setup_tls): Updated.
36201 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
36202 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
36205 2012-09-06 Petr Machata <pmachata@redhat.com>
36207 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
36208 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
36209 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
36210 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
36212 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36215 * csu/libc-tls.c (_dl_initial_dtv): New variable.
36216 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
36219 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36222 * Makeconfig (link-static-before-libc): Replace $(+prector)
36224 (link-static-after-libc): Replace $(+postctor) with
36226 (link-bounded): Replace $(+prector)/$(+postctor) with
36227 $(+prectorT)/$(+postctorT).
36228 (+prectorT): New macro.
36229 (+postctorT): Likewise.
36231 2012-09-06 Joseph Myers <joseph@codesourcery.com>
36233 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
36234 (round_str): Handle values above the maximum for IBM long double
36236 * stdlib/tst-strtod-round.c (tests): Regenerated.
36238 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36240 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
36242 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
36243 zarch_nohighgprs around the zarch optimized routines.
36244 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
36245 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
36246 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
36249 2012-09-05 David S. Miller <davem@davemloft.net>
36251 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36253 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
36254 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
36255 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
36256 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
36259 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
36261 * malloc/arena.c: Fold copyright years.
36262 * malloc/mcheck.c, malloc/memusage.c: Likewise.
36264 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
36266 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
36268 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
36270 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
36272 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
36274 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
36275 change internal state upon failure.
36277 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
36279 * malloc/mcheck.c (mcheck_check_all): Fix typo.
36280 * malloc/memusage.c (mmap): Likewise.
36281 (mmap64, mremap): Likewise. Adjust name in comment.
36283 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
36285 * libio/fileops.c: Fix typos in comments.
36286 * libio/oldfileops.c: Likewise.
36287 * libio/wfileops.c: Likewise.
36289 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
36292 * malloc/Makefile (tests): Add tst-malloc-usable test case.
36293 (tst-malloc-usable-ENV): Set environment for test case.
36294 * malloc/hooks.c (malloc_check_get_size): New function to get
36296 * malloc/malloc.c (musable): Use malloc_check_get_size.
36297 * malloc/tst-malloc-usable.c: New test case.
36299 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
36301 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
36303 2012-09-05 Allan McRae <allan@archlinux.org>
36306 * configure.in (CXX_SYSINCLUDES): Use compiler output to
36307 determine header location.
36308 * configure: Regenerated.
36310 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
36312 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
36314 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
36315 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
36317 (test): Regenerate.
36319 2012-09-04 David S. Miller <davem@davemloft.net>
36321 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
36322 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
36323 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
36325 2012-09-04 Florian Weimer <fweimer@redhat.com>
36327 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
36330 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
36332 2012-09-04 Joseph Myers <joseph@codesourcery.com>
36335 * libio/iogetdelim.c: Include <limits.h>.
36336 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
36337 + len + 1 would overflow.
36339 2012-09-03 Andreas Jaeger <aj@suse.de>
36341 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36342 * sysdeps/i386/fpu/libm-test-ulps: Update.
36344 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36346 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
36347 Add s_sinf-sse2, s_conf-sse2.
36349 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
36350 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
36351 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
36352 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
36354 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
36355 for using routine as __sinf_ia32.
36356 Use macro for function declaration and weak_alias.
36357 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
36358 for using routine as __cosf_ia32.
36359 Use macro for function declaration and weak_alias.
36361 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
36362 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
36364 * sysdeps/x86_64/fpu/s_sinf.S: New file.
36365 * sysdeps/x86_64/fpu/s_cosf.S: New file.
36366 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36368 * math/libm-test.inc (cos_test): Add more test cases.
36369 (sin_test): Likewise.
36370 (sincos_test): Likewise.
36372 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36374 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
36375 (IFUNC_RESOLVE): Make pointers to the specialized implementations
36377 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
36379 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
36382 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
36383 first element of the GOT.
36384 (elf_machine_load_address): Return the difference between
36385 the runtime address of _DYNAMIC and elf_machine_dynamic ().
36387 2012-09-01 Allan McRae <allan@archlinux.org>
36390 * configure.in (AWK): Require gawk version 3.0 or later.
36391 * configure: Regenerated.
36393 2012-09-01 Joseph Myers <joseph@codesourcery.com>
36395 * sysdeps/unix/sysv/linux/kernel-features.h
36396 (__ASSUME_POSIX_CPU_TIMERS): Remove.
36397 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
36398 [__NR_clock_getres]: Make code unconditional.
36399 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
36400 (clock_getcpuclockid): Remove code left unreachable by removal of
36402 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
36403 code unconditional.
36404 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
36405 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36406 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
36407 Make code unconditional.
36408 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
36409 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36410 * sysdeps/unix/sysv/linux/clock_settime.c
36411 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
36413 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
36414 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36416 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
36419 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
36420 scripts/test-installation.pl.
36422 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
36423 and $ld_so_version if it is set.
36425 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
36428 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
36429 failure if reading from procfs failed.
36430 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
36432 2012-08-27 Joseph Myers <joseph@codesourcery.com>
36434 * sysdeps/unix/sysv/linux/kernel-features.h
36435 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
36436 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
36437 Remove conditional code.
36438 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36439 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
36440 Remove conditional code.
36441 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36442 * sysdeps/unix/sysv/linux/i386/fxstat.c
36443 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36444 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36445 * sysdeps/unix/sysv/linux/i386/fxstatat.c
36446 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36447 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36448 * sysdeps/unix/sysv/linux/i386/lxstat.c
36449 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36450 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36451 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
36452 Remove conditional code.
36453 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36454 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
36455 Remove conditional code.
36456 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36457 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
36458 <kernel-features.h>.
36459 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
36461 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
36462 Remove conditional code.
36463 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36464 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
36465 Remove conditional.
36467 2012-08-27 Mike Frysinger <vapier@gentoo.org>
36470 * NEWS: Add fixed bug number.
36472 2012-08-27 Joseph Myers <joseph@codesourcery.com>
36475 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
36476 underflowing exponent in case of negative sign.
36477 * stdlib/tst-strtod-round-data: Add more tests.
36478 * stdlib/tst-strtod-round.c (tests): Regenerated.
36481 * stdlib/strtod_l.c (NDIG): Remove.
36482 (HEXNDIG): Likewise.
36483 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
36484 smallest representable value.
36485 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
36486 lie within an exact representation of 1/2 ulp of the result.
36487 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
36489 (TENS_P9_IDX): Define unconditionally.
36490 (TENS_P9_SIZE): Likewise.
36491 (TENS_P10_IDX): Likewise.
36492 (TENS_P10_SIZE): Likewise.
36493 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
36494 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
36495 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
36496 entries for 10^2^13 and 10^2^14.
36497 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
36498 (TENS_P13_IDX): Define.
36499 (TENS_P13_SIZE): Likewise.
36500 (TENS_P14_IDX): Likewise.
36501 (TENS_P14_SIZE): Likewise.
36502 (_fpioconst_pow10): Change array size to
36503 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
36505 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
36506 1024]: Add entries for 10^2^13 and 10^2^14.
36507 [LAST_POW10 > _LAST_POW10]: Remove #error.
36508 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
36509 (_fpioconst_pow10): Change array size to
36510 FPIOCONST_POW10_ARRAY_SIZE.
36511 * stdlib/gen-fpioconst.c: New file.
36512 * stdlib/gen-tst-strtod-round.c: Likewise.
36513 * stdlib/tst-strtod-round-data: Likewise.
36514 * stdlib/tst-strtod-round.c: Likewise.
36515 * stdlib/Makefile (tests): Add tst-strtod-round.
36518 * stdlib/strtod_l.c: Include <stdint.h>.
36519 (NDEBUG): Do not define.
36520 (round_and_return): Change EXPONENT parameter to type intmax_t.
36521 Rearrange calculations to avoid internal overflow possibilities.
36522 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
36523 Rearrange calculations to avoid internal overflow possibilities.
36524 Assert that number fits inside MPNSIZE limbs.
36525 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
36526 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
36527 calculations and add assertions to avoid internal overflow
36528 possibilities. Add casts to avoid signed/unsigned operations.
36529 * stdlib/tst-strtod-overflow.c: New file.
36530 * stdlib/Makefile (tests): Add tst-strtod-overflow.
36532 2012-08-25 Marek Polacek <polacek@redhat.com>
36534 * time/time.h: Fix some typos in comments.
36536 2012-08-23 Roland McGrath <roland@hack.frob.com>
36538 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
36539 * posix/tst-rfc3484-2.c: Likewise.
36540 * posix/tst-rfc3484-3.c: Likewise.
36542 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
36544 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
36545 (EF_ARM_ABI_FLOAT_HARD): Likewise.
36547 2012-08-23 Joseph Myers <joseph@codesourcery.com>
36549 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
36550 #include of fxstatat64.c.
36552 2012-08-22 Roland McGrath <roland@hack.frob.com>
36554 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
36555 * shadow/getspent_r.c: Likewise.
36556 * shadow/getspnam.c: Likewise.
36557 * shadow/getspnam_r.c: Likewise.
36558 * gshadow/getsgent.c: Likewise.
36559 * gshadow/getsgent_r.c: Likewise.
36560 * gshadow/getsgnam.c: Likewise.
36561 * gshadow/getsgnam_r.c: Likewise.
36562 * inet/getnetbyad.c: Likewise.
36563 * inet/getnetbyad_r.c: Likewise.
36564 * inet/getnetbynm.c: Likewise.
36565 * inet/getnetbynm_r.c: Likewise.
36566 * inet/getnetent.c: Likewise.
36567 * inet/getnetent_r.c: Likewise.
36568 * inet/getproto.c: Likewise.
36569 * inet/getproto_r.c: Likewise.
36570 * inet/getprtent.c: Likewise.
36571 * inet/getprtent_r.c: Likewise.
36572 * inet/getprtname.c: Likewise.
36573 * inet/getprtname_r.c: Likewise.
36574 * inet/getrpcbyname.c: Likewise.
36575 * inet/getrpcbyname_r.c: Likewise.
36576 * inet/getrpcbynumber.c: Likewise.
36577 * inet/getrpcbynumber_r.c: Likewise.
36578 * inet/getrpcent.c: Likewise.
36579 * inet/getrpcent_r.c: Likewise.
36580 * inet/getaliasent.c: Likewise.
36581 * inet/getaliasent_r.c: Likewise.
36582 * inet/getaliasname.c: Likewise.
36583 * inet/getaliasname_r.c: Likewise.
36584 * nscd/getgrgid_r.c: Likewise.
36585 * nscd/getgrnam_r.c: Likewise.
36586 * nscd/gethstbyad_r.c: Likewise.
36587 * nscd/gethstbynm3_r.c: Likewise.
36588 * nscd/getpwnam_r.c: Likewise.
36589 * nscd/getpwuid_r.c: Likewise.
36590 * nscd/getsrvbynm_r.c: Likewise.
36591 * nscd/getsrvbypt_r.c: Likewise.
36592 * nscd/gai.c: Likewise.
36594 * configure.in (build_nscd): New substituted variable, set
36595 by --disable-build-nscd and defaults to $use_nscd.
36596 * configure: Regenerated.
36597 * config.make.in (build-nscd): New substituted variable.
36598 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
36599 Change conditional to require [$(build-nscd) = yes] as well.
36600 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
36603 * configure.in (use_nscd): New substituted variable, set by
36604 --disable-nscd. If enabled, define USE_NSCD.
36605 * configure: Regenerated.
36606 * config.h.in: Add USE_NSCD.
36607 * config.make.in (use-nscd): New substituted variable.
36608 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
36609 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
36610 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
36611 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
36612 (CFLAGS-getgrnam_r.c): Likewise.
36613 (CFLAGS-initgroups.c): Likewise.
36614 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
36615 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
36617 * inet/getnetgrent_r.c
36618 (nscd_setnetgrent): New function, broken out of ...
36619 (setnetgrent): ... here. Call it.
36620 (innetgr): Conditionalize nscd bits on [USE_NSCD].
36621 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
36622 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
36623 * nscd/Makefile (routines, aux): Move definitions after include of
36624 Makeconfig. Conditionalize on [$(use-nscd) != no].
36625 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
36626 Conditionalize on [USE_NSCD].
36627 (is_nscd, nscd_init_cb): Likewise.
36628 (nss_load_library): Conditionalize init callback on [USE_NSCD].
36629 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
36630 * nss/nss_db/db-init.c: Likewise.
36631 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
36633 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
36634 (make_request): Use it.
36635 (cache_valid_p): New function.
36636 (__check_pf): Use it.
36637 * NEWS: Add item for --disable-nscd.
36639 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
36641 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
36642 to support sed >= 4.2.1-20-ga9bf076.
36643 * configure: Regenerated.
36645 2012-08-22 Roland McGrath <roland@hack.frob.com>
36647 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
36648 Conditionalize whole body on [IREL].
36650 2012-08-22 Jeff Law <law@redhat.com>
36653 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
36654 if the family is PF_UNSPEC.
36656 2012-08-22 Mike Frysinger <vapier@gentoo.org>
36658 * Makerules (lib-version): Rename from V.
36659 (install-lib-nosubdir): Change V to lib-version.
36661 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
36664 * powerpc32/power6/wcschr.c: New file.
36665 * powerpc32/power6/wcscpy.c: New file.
36666 * powerpc32/power6/wcsrchr.c: New file.
36667 * powerpc64/power6/wcschr.c: New file.
36668 * powerpc64/power6/wcscpy.c: New file.
36669 * powerpc64/power6/wcsrchr.c: New file.
36671 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
36673 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
36674 (two_way_short_needle): Use it.
36675 * string/strstr.c (AVAILABLE1_USES_J): Define.
36676 * string/strcasestr.c: Likewise.
36678 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
36680 * string/strcasestr.c (TOLOWER): Make side-effect safe.
36683 * NEWS: Add an entry.
36684 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
36685 define their defaults.
36686 (two_way_short_needle): Detect end-of-string on-the-fly.
36687 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
36688 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
36689 * string/bug-strcasestr1.c: New test.
36690 * string/Makefile: Run it.
36692 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
36695 * string/str-two-way.h (two_way_short_needle): Optimize matching of
36696 the first character.
36698 2012-08-21 Roland McGrath <roland@hack.frob.com>
36700 * csu/elf-init.c (__libc_csu_irel): Function removed.
36701 * csu/libc-start.c (apply_irel): New function.
36702 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
36704 2012-08-21 Joseph Myers <joseph@codesourcery.com>
36706 * sysdeps/unix/sysv/linux/kernel-features.h
36707 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
36708 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
36709 <kernel-features.h>.
36710 [__NR_fadvise64_64]: Make code unconditional.
36711 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
36712 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
36713 !__NR_fadvise64_64)]: Likewise.
36714 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
36715 !__NR_fadvise64_64))]: Likewise.
36716 [__NR_fadvise64]: Make code unconditional.
36717 [!__NR_fadvise64]: Remove conditional code.
36718 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
36719 <kernel-features.h>.
36720 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36722 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
36725 not include <kernel-features.h>.
36726 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36728 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36730 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
36731 include <kernel-features.h>.
36732 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36734 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36737 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36739 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
36740 slight instruction rearrangements per scrollpipe analysis.
36741 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
36743 2012-08-20 Roland McGrath <roland@hack.frob.com>
36745 * manual/syslog.texi (syslog; vsyslog, closelog):
36746 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
36747 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
36749 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
36750 DSOCAPS to match condition on defining it.
36752 2012-08-20 Joseph Myers <joseph@codesourcery.com>
36754 * sysdeps/unix/sysv/linux/kernel-features.h
36755 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
36756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
36757 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36758 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
36760 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36761 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
36763 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36764 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36766 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
36767 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
36769 * sysdeps/unix/sysv/linux/kernel-features.h
36770 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
36771 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
36773 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36774 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
36775 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
36776 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36777 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
36778 Make code unconditional.
36779 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36780 (__mmap64) [!__NR_mmap2]: Likewise.
36781 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
36782 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
36783 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36784 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
36785 [__NR_mmap2]: Make code unconditional.
36786 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36787 (__mmap64) [!__NR_mmap2]: Likewise.
36789 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36791 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
36793 2012-08-18 Andreas Jaeger <aj@suse.de>
36795 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
36797 2012-08-18 Mike Frysinger <vapier@gentoo.org>
36799 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
36800 * include/unistd.h (__have_sock_cloexec): Likewise.
36801 (__have_pipe2): Likewise.
36802 (__have_dup3): Likewise.
36804 2012-08-18 Mike Frysinger <vapier@gentoo.org>
36807 * include/unistd.h (__have_pipe2): Change define into an extern int.
36808 (__have_dup3): Likewise.
36809 * socket/have_sock_cloexec.c: Include fcntl.h.
36810 (__have_pipe2): New variable.
36811 (__have_dup3): Likewise.
36813 2012-08-17 Mike Frysinger <vapier@gentoo.org>
36815 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
36817 2012-08-17 Marek Polacek <polacek@redhat.com>
36819 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
36820 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
36822 2012-08-17 Roland McGrath <roland@hack.frob.com>
36824 * configure.in: Add AC_SUBST for sysheaders.
36825 * configure: Regenerated.
36826 * config.make.in (sysheaders): New substituted variable.
36828 * sysdeps/unix/mkfifo.c: Moved ...
36829 * sysdeps/posix/mkfifo.c: ... here.
36830 * sysdeps/unix/mkfifoat.c: Moved ...
36831 * sysdeps/posix/mkfifoat.c: ... here.
36833 * sysdeps/unix/utime.c: Moved ...
36834 * sysdeps/posix/utime.c: ... here.
36836 * sysdeps/unix/time.c: Moved ...
36837 * sysdeps/posix/time.c: ... here.
36838 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
36839 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
36841 * sysdeps/unix/nice.c: Moved ...
36842 * sysdeps/posix/nice.c: ... here.
36844 * sysdeps/unix/alarm.c: Moved ...
36845 * sysdeps/posix/alarm.c: ... here.
36847 * intl/Makefile ($(codeset_mo)): Depend on the input file.
36849 2012-08-17 Jeff Law <law@redhat.com>
36851 * intl/Makefile (codeset_mo): New variable.
36852 ($(codeset_mo)): New target.
36853 (tst-codeset.out): Depend on that. Remove explicit rule.
36854 (tst-gettext3.out, tst-gettext5.out): Likewise.
36855 (LOCPATH-ENV, tst-codeset-ENV): New variables.
36856 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
36857 * intl/tst-codeset.sh: Remove.
36858 * intl/tst-gettext3.sh: Likewise.
36859 * intl/tst-gettext5.sh: Likewise.
36861 2012-08-17 Roland McGrath <roland@hack.frob.com>
36863 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
36864 * sysdeps/unix/syscalls.list: ... here.
36866 * sysdeps/posix/getaddrinfo.c
36867 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
36868 (gaiconf_init, gaiconf_reload): Use them.
36869 [!_STATBUF_ST_NSEC]
36870 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
36871 Define using time_t rather than struct timespec.
36873 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
36874 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
36876 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
36878 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
36879 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
36882 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
36883 __libc_cleanup_push argument.
36885 * bits/param.h: New file.
36886 * misc/sys/param.h: New file.
36887 * include/sys/param.h: New file.
36888 * misc/Makefile (headers): Add bits/param.h.
36889 * sysdeps/generic/sys/param.h: File removed.
36890 * sysdeps/unix/sysv/linux/bits/param.h: New file.
36891 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
36892 * sysdeps/mach/hurd/bits/param.h: New file.
36893 * sysdeps/mach/hurd/sys/param.h: File removed.
36895 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
36898 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
36900 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
36901 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
36904 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
36905 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
36906 rather than -D_IO_MTSAFE_IO conditionally.
36907 * stdio-common/Makefile (CPPFLAGS): Likewise.
36908 * wcsmbs/Makefile (CPPFLAGS): Likewise.
36909 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
36910 Use $(libio-mtsafe).
36911 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
36912 of -D_IO_MTSAFE_IO.
36913 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
36914 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
36915 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
36916 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
36917 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
36918 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
36919 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
36920 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
36921 (CFLAGS-fread_u_chk.c): Likewise.
36922 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
36923 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
36924 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
36925 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
36926 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
36927 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
36928 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
36929 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
36930 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
36932 * libio/Makefile: Test [$(libc-reentrant) = yes]
36933 instead of [$(filter %REENTRANT, $(defines)) nonempty].
36936 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
36937 * sysdeps/pthread/configure: File removed.
36938 * sysdeps/pthread/Makeconfig: New file.
36939 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
36940 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
36942 2012-08-16 Gary Benson <gbenson@redhat.com>
36944 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
36945 unmapping the first object in a namespace.
36947 2012-08-16 Roland McGrath <roland@hack.frob.com>
36949 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
36950 (__internal_setnetgrent): ... this. Add internal_function to
36951 definition. Add libc_hidden_def.
36952 (setnetgrent): Update caller.
36953 (internal_endnetgrent): Renamed to ...
36954 (__internal_endnetgrent): ... this. Add internal_function to
36955 definition. Add libc_hidden_def.
36956 (endnetgrent): Update caller.
36957 (internal_getnetgrent_r): Renamed to ...
36958 (__internal_getnetgrent_r): ... this. Add internal_function to
36959 definition. Add libc_hidden_def.
36960 (__getnetgrent_r): Update caller.
36961 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
36963 2012-08-16 Joseph Myers <joseph@codesourcery.com>
36965 * stdlib/longlong.h: Update from GCC.
36967 2012-08-16 Roland McGrath <roland@hack.frob.com>
36969 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
36970 on _QL, which is set by umul_ppmm but never used.
36971 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
36972 variables, which are set by GMP macros but never used.
36973 * stdio-common/_itowa.c (_itowa): Likewise.
36974 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
36975 * stdlib/mod_1.c (mpn_mod_1): Likewise.
36977 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
36979 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
36980 struct La_sh_regs is not constant.
36981 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
36982 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
36983 and struct La_sparc64_regs are not constant.
36985 2012-08-16 Joseph Myers <joseph@codesourcery.com>
36987 * sysdeps/unix/sysv/linux/kernel-features.h
36988 (__ASSUME_POSIX_TIMERS): Remove.
36989 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
36990 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36991 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
36992 Make code unconditional.
36993 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36994 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
36995 Make code unconditional.
36996 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36997 * sysdeps/unix/sysv/linux/clock_nanosleep.c
36998 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
36999 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37000 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
37001 Make code unconditional.
37002 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37003 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
37004 (__libc_missing_posix_timers): Remove.
37006 2012-08-15 Roland McGrath <roland@hack.frob.com>
37008 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
37009 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
37011 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
37013 * elf/dl-sym.c: Include <stdlib.h>.
37015 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
37016 constants, which avoids warnings in 32-bit builds.
37018 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
37019 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
37021 * misc/lseek.c: File moved to ...
37022 * io/lseek.c: ... here.
37024 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
37026 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
37027 shifting LEN more than 31 bits at once.
37029 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37032 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
37033 segmentation fault for a case of two empty input strings.
37034 * string/test-strncasecmp.c (check1): Renamed to...
37035 (bz12205): ...this.
37036 (bz14195): Add new testcase for two empty input strings and N > 0.
37037 (test_main): Call new testcase, adapt for renamed function.
37039 2012-08-15 Andreas Jaeger <aj@suse.de>
37042 * crypt/md5test2.c: New test, based on test supplied by Serge
37043 Belyshev <belyshev@depni.sinp.msu.ru>.
37044 * crypt/Makefile (xtests): Add md5test-giant..
37045 * crypt/Makefile ($(objpfx)md5test-giant): Add.
37047 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
37050 * crypt/md5.c (md5_process_block): Don't assume the buffer
37051 length is less than 2**32.
37052 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
37053 length is less than 2**64.
37055 2012-08-15 Roland McGrath <roland@hack.frob.com>
37057 * string/str-two-way.h: Include <sys/param.h>.
37058 (MAX): Macro removed.
37060 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
37061 Move #define and #undef of memmove to just before and after
37062 including <string.h>.
37064 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
37065 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
37066 and after including <string.h>. Move declarations of
37067 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
37068 to before #include "string/memmove.c".
37070 * include/dirent.h: Declare __getdirentries.
37072 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
37073 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
37075 2012-08-14 Mike Frysinger <vapier@gentoo.org>
37077 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
37078 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
37079 * sysdeps/i386/configure: Regenerated.
37080 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
37081 STABS_CURRENT_FILE, and STABS_FUN.
37082 (END): Remove call to STABS_FUN_END.
37083 (STABS_CURRENT_FILE1): Delete.
37084 (STABS_CURRENT_FILE): Likewise.
37085 (STABS_FUN): Likewise.
37086 (STABS_FUN_END): Likewise.
37087 (STABS_FUN2): Likewise.
37088 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
37089 * sysdeps/x86_64/configure: Regenerated.
37091 2012-08-14 Roland McGrath <roland@hack.frob.com>
37093 * elf/dl-open.c: Include <atomic.h>.
37094 * elf/dl-lookup.c: Likewise.
37096 2012-08-14 Joseph Myers <joseph@codesourcery.com>
37098 * sysdeps/unix/sysv/linux/kernel-features.h
37099 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
37100 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
37102 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
37104 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
37105 condition on __ASSUME_CLONE_THREAD_FLAGS.
37107 2012-08-14 Andreas Jaeger <aj@suse.de>
37109 * sysdeps/i386/fpu/libm-test-ulps: Update.
37111 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
37113 * include/atomic.h (atomic_exchange_and_add): Split into ...
37114 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
37117 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
37119 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37121 2012-08-13 Jeff Law <law@redhat.com>
37123 * manual/stdio.texi (snprintf): Clarify handling of the trailing
37124 null byte in the output string.
37126 2012-08-10 Joseph Myers <joseph@codesourcery.com>
37128 * sysdeps/unix/sysv/linux/kernel-features.h
37129 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
37130 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
37131 (__ASSUME_ARG_MAX_STACK_BASED): Define.
37132 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
37133 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
37134 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
37135 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
37137 2012-08-09 Jeff Law <law@redhat.com>
37140 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
37141 When avoid_arena is set, don't retry in the that arena. Pick the
37142 next one, whatever it might be.
37143 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
37144 (arena_lock): Pass in new parameter to arena_get2.
37145 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
37147 (__libc_malloc): Unify retrying after main arena failure with
37148 __libc_memalign version.
37149 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
37151 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
37154 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
37155 to __redirect_strstr.
37156 (__strstr_sse42): Use typeof __redirect_strstr.
37157 (__strstr_ia32): Likewise.
37158 (__libc_strstr): New prototype.
37159 (strstr): Renamed to ...
37160 (__libc_strstr): This.
37161 (strstr): New strong alias of __libc_strstr.
37162 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
37163 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
37166 (__libc_time): New prototype.
37167 (time_ifunc): Replace time with __libc_time.
37168 (time): New strong alias and hidden definition of __libc_time.
37169 (__GI_time): Remove strong alias.
37170 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
37171 Include <stddef.h>.
37172 (memmove): Redefined to __redirect_memmove.
37173 (__memmove_sse2): Use typeof __redirect_memmove.
37174 (__memmove_ssse3): Likewise.
37175 (__memmove_ssse3_back): Likewise.
37176 (__libc_memmove): New prototype.
37177 (memmove): Renamed to ...
37178 (__libc_memmove): This.
37179 (memmove): New strong alias of __libc_memmove.
37181 2012-08-08 Mark Salter <msalter@redhat.com>
37184 (R_MN10300_TLS_GD): Define.
37185 (R_MN10300_TLS_LD): Likewise.
37186 (R_MN10300_TLS_LDO): Likewise.
37187 (R_MN10300_TLS_GOTIE): Likewise.
37188 (R_MN10300_TLS_IE): Likewise.
37189 (R_MN10300_TLS_LE): Likewise.
37190 (R_MN10300_TLS_DTPMOD): Likewise.
37191 (R_MN10300_TLS_DTPOFF): Likewise.
37192 (R_MN10300_TLS_TPOFF): Likewise.
37193 (R_MN10300_SYM_DIFF): Likewise.
37194 (R_MN10300_ALIGN): Likewise.
37195 (R_MN10300_NUM): Update.
37197 2012-08-08 Joseph Myers <joseph@codesourcery.com>
37199 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
37202 2012-08-08 Roland McGrath <roland@hack.frob.com>
37204 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
37206 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
37207 sysdeps/unix -> sysdeps/posix move.
37208 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
37210 2012-08-07 Allan McRae <allan@archlinux.org>
37213 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
37214 (SUNOS_CPP): Likewise.
37215 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
37217 (open_input): Call CPP using execvp.
37219 2012-08-07 Joseph Myers <joseph@codesourcery.com>
37221 * sysdeps/unix/sysv/linux/kernel-features.h
37222 (__ASSUME_PROT_GROWSUPDOWN): Remove.
37223 (__ASSUME_NO_CLONE_DETACHED): Likewise.
37224 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
37225 (__ASSUME_WAITID_SYSCALL): Likewise.
37226 * sysdeps/unix/sysv/linux/dl-execstack.c
37227 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
37228 code unconditional.
37229 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
37231 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
37232 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
37233 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
37235 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
37237 [__ASSUME_WAITID_SYSCALL]: Likewise.
37238 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
37240 2012-08-07 Roland McGrath <roland@hack.frob.com>
37242 * sysdeps/unix/closedir.c: Renamed to ...
37243 * sysdeps/posix/closedir.c: ... here.
37244 * sysdeps/unix/dirfd.c: Renamed to ...
37245 * sysdeps/posix/dirfd.c: ... here.
37246 * sysdeps/unix/dirstream.h: Renamed to ...
37247 * sysdeps/posix/dirstream.h: ... here.
37248 * sysdeps/unix/fdopendir.c: Renamed to ...
37249 * sysdeps/posix/fdopendir.c: ... here.
37250 * sysdeps/unix/opendir.c: Renamed to ...
37251 * sysdeps/posix/opendir.c: ... here.
37252 * sysdeps/unix/readdir.c: Renamed to ...
37253 * sysdeps/posix/readdir.c: ... here.
37254 * sysdeps/unix/readdir_r.c: Renamed to ...
37255 * sysdeps/posix/readdir_r.c: ... here.
37256 * sysdeps/unix/rewinddir.c: Renamed to ...
37257 * sysdeps/posix/rewinddir.c: ... here.
37258 * sysdeps/unix/seekdir.c: Renamed to ...
37259 * sysdeps/posix/seekdir.c: ... here.
37260 * sysdeps/unix/telldir.c: Renamed to ...
37261 * sysdeps/posix/telldir.c: ... here.
37262 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
37263 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
37264 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
37265 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
37267 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
37268 * bits/fcntl.h: ... here.
37270 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
37272 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
37273 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
37274 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
37275 (struct flock): Move l_start, l_len to the beginning.
37276 Use __pid_t for l_pid.
37277 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
37278 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
37279 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
37280 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
37281 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
37282 [__USE_LARGEFILE64] (struct flock64): New type.
37283 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
37285 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
37286 * bits/dirent.h: ... here.
37288 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
37289 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
37291 2012-08-07 Joseph Myers <joseph@codesourcery.com>
37293 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37294 Change from 2.6.0 to 2.6.16.
37295 * sysdeps/unix/sysv/linux/configure: Regenerated.
37296 * sysdeps/unix/sysv/linux/kernel-features.h
37297 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
37298 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
37300 (__ASSUME_UTIMES): Likewise.
37301 (__ASSUME_CLONE_STOPPED): Remove.
37302 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
37303 architectures, not kernel version.
37304 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
37305 (__ASSUME_NO_CLONE_DETACHED): Likewise.
37306 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
37307 (__ASSUME_WAITID_SYSCALL): Likewise.
37308 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
37309 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
37310 * README: State 2.6.16 as minimum Linux kernel version. Do not
37311 refer to older versions.
37313 2012-08-06 Roland McGrath <roland@hack.frob.com>
37315 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
37316 Define alphasort64 as an alias.
37317 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
37318 Define versionsort64 as an alias.
37319 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
37320 Define scandir64 as an alias.
37321 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
37322 Define scandirat64 as an alias.
37323 * dirent/alphasort64.c (alphasort64):
37324 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
37325 * dirent/versionsort64.c: Likewise.
37326 * dirent/scandir64.c: Likewise.
37327 * dirent/scandirat64.c: Likewise.
37328 * sysdeps/wordsize-64/alphasort.c: File removed.
37329 * sysdeps/wordsize-64/alphasort64.c: File removed.
37330 * sysdeps/wordsize-64/scandir.c: File removed.
37331 * sysdeps/wordsize-64/scandir64.c: File removed.
37332 * sysdeps/wordsize-64/scandirat.c: File removed.
37333 * sysdeps/wordsize-64/scandirat64.c: File removed.
37334 * sysdeps/wordsize-64/versionsort.c: File removed.
37335 * sysdeps/wordsize-64/versionsort64.c: File removed.
37336 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
37337 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
37338 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
37339 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
37340 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
37341 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
37342 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
37343 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
37345 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
37346 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
37347 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
37348 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37349 [defined __arch64__ || defined __sparcv9]
37350 (__INO_T_MATCHES_INO64_T): New macro.
37351 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37352 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
37353 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
37354 * sysdeps/unix/sysv/linux/bits/dirent.h
37355 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
37356 (_DIRENT_MATCHES_DIRENT64): New macro.
37358 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
37359 Define lockf64 as an alias.
37360 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
37361 Define fseeko64 as an alias.
37362 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
37363 Define ftello64 as an alias.
37364 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
37365 Define _IO_fgetpos64 and fgetpos64 as aliases.
37366 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
37367 Define _IO_fsetpos64 and fsetpos64 as aliases.
37368 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
37369 Conditionalize body on this.
37370 * libio/fseeko64.c: Likewise.
37371 * libio/ftello64.c: Likewise.
37372 * libio/iofgetpos64.c: Likewise.
37373 * libio/iofsetpos64.c: Likewise.
37374 * sysdeps/wordsize-64/lockf.c: File removed.
37375 * sysdeps/wordsize-64/lockf64.c: File removed.
37376 * sysdeps/wordsize-64/fseeko.c: File removed.
37377 * sysdeps/wordsize-64/fseeko64.c: File removed.
37378 * sysdeps/wordsize-64/ftello.c: File removed.
37379 * sysdeps/wordsize-64/ftello64.c: File removed.
37380 * sysdeps/wordsize-64/iofgetpos.c: File removed.
37381 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
37382 * sysdeps/wordsize-64/iofsetpos.c: File removed.
37383 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
37384 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
37385 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
37386 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
37387 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
37388 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
37389 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
37390 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
37391 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
37392 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
37393 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
37395 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
37396 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
37397 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
37398 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37399 [defined __arch64__ || defined __sparcv9]
37400 (__OFF_T_MATCHES_OFF64_T): New macro.
37401 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37402 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
37403 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37404 (__OFF_T_MATCHES_OFF64_T): New macro.
37406 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
37408 * stdlib/secure-getenv.c (__secure_getenv): Replace
37409 GLIBC_2_16 with GLIBC_2_17.
37411 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
37413 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
37414 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
37416 2012-08-03 David S. Miller <davem@davemloft.net>
37418 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37420 2012-08-03 Joseph Myers <joseph@codesourcery.com>
37422 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
37424 (__ASSUME_CORRECT_SI_PID): Likewise.
37425 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
37426 (__ASSUME_TMPFS_NAME): Likewise.
37427 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
37428 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
37429 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
37430 (HAVE_AUX_SECURE): Make definition unconditional.
37431 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
37432 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
37434 2012-08-03 Roland McGrath <roland@hack.frob.com>
37436 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
37437 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
37438 * sysdeps/mach/hurd/eloop-threshold.h: New file.
37439 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
37440 __eloop_threshold instead of SYMLOOP_MAX.
37442 * sysdeps/generic/eloop-threshold.h: New file.
37443 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
37445 * elf/chroot_canon.c (chroot_canon): Likewise.
37447 2012-08-03 Joseph Myers <joseph@codesourcery.com>
37450 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37451 Change to 2.6.0 everywhere.
37452 * sysdeps/unix/sysv/linux/configure: Regenerated.
37453 * sysdeps/unix/sysv/linux/kernel-features.h
37454 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
37455 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
37457 (__ASSUME_POSIX_TIMERS): Define unconditionally.
37458 (__ASSUME_FUTEX_REQUEUE): Remove.
37459 (__ASSUME_STATFS64): Define unconditionally.
37460 (__ASSUME_AT_SECURE): Likewise.
37461 (__ASSUME_CORRECT_SI_PID): Likewise.
37462 (__ASSUME_TGKILL): Define without depending on kernel version for
37464 (__ASSUME_UTIMES): Likewise.
37465 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
37467 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
37468 (__ASSUME_TMPFS_NAME): Likewise.
37469 * README: Update reference to Linux kernel versions.
37471 2012-08-02 Marek Polacek <polacek@redhat.com>
37474 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
37475 libc_cv_asm_type_prefix with %.
37476 * configure: Regenerated.
37477 * include/libc-symbols.h: Remove comment about
37478 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
37479 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
37480 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
37481 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
37482 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
37483 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
37484 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
37485 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
37486 * elf/tst-unique2mod1.c: Likewise.
37487 * elf/tst-unique1mod2.c: Likewise.
37488 * elf/tst-unique1mod1.c: Likewise.
37489 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
37490 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
37491 Replace ASM_TYPE_DIRECTIVE with .type.
37492 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37493 * sysdeps/i386/sysdep.h: Likewise.
37494 * sysdeps/x86_64/sysdep.h: Likewise.
37495 * sysdeps/sh/sysdep.h: Likewise.
37496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
37497 Do not define ASM_TYPE_DIRECTIVE.
37498 * sysdeps/powerpc/sysdep.h: Likewise.
37499 * sysdeps/powerpc/powerpc32/sysdep.h:
37500 Replace ASM_TYPE_DIRECTIVE with .type.
37501 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
37502 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
37503 * sysdeps/i386/fpu/e_powf.S: Likewise.
37504 * sysdeps/i386/fpu/e_expl.S: Likewise.
37505 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37506 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37507 * sysdeps/i386/fpu/e_pow.S: Likewise.
37508 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
37509 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37510 * sysdeps/i386/fpu/s_expm1.S: Likewise.
37511 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
37512 * sysdeps/i386/fpu/e_log2.S: Likewise.
37513 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37514 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37515 * sysdeps/i386/fpu/e_powl.S: Likewise.
37516 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37517 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
37518 * sysdeps/i386/fpu/e_logl.S: Likewise.
37519 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
37520 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
37521 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
37522 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37523 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37524 * sysdeps/i386/fpu/e_log.S: Likewise.
37525 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37526 * sysdeps/i386/fpu/e_logf.S: Likewise.
37527 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37528 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37529 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
37530 * sysdeps/i386/fpu/e_log10.S: Likewise.
37531 * sysdeps/i386/fpu/s_frexp.S: Likewise.
37532 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37533 * sysdeps/i386/fpu/s_asinh.S: Likewise.
37534 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
37535 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37536 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
37537 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
37538 * sysdeps/i386/i686/strtok.S: Likewise.
37539 * sysdeps/i386/i386-mcount.S: Likewise.
37540 * sysdeps/i386/strtok.S: Likewise.
37541 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
37542 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37543 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37544 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37545 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37546 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37547 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
37548 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
37549 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37550 * sysdeps/x86_64/_mcount.S: Likewise.
37551 * sysdeps/x86_64/strtok.S: Likewise.
37552 * sysdeps/sh/_mcount.S: Likewise.
37554 2012-08-01 Roland McGrath <roland@hack.frob.com>
37556 * libio/iofopen.c: Include <fcntl.h>.
37557 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
37558 (_IO_fopen64, fopen64): Define as aliases.
37559 * libio/iofopen64.c: Include <fcntl.h>.
37560 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
37561 Conditionalize body on this.
37562 * sysdeps/wordsize-64/iofopen.c: File removed.
37563 * sysdeps/wordsize-64/iofopen64.c: File removed.
37565 2012-08-01 Marek Polacek <polacek@redhat.com>
37567 * libc/Makeconfig: Use elf in place of binfmt-subdir.
37568 Use dlfcn directly instead of a variable.
37569 (binfmt-subdir): Do not define.
37572 2012-08-01 Joseph Myers <joseph@codesourcery.com>
37574 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
37575 Remove all definitions.
37576 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
37577 <kernel-features.h>.
37578 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
37579 (miss_F_GETOWN_EX): Remove all definitions.
37580 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
37582 [!__ASSUME_FCNTL64]: Remove conditional code.
37583 [__ASSUME_FCNTL64]: Make code unconditional.
37584 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
37585 <kernel-features.h>.
37586 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
37587 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
37588 (lockf64) [__NR_fcntl64]: Make code unconditional.
37589 (lockf64) [__ASSUME_FCNTL64]: Likewise.
37591 * sysdeps/unix/sysv/linux/kernel-features.h
37592 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
37593 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
37594 Make code unconditional.
37595 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37596 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
37598 [__NR_vfork]: Make code unconditional.
37599 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37600 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
37602 [__NR_vfork]: Make code unconditional.
37603 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37604 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37606 2012-08-01 Roland McGrath <roland@hack.frob.com>
37608 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
37609 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
37611 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37612 Define mkstemp64 as an alias.
37613 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37614 Define mkstemps64 as an alias.
37615 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37616 Define mkostemp64 as an alias.
37617 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37618 Define mkostemps64 as an alias.
37619 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
37620 Conditionalize body on this.
37621 * misc/mkostemp64.c: Likewise.
37622 * misc/mkostemps64.c: Likewise.
37623 * misc/mkstemps64.c: Likewise.
37624 * sysdeps/wordsize-64/mkstemp64.c: File removed.
37625 * sysdeps/wordsize-64/mkostemp64.c: File removed.
37626 * sysdeps/wordsize-64/mkostemp.c: File removed.
37627 * sysdeps/wordsize-64/mkstemp.c: File removed.
37628 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
37629 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
37630 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
37631 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
37634 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
37635 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
37636 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
37637 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
37639 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
37640 compat_symbol macros from <shlib-compat.h> rather than the underlying
37641 default_symbol_version and symbol_version macros, so that DEFAULT
37642 lines in shlib-versions are respected.
37643 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
37645 2012-08-01 Florian Weimer <fweimer@redhat.com>
37647 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
37648 Declare with warn_unused_result.
37649 (setgid, setregid, setegid, setresgid): Likewise.
37650 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
37652 * WUR-REPORT: Remove set*id functions.
37654 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
37656 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
37658 2012-07-31 Roland McGrath <roland@hack.frob.com>
37661 * include/sys/socket.h (__libc_accept, __libc_accept4):
37662 Add attribute_hidden.
37663 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
37665 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
37667 * inet/getnetgrent_r.c (setup): Likewise.
37669 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
37671 2012-07-31 David S. Miller <davem@davemloft.net>
37673 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37675 2012-07-31 Joseph Myers <joseph@codesourcery.com>
37678 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
37679 value between 1.0 and 2.0 and smaller part has absolute value less
37681 * math/s_clog10.c (__clog10): Likewise.
37682 * math/s_clog10f.c (__clog10f): Likewise.
37683 * math/s_clog10l.c (__clog10l): Likewise.
37684 * math/s_clogf.c (__clogf): Likewise.
37685 * math/s_clogl.c (__clogl): Likewise.
37686 * math/libm-test.inc (clog_test): Add more tests.
37687 (clog10_test): Likewise.
37688 * sysdeps/i386/fpu/libm-test-ulps: Update.
37689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37691 2012-07-31 Florian Weimer <fweimer@redhat.com>
37693 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
37694 Exit with zero in case no suitable GID is found, and write a
37695 message to standard error.
37697 2012-07-30 Roland McGrath <roland@hack.frob.com>
37699 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
37701 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
37702 (MAXPATHLEN): Removed.
37703 (NOGROUP, NODEV): New macros.
37704 (setbit, clrbit, isset, isclr): New macros.
37705 (howmany, roundup, powerof2): New macros.
37706 (DEV_BSIZE): New macro.
37708 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
37709 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
37711 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
37712 definition on [!__NO_LONG_DOUBLE_MATH].
37714 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
37715 PTR_MANGLE and PTR_DEMANGLE.
37717 * socket/accept4.c (accept4): Rename to __libc_accept4.
37718 Define accept4 as a weak alias.
37720 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
37721 on [_DIRENT_HAVE_D_TYPE].
37722 * io/ftw.c (ftw_dir): Likewise.
37724 * io/xmknod.c (__xmknod): Don't check PATH for being null.
37726 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
37728 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
37729 Use the BSD numbers rather than the arbitrary ones we had.
37730 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
37731 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
37732 (SIGXCPU, SIGXFSZ): New macros.
37735 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
37736 initializer on [_LIBC_REENTRANT].
37738 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
37739 definitions inside [_POSIX_MAPPED_FILES].
37741 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
37743 * dirent/opendir.c: Include <fcntl.h>.
37745 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
37746 (__libc_getspecific): Likewise.
37747 (__libc_key_create): Likewise.
37749 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
37750 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
37751 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
37752 (tmpfile64): Define as alias.
37753 * sysdeps/wordsize-64/tmpfile.c: File removed.
37754 * sysdeps/wordsize-64/tmpfile64.c: File removed.
37755 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
37756 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
37758 * stdio-common/vfscanf.c: Include <stdbool.h>.
37759 * nss/makedb.c: Likewise.
37760 * stdio-common/_i18n_number.h: Likewise.
37761 * argp/argp-help.c: Likewise.
37762 * posix/wordexp.c: Likewise.
37763 * sysdeps/posix/spawni.c: Likewise.
37764 * nss/nss_files/files-initgroups.c: Likewise.
37765 * stdio-common/reg-modifier.c: Include <stdlib.h>.
37766 * nss/nss_files/files-initgroups.c: Likewise.
37767 * nss/nss_db/db-netgrp.c: Likewise.
37768 * nss/nss_db/db-initgroups.c: Likewise.
37769 * io/fchmodat.c: Include <sys/stat.h>.
37771 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
37772 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
37774 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
37777 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
37778 Add multiple inclusion protection.
37780 2012-07-27 David S. Miller <davem@davemloft.net>
37782 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37784 2012-07-27 Gary Benson <gbenson@redhat.com>
37787 * elf/rtld.c: Include <stap-probe.h>.
37788 (dl_main): Added static probes "init_start" and "init_complete".
37789 * elf/dl-load.c: Include <stap-probe.h>.
37790 (lose): Take new parameter "nsid".
37791 Added static probe "map_failed".
37792 (_dl_map_object_from_fd): Pass namespace id to lose.
37793 Added static probe "map_start".
37794 (open_verify): Pass namespace id to lose.
37795 * elf/dl-open.c: Include <stap-probe.h>.
37796 (dl_open_worker) Added static probes "map_complete", "reloc_start"
37797 and "reloc_complete".
37798 * elf/dl-close.c: Include <stap-probe.h>.
37799 (_dl_close_worker): Added static probes "unmap_start" and
37801 * elf/rtld-debugger-interface.txt: New file documenting the above.
37803 2012-07-26 Roland McGrath <roland@hack.frob.com>
37805 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
37806 rather than a string variable.
37807 * sunrpc/rpc_main.c (h_output): Likewise.
37808 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
37810 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
37812 * inet/check_native.c: New file.
37814 2012-07-26 Joseph Myers <joseph@codesourcery.com>
37817 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
37818 if larger part has absolute value 1.0.
37819 * math/s_clog10.c (__clog10): Likewise.
37820 * math/s_clog10f.c (__clog10f): Likewise.
37821 * math/s_clog10l.c (__clog10l): Likewise.
37822 * math/s_clogf.c (__clogf): Likewise.
37823 * math/s_clogl.c (__clogl): Likewise.
37824 * math/libm-test.inc (clog_test): Add more tests.
37825 (clog10_test): Likewise.
37826 * sysdeps/i386/fpu/libm-test-ulps: Update.
37827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37829 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
37830 (pltexit): Likewise.
37831 (La_regs): Likewise.
37832 (La_retval): Likewise.
37833 (int_retval): Likewise.
37834 Update #error for removed macros to refer only to definitions in
37836 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
37838 (pltexit): Likewise.
37839 (La_regs): Likewise.
37840 (La_retval): Likewise.
37841 (int_retval): Likewise.
37842 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
37844 (pltexit): Likewise.
37845 (La_regs): Likewise.
37846 (La_retval): Likewise.
37847 (int_retval): Likewise.
37848 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
37850 (pltexit): Likewise.
37851 (La_regs): Likewise.
37852 (La_retval): Likewise.
37853 (int_retval): Likewise.
37854 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
37856 (pltexit): Likewise.
37857 (La_regs): Likewise.
37858 (La_retval): Likewise.
37859 (int_retval): Likewise.
37860 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
37862 (pltexit): Likewise.
37863 (La_regs): Likewise.
37864 (La_retval): Likewise.
37865 (int_retval): Likewise.
37866 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
37868 (pltexit): Likewise.
37869 (La_regs): Likewise.
37870 (La_retval): Likewise.
37871 (int_retval): Likewise.
37872 * sysdeps/generic/tst-audit.h: Update comment to refer only to
37873 macro definitions in tst-audit.h.
37874 * sysdeps/i386/tst-audit.h: New file.
37875 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
37876 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
37877 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
37878 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
37879 * sysdeps/sh/tst-audit.h: Likewise.
37880 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
37881 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
37882 * sysdeps/x86_64/tst-audit.h: Likewise.
37884 2012-07-26 Andreas Jaeger <aj@suse.de>
37886 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
37889 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
37890 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
37891 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
37893 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
37894 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
37895 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
37897 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
37900 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
37902 (si_call_addr, si_syscall, si_arch): Define new macro.
37903 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
37905 (si_call_addr, si_syscall, si_arch): Define new marcro.
37906 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
37908 (si_call_addr, si_syscall, si_arch): Define new macro.
37909 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
37911 (si_call_addr, si_syscall, si_arch): Define new macro.
37913 2012-07-25 Joseph Myers <joseph@codesourcery.com>
37916 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37917 Change to 2.4.21 where previously 2.4.1.
37918 * sysdeps/unix/sysv/linux/configure: Regenerated.
37919 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
37920 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
37921 Linux kernel version.
37922 (__ASSUME_STD_AUXV): Remove.
37923 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
37925 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
37926 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
37927 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
37928 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
37929 (__ASSUME_NETLINK_SUPPORT): Likewise.
37930 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
37931 (__no_netlink_support): Remove conditional definition.
37932 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
37934 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
37935 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
37936 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
37937 (if_nameindex_ioctl): Remove.
37938 (if_nameindex_netlink): Do not handle __no_netlink_support.
37939 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
37941 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
37942 Remove conditional code.
37943 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
37945 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
37947 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
37948 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
37949 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
37951 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
37952 [!__ASSUME_STD_AUXV]: Remove conditional code.
37953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
37954 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
37955 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
37956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
37957 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
37958 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
37960 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
37961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
37962 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
37963 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
37965 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
37966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
37967 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
37969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
37970 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
37972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
37973 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37974 code unconditional.
37975 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37977 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37979 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37982 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37984 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
37987 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37988 code unconditional.
37989 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37991 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37993 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
37996 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37997 code unconditional.
37998 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38000 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38002 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38005 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
38007 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
38008 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
38009 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
38010 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
38011 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
38012 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
38013 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
38014 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
38015 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
38016 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
38017 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
38018 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
38019 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
38020 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
38021 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
38022 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
38023 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
38024 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
38025 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
38026 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
38027 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
38028 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
38029 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
38031 2012-07-25 Florian Weimer <fweimer@redhat.com>
38033 * Versions.def: Add GLIBC_2.17.
38034 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
38035 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
38036 Introduce __libc_secure_getenv.
38037 * stdlib/Versions (2.17): Add secure_getenv
38038 (GLIBC_PRIVATE): Add __libc_secure_getenv.
38039 * stdlib/secure-getenv.c: Rename __secure_getenv to
38040 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
38041 symbol __secure_getenv for GLIBC_2.0.
38042 * stdlib/tst-secure-getenv.c: New.
38043 * stdlib/Makefile (tests): Add testcase.
38044 * manual/startup.texi (Environment Access): Document
38046 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
38047 __libc_secure_getenv.
38048 * inet/ruserpass.c (ruserpass): Likewise.
38049 * malloc/mtrace.c (mtrace): Likewise.
38050 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
38051 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
38052 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
38053 * sysdeps/posix/tempname.c: Likewise. Evaluate
38054 HAVE_SECURE_GETENV.
38055 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
38056 __secure_getenv to __libc_secure_getenv.
38057 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
38058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38062 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
38063 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
38064 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38065 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
38066 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
38067 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
38068 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
38070 2012-07-25 Joseph Myers <joseph@codesourcery.com>
38072 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
38073 (struct La_i86_retval): Likewise.
38074 (struct La_x86_64_regs): Likewise.
38075 (struct La_x86_64_retval): Likewise.
38076 (struct La_x32_regs): Likewise.
38077 (struct La_x32_retval): Likewise.
38078 (struct La_ppc32_regs): Likewise.
38079 (struct La_ppc32_retval): Likewise.
38080 (struct La_ppc64_regs): Likewise.
38081 (struct La_ppc64_retval): Likewise.
38082 (struct La_sh_regs): Likewise.
38083 (struct La_sh_retval): Likewise.
38084 (struct La_s390_32_regs): Likewise.
38085 (struct La_s390_32_retval): Likewise.
38086 (struct La_s390_64_regs): Likewise.
38087 (struct La_s390_64_retval): Likewise.
38088 (struct La_sparc32_regs): Likewise.
38089 (struct La_sparc32_retval): Likewise.
38090 (struct La_sparc64_regs): Likewise.
38091 (struct La_sparc64_retval): Likewise.
38092 (struct audit_ifaces): Remove architecture-specific pltenter and
38094 * sysdeps/i386/ldsodefs.h: New file.
38095 * sysdeps/powerpc/ldsodefs.h: Likewise.
38096 * sysdeps/s390/ldsodefs.h: Likewise.
38097 * sysdeps/sh/ldsodefs.h: Likewise.
38098 * sysdeps/sparc/ldsodefs.h: Likewise.
38099 * sysdeps/x86_64/ldsodefs.h: Likewise.
38101 2012-07-25 Marek Polacek <polacek@redhat.com>
38104 * math/libm-test.inc (yn_test): Add another test.
38105 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
38106 to ERANGE when the result is +-Inf.
38107 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
38108 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
38109 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
38110 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
38112 2012-07-24 Joseph Myers <joseph@codesourcery.com>
38114 * conform/data/time.h-data (NULL): Use macro-constant. Require
38116 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
38118 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
38120 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
38122 * configure.in <sysdeps resolving>: Correct printing
38124 * configure: Regenerate.
38126 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
38128 * math/w_ilogb.c: Include <limits.h>.
38129 * math/w_ilogbl.c: Likewise.
38131 2012-07-20 Joseph Myers <joseph@codesourcery.com>
38133 * manual/lang.texi (__va_copy): Document primarily as ISO C99
38134 va_copy. Document allowing for unavailable va_copy only as
38135 pre-C99 compatibility.
38136 * manual/string.texi (Copying and Concatenation): Use va_copy
38137 instead of __va_copy in concat example.
38139 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
38141 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
38142 (__sendto): Use create_address_port. Initialize APORT and deallocate
38145 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
38146 with O_NOLINK passed to __file_name_lookup.
38148 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
38149 with O_NOLINK passed to __file_name_lookup.
38151 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
38152 negative N or less than NGIDS.
38154 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
38155 type to string_t. Set ERANGE as errno and return it if NAME is not big
38156 enough. Use memcpy instead of strncpy.
38158 2012-07-20 Joseph Myers <joseph@codesourcery.com>
38160 * elf/Makefile (check-data): Remove.
38161 (localplt.data): New vpath directive.
38162 ($(objpfx)check-localplt.out): Use localplt.data from vpath
38163 instead of $(check-data).
38164 * scripts/data/localplt-generic.data: Move to ...
38165 * sysdeps/generic/localplt.data: ... here.
38166 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
38167 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
38168 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
38169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
38171 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
38172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
38174 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
38175 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
38177 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
38178 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
38180 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
38181 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
38183 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
38184 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
38187 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38189 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
38190 PPC32 and PPC64 files.
38191 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
38192 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
38194 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38196 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
38197 __makecontext_ret to ...
38198 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
38199 ... here and call exit if uc_link is NULL. New file.
38200 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
38201 __makecontext_ret.S.
38202 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
38203 __makecontext_ret to ...
38204 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
38205 ... here and call exit if uc_link is NULL. New file.
38206 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
38207 __makecontext_ret.S.
38209 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38211 * elf/elf.h (R_390_IRELATIVE): New definition.
38212 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
38213 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
38214 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
38215 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
38216 (elf_machine_lazy_rel): Likewise.
38217 * sysdeps/s390/dl-irel.h: New file.
38218 * sysdeps/s390/s390-64/memcpy.S: New asm code.
38219 * sysdeps/s390/s390-64/memset.S: New asm code.
38220 * sysdeps/s390/s390-64/memcmp.S: New asm code.
38221 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
38222 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
38223 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
38224 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
38225 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
38226 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
38227 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
38228 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
38229 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
38230 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
38231 * sysdeps/s390/s390-32/memcpy.S: New asm code.
38232 * sysdeps/s390/s390-32/memset.S: New asm code.
38233 * sysdeps/s390/s390-32/memcmp.S: New asm code.
38235 2012-07-17 Marek Polacek <polacek@redhat.com>
38238 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
38239 * sysdeps/s390/s390-64/configure.in: Likewise.
38240 * sysdeps/sparc/configure.in: Likewise.
38241 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
38242 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
38243 * sysdeps/i386/configure.in: Likewise.
38244 * sysdeps/x86_64/configure.in: Likewise.
38245 * sysdeps/sh/configure.in: Likewise.
38246 * sysdeps/s390/s390-32/configure: Regenerated.
38247 * sysdeps/s390/s390-64/configure: Likewise.
38248 * sysdeps/x86_64/configure: Likewise.
38249 * sysdeps/sh/configure: Likewise.
38250 * sysdeps/powerpc/powerpc64/configure: Likewise.
38251 * sysdeps/powerpc/powerpc32/configure: Likewise.
38252 * sysdeps/sparc/configure: Likwise.
38253 * sysdeps/i386/configure: Likewise.
38255 * elf/dl-open.c: Comment fixes.
38257 2012-07-17 Joseph Myers <joseph@codesourcery.com>
38259 * Makefile [CXX] (check-data): Remove.
38260 [CXX] (c++-types.data): New vpath directive.
38261 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
38262 vpath. Do not allow for C++ type data being missing.
38263 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
38264 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
38265 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
38266 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
38267 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
38268 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
38269 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
38270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
38272 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
38273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
38275 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
38276 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
38278 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
38279 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
38281 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
38282 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
38284 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
38285 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
38287 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
38288 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
38290 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
38291 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
38293 * elf/tls-macros.h (TLS_LE): Move architecture-specific
38294 definitions to architecture-specific files.
38295 (TLS_IE): Likewise.
38296 (TLS_LD): Likewise.
38297 (TLS_GD): Likewise.
38298 * sysdeps/i386/tls-macros.h: New file.
38299 * sysdeps/powerpc/tls-macros.h: Likewise.
38300 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
38301 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
38302 * sysdeps/sh/tls-macros.h: Likewise.
38303 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
38304 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
38305 * sysdeps/x86_64/tls-macros.h: Likewise.
38307 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
38309 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
38310 zero value for regular exit case.
38312 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
38313 (__start_context): Preserve zero value for regular exit case.
38315 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
38316 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38318 * manual/setjmp.texi (setcontext): Clarify normal process
38319 termination when uc_link is the null pointer.
38320 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
38323 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
38325 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
38326 preprocessor. Test for each exception mask separately.
38328 2012-07-16 Andreas Jaeger <aj@suse.de>
38330 * po/ru.po: Update from translation team.
38332 2012-07-15 Joseph Myers <joseph@codesourcery.com>
38334 * conform/data/string.h-data (NULL): Use macro-constant. Require
38336 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
38337 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
38338 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
38339 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
38340 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38342 2012-07-13 Andreas Jaeger <aj@suse.de>
38344 * po/fr.po: Update from translation team.
38346 2012-07-12 Marek Polacek <polacek@redhat.com>
38349 * math/libm-test.inc (yn_test): Add test for BZ #14173.
38350 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
38353 2012-07-12 Joseph Myers <joseph@codesourcery.com>
38356 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38357 Change to 2.4.1 where previously 2.4.0.
38358 * sysdeps/unix/sysv/linux/configure: Regenerated.
38359 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
38360 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
38362 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
38363 (__ASSUME_AT_CLKTCK): Remove.
38364 (__ASSUME_AT_PAGESIZE): Likewise.
38365 (__ASSUME_AT_XID): Likewise.
38366 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
38367 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
38368 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
38370 (HAVE_AUX_PAGESIZE): Likewise.
38371 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
38372 [__ASSUME_AT_CLKTCK]: Make code unconditional.
38373 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
38375 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
38378 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
38379 the temporary buffer used to invoke __gethostbyname2_r,
38380 __gethostbyaddr_r and gethostbyname4_r to make room for struct
38381 host_data / struct gaih_addrtuple.
38382 * resolv/nss_dns/dns-host.c (global scope): Move definition of
38383 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
38384 header file nss/nsswitch.h.
38385 * nss/nsswitch.h (global scope): Add definition of implementation
38386 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
38387 resolv/nss_dns/dns-host.c).
38389 2012-07-11 Andreas Jaeger <aj@suse.de>
38391 * po/fr.po: Update from translation team.
38393 * po/sv.po: Update from translation team
38394 * po/fr.po: Another update from translation team.
38396 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38398 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
38399 for subnormals or multiply small sinh result by itself.
38400 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
38401 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38403 2012-07-11 David S. Miller <davem@davemloft.net>
38405 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38407 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
38410 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
38411 (INTERNAL_MARK): Shift it here.
38413 2012-07-10 Marek Polacek <polacek@redhat.com>
38416 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
38417 libc_cv_asm_global_directive with .globl.
38418 * configure: Regenerated.
38419 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
38421 * sysdeps/i386/configure: Regenerated.
38422 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
38424 * sysdeps/x86_64/configure: Regenerated.
38425 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
38426 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
38427 * elf/tst-unique2mod2.c: Likewise.
38428 * elf/tst-unique2mod1.c: Likewise.
38429 * elf/tst-unique1mod2.c: Likewise.
38430 * elf/tst-unique1mod1.c: Likewise.
38431 * sysdeps/s390/s390-32/sysdep.h: Likewise.
38432 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
38433 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38434 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38435 * sysdeps/mach/sysdep.h: Likewise.
38436 * sysdeps/i386/sysdep.h: Likewise.
38437 * sysdeps/i386/i386-mcount.S: Likewise.
38438 * sysdeps/x86_64/_mcount.S: Likewise.
38439 * sysdeps/x86_64/sysdep.h: Likewise.
38440 * sysdeps/sh/_mcount.S: Likewise.
38441 * sysdeps/sh/sysdep.h: Likewise.
38442 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
38443 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
38444 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
38445 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38446 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
38447 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
38448 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
38449 * locale/localeinfo.h: Likewise.
38450 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
38451 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
38453 2012-07-09 Roland McGrath <roland@hack.frob.com>
38456 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
38458 * manual/message.texi (The Uniforum approach): Likewise.
38459 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
38460 (glibc iconv Implementation): Likewise.
38462 2012-07-09 Joseph Myers <joseph@codesourcery.com>
38465 * math/s_clog.c (__clog): Avoid scaling a value down where that
38466 could result in underflow.
38467 * math/s_clog10.c (__clog10): Likewise.
38468 * math/s_clog10f.c (__clog10f): Likewise.
38469 * math/s_clog10l.c (__clog10l): Likewise.
38470 * math/s_clogf.c (__clogf): Likewise.
38471 * math/s_clogl.c (__clogl): Likewise.
38472 * math/libm-test.inc (clog_test): Add more tests.
38473 (clog10_test): Likewise.
38474 * sysdeps/i386/fpu/libm-test-ulps: Update.
38475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38477 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
38480 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
38481 by 7 not 8 to examine high bit of fractional part.
38484 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
38485 for call to __mcount_internal.
38486 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
38487 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
38488 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
38490 2012-07-06 Joseph Myers <joseph@codesourcery.com>
38493 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
38494 approximation for values within 0x1p-13f of an odd multiple of
38496 * math/libm-test.inc (tan_test): Do not allow spurious underflow
38497 exception. Add more tests.
38498 * sysdeps/i386/fpu/libm-test-ulps: Update.
38501 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
38502 inputs and return -1 for them. Do not check for +Inf in case not
38503 reachable for +Inf.
38504 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
38505 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
38506 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
38507 and return -1 for them. Do not check for +Inf in case not
38508 reachable for +Inf.
38509 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
38511 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
38512 and return -1 for them. Do not check for +Inf in case not
38513 reachable for +Inf.
38514 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
38515 spurious underflow.
38516 * sysdeps/i386/fpu/libm-test-ulps: Update.
38517 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38519 2012-07-06 Mike Frysinger <vapier@gentoo.org>
38521 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
38523 2012-07-05 Joseph Myers <joseph@codesourcery.com>
38527 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
38528 could result in spurious underflow. Scale down values above
38529 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
38530 * math/s_csqrtf.c (__csqrtf): Likewise.
38531 * math/s_csqrtl.c (__csqrtl): Likewise.
38532 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
38533 spurious underflow.
38534 * sysdeps/i386/fpu/libm-test-ulps: Update.
38535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38537 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
38539 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
38541 * catgets/xopen-msg.awk: New file.
38542 * catgets/xopen-msg.sed: Removed.
38544 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
38546 * intl/po2test.awk: New file.
38547 * intl/po2test.sed: Removed.
38549 2012-07-04 Joseph Myers <joseph@codesourcery.com>
38552 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
38553 or multiply small sinh result by itself.
38554 * math/s_ctanf.c (__ctanf): Likewise.
38555 * math/s_ctanh.c (__ctanh): Likewise.
38556 * math/s_ctanhf.c (__ctanhf): Likewise.
38557 * math/s_ctanhl.c (__ctanhl): Likewise.
38558 * math/s_ctanl.c (__ctanl): Likewise.
38559 * math/libm-test.inc (ctan_test_tonearest): New function.
38560 (ctan_test_towardzero): Likewise.
38561 (ctan_test_downward): Likewise.
38562 (ctan_test_upward): Likewise.
38563 (ctanh_test_tonearest): Likewise.
38564 (ctanh_test_towardzero): Likewise.
38565 (ctanh_test_downward): Likewise.
38566 (ctanh_test_upward): Likewise.
38567 (main): Call these new functions.
38568 * sysdeps/i386/fpu/libm-test-ulps: Update.
38569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38571 2012-07-03 Mike Frysinger <vapier@gentoo.org>
38573 * .gitignore: Delete /ports entry.
38575 2012-07-03 Andreas Jaeger <aj@suse.de>
38577 * po/bg.po: Update from translation team.
38578 * po/cs.po: Likewise.
38579 * po/de.po: Likewise.
38580 * po/hr.po: Likewise.
38581 * po/nl.pl: Likewise.
38582 * po/pl.po: Likewise.
38583 * po/vi.po: Likewise.
38585 2012-07-03 Joseph Myers <joseph@codesourcery.com>
38587 * Makeconfig [!+link] (+link-before-libc): New variable.
38588 [!+link] (+link-after-libc): Likewise.
38589 [!+link] (+link-tests): Likewise.
38590 [!+link] (+link): Define in terms of $(+link-before-libc) and
38591 $(+link-after-libc).
38592 [!+link-static] (+link-static-before-libc): New variable.
38593 [!+link-static] (+link-static-after-libc): Likewise.
38594 [!+link-static] (+link-static-tests): Likewise.
38595 [!+link-static] (+link-static): Define in terms of
38596 $(+link-static-before-libc) and $(+link-static-after-libc).
38597 [build-shared] (link-libc-before-gnulib): New variable.
38598 [build-shared] (link-libc-tests): Likewise.
38599 [build-shared] (link-libc): Define in terms of
38600 $(link-libc-before-gnulib).
38601 [!build-shared] (link-libc-tests): New variable.
38602 (link-libc-static-tests): New variable.
38603 [!gnulib] (gnulib-arch): New variable.
38604 [!gnulib] (gnulib-tests): Likewise.
38605 [!gnulib] (static-gnulib-arch): Likewise.
38606 [!gnulib] (static-gnulib-tests): Likewise.
38607 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
38608 Define with "=" instead of ":=".
38609 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
38610 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
38611 * Rules (binaries-all-notests): New variable.
38612 (binaries-all-tests): Likewise.
38613 (binaries-static-notests): Likewise.
38614 (binaries-static-tests): Likewise.
38615 (binaries-all): Define using $(binaries-all-notests) and
38616 $(binaries-all-tests).
38617 (binaries-static): Define using $(binaries-static-notests) and
38618 $(binaries-static-tests).
38619 (binaries-shared-tests): New variable.
38620 (binaries-shared-notests): Likewise.
38621 (binaries-shared): Remove variable.
38622 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
38623 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
38624 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
38625 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
38626 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
38627 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
38628 * elf/Makefile (sln-modules): New variable.
38629 (extra-objs): Add $(sln-modules:=.o).
38630 (ldconfig-modules): Add static-stubs.
38631 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
38632 * elf/static-stubs.c: New file.
38635 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
38636 by 7 not 8 to examine high bit of fractional part. Use volatile
38637 variables when splitting into final array of floats if
38638 __FLT_EVAL_METHOD__ != 0.
38639 * math/libm-test.inc (cos_test): Add another test.
38640 (sin_test): Likewise.
38641 * sysdeps/i386/fpu/libm-test-ulps: Update.
38644 * math/libm-test.inc (cosh_test): Add more tests.
38646 * version.h (RELEASE): Set to "development".
38647 (VERSION): Set to "2.16.90".
38649 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
38651 * NEWS: Update copyright. Remove last-updated date.
38652 Mention math library bug fixes and timezone data changes.
38653 * README: Mention GNU/Hurd, x32, and HPPA support status.
38655 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
38657 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
38659 2012-06-27 Andreas Jaeger <aj@suse.de>
38661 * manual/contrib.texi (Contributors): Add Samuel Thibault.
38663 2012-06-25 Andreas Jaeger <aj@suse.de>
38665 * sysdeps/s390/fpu/libm-test-ulps: Update.
38667 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
38668 Thomas Schwinge <thomas@codesourcery.com>
38670 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
38671 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
38672 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
38675 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
38677 * sysdeps/mach/start.c: Remove file.
38678 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
38679 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
38680 * sysdeps/sh/init-first.c: Likewise.
38682 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
38683 registers for frame unwinding purposes, add CFI directives.
38684 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
38685 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
38686 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
38689 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
38690 __fortify_fail returning.
38691 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
38693 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
38694 sysdeps/sh/____longjmp_chk.S.
38695 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
38696 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
38697 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
38698 (gen-as-const-headers): Append sigaltstack-offsets.sym.
38700 * sysdeps/sh/abort-instr.h: New file.
38701 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
38702 process in case exit returns.
38704 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
38705 initialize the GOT register before use.
38707 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
38708 calculation of ARGC > 4.
38710 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
38711 meaningful names to some local labels.
38713 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38714 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38716 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
38717 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
38718 (__arch_compare_and_exchange_val_16_acq): Likewise.
38719 (__arch_compare_and_exchange_val_32_acq): Likewise.
38720 (atomic_exchange_and_add): Fix gUSA sequence.
38721 (atomic_add): Likewise.
38722 (atomic_add_negative): Likewise.
38723 (atomic_add_zero): Likewise.
38724 (atomic_bit_test_set): Likewise.
38726 2012-06-22 Andreas Schwab <schwab@redhat.com>
38729 * include/link.h (struct link_map): Add l_free_initfini.
38730 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
38732 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
38733 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
38734 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
38737 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
38739 * configure.in: Use AC_LANG_SOURCE.
38740 * configure: Regenerate.
38742 2012-06-22 Roland McGrath <roland@hack.frob.com>
38744 * configure.in (libc_cv_localstatedir): New substituted variable.
38745 * configure: Regenerated.
38746 * config.make.in (localstatedir): New variable, substituted from
38747 libc_cv_localstatedir.
38748 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
38749 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
38750 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
38751 * sysdeps/gnu/configure: Regenerated.
38753 2012-06-21 Jeff Law <law@redhat.com>
38756 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
38757 free. Simplify list management for _LIBC case.
38759 2012-06-21 Joseph Myers <joseph@codesourcery.com>
38762 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
38763 Clear sign bit of 64-bit integer value before comparing against
38766 * sysdeps/mach/configure: Regenerated.
38768 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
38771 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
38773 2012-06-21 Jeff Law <law@redhat.com>
38776 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
38777 uint16_t for elements in the "seen" array to avoid char overflows.
38778 * elf/dl-fini.c (_dl_sort_fini): Likewise.
38779 * elf/dl-open.c (dl_open_worker): Likewise.
38781 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
38783 * scripts/list-sources.sh: Scan PORTS for translations.
38784 * po/libc.pot: Regenerated.
38786 2012-06-21 Andreas Jaeger <aj@suse.de>
38789 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
38791 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
38792 * bits/byteswap-16.h (__bswap_16): Likewise.
38793 * bits/byteswap.h (__bswap_constant_16): Likewise.
38795 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
38798 * sysdeps/i386/fpu_control.h: Removed.
38799 * sysdeps/x86_64/fpu_control.h: Moved to ...
38800 * sysdeps/x86/fpu_control.h: Here.
38802 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
38803 (_FPU_SETCW): Likewise.
38805 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
38808 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
38809 * sysdeps/x86/fpu/bits/mathinline.h: This.
38810 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
38814 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
38815 functions if __x86_64__ is defined.
38817 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
38819 * string/endian.h: Add !__ASSEMBLER__ condition for including
38820 conversion interfaces.
38822 2012-06-15 Joseph Myers <joseph@codesourcery.com>
38825 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
38826 of ABS(x) in calculating zero to negative powers other than odd
38828 * math/libm-test.inc (pow_test): Add more tests.
38830 2012-06-15 Andreas Jaeger <aj@suse.de>
38832 * manual/contrib.texi (Contributors): Update entry of Liubov
38833 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
38836 2012-06-15 Cyril Hrubis <metan@ucw.cz>
38838 * string/string.h: Add __wur to GNU version of strerror_r.
38840 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
38843 * string/Makefile (tests): Add tst-strtok_r.
38844 * string/tst-strtok_r.c: New file.
38845 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
38846 RAX_LP/RDX_LP on SAVE_PTR.
38848 2012-06-14 Roland McGrath <roland@hack.frob.com>
38850 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
38852 2012-06-14 Joseph Myers <joseph@codesourcery.com>
38854 * libm_test.inc (csqrt_test): Allow more spurious underflow
38856 (j0_test): Likewise.
38857 (j1_test): Likewise.
38858 (y0_test): Likewise.
38859 (y1_test): Likewise.
38861 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
38863 * po/Makefile (libc.pot): Use UTF-8 charset.
38865 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
38868 Suppress sign-conversion warning from FD_SET.
38869 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
38870 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
38871 not unsigned long int.
38872 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
38874 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
38878 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
38879 __extern_always_inline instead of __extern_inline.
38880 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
38881 (__signbit): Likewise.
38882 (__signbitl): Support C++ namespace.
38883 (lrintf): New inline function.
38885 (llrintf): Likewise.
38886 (llrint): Likewise.
38896 (floorf): Likewise.
38897 (nearbyint): Likewise.
38898 (nearbyintf): Likewise.
38900 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
38902 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
38903 non-default versions.
38905 2012-06-11 Roland McGrath <roland@hack.frob.com>
38908 * manual/argp.texi (Argp): Reword argp_parse description slightly.
38910 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
38912 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
38913 (FE_UPWARD, FE_DOWNWARD): Don't define.
38914 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
38915 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
38917 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
38919 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
38920 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38922 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38924 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
38925 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
38926 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
38927 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
38929 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
38932 * sysdeps/i386/fpu/bits/fenv.h: Removed.
38933 * sysdeps/i386/fpu/Implies: New file.
38934 * sysdeps/x86_64/fpu/Implies: Likewise.
38935 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
38936 * sysdeps/x86/fpu/bits/fenv.h: This.
38938 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
38941 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
38944 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
38945 character 0xffff that matches the last element of the
38948 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38950 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
38953 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38955 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
38956 values higher than 25.6283.
38958 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38960 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
38961 subnormal exponent extraction and add some __builtin_expect.
38962 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
38963 Fix for subnormal mantissa calculation.
38965 2012-06-04 Mike Frysinger <vapier@gentoo.org>
38967 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
38968 cpu2 is -1 and errno is not ENOSYS.
38970 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
38973 * sysdeps/i386/i486/bits/string.h: Renamed to ...
38974 * sysdeps/x86/bits/string.h: This.
38975 * sysdeps/x86_64/bits/string.h: Removed.
38977 * sysdeps/i386/i486/bits/string.h: Define inline functions only
38978 if not compiling for x86-64, but compiling for >= i486.
38980 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
38981 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
38983 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
38984 New macro from Linux kernel 3.4.0.
38985 (FP_XSTATE_MAGIC2): Likewise.
38986 (FP_XSTATE_MAGIC2_SIZE): Likewise.
38987 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
38988 (struct _fpx_sw_bytes): New struct.
38989 (struct _xsave_hdr): Likewise.
38990 (struct _ymmh_state): Likewise.
38991 (struct _xstate): Likewise.
38993 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
38994 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
38995 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
38996 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
38997 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
38998 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
39000 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
39001 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
39002 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
39003 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
39004 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
39005 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
39007 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39010 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
39011 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
39012 (sysdep_headers): Include sys/platform/ppc.h.
39013 * sysdeps/powerpc/test-gettimebase.c: Test for
39014 __ppc_get_timebase() to catch future ISA opcode/insn changes.
39015 * manual/Makefile (appendices): Include platform.texi.
39016 * manual/contrib.texi (Contributors): Update @node pointers.
39017 * manual/maint.texi (Maintenance): Likewise.
39018 (Platform): New node.
39019 * manual/platform.texi: New file. Document the new features.
39021 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
39022 Jakub Jelinek <jakub@redhat.com>
39025 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
39026 where __builtin_expect is unavailable.
39028 2012-06-03 David S. Miller <davem@davemloft.net>
39030 * stdlib/longlong.h: Updated from GCC.
39032 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
39035 * sysdeps/powerpc/powerpc32/mcount.c: New file.
39036 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
39038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
39039 (GLIBC_2.16): Likewise.
39041 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
39043 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
39045 2012-06-01 Joseph Myers <joseph@codesourcery.com>
39047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
39048 (default-abi): New variable.
39049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
39050 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
39052 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
39054 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
39056 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
39059 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
39060 definition. Document in comment.
39062 2012-06-01 David S. Miller <davem@davemloft.net>
39064 * stdlib/longlong.h: Updated from GCC.
39066 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
39069 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
39070 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
39071 sys/debugreg.h sys/io.h here.
39072 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
39073 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
39075 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
39076 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
39077 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
39078 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
39079 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
39080 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
39082 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
39083 Define only if __x86_64__ is defined.
39085 2012-06-01 Joseph Myers <joseph@codesourcery.com>
39088 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
39089 Use int64_t for variable i.
39090 * math/libm-test.inc (fmod_test): Add more tests.
39092 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
39093 z computation is not scheduled after fetestexcept.
39094 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
39095 Use math_force_eval instead of asm to ensure calculation scheduled
39096 before exception test.
39097 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
39098 Ensure a1 + u.d computation is not scheduled after fetestexcept.
39100 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
39102 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
39103 computation is not scheduled after fetestexcept.
39105 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
39108 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
39109 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
39111 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39113 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
39114 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39116 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
39119 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
39121 (__WCHAR_MIN): Support __WORDSIZE == 64.
39122 (__WCHAR_MAX): Likewise.
39124 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
39125 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
39128 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
39129 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
39132 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
39133 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
39135 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
39136 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
39138 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
39139 Defined to 1 if __x86_64__ isn't defined.
39140 (_STAT_VER_LINUX_OLD): New.
39141 (st_atime): Remove duplicate.
39142 (st_mtime): Likewise.
39143 (st_ctime): Likewise.
39145 2012-05-31 David S. Miller <davem@davemloft.net>
39147 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
39150 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
39152 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
39156 * elf/dl-reloc.c: Include <_itoa.h>.
39157 (_dl_reloc_bad_type): Remove use of INTUSE.
39158 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
39159 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
39160 * stdio-common/psiginfo.c (psiginfo): Likewise.
39161 * stdio-common/psignal.c (psignal): Likewise.
39162 * string/strsignal.c (strsignal): Likewise.
39163 * include/signal.h (_sys_siglist): Declare hidden proto.
39164 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
39165 INTVARDEF with libc_hidden_data_def.
39166 * stdio-common/itoa-udigits.c: Likewise.
39167 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
39168 (_itoa_lower_digits_internal): Remove declaration.
39169 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
39170 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
39171 (_sys_sigabbrev_internal): Remove aliases.
39172 (_sys_siglist): Define hidden alias.
39174 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
39176 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39179 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
39182 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
39183 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
39185 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
39186 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
39187 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
39188 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
39189 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
39190 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
39192 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
39193 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
39194 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
39196 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
39204 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
39205 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
39206 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
39208 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
39209 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
39210 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
39211 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
39212 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
39213 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
39215 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
39216 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
39218 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
39219 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
39221 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
39222 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
39223 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
39225 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
39226 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
39228 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
39230 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
39231 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
39232 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
39234 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
39236 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
39238 2012-05-31 Joseph Myers <joseph@codesourcery.com>
39240 * math/math.h (M_El): Use two more decimal places.
39241 (M_LOG2El): Likewise.
39242 (M_LOG10El): Likewise.
39243 (M_LN2l): Likewise.
39244 (M_LN10l): Likewise.
39246 (M_PI_2l): Likewise.
39247 (M_PI_4l): Likewise.
39248 (M_1_PIl): Likewise.
39249 (M_2_PIl): Likewise.
39250 (M_2_SQRTPIl): Likewise.
39251 (M_SQRT2l): Likewise.
39252 (M_SQRT1_2l): Likewise.
39254 2012-05-31 David S. Miller <davem@davemloft.net>
39256 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
39257 values between float registers.
39258 * sysdeps/sparc/sparc64/memset.S: Likewise.
39259 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39261 2012-05-31 Mike Frysinger <vapier@gentoo.org>
39263 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
39264 -D_FORTIFY_SOURCE=1.
39265 (CPPFLAGS-tst-longjmp_chk.c): Define.
39266 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
39267 (CPPFLAGS-tst-longjmp_chk2.c): Define.
39268 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
39269 CFLAGS-tst-wchar-h.c.
39271 2012-05-31 Marek Polacek <polacek@redhat.com>
39274 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
39275 __endmntent_internal): Remove declaration.
39276 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
39277 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
39278 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
39280 2012-05-30 David S. Miller <davem@davemloft.net>
39282 * sysdeps/sparc/sparc32/soft-fp/q_util.c
39283 (___Q_simulate_exceptions): Use real FP ops rather than writing
39285 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
39288 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39291 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
39292 * sysdeps/x86/bits/xtitypes.h: This.
39294 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
39295 * sysdeps/x86/bits/wordsize.h: This.
39297 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
39298 * sysdeps/x86/bits/huge_vall.h: This.
39300 * sysdeps/i386/bits/select.h: Removed.
39301 * sysdeps/x86_64/bits/select.h: Renamed to ...
39302 * sysdeps/x86/bits/select.h: This.
39304 * sysdeps/i386/bits/setjmp.h: Removed.
39305 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
39306 * sysdeps/x86/bits/setjmp.h: This.
39308 * sysdeps/i386/bits/mathdef.h: Removed.
39309 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
39310 * sysdeps/x86/bits/mathdef.h: This.
39312 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
39315 * include/sys/socket.h (__connect_internal)
39316 (__libc_sa_len_internal): Remove declaration.
39317 (__connect, __libc_sa_len): Declare hidden_proto.
39318 (SA_LEN): Remove use of INTUSE.
39319 * socket/connect.c: Add libc_hidden_def.
39320 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
39321 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
39322 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
39324 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
39325 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
39326 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
39327 of adding _internal alias.
39329 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39332 * sysdeps/i386/bits/link.h: Removed.
39333 * sysdeps/i386/bits/linkmap.h: Likewise.
39334 * sysdeps/x86_64/bits/link.h: Renamed to ...
39335 * sysdeps/x86/bits/link.h: This.
39336 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
39337 * sysdeps/x86/bits/linkmap.h: This.
39339 * sysdeps/i386/bits/endian.h: Removed.
39340 * sysdeps/x86_64/bits/endian.h: Renamed to ...
39341 * sysdeps/x86/bits/endian.h: This.
39343 * sysdeps/i386/bits/byteswap.h: Removed.
39344 * sysdeps/i386/bits/byteswap-16.h: Likewise.
39345 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
39346 * sysdeps/x86/bits/byteswap.h: This.
39347 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
39348 * sysdeps/x86/bits/byteswap-16.h: This.
39349 * sysdeps/i386/Implies: Add x86.
39350 * sysdeps/x86_64/Implies: Likewise.
39352 2012-05-30 David S. Miller <davem@davemloft.net>
39354 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
39355 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
39356 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
39357 (FP_TRAPPING_EXCEPTIONS): Define.
39358 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
39359 (FP_TRAPPING_EXCEPTIONS): Define.
39360 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
39361 subnormals only when inexact has been signalled or underflow
39362 exceptions are enabled.
39363 (_FP_PACK_CANONICAL): Likewise.
39365 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39368 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
39369 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
39371 2012-05-30 Richard Henderson <rth@twiddle.net>
39373 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
39374 with #ifndef NOT_IN_libc.
39376 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
39377 marked to avoid plt entry.
39379 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39382 * Makeconfig (default-abi): New macro.
39383 (abi-includes): Likewise.
39384 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
39385 $(abi-$(default-abi)-lib-soname) for soname if defined.
39386 ($(common-objpfx)gnu/lib-names.stmp): Generate from
39388 * Makefile (installed-stubs): Likewise.
39389 * include/stubs-biarch.h: Removed.
39390 * scripts/lib-names.awk: Only handle one library at a time.
39391 * scripts/soversions.awk: Remove WORDSIZE support.
39392 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
39394 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
39396 (syscall-list-default-condition): Likewise.
39397 (syscall-list-default-condition): Likewise.
39398 (syscall-list-includes): Likewise.
39399 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
39400 syscall-list-* with abi-*. Handle undefined abi-variants.
39401 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
39402 * sysdeps/unix/sysv/linux/i386/Implies: New file.
39403 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
39404 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
39405 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
39406 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
39408 (syscall-list-32-options): Likewise.
39409 (syscall-list-32-condition): Likewise.
39410 (syscall-list-64-options): Likewise.
39411 (syscall-list-64-condition): Likewise.
39412 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
39414 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
39417 (abi-64-ld-soname): New macro.
39418 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
39419 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
39422 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
39423 * sysdeps/x86_64/x32/shlib-versions: Likewise.
39425 2012-05-30 Joseph Myers <joseph@codesourcery.com>
39427 * sysdeps/unix/sysv/linux/kernel-features.h
39428 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
39429 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
39430 include <kernel-features.h>.
39431 [!__NR_ftruncate64]: Remove conditional code.
39432 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39433 [__NR_ftruncate64]: Make code unconditional.
39434 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39435 * sysdeps/unix/sysv/linux/truncate64.c: Do not
39436 include <kernel-features.h>.
39437 [!__NR_ftruncate64]: Remove conditional code.
39438 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39439 [__NR_ftruncate64]: Make code unconditional.
39440 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
39442 include <kernel-features.h>.
39443 [!__NR_ftruncate64]: Remove conditional code.
39444 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39445 [__NR_ftruncate64]: Make code unconditional.
39446 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
39448 include <kernel-features.h>.
39449 [!__NR_ftruncate64]: Remove conditional code.
39450 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39451 [__NR_ftruncate64]: Make code unconditional.
39452 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39454 * configure.in (libc_cv_fpie): Weaken to a compile test using
39455 LIBC_TRY_CC_OPTION.
39456 * configure: Regenerated.
39458 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39460 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
39461 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
39462 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
39463 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39465 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
39466 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
39467 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
39468 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
39469 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
39470 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39473 2012-05-27 David S. Miller <davem@davemloft.net>
39475 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
39477 (__Q_simulate_exceptions): Return void. Change to simulate
39478 exceptions by writing into the %fsr.
39479 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
39480 (__Qp_handle_exceptions): Likewise.
39482 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
39483 __Qp_handle_exceptions.
39484 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
39485 __Qp_handle_exceptions.
39486 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
39487 as unused and give dummy FP_RND_NEAREST initializer.
39488 (FP_INHIBIT_RESULTS): Define.
39489 (___Q_simulate_exceptions): Update declaration.
39490 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
39492 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
39493 as unused and give dummy FP_RND_NEAREST initializer.
39494 (__Qp_handle_exceptions): Update declaration.
39495 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
39498 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
39500 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
39501 the temporary FPU control word.
39502 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
39503 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
39504 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
39505 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
39506 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
39507 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
39508 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
39509 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
39510 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
39511 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
39512 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39514 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39516 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
39519 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
39521 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
39522 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
39523 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
39524 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
39526 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
39527 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
39530 2012-05-27 Ulrich Drepper <drepper@gmail.com>
39532 * po/h.po: Update from translation team.
39534 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
39536 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
39538 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
39539 handling of denormals.
39540 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
39541 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
39542 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
39543 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
39544 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39545 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
39546 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
39549 2012-05-26 Marek Polacek <polacek@redhat.com>
39552 * math/libm-test.inc (fma_test): Don't always expect underflow
39555 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39558 * elf/tst-execstack.c: Include stackinfo.h.
39559 (do_test): Adjust test case to ensure that pthread_getattr_np
39560 behaviour remains the same after marking stack executable.
39562 2012-05-25 Joseph Myers <joseph@codesourcery.com>
39564 * sysdeps/unix/sysv/linux/kernel-features.h
39565 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
39566 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
39568 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
39569 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
39570 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
39572 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
39573 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
39575 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
39577 * configure.in: Define the default includes to being none.
39578 * configure: Regenerated.
39580 2012-05-25 Roland McGrath <roland@hack.frob.com>
39582 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
39583 * sysdeps/x86_64/setjmp.S: Likewise.
39584 * sysdeps/i386/bsd-setjmp.S: Likewise.
39585 * sysdeps/i386/bsd-_setjmp.S: Likewise.
39586 * sysdeps/i386/setjmp.S: Likewise.
39587 * sysdeps/i386/__longjmp.S: Likewise.
39588 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
39589 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
39591 * include/stap-probe.h: New file.
39592 * configure.in: Handle --enable-systemtap.
39593 * configure: Regenerated.
39594 * config.h.in (USE_STAP_PROBE): New #undef.
39595 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
39596 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
39597 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
39599 2012-05-25 Joseph Myers <joseph@codesourcery.com>
39602 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
39603 to 2.4.0 where earlier.
39604 * sysdeps/unix/sysv/linux/configure: Regenerated.
39605 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
39606 <kernel-features.h>.
39607 [__ASSUME_32BITUIDS]: Make code unconditional.
39608 [!__ASSUME_32BITUIDS]: Remove conditional code.
39609 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
39610 <kernel-features.h>.
39611 [__ASSUME_32BITUIDS]: Make code unconditional.
39612 [!__ASSUME_32BITUIDS]: Remove conditional code.
39613 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
39614 [__ASSUME_32BITUIDS]: Make code unconditional.
39615 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
39616 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
39617 <kernel-features.h>.
39618 [__ASSUME_32BITUIDS]: Make code unconditional.
39619 [!__ASSUME_32BITUIDS]: Remove conditional code.
39620 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
39621 <kernel-features.h>.
39622 [__ASSUME_32BITUIDS]: Make code unconditional.
39623 [!__ASSUME_32BITUIDS]: Remove conditional code.
39624 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
39625 <kernel-features.h>.
39626 [__ASSUME_32BITUIDS]: Make code unconditional.
39627 [!__ASSUME_32BITUIDS]: Remove conditional code.
39628 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
39629 <kernel-features.h>.
39630 [__ASSUME_32BITUIDS]: Make code unconditional.
39631 [!__ASSUME_32BITUIDS]: Remove conditional code.
39632 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
39633 <kernel-features.h>.
39634 [__ASSUME_32BITUIDS]: Make code unconditional.
39635 [!__ASSUME_32BITUIDS]: Remove conditional code.
39636 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
39637 <kernel-features.h>.
39638 [__ASSUME_32BITUIDS]: Make code unconditional.
39639 [!__ASSUME_32BITUIDS]: Remove conditional code.
39640 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
39641 <kernel-features.h>.
39642 [__ASSUME_32BITUIDS]: Make code unconditional.
39643 [!__ASSUME_32BITUIDS]: Remove conditional code.
39644 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
39645 <kernel-features.h>.
39646 [__ASSUME_32BITUIDS]: Make code unconditional.
39647 [!__ASSUME_32BITUIDS]: Remove conditional code.
39648 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
39649 <kernel-features.h>.
39650 [__ASSUME_32BITUIDS]: Make code unconditional.
39651 [!__ASSUME_32BITUIDS]: Remove conditional code.
39652 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
39653 <kernel-features.h>.
39654 [__ASSUME_32BITUIDS]: Make code unconditional.
39655 [!__ASSUME_32BITUIDS]: Remove conditional code.
39656 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
39657 <kernel-features.h>.
39658 [__NR_setresgid] (__setresgid): Do not declare.
39659 [__ASSUME_32BITUIDS]: Make code unconditional.
39660 [!__ASSUME_32BITUIDS]: Remove conditional code.
39661 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
39662 <kernel-features.h>.
39663 [__NR_setresuid] (__setresuid): Do not declare.
39664 [__ASSUME_32BITUIDS]: Make code unconditional.
39665 [!__ASSUME_32BITUIDS]: Remove conditional code.
39666 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
39667 <kernel-features.h>.
39668 [__ASSUME_32BITUIDS]: Make code unconditional.
39669 [!__ASSUME_32BITUIDS]: Remove conditional code.
39670 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
39671 <kernel-features.h>.
39672 [__ASSUME_32BITUIDS]: Make code unconditional.
39673 [!__ASSUME_32BITUIDS]: Remove conditional code.
39674 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
39675 <kernel-features.h>.
39676 [__ASSUME_32BITUIDS]: Make code unconditional.
39677 [!__ASSUME_32BITUIDS]: Remove conditional code.
39678 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
39679 <kernel-features.h>.
39680 [__ASSUME_32BITUIDS]: Make code unconditional.
39681 [!__ASSUME_32BITUIDS]: Remove conditional code.
39682 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
39683 <kernel-features.h>.
39684 [__ASSUME_32BITUIDS]: Make code unconditional.
39685 [!__ASSUME_32BITUIDS]: Remove conditional code.
39686 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
39687 <kernel-features.h>.
39688 [__ASSUME_32BITUIDS]: Make code unconditional.
39689 [!__ASSUME_32BITUIDS]: Remove conditional code.
39690 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
39691 <kernel-features.h>.
39692 [__ASSUME_32BITUIDS]: Make code unconditional.
39693 [!__ASSUME_32BITUIDS]: Remove conditional code.
39694 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
39695 <kernel-features.h>.
39696 [__ASSUME_32BITUIDS]: Make code unconditional.
39697 [!__ASSUME_32BITUIDS]: Remove conditional code.
39698 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
39699 <kernel-features.h>.
39700 [__ASSUME_32BITUIDS]: Make code unconditional.
39701 [!__ASSUME_32BITUIDS]: Remove conditional code.
39702 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
39703 <kernel-features.h>.
39704 [__ASSUME_32BITUIDS]: Make code unconditional.
39705 [!__ASSUME_32BITUIDS]: Remove conditional code.
39706 * sysdeps/unix/sysv/linux/kernel-features.h
39707 (__ASSUME_SETRESUID_SYSCALL): Remove.
39708 (__ASSUME_SETRESGID_SYSCALL): Likewise.
39709 (__ASSUME_32BITUIDS): Likewise.
39710 (__ASSUME_LDT_WORKS): Likewise.
39711 (__ASSUME_O_DIRECTORY): Likewise.
39712 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
39713 architecture but not kernel version.
39714 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
39715 (__ASSUME_MMAP2_SYSCALL): Likewise.
39716 (__ASSUME_STAT64_SYSCALL): Likewise.
39717 (__ASSUME_IPC64): Likewise.
39718 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
39719 <kernel-features.h>.
39720 [__ASSUME_32BITUIDS]: Make code unconditional.
39721 [!__ASSUME_32BITUIDS]: Remove conditional code.
39722 * sysdeps/unix/sysv/linux/opendir.c: Do not include
39723 <kernel-features.h>.
39724 [__ASSUME_O_DIRECTORY]: Make code unconditional.
39725 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
39726 132096]: Remove conditional code.
39727 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
39728 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
39729 <kernel-features.h>.
39730 [__ASSUME_32BITUIDS]: Make code unconditional.
39731 [!__ASSUME_32BITUIDS]: Remove conditional code.
39732 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
39733 <kernel-features.h>.
39734 [__ASSUME_32BITUIDS]: Make code unconditional.
39735 [!__ASSUME_32BITUIDS]: Remove conditional code.
39736 * sysdeps/unix/sysv/linux/setegid.c: Do not include
39737 <kernel-features.h>.
39738 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
39740 (__setresgid): Do not declare.
39741 [__ASSUME_32BITUIDS]: Make code unconditional.
39742 [!__ASSUME_32BITUIDS]: Remove conditional code.
39743 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
39744 <kernel-features.h>.
39745 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
39747 (__setresuid): Do not declare.
39748 [__ASSUME_32BITUIDS]: Make code unconditional.
39749 [!__ASSUME_32BITUIDS]: Remove conditional code.
39750 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
39751 <kernel-features.h>.
39752 [__ASSUME_32BITUIDS]: Make code unconditional.
39753 [!__ASSUME_32BITUIDS]: Remove conditional code.
39754 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
39755 <kernel-features.h>.
39756 [__ASSUME_32BITUIDS]: Make code unconditional.
39757 [!__ASSUME_32BITUIDS]: Remove conditional code.
39759 2012-05-25 Richard Henderson <rth@twiddle.net>
39761 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
39762 dl_hwcap to ifunc resolver.
39763 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
39765 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
39766 dl_hwcap to ifunc resolver.
39767 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
39769 2012-05-24 Joseph Myers <joseph@codesourcery.com>
39772 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
39773 for |x| <= 2**-26, not 2**-57.
39774 * math/libm-test.inc (acos_test): Do not allow spurious underflow
39777 2012-05-24 Jeff Law <law@redhat.com>
39779 * stdio-common/Makefile (tests): Add bug25.
39780 * stdio-common/bug25.c: New test.
39782 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
39785 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
39786 multiple of MALLOC_ALIGNMENT in size.
39787 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
39789 2012-05-24 Joseph Myers <joseph@codesourcery.com>
39791 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
39793 (FILENAME_MAX): Use macro-int-constant.
39794 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
39795 (_IOFBF): Use macro-int-constant.
39796 (_IOLBF): Likewise.
39797 (_IONBF): Likewise.
39798 (SEEK_CUR): Likewise.
39799 (SEEK_END): Likewise.
39800 (SEEK_SET): Likewise.
39801 (TMP_MAX): Likewise.
39802 (EOF): Use macro-int-constant. Require < 0.
39803 (NULL): Use macro-constant. Require == 0.
39804 (stdin): Require type to be FILE *.
39805 (stdout): Likewise.
39806 (stderr): Likewise.
39807 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
39808 macro-int-constant.
39809 (EXIT_SUCCESS): Likewise.
39810 (NULL): Use macro-constant. Require == 0.
39811 (RAND_MAX): Use macro-int-constant.
39812 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
39813 [C99-based standards] (strtof): Require function.
39814 [C99-based standards] (strtold): Likewise.
39815 [C99-based standards] (strtoll): Likewise.
39816 [C99-based standards] (strtoull): Likewise.
39817 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
39818 [ISO || ISO99 || ISO11] (limits.h): Likewise.
39819 [ISO || ISO99 || ISO11] (math.h): Likewise.
39820 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
39821 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
39822 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39824 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
39827 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
39828 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
39829 * intl/dgettext.c (DCGETTEXT): Likewise.
39830 * intl/gettext.c (DCGETTEXT): Likewise.
39831 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
39832 * posix/regex_internal.h (gettext): Likewise.
39833 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
39834 Remove declaration.
39835 * include/argz.h (__argz_count_internal)
39836 (__argz_stringify_internal): Remove declaration.
39837 (__argz_count, __argz_stringify): Declare hidden proto.
39838 * intl/dcgettext.c: Remove use of INTDEF.
39839 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
39840 * string/argz-stringify.c: Likewise.
39841 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
39842 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
39843 Declare hidden proto.
39844 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
39845 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
39846 Declare hidden proto.
39847 * include/stdio.h (__asprintf_internal): Don't declare.
39848 (__asprintf): Don't define as macro. Declare hidden proto.
39849 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
39850 (__fsetlocking): Declare hidden proto.
39851 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
39852 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
39854 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
39855 (_IO_setlinebuf): Remove use of INTUSE.
39856 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
39857 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
39858 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
39859 Remove declaration.
39860 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
39861 (_IO_do_flush): Remove use of INTUSE.
39862 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
39863 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
39864 (_IO_adjust_column, _IO_least_wmarker)
39865 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
39866 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
39867 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
39868 (_IO_default_doallocate, _IO_wdefault_doallocate)
39869 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
39870 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
39871 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
39872 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
39873 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
39874 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
39875 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
39876 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
39877 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
39878 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
39879 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
39880 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
39881 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
39883 (_IO_flush_all_internal, _IO_adjust_column_internal)
39884 (_IO_default_uflow_internal, _IO_default_finish_internal)
39885 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
39886 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
39887 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
39888 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
39889 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
39890 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
39891 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
39892 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
39893 (_IO_file_close_internal, _IO_file_close_it_internal)
39894 (_IO_file_underflow_internal, _IO_file_overflow_internal)
39895 (_IO_file_init_internal, _IO_file_attach_internal)
39896 (_IO_file_fopen_internal, _IO_file_read_internal)
39897 (_IO_file_sync_internal, _IO_file_seek_internal)
39898 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
39899 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
39900 (_IO_str_underflow_internal, _IO_str_overflow_internal)
39901 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
39902 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
39903 (_IO_list_all_internal, _IO_link_in_internal)
39904 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
39905 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
39906 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
39907 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
39908 (_IO_do_write_internal, _IO_padn_internal)
39909 (_IO_getline_info_internal, _IO_getline_internal)
39910 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
39911 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
39912 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
39913 (_IO_vfscanf_internal, _IO_vfprintf_internal)
39914 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
39915 (_IO_init_internal, _IO_un_link_internal): Don't declare.
39916 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
39917 with libc_hidden_ver, remove use of INTUSE.
39918 * libio/genops.c: Likewise.
39919 * libio/freopen.c: Likewise.
39920 * libio/freopen64.c: Likewise.
39921 * libio/iofclose.c: Likewise.
39922 * libio/iofdopen.c: Likewise.
39923 * libio/iofflush.c: Likewise.
39924 * libio/iofflush_u.c: Likewise.
39925 * libio/iofgets.c: Likewise.
39926 * libio/iofgets_u.c: Likewise.
39927 * libio/iofopen.c: Likewise.
39928 * libio/iofopncook.c: Likewise.
39929 * libio/iofread.c: Likewise.
39930 * libio/iofread_u.c: Likewise.
39931 * libio/ioftell.c: Likewise.
39932 * libio/iofwrite.c: Likewise.
39933 * libio/iogetline.c: Likewise.
39934 * libio/iogets.c: Likewise.
39935 * libio/iogetwline.c: Likewise.
39936 * libio/iopadn.c: Likewise.
39937 * libio/iopopen.c: Likewise.
39938 * libio/ioseekoff.c: Likewise.
39939 * libio/ioseekpos.c: Likewise.
39940 * libio/iosetbuffer.c: Likewise.
39941 * libio/iosetvbuf.c: Likewise.
39942 * libio/ioungetc.c: Likewise.
39943 * libio/ioungetwc.c: Likewise.
39944 * libio/iovdprintf.c: Likewise.
39945 * libio/iovsprintf.c: Likewise.
39946 * libio/iovsscanf.c: Likewise.
39947 * libio/memstream.c: Likewise.
39948 * libio/obprintf.c: Likewise.
39949 * libio/oldfileops.c: Likewise.
39950 * libio/oldiofclose.c: Likewise.
39951 * libio/oldiofdopen.c: Likewise.
39952 * libio/oldiofopen.c: Likewise.
39953 * libio/oldiopopen.c: Likewise.
39954 * libio/oldstdfiles.c: Likewise.
39955 * libio/putc.c: Likewise.
39956 * libio/setbuf.c: Likewise.
39957 * libio/setlinebuf.c: Likewise.
39958 * libio/stdfiles.c: Likewise.
39959 * libio/strops.c: Likewise.
39960 * libio/vasprintf.c: Likewise.
39961 * libio/vscanf.c: Likewise.
39962 * libio/vsnprintf.c: Likewise.
39963 * libio/vswprintf.c: Likewise.
39964 * libio/wfiledoalloc.c: Likewise.
39965 * libio/wfileops.c: Likewise.
39966 * libio/wgenops.c: Likewise.
39967 * libio/wmemstream.c: Likewise.
39968 * libio/wstrops.c: Likewise.
39969 * libio/__fpurge.c: Likewise.
39970 * libio/__fsetlocking.c: Likewise.
39971 * assert/assert.c: Likewise.
39972 * debug/fgets_chk.c: Likewise.
39973 * debug/fgets_u_chk.c: Likewise.
39974 * debug/fread_chk.c: Likewise.
39975 * debug/fread_u_chk.c: Likewise.
39976 * debug/gets_chk.c: Likewise.
39977 * debug/obprintf_chk.c: Likewise.
39978 * debug/vasprintf_chk.c: Likewise.
39979 * debug/vdprintf_chk.c: Likewise.
39980 * debug/vsnprintf_chk.c: Likewise.
39981 * debug/vsprintf_chk.c: Likewise.
39982 * malloc/mtrace.c: Likewise.
39983 * misc/error.c: Likewise.
39984 * misc/syslog.c: Likewise.
39985 * stdio-common/asprintf.c: Likewise.
39986 * stdio-common/fxprintf.c: Likewise.
39987 * stdio-common/getw.c: Likewise.
39988 * stdio-common/isoc99_fscanf.c: Likewise.
39989 * stdio-common/isoc99_scanf.c: Likewise.
39990 * stdio-common/isoc99_vfscanf.c: Likewise.
39991 * stdio-common/isoc99_vscanf.c: Likewise.
39992 * stdio-common/isoc99_vsscanf.c: Likewise.
39993 * stdio-common/printf-prs.c: Likewise.
39994 * stdio-common/printf_fp.c: Likewise.
39995 * stdio-common/printf_fphex.c: Likewise.
39996 * stdio-common/printf_size.c: Likewise.
39997 * stdio-common/putw.c: Likewise.
39998 * stdio-common/scanf.c: Likewise.
39999 * stdio-common/sprintf.c: Likewise.
40000 * stdio-common/tmpfile.c: Likewise.
40001 * stdio-common/vfprintf.c: Likewise.
40002 * stdio-common/vfscanf.c: Likewise.
40003 * stdlib/strfmon_l.c: Likewise.
40004 * sunrpc/openchild.c: Likewise.
40005 * sunrpc/xdr_stdio.c: Likewise.
40006 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
40007 * sysdeps/mach/hurd/tmpfile.c: Likewise.
40009 2012-05-24 Roland McGrath <roland@hack.frob.com>
40011 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
40013 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
40014 in the third column, to generate for the shared library an IFUNC
40015 that uses _dl_vdso_vsym.
40016 * Makerules (COMPILE.c, compile-stdin.c): New variables.
40017 * Makeconfig (object-suffixes-noshared): New variable.
40019 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
40020 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
40021 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
40022 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
40025 * include/sys/time.h (__gettimeofday): Remove macro.
40026 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
40027 * time/gettimeofday.c (__gettimeofday): Remove #undef.
40029 (__gettimeofday): Add libc_hidden_def.
40030 (gettimeofday): Add libc_hidden_weak.
40031 * sysdeps/mach/gettimeofday.c: Likewise.
40032 * sysdeps/posix/gettimeofday.c: Likewise.
40033 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
40034 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
40035 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
40036 (__gettimeofday_internal): Remove strong_alias.
40037 (__gettimeofday): Add libc_hidden_def.
40038 (gettimeofday): Add libc_hidden_weak.
40039 * sysdeps/unix/syscalls.list (gettimeofday):
40040 Remove __gettimeofday_internal alias.
40042 2012-05-24 Daniel Jacobowitz <drow@false.org>
40043 H.J. Lu <hongjiu.lu@intel.com>
40046 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
40047 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
40048 (largebin_index_32_big): New.
40049 (largebin_index): Use it for 16-byte alignment.
40050 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
40051 correction with front_misalign.
40053 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
40055 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
40056 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
40058 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
40060 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
40062 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
40064 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
40066 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
40068 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
40070 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
40072 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
40074 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
40076 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
40078 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
40081 * scripts/data/c++-types-x32-linux-gnu.data: New file.
40082 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
40084 2012-05-24 Joseph Myers <joseph@codesourcery.com>
40088 * math/libm-test.inc (exp_test): Add test from bug 14036.
40089 (pow_test): Add test from bug 10846.
40091 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
40093 (special_function): Do not include flags in test name.
40094 (parse_args): Likewise.
40095 * sysdeps/i386/fpu/libm-test-ulps: Update.
40096 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40097 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
40098 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
40099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40101 * math/gen-libm-test.pl (%beautify): Add entries for underflow
40103 * math/libm-test.inc ("Philosophy"): Update comment about
40105 (UNDERFLOW_EXCEPTION): New macro.
40106 (UNDERFLOW_EXCEPTION_OK): Likewise.
40107 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
40108 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
40109 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
40110 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
40111 (INVALID_EXCEPTION_OK): Update value.
40112 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
40113 (OVERFLOW_EXCEPTION_OK): Likewise.
40114 (IGNORE_ZERO_INF_SIGN): Likewise.
40115 (test_exceptions): Handle underflow exceptions.
40116 (acos_test): Update for underflow exception expectations.
40117 (cexp_test): Likewise.
40118 (clog_test): Likewise.
40119 (clog10_test): Likewise.
40120 (csqrt_test): Likewise.
40121 (ctan_test): Likewise.
40122 (ctanh_test): Likewise.
40123 (exp_test): Likewise.
40124 (exp10_test): Likewise.
40125 (exp2_test): Likewise.
40126 (expm1_test): Likewise.
40127 (fma_test): Likewise.
40128 (j0_test): Likewise.
40129 (jn_test): Likewise.
40130 (nexttoward_test): Likewise.
40131 (pow_test): Likewise.
40132 (scalbn_test): Likewise.
40133 (scalbln_test): Likewise.
40134 (tan_test): Likewise.
40135 (y1_test): Likewise.
40136 * sysdeps/i386/fpu/libm-test-ulps: Update.
40137 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40139 2012-05-23 David S. Miller <davem@davemloft.net>
40141 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
40142 (__libc_sigaction): Remove unused local variables.
40144 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
40146 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
40148 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
40150 mktime: avoid signed integer overflow
40151 * time/mktime.c (__mktime_internal): Do not mishandle the case
40152 where diff == INT_MIN.
40154 mktime: simplify computation of average
40155 * time/mktime.c (ranged_convert): Use new time_t_avg function
40156 instead of rolling our own (probably-slower) code.
40158 mktime: do not assume signed right shift propagates sign bit
40159 * time/mktime.c (isdst_differ): New static function.
40160 (__mktime_internal): No need to normalize tm_isdst now.
40161 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
40164 mktime: merge another wrapv change from gnulib
40165 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
40166 from some compilers.
40168 mktime: remove incorrect attempt at unusual arithmetics
40169 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
40170 The code didn't really work on such machines anyway.
40171 (TYPE_MINIMUM): Assume two's complement.
40172 (twos_complement_arithmetic): Verify that long_int and time_t
40173 are two's complement (or unsigned, in the latter case).
40175 mktime: check signed shifts on long_int and time_t, too
40176 * time/mktime.c (SHR): Check that shifts work as desired
40177 on the types long_int and time_t too, as SHR is used on
40180 mktime: do not assume 'long' is wide enough
40181 * time/mktime.c (verify): Move decl up.
40182 (long_int): New type.
40183 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
40184 to remove assumption in the code that 'long' is wide enough to
40185 store year values. This assumption is not true on x32 and on
40186 some non-glibc platforms.
40188 mktime: merge wrapv change from gnulib
40189 * time/mktime.c (WRAPV): New macro.
40190 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
40191 (guess_time_tm, __mktime_internal): Do not assume that signed
40192 integer overflow wraps around; modern compilers generate code
40193 where this assumption is no longer valid.
40195 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
40197 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
40198 Replace "jmp L(pseudo_end)" with "ret".
40199 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
40202 2012-05-23 Andreas Jaeger <aj@suse.de>
40204 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
40205 * sysdeps/unix/sysv/linux/poll.c: Remove file.
40207 2012-05-23 Andreas Jaeger <aj@suse.de>
40208 Maximilian Attems <max@stro.at>
40210 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
40213 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
40215 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
40216 code so that pseudo_end is just ret and the stack pointer is
40217 correct also for static library in error case.
40219 2012-05-23 Joseph Myers <joseph@codesourcery.com>
40221 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
40222 move to syscalls.list.
40223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
40224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
40225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
40226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
40228 * manual/install.texi (Running make install): Do not mention Linux
40229 kernel version for which pt_chown is not needed.
40230 (Linux): Do not mention problems with nscd with 2.0 kernels.
40231 * INSTALL: Regenerated.
40233 2012-05-23 Andreas Jaeger <aj@suse.de>
40235 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
40236 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
40238 * sysdeps/unix/sysv/linux/s390/bits/mman.h
40239 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40240 * sysdeps/unix/sysv/linux/sh/bits/mman.h
40241 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40242 * sysdeps/unix/sysv/linux/i386/bits/mman.h
40243 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40244 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
40245 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40246 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
40247 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40248 * sysdeps/unix/sysv/linux/bits/in.h
40249 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
40251 2012-05-22 Roland McGrath <roland@hack.frob.com>
40253 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
40254 (PREPARE_VERSION): Just use assert instead, it will be elided
40255 under [NDEBUG] anyway.
40257 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40259 * sysdeps/unix/sysv/linux/Makefile: Include
40260 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
40261 (sysdep_routines): Remove sysctl.
40262 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
40263 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
40264 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
40265 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
40266 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
40268 2012-05-22 Andreas Jaeger <aj@suse.de>
40270 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
40271 that pseudo_end is just ret and the stack pointer is correct also
40272 for static library in error case.
40274 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
40277 * nss/nsswitch.c (defconfig_entries): New variable.
40278 (__nss_database_lookup): Don't leak defconfig entries.
40279 (nss_parse_service_list): Don't leak on error paths.
40280 (free_database_entries): New function.
40281 (free_defconfig): New function.
40282 (free_mem): Move common code to free_database_entries.
40284 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40286 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
40288 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
40290 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
40291 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
40292 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
40294 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
40295 (INTERNAL_SYSCALL_TYPES): Likewise.
40296 (LOAD_ARGS_TYPES_[1-6]): Likewise.
40297 (LOAD_REGS_TYPES_[1-6]): Likewise.
40298 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
40299 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
40301 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40303 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
40304 copysignl for GLIBC_2_0.
40305 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
40306 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
40307 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
40308 logbl for GLIBC_2_0.
40309 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
40310 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
40312 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40314 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
40315 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
40317 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
40320 * time/mktime.c: Update copyright years.
40322 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
40324 mktime: merge comment-quoting-style change from gnulib
40325 * time/mktime.c: Quote 'like this' in comments.
40326 The GNU coding standards suggest that we no longer quote `like this',
40327 as "`" and "'" are typically rendered asymmetrically nowadays.
40328 The typical gnulib style is to quote 'like this' when quoting
40329 code, and "like this" when quoting English.
40331 * time/mktime.c (compile-command): Add "-I.".
40333 mktime: merge mktime-internal.h change from gnulib
40334 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
40336 mktime: merge time_r change from gnulib
40337 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
40339 mktime: merge DEBUG change from gnulib
40340 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
40341 case system <time.h> has a #define.
40343 mktime: merge <sys/types.h> change from gnulib
40344 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
40345 since <time.t> is now guaranteed to define time_t.
40347 mktime: merge HAVE_CONFIG_H change from gnulib
40348 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
40350 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40352 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
40355 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
40357 (struct rusage): Use anonymous union to pad each field to
40360 2012-05-21 David S. Miller <davem@davemloft.net>
40362 * Makefules (o-iterator): Remove .s cases.
40363 (compile-command.s): Delete.
40364 (COMPILE.s): Delete.
40365 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
40367 2012-05-21 Joseph Myers <joseph@codesourcery.com>
40369 * configure.in (libc_cv_predef_stack_protector): Only consider
40370 "foobar" and "__stack_chk_fail" lines in libc_undefs.
40371 * configure: Regenerated.
40373 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
40375 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
40376 New macro. Use R*LP on int and pointer.
40377 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
40378 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
40379 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
40380 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
40382 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
40383 [__WORDSIZE_TIME64_COMPAT32] instead of
40384 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
40385 (struct utmp): Likewise.
40386 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
40387 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
40389 (__WORDSIZE_TIME64_COMPAT32): This.
40390 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
40391 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
40392 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
40393 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
40394 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
40395 (__WORDSIZE_TIME64_COMPAT32): New macro.
40397 2012-05-21 Andreas Jaeger <aj@suse.de>
40399 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
40400 only if [SHARED]. Add prototype for __wcschr_ia32.
40402 2012-05-21 Roland McGrath <roland@hack.frob.com>
40404 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
40405 of %rbp unmolested in the jmp_buf while mangling the low bits.
40406 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
40407 unmolested high bits of %rbp while demangling the low bits.
40408 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
40410 2012-05-21 Andreas Jaeger <aj@suse.de>
40412 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
40413 * sunrpc/svc_simple.c: Use it for registerrpc.
40414 * sunrpc/xcrypt.c: Use it for passwd2des.
40416 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
40418 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
40420 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
40421 Don't define if [__SYSCALL_WORDSIZE != 32].
40422 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
40425 2012-05-21 Bruno Haible <bruno@clisp.org>
40426 Andreas Jaeger <aj@suse.de>
40428 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
40429 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
40430 inptr and inend for must_buffer_ch.
40431 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
40432 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
40433 * stdio-common/Makefile (tests): Remove bug15.
40434 (bug15-ENV): Remove macro.
40435 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
40438 2012-05-19 Andreas Jaeger <aj@suse.de>
40439 Roland McGrath <roland@hack.frob.com>
40441 * manual/contrib.texi: Completely rewritten. It contains now an
40442 alphabetical list of contributors and their contributions.
40444 2012-05-21 Richard Henderson <rth@twiddle.net>
40446 * misc/getauxval.c (__getauxval): Use unsigned long int.
40447 * misc/sys/auxv.h: Include <sys/cdefs.h>.
40448 (getauxval): Use unsigned long int.
40450 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
40452 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
40454 2012-05-21 Roland McGrath <roland@hack.frob.com>
40456 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
40457 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
40458 __alignof__ (long double).
40460 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40462 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40464 2012-05-20 Richard Henderson <rth@twiddle.net>
40466 * misc/getauxval.c: New file.
40467 * misc/sys/auxv.h: New file.
40468 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
40469 (routines): Add getauxval.
40470 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
40471 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
40472 * elf/dl-sysdep.c (_dl_auxv): Remove.
40473 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
40474 * elf/dl-support.c (_dl_auxv): New variable.
40475 (_dl_aux_init): Initialize it.
40476 * manual/startup.texi (Auxiliary Vector): New node.
40477 * sysdeps/generic/bits/hwcap.h: New file.
40478 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
40479 * sysdeps/powerpc/sysdep.h: ... here. Include it.
40480 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
40481 * sysdeps/sparc/sysdep.h: ... here. Include it.
40482 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
40483 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
40484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
40487 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
40488 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
40489 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
40490 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
40491 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
40492 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
40493 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
40495 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40497 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40499 2012-05-19 David S. Miller <davem@davemloft.net>
40501 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40503 2012-05-19 Joseph Myers <joseph@codesourcery.com>
40506 * math/s_ccosh.c: Include <float.h>
40507 (__ccosh): Avoid internal overflow calculating sinh and cosh
40508 values before multiplying by sin and cos values.
40509 * math/s_ccoshf.c: Likewise.
40510 * math/s_ccoshl.c: Likewise.
40511 * math/s_csin.c: Likewise.
40512 * math/s_csinf.c: Likewise.
40513 * math/s_csinl.c: Likewise.
40514 * math/s_csinh.c: Likewise.
40515 * math/s_csinhf.c: Likewise.
40516 * math/s_csinhl.c: Likewise.
40517 * math/libm-test.inc (ccos_test): Add more tests.
40518 (ccosh_test): Likewise.
40519 (csin_test): Likewise.
40520 (csinh_test): Likewise.
40521 * sysdeps/i386/fpu/libm-test-ulps: Update.
40522 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40524 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
40526 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
40527 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
40529 * sysdeps/x86_64/x32/_itoa.h: Add comment.
40531 2012-05-19 Joseph Myers <joseph@codesourcery.com>
40533 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
40534 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
40535 * sysdeps/powerpc/soft-fp/Versions: Likewise.
40536 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
40537 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
40538 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
40539 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
40540 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
40541 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
40542 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
40543 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
40544 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
40545 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
40546 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
40547 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
40548 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
40549 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
40550 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
40551 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
40552 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
40553 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
40554 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
40555 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
40556 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
40557 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
40558 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
40559 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
40560 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
40561 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
40562 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
40563 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
40565 2012-05-18 Andreas Jaeger <aj@suse.de>
40567 * csu/.gitignore: Delete.
40569 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
40571 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
40572 (timex): Use __syscall_slong_t.
40574 2012-05-18 Andreas Jaeger <aj@suse.de>
40575 Carlos O'Donell <carlos_odonell@mentor.com>
40577 * manual/install.texi (Configuring and compiling): Update
40578 description about files modified in the source directory.
40579 * INSTALL: Regenerated.
40581 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
40583 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
40584 value. Use "or" to set return value to -1.
40585 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
40586 negate return value.
40588 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40590 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
40591 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
40592 failure if the compiler has Graphite support disabled.
40593 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
40595 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
40596 (CFLAGS-memmove.c): Likewise.
40597 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
40600 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
40602 * sysdeps/x86_64/x32/_itoa.h: New file.
40604 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
40605 getdents system call only if kernel and user dirents have the
40606 same d_ino and d_off.
40608 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
40609 LLONG_MAX != LONG_MAX.
40610 (_itoa_word): Use _ITOA_WORD_TYPE on value.
40611 (_fitoa_word): Likewise.
40613 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
40615 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
40616 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
40617 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
40619 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
40620 include <bits/wordsize.h>. Check __x86_64__ instead of
40622 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
40623 if __x86_64__ is defined. Use anonymous union on fpstate.
40625 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
40628 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
40630 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
40631 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
40632 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
40633 Refer to _rtld_local_ro instead of _rtld_global_ro.
40634 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
40636 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
40638 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
40640 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
40641 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
40642 of _rtld_global, and rtld_progname instead of _dl_argv[0].
40644 * sysdeps/powerpc/powerpc32/dl-machine.c
40645 (__elf_machine_runtime_setup) [PROF]: Don't reference
40648 2012-05-18 Andreas Jaeger <aj@suse.de>
40650 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
40651 function only available for GCCs before 3.4 since GCC 3.4
40652 introduced a builtin.
40654 (llrintf): Likewise.
40655 (llrint): Likewise.
40662 (nearbyint): Likewise.
40663 (nearbyintf): Likewise.
40667 (floorf): Likewise.
40669 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
40671 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
40672 on both fields and cast pointer to __syscall_ulong_t.
40674 * bits/types.h (__fsword_t): New type.
40675 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
40676 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
40677 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40678 (__FSWORD_T_TYPE): Likewise.
40679 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40680 (__FSWORD_T_TYPE): Likewise.
40681 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40682 (__FSWORD_T_TYPE): Likewise.
40683 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
40684 (__FSWORD_T_TYPE): Likewise.
40685 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
40686 __SWORD_TYPE with __fsword_t.
40687 (statfs64): Likewise.
40689 2012-05-17 David S. Miller <davem@davemloft.net>
40691 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
40693 2012-05-17 Andreas Jaeger <aj@suse.de>
40695 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
40698 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
40700 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
40702 2012-05-17 Andreas Jaeger <aj@suse.de>
40704 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
40707 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
40709 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
40711 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
40713 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
40714 * sysdeps/x86_64/tst-mallocalign1.c: New file.
40716 2012-05-17 Andreas Jaeger <aj@suse.de>
40717 Carlos O'Donell <carlos_odonell@mentor.com>
40720 * sysdeps/x86_64/multiarch/init-arch.h
40721 (bit_YMM_Usable): Rename to...
40722 (bit_AVX_Usable): ... this.
40723 (bit_FMA4_Usable): New macro.
40724 (bit_XMM_state): New macro.
40725 (bit_YMM_state): New macro.
40726 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
40727 [__ASSEMBLER__] (index_AVX_Usable): ... this.
40728 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
40729 (CPUID_OSXSAVE): New macro.
40730 (CPUID_AVX): New macro.
40731 (CPUID_FMA4): New macro.
40732 (index_YMM_Usable): Rename to...
40733 (index_AVX_Usable): ... this.
40734 (HAS_AVX): Use HAS_ARCH_FEATURE.
40735 (HAS_FMA4): Likewise.
40736 (HAS_YMM_USABLE): Remove.
40737 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40738 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
40740 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
40741 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
40742 * sysdeps/x86_64/multiarch/Makefile: Likewise.
40743 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
40744 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
40746 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
40748 * math/libm-test.c: Support platforms without multiple rounding modes.
40749 * math/bug-nextafter.c: Support platforms without FP exceptions.
40750 * math/bug-nexttoward.c: Likewise.
40751 * math/test-fenv.c: Likewise.
40752 * math/test-misc.c: Likewise.
40753 * stdlib/bug-getcontext.c: Likewise.
40755 2012-05-17 Andreas Jaeger <aj@suse.de>
40757 * manual/examples/search.c (critter_cmp): Change signature to
40759 * manual/string.texi (Collation Functions): Likewise.
40761 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40763 * bits/types.h: Fold copyright years.
40764 * bits/typesizes.h: Likewise.
40765 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
40766 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
40767 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
40768 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
40769 * time/time.h: Likewise.
40771 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
40774 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
40775 in instead of returning them. Return void.
40776 (__libc_mallinfo): Accumulate over all arenas.
40777 (__malloc_stats): Adjust for change in int_mallinfo interface.
40779 2012-05-16 Roland McGrath <roland@hack.frob.com>
40782 * configure.in (NM): Add AC_CHECK_TOOL for it.
40783 (libc_extra_cflags): New substituted variable.
40784 Check for -fstack-protector being used implicitly.
40785 * configure: Regenerated.
40786 * config.make.in (config-extra-cflags): New variable,
40787 gets @libc_extra_cflags@.
40788 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
40791 * configure.in: Check for _FORTIFY_SOURCE being predefined.
40792 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
40793 * configure: Regenerated.
40794 * config.make.in (CPPUNDEFS): New substituted variable.
40795 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
40796 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
40797 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
40799 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40801 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
40802 (mq_attr): Use __syscall_slong_t.
40804 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40806 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
40807 Check __x86_64__ instead of __WORDSIZE.
40808 (_STAT_VER_LINUX): Likewise.
40809 (stat): Check __x86_64__ instead of __WORDSIZE. Use
40810 __syscall_ulong_t and __syscall_slong_t.
40811 (stat64): Likewise.
40813 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40815 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
40817 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40819 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
40821 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40823 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
40826 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
40827 include <bits/wordsize.h>. Check __x86_64__ instead of
40829 (greg_t): Use "__extension__ long long int" if __x86_64__ is
40831 (mcontext_t): Replace "unsigned long" with "unsigned long long".
40833 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
40834 include <bits/wordsize.h>. Check __x86_64__ instead of
40836 (user_regs_struct): Use "__extension__ unsigned long long"
40837 instead of "unsigned long" if __x86_64__ is defined.
40838 (user): Likewise. Pad after pointer field if __ILP32__ is
40841 2012-05-16 Joseph Myers <joseph@codesourcery.com>
40843 * configure.in (makeinfo): Require version 4.5 or later. Allow
40845 * configure: Regenerated.
40846 * manual/install.texi (texinfo): Increase version requirement to
40848 * INSTALL: Regenerated.
40850 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
40852 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40854 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
40856 * sysdeps/x86_64/x32/ffs.c: New file.
40858 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
40860 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
40861 defined. Use __syscall_ulong_t.
40862 (shminfo): Use __syscall_ulong_t.
40863 (shm_info): Likewise.
40865 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
40868 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
40870 (msgqnum_t): Use __syscall_ulong_t.
40871 (msglen_t): Likewise.
40872 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
40875 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
40876 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
40878 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
40880 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
40881 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
40883 * sysvipc/sys/msg.h (msgbuf): Replace long int with
40886 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
40887 include <bits/wordsize.h>. Check __x86_64__ instead of
40890 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
40891 "unsigned long long int" if __x86_64__ is defined.
40892 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
40894 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
40895 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
40896 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
40898 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
40900 (GET_PC): Cast to uintptr_t first.
40901 (GET_FRAME): Likewise.
40902 (GET_STACK): Likewise.
40904 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
40905 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
40906 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
40907 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
40908 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
40909 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
40910 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
40911 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
40912 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
40913 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
40914 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
40915 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
40916 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
40917 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
40918 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
40919 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
40920 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
40921 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
40922 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
40923 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
40924 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
40925 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
40926 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
40927 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
40928 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
40929 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
40930 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
40931 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
40932 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
40934 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
40936 * Makerules (+depfiles): Also collect depfiles from .oS in
40938 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
40939 .oS, $(libnldbl-routines)).
40941 * Makerules (native-compile-mkdep-flags): Define.
40942 * sunrpc/Makefile (extra-objs): Add $(addprefix
40943 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
40944 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
40945 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
40946 calling $(make-target-directory).
40948 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40950 * bits/types.h (__snseconds_t): Removed.
40951 * time/time.h (struct timespec): Replace __snseconds_t with
40953 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
40954 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
40956 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40957 (__SNSECONDS_T_TYPE): Likewise.
40958 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40959 (__SNSECONDS_T_TYPE): Likewise.
40960 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40961 (__SNSECONDS_T_TYPE): Likewise.
40963 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40965 * sysdeps/mach/hurd/bits/typesizes.h
40966 (__SYSCALL_SLONG_TYPE): New macro.
40967 (__SYSCALL_ULONG_TYPE): Likewise.
40969 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40971 * bits/types.h (__syscall_slong_t): New type.
40972 (__syscall_ulong_t): Likewise.
40974 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
40975 (__SYSCALL_ULONG_TYPE): Likewise.
40976 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40977 (__SYSCALL_SLONG_TYPE): Likewise.
40978 (__SYSCALL_ULONG_TYPE): Likewise.
40979 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40980 (__SYSCALL_SLONG_TYPE): Likewise.
40981 (__SYSCALL_ULONG_TYPE): Likewise.
40982 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40983 (__SYSCALL_SLONG_TYPE): Likewise.
40984 (__SYSCALL_ULONG_TYPE): Likewise.
40986 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40988 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
40989 Add sigaltstack-offsets.sym.
40990 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
40991 <sigaltstack-offsets.h>.
40992 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
40993 longjmp_msg pointer.
40994 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
40995 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
40997 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
40999 2012-05-15 Joseph Myers <joseph@codesourcery.com>
41001 * elf/stackguard-macros.h: Remove file.
41002 * sysdeps/generic/stackguard-macros.h: New file.
41003 * sysdeps/i386/stackguard-macros.h: Likewise.
41004 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
41005 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
41006 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
41007 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
41008 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
41009 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
41010 * sysdeps/x86_64/stackguard-macros.h: Likewise.
41011 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
41012 <elf/stackguard-macros.h>.
41015 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
41016 __aligned__ in attribute.
41017 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
41018 (gregset_t): Likewise.
41020 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41022 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
41023 * sysdeps/x86_64/64/Implies-after: Here. New file.
41024 * sysdeps/x86_64/x32/Implies-after: New file.
41026 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41028 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
41029 and access return value for _dl_profile_fixup. Use R10_LP to
41032 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41034 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
41036 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41038 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
41039 * sysdeps/x86_64/x32/sysdep.h: New file.
41041 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41043 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
41044 * sysdeps/x86_64/setjmp.S: Likewise.
41046 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41048 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
41049 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
41050 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
41051 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
41052 remove unused global constant.
41054 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
41056 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
41057 include of <not-cancel.h>.
41059 2012-05-15 Roland McGrath <roland@hack.frob.com>
41061 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
41063 2012-05-15 Jeff Law <law@redhat.com>
41064 Andreas Jaeger <aj@suse.de>
41067 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
41069 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
41070 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
41071 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
41072 code changing __hst_map_handle.map.
41074 2012-05-15 Roland McGrath <roland@hack.frob.com>
41076 * configure.in (sysnames): Look for Implies-before and Implies-after
41078 * configure: Regenerated.
41080 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41082 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
41083 8-byte data alignment with LP_SIZE alignment.
41085 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41087 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
41090 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41092 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
41094 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41096 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
41097 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
41098 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
41100 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
41102 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41104 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
41105 (stackinfo_sub_sp): Likewise.
41107 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41109 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
41112 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41114 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
41117 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41119 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
41122 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41124 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
41126 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41128 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
41129 into R11_LP and load __x86_64_shared_cache_size_half into
41132 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41134 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
41137 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41139 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
41141 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
41143 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
41145 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
41146 powerpc32/power7/fpu/s_logb.c via #include.
41147 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
41148 powerpc32/power7/fpu/s_logbf.c via #include.
41149 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
41150 powerpc32/power7/fpu/s_logbl.c via #include.
41152 2012-05-15 Joseph Myers <joseph@codesourcery.com>
41154 * README.libm: Remove file.
41156 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41158 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
41159 count for x32. Use R*_LP and omit operand-size suffix.
41161 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41163 * shlib-versions: Move x86_64-.*-linux.* entries to ...
41164 * sysdeps/x86_64/64/shlib-versions: Here. New file.
41165 * sysdeps/x86_64/x32/shlib-versions: New file.
41167 2012-05-14 Roland McGrath <roland@hack.frob.com>
41169 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
41170 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
41171 Use _dl_fatal_printf instead.
41173 2012-05-14 Joseph Myers <joseph@codesourcery.com>
41175 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
41176 set if not set by the user. Do not allow for being unset.
41177 * sysdeps/unix/sysv/linux/configure: Regenerated.
41179 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41181 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
41182 the `q' suffix from lea and replace .quad with ASM_ADDR.
41184 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41186 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
41187 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
41189 (PTR_DEMANGLE): Likewise.
41191 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41193 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
41195 (ASM_ADDR): Likewise.
41196 (RAX_LP): Likewise.
41197 (RBP_LP): Likewise.
41198 (RBX_LP): Likewise.
41199 (RCX_LP): Likewise.
41200 (RDI_LP): Likewise.
41201 (RSI_LP): Likewise.
41202 (RSP_LP): Likewise.
41205 (R10_LP): Likewise.
41206 (R10_LP): Likewise.
41207 (R11_LP): Likewise.
41208 (R12_LP): Likewise.
41209 (R13_LP): Likewise.
41210 (R14_LP): Likewise.
41211 (R15_LP): Likewise.
41213 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41215 * sysdeps/x86_64/x32/dl-machine.h: New file.
41217 2012-05-14 Andreas Jaeger <aj@suse.de>
41219 * manual/Makefile (subdir): Remove export of subdir.
41220 (all): Remove target.
41221 (.PHONY): Remove all from list.
41222 (mkinstalldirs): Remove.
41223 (.PHONY): Remove installdirs from list.
41224 ($(inst_infodir)/libc.info): Use make-target-directory.
41225 (installdirs): Remove.
41226 (subdir_%): Remove.
41227 (glibc-targets): Remove.
41230 ($(objpfx)stubs ../po/manual.pot): Remove.
41231 ($(objpfx)stamp%): Remove.
41232 (make-target-directory): Remove.
41233 (subdir_install): Remove.
41234 (routines): Remove.
41241 * manual/.gitignore: Remove, it's not needed anymore.
41242 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
41244 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
41246 (texis): Renamed to $(objpfx)texis.
41247 (texis-path): New, contains path to generated files.
41248 (chapters.%): Use texis-path for complete path, add extra argument
41250 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
41251 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
41252 (summary,texi, stamp-summary): Use complete path of
41253 files. Generate files in build dir.
41254 (dir-add.texi): Build in build dir.
41255 (libm-err.texi,stamp-libm-err): Likewise.
41256 (version.texi, stamp-version): Likewise.
41257 (.%c.texi): Likewise.
41258 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
41259 (mostlyclean): Remove target.
41260 (realclean): Remove target.
41261 (generated): Add new variable with contents from mostlyclean and
41262 realclean, remove entries duplicated in common-mostlyclean, add
41263 stamp-libm-err and stamp-version.
41264 (generated-dirs): Add libc directory.
41265 ($(inst_infodir)/libc.info): Install files from build dir.
41267 * manual/install.texi (Configuring and compiling): Adjust since
41268 the info files are not part of the tar ball anymore.
41270 2012-05-14 Andreas Jaeger <aj@suse.de>
41272 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
41275 2012-05-14 Joseph Myers <joseph@codesourcery.com>
41278 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
41279 to 2.2.0 where earlier.
41280 * sysdeps/unix/sysv/linux/configure: Regenerated.
41281 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
41282 Remove conditional code.
41283 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
41284 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
41285 Remove conditional code.
41286 [!__NR_lchown]: Likewise.
41287 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41288 [__NR_lchown]: Likewise.
41289 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
41290 comment referencing __ASSUME_LCHOWN_SYSCALL.
41291 * sysdeps/unix/sysv/linux/i386/sigaction.c
41292 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41293 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41294 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
41295 Remove conditional code.
41296 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
41297 (__protocol_available): Remove #if 0 code.
41298 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
41300 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
41301 * sysdeps/unix/sysv/linux/kernel-features.h
41302 (__ASSUME_GETCWD_SYSCALL): Don't define.
41303 (__ASSUME_REALTIME_SIGNALS): Likewise.
41304 (__ASSUME_PREAD_SYSCALL): Likewise.
41305 (__ASSUME_PWRITE_SYSCALL): Likewise.
41306 (__ASSUME_POLL_SYSCALL): Likewise.
41307 (__ASSUME_LCHOWN_SYSCALL): Likewise.
41308 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
41310 (__ASSUME_SIOCGIFNAME): Don't define.
41311 (__ASSUME_MSG_NOSIGNAL): Likewise.
41312 (__ASSUME_SENDFILE): Define unconditionally.
41313 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
41314 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
41316 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
41317 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
41318 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
41319 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41320 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
41321 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
41322 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
41324 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41325 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
41327 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41328 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
41330 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41331 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
41333 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41334 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
41336 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41337 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
41339 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41340 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
41342 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41343 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
41345 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41346 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41347 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
41348 Remove conditional code.
41349 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41350 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
41351 Remove conditional code.
41352 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41353 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
41354 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
41355 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
41356 Remove conditional code.
41357 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41358 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
41359 Remove conditional code.
41360 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41361 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
41362 Remove conditional code.
41363 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41364 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
41365 Remove conditional code.
41366 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41367 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
41368 Remove conditional code.
41369 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41370 * sysdeps/unix/sysv/linux/sh/pwrite64.c
41371 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41372 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41373 * sysdeps/unix/sysv/linux/sigaction.c
41374 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41375 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41376 * sysdeps/unix/sysv/linux/sigpending.c
41377 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41378 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41379 * sysdeps/unix/sysv/linux/sigprocmask.c
41380 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41381 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41382 * sysdeps/unix/sysv/linux/sigsuspend.c
41383 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41384 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41385 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
41386 (__libc_missing_rt_sigs): Remove.
41387 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
41388 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
41389 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
41390 Remove conditional code.
41391 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
41392 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
41394 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
41395 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
41396 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
41397 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
41399 2012-05-14 Andreas Jaeger <aj@suse.de>
41401 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
41402 it's not used in glibc.
41403 (__coshm1): Likewise.
41404 (__acosh1p): Likewise.
41407 * manual/string.texi (Copying and Concatenation): Add missing
41408 variable in concat example.
41409 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
41411 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41414 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
41415 __builtin_clzl with __builtin_clzll.
41417 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41420 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
41423 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41425 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
41426 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
41427 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
41428 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
41430 2012-05-14 Mike Frysinger <vapier@gentoo.org>
41432 * NEWS: Update ia64 info.
41434 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
41436 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
41439 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
41441 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
41442 * sysdeps/unix/syscalls.list (dup3): Likewise.
41443 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
41444 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
41446 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
41448 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
41449 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
41451 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
41453 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
41455 (TLS_IE): Use mov/add instead of movq/addq to load thread
41457 (TLS_GD_PREFIX): New.
41460 2012-05-11 David S. Miller <davem@davemloft.net>
41462 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
41463 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
41464 (_FPU_SETCW): Likewise.
41466 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41468 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
41469 is 32-byte aligned.
41471 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
41474 * iconvdata/gb18030.c: Update tables.
41475 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
41476 characters specially.
41477 (BODY for TO_LOOP): Add encoding of missing ranges.
41479 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
41482 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
41483 * sysdeps/mach/hurd/dup3.c: Likewise.
41484 * sysdeps/mach/hurd/readlinkat.c: Likewise.
41485 * sysdeps/powerpc/memmove.c:: Likewise.
41487 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41489 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
41490 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
41492 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41494 * elf/elf.h (R_X86_64_RELATIVE64): New.
41495 (R_X86_64_NUM): Updated.
41496 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
41497 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
41498 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
41499 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
41500 tst-quad1pie tst-quad2pie
41501 (modules-names): Add tst-quadmod1 tst-quadmod2.
41502 ($(objpfx)tst-quad1): New dependency.
41503 ($(objpfx)tst-quad2): Likewise.
41504 ($(objpfx)tst-quad1pie): Likewise.
41505 ($(objpfx)tst-quad2pie): Likewise.
41506 * sysdeps/x86_64/tst-quad1.c: New file.
41507 * sysdeps/x86_64/tst-quad1pie.c: New file.
41508 * sysdeps/x86_64/tst-quad2.c: Likewise.
41509 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
41510 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
41511 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
41512 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
41513 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
41515 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41517 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
41518 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
41519 * streams/stropts.h (t_scalar_t): Define type.
41521 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
41522 (_PATH_PRESERVE): Set to "/var/lib".
41523 (_PATH_RWHODIR): Set to "/var/spool/rwho".
41525 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
41528 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
41529 if __dir_mkfile succeeded.
41531 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
41532 checking for _hurd_dtablesize. Unlock it right after having
41533 finished _hurd_dtable allocation.
41535 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41537 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
41538 * sysdeps/mach/hurd/configure: Regenerated.
41539 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
41540 special-casing to...
41541 * sysdeps/gnu/configure.in: ... this new file.
41542 * sysdeps/unix/sysv/linux/configure: Regenerated.
41543 * sysdeps/gnu/configure: New generated file.
41545 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
41546 for Linux: use nsec instead of usec, as well as:
41547 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
41548 members of type struct timespec.
41549 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
41551 (struct stat64): Likewise.
41552 (_STATBUF_ST_NSEC): New macro.
41553 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
41555 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
41556 __strtoul_internal rather than strtoul.
41558 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41560 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
41563 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41565 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
41566 which preserves existing values.
41567 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
41569 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41571 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
41572 TIMEOUT values. Return EINVAL for NFDS values either negative or
41573 greater than FD_SETSIZE.
41575 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41577 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
41578 allocated, call __vm_protect to finish enabling the existing space, and
41579 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
41580 allocate the remainder.
41582 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41584 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
41585 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
41587 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41589 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
41590 sysdeps/mach/hurd/readlink.c.
41592 * posix/tst-sysconf.c (posix_options): Only use
41593 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
41594 _POSIX_SYNCHRONIZED_IO when they are defined
41595 * sysdeps/mach/hurd/bits/posix_opt.h:
41596 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
41597 (_XOPEN_REALTIME): Undefine macro.
41598 (_XOPEN_REALTIME_THREADS): Undefine macro.
41599 (_XOPEN_SHM): Undefine macro.
41600 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
41602 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
41604 (_POSIX_ASYNC_IO): Undefine macro.
41605 (_POSIX_PRIORITIZED_IO): Undefine macro.
41606 (_POSIX_SPIN_LOCKS): Define macro to -1.
41608 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
41609 SA_NODEFER, SA_RESETHAND.
41610 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
41611 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
41614 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41616 * elf/Makefile (pldd-modules): Define unconditionally.
41618 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41620 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
41622 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41624 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
41625 Return ENOENT when name is empty.
41626 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
41628 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41630 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
41632 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
41634 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41636 Fix mlock in all cases except non-readable pages.
41637 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
41638 instead of VM_PROT_ALL as parameter to __vm_wire function.
41640 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
41641 (__mkdir): When path is `/', just fail with EEXIST.
41642 * sysdeps/mach/hurd/mkdirat.c: Likewise.
41644 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41646 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
41647 <sys/uio.h> (for writev).
41648 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
41649 and <sys/param.h> (for MIN).
41651 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41653 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
41654 REQUESTED_TIME. Properly set the remaining time and return EINTR
41657 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41659 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
41660 Depend on against $(link-rpcuserlibs).
41662 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41664 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
41665 (__libc_stack_end): Do not use attribute_relro.
41666 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
41667 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
41668 to libthread-provided value.
41669 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
41672 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41675 * bits/libc-lock.h (__libc_once_get): New macro.
41676 * sysdeps/mach/bits/libc-lock.h: Likewise.
41677 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
41678 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
41679 instead of using implementation details.
41681 * libio/fileops.c: Unconditionally include <kernel-features.h>.
41682 * libio/freopen.c: Likewise.
41683 * libio/freopen64.c: Likewise.
41684 * misc/syslog.c: Likewise.
41685 * nscd/connections.c: Likewise.
41686 * nscd/netgroupcache.c: Likewise.
41687 * sysdeps/posix/getcwd.c: Likewise.
41689 2012-05-10 Roland McGrath <roland@hack.frob.com>
41691 * math/w_ilogbf.c: Add #include <limits.h>.
41693 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41695 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
41696 path instead of returning without unlocking.
41698 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
41699 immediate-write ioctls.
41700 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
41702 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41704 * sysdeps/mach/hurd/i386/init-first.c (init): Use
41705 __builtin_frame_address instead of making assumptions about the
41706 location of the return address relative to DATA. Force early load of
41707 the return address.
41708 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
41709 __builtin_frame_address.
41712 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
41713 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
41714 implement dup3 and do some further code clean-ups.
41715 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
41716 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
41718 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41720 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
41722 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
41723 HURD_CRITICAL_END around holding _hurd_dtable_lock.
41724 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
41725 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
41726 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
41729 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
41730 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
41731 when handler == SIG_ERR, not when handler != SIG_ERR.
41733 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41735 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
41736 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
41739 accept4 for GNU Hurd.
41740 * include/sys/socket.h (__libc_accept4): New prototype.
41741 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
41742 to implement __libc_accept4.
41743 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
41745 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
41747 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
41748 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
41749 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
41750 signal-defines.sym.
41752 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41754 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
41756 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41758 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
41759 assertion on O_CLOEXEC flag.
41760 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
41761 * hurd/intern-fd.c: Likewise.
41762 * hurd/port2fd.c: Likewise.
41764 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41767 * bits/in.h (IPV6_PKTINFO): Define new macro.
41768 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
41770 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41775 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
41776 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41777 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
41778 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
41779 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41780 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
41781 * math/libm-test.inc (logb_test) : Additional logb tests.
41783 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
41784 Andreas Jaeger <aj@suse.de>
41786 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
41787 * configure: Regenerated.
41788 * config.h.in (LINK_OBSOLETE_RPC): New macro.
41789 * config.make.in (link-obsolete-rpc): New substituted variable.
41790 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
41791 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
41792 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
41793 (shared-only-routines): Don't set it under [link-obsolete-rpc],
41794 so that libc.a contains the symbols.
41795 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
41796 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
41797 * sunrpc/auth_none.c: Likewise.
41798 * sunrpc/auth_unix.c: Likewise.
41799 * sunrpc/authdes_prot.c: Likewise.
41800 * sunrpc/authuxprot.c: Likewise.
41801 * sunrpc/clnt_gen.c: Likewise.
41802 * sunrpc/clnt_perr.c: Likewise.
41803 * sunrpc/clnt_raw.c: Likewise.
41804 * sunrpc/clnt_simp.c: Likewise.
41805 * sunrpc/clnt_tcp.c: Likewise.
41806 * sunrpc/clnt_udp.c: Likewise.
41807 * sunrpc/clnt_unix.c: Likewise.
41808 * sunrpc/des_crypt.c: Likewise.
41809 * sunrpc/des_soft.c: Likewise.
41810 * sunrpc/get_myaddr.c: Likewise.
41811 * sunrpc/key_call.c: Likewise.
41812 * sunrpc/key_prot.c: Likewise.
41813 * sunrpc/netname.c: Likewise.
41814 * sunrpc/pm_getmaps.c: Likewise.
41815 * sunrpc/pm_getport.c: Likewise.
41816 * sunrpc/pmap_clnt.c: Likewise.
41817 * sunrpc/pmap_prot.c: Likewise.
41818 * sunrpc/pmap_prot2.c: Likewise.
41819 * sunrpc/pmap_rmt.c: Likewise.
41820 * sunrpc/publickey.c: Likewise.
41821 * sunrpc/rpc_cmsg.c: Likewise.
41822 * sunrpc/rpc_common.c: Likewise.
41823 * sunrpc/rpc_dtable.c: Likewise.
41824 * sunrpc/rpc_prot.c: Likewise.
41825 * sunrpc/rpc_thread.c: Likewise.
41826 * sunrpc/rtime.c: Likewise.
41827 * sunrpc/svc.c: Likewise.
41828 * sunrpc/svc_auth.c: Likewise.
41829 * sunrpc/svc_raw.c: Likewise.
41830 * sunrpc/svc_run.c: Likewise.
41831 * sunrpc/svc_tcp.c: Likewise.
41832 * sunrpc/svc_udp.c: Likewise.
41833 * sunrpc/svc_unix.c: Likewise.
41834 * sunrpc/svcauth_des.c: Likewise.
41835 * sunrpc/xcrypt.c: Likewise.
41836 * sunrpc/xdr.c: Likewise.
41837 * sunrpc/xdr_array.c: Likewise.
41838 * sunrpc/xdr_float.c: Likewise.
41839 * sunrpc/xdr_intXX_t.c: Likewise.
41840 * sunrpc/xdr_mem.c: Likewise.
41841 * sunrpc/xdr_rec.c: Likewise.
41842 * sunrpc/xdr_ref.c: Likewise.
41843 * sunrpc/xdr_sizeof.c: Likewise.
41844 * sunrpc/xdr_stdio.c: Likewise.
41846 2012-05-10 Roland McGrath <roland@hack.frob.com>
41848 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
41849 change. Update copyright years.
41851 2012-05-10 Joseph Myers <joseph@codesourcery.com>
41853 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
41855 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
41856 Joseph Myers <joseph@codesourcery.com>
41857 Paul Pluzhnikov <ppluzhnikov@google.com>
41860 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
41862 [cross-compiling] (extra-libs): Likewise.
41863 [cross-compiling] (extra-libs-others): Likewise.
41864 [cross-compiling] (librpcsvc-routines): Likewise.
41865 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
41866 [cross-compiling] (omit-deps): Likewise.
41867 (sunrpc-CPPFLAGS): New variable.
41868 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
41869 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
41870 (cross-rpcgen-objs): New variable.
41871 (extra-objs): Append $(cross-rpcgen-objs).
41872 ($(cross-rpcgen-objs)): New rule.
41873 ($(objpfx)cross-rpcgen): Likewise.
41874 (rpcgen-cmd): Define to use $(built-program-file). Expand
41876 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
41877 ($(objpfx)x%.stmp): Likewise.
41878 * sunrpc/proto.h [IS_IN_build] (_): Define.
41879 [IS_IN_build] (_libc_intl_domainname): Likewise.
41881 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41883 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
41884 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
41885 and R_X86_64_TPOFF64.
41887 2012-05-10 Joseph Myers <joseph@codesourcery.com>
41889 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
41890 sysdeps/unix/sysv/syscalls.list.
41893 * sysdeps/unix/sysv/syscalls.list: Remove file.
41895 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
41898 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
41899 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
41900 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
41901 (__LC_IDENTIFICATION): Make these macros useful in #if
41902 expressions, as required by C99.
41904 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
41906 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
41907 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
41910 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
41912 * stdlib/longlong.h: Updated from GCC.
41914 2012-05-09 Andreas Jaeger <aj@suse.de>
41916 * nscd/nscd.c (run_modes): Make named enum, reorder so that
41917 default is first entry.
41918 (run_mode): Set type.
41919 (main): Remove informal message about syslog.
41920 (options): Fix typo.
41923 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
41926 (llrintf): Likewise.
41927 (llrint): Likewise.
41930 (nearbyint): Likewise.
41931 (nearbyintf): Likewise.
41933 2012-05-09 Andreas Jaeger <aj@suse.de>
41934 Pedro Alves <palves@redhat.com>
41936 * nscd/nscd.c (run_mode): Use enum.
41937 (main): Cleanup coding style issue.
41939 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
41940 Andreas Jaeger <aj@suse.de>
41942 * nscd/nscd.c (go_background): Replaced with...
41943 (run_mode): ... this.
41944 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
41945 (options): Add -F --foreground.
41946 (main): Implement it.
41947 (parse_opt): Parse it.
41949 2012-05-09 Andreas Jaeger <aj@suse.de>
41952 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
41953 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
41954 -Wconversion warning.
41955 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
41958 2012-05-09 Joseph Myers <joseph@codesourcery.com>
41960 * conform/data/locale.h-data (NULL): Use macro-constant. Require
41962 (LC_ALL): Use macro-int-constant.
41963 (LC_COLLATE): Likewise.
41964 (LC_CTYPE): Likewise.
41965 (LC_MESSAGES): Likewise.
41966 (LC_MONETARY): Likewise.
41967 (LC_NUMERIC): Likewise.
41968 (LC_TIME): Likewise.
41969 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
41970 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
41971 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41972 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
41974 [C99-based standards] (float_t): Expect type.
41975 [C99-based standards] (double_t): Expect type.
41976 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
41978 [C99-based standards] (HUGE_VALL): Likewise.
41979 [C99-based standards] (INFINITY): Likewise.
41980 [C99-based standards] (NAN): Likewise.
41981 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
41982 [C99-based standards] (FP_NAN): Likewise.
41983 [C99-based standards] (FP_NORMAL): Likewise.
41984 [C99-based standards] (FP_SUBNORMAL): Likewise.
41985 [C99-based standards] (FP_ZERO): Likewise.
41986 [C99-based standards] (FP_FAST_FMA): Use
41987 optional-macro-int-constant. Specify type. Require == 1.
41988 [C99-based standards] (FP_FAST_FMAF): Likewise.
41989 [C99-based standards] (FP_FAST_FMAL): Likewise.
41990 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
41991 [C99-based standards] (FP_ILOGBNAN): Likewise.
41992 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
41994 [C99-based standards] (MATH_ERREXCEPT): Likewise.
41995 [C99-based standards] (math_errhandling): Specify type.
41996 [ISO99 || ISO11] (signgam): Do not allow.
41997 [non-C99-based standards] (copysignf): Do not allow.
41998 [non-C99-based standards] (exp2f): Likewise.
41999 [non-C99-based standards] (log2f): Likewise.
42000 [non-C99-based standards] (modff): Allow.
42001 [non-C99-based standards] (erff): Do not allow.
42002 [non-C99-based standards] (erfcf): Likewise.
42003 [non-C99-based standards] (gammaf): Likewise.
42004 [non-C99-based standards] (hypotf): Likewise.
42005 [non-C99-based standards] (j0f): Likewise.
42006 [non-C99-based standards] (j1f): Likewise.
42007 [non-C99-based standards] (jnf): Likewise.
42008 [non-C99-based standards] (lgammaf): Likewise.
42009 [non-C99-based standards] (tgammaf): Likewise.
42010 [non-C99-based standards] (y0f): Likewise.
42011 [non-C99-based standards] (y1f): Likewise.
42012 [non-C99-based standards] (ynf): Likewise.
42013 [non-C99-based standards] (isnanf): Likewise.
42014 [non-C99-based standards] (acoshf): Likewise.
42015 [non-C99-based standards] (asinhf): Likewise.
42016 [non-C99-based standards] (atanhf): Likewise.
42017 [non-C99-based standards] (cbrtf): Likewise.
42018 [non-C99-based standards] (expm1f): Likewise.
42019 [non-C99-based standards] (ilogbf): Likewise.
42020 [non-C99-based standards] (log1pf): Likewise.
42021 [non-C99-based standards] (logbf): Likewise.
42022 [non-C99-based standards] (nextafterf): Likewise.
42023 [non-C99-based standards] (remainderf): Likewise.
42024 [non-C99-based standards] (rintf): Likewise.
42025 [non-C99-based standards] (scalbf): Likewise.
42026 [non-C99-based standards] (copysignl): Likewise.
42027 [non-C99-based standards] (exp2l): Likewise.
42028 [non-C99-based standards] (log2l): Likewise.
42029 [non-C99-based standards] (modfl): Allow.
42030 [non-C99-based standards] (erfl): Do not allow.
42031 [non-C99-based standards] (erfcl): Likewise.
42032 [non-C99-based standards] (gammal): Likewise.
42033 [non-C99-based standards] (hypotl): Likewise.
42034 [non-C99-based standards] (j0l): Likewise.
42035 [non-C99-based standards] (j1l): Likewise.
42036 [non-C99-based standards] (jnl): Likewise.
42037 [non-C99-based standards] (lgammal): Likewise.
42038 [non-C99-based standards] (tgammal): Likewise.
42039 [non-C99-based standards] (y0l): Likewise.
42040 [non-C99-based standards] (y1l): Likewise.
42041 [non-C99-based standards] (ynl): Likewise.
42042 [non-C99-based standards] (isnanl): Likewise.
42043 [non-C99-based standards] (acoshl): Likewise.
42044 [non-C99-based standards] (asinhl): Likewise.
42045 [non-C99-based standards] (atanhl): Likewise.
42046 [non-C99-based standards] (cbrtl): Likewise.
42047 [non-C99-based standards] (expm1l): Likewise.
42048 [non-C99-based standards] (ilogbl): Likewise.
42049 [non-C99-based standards] (log1pl): Likewise.
42050 [non-C99-based standards] (logbl): Likewise.
42051 [non-C99-based standards] (nextafterl): Likewise.
42052 [non-C99-based standards] (remainderl): Likewise.
42053 [non-C99-based standards] (rintl): Likewise.
42054 [non-C99-based standards] (scalbl): Likewise.
42055 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42056 [non-C99-based standards] (FP_*): Do not allow.
42057 [C99-based standards] (FP_*): Change to
42058 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
42059 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42061 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
42062 (SIG_ERR): Likewise.
42063 [X/Open-based standards] (SIG_HOLD): Likewise.
42064 (SIG_IGN): Likewise.
42065 (SIGABRT): Use macro-int-constant. Specify type. Require
42067 (SIGFPE): Likewise.
42068 (SIGILL): Likewise.
42069 (SIGINT): Likewise.
42070 (SIGSEGV): Likewise.
42071 (SIGTER): Likewise.
42072 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
42073 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
42074 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
42075 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
42076 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
42077 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
42078 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
42079 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
42080 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
42081 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
42082 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
42083 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
42084 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
42085 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
42086 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
42087 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
42088 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
42089 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
42090 [X/Open-based standards] (SIGTRAP): Likewise.
42091 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
42092 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
42093 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
42094 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
42095 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42098 2012-05-08 Ian Wienand <ianw@vmware.com>
42101 * time/tzset.c (__tzset_parse_tz): Update default rules for
42102 daylight time changes in the Energy Policy Act of 2005.
42104 2012-05-09 Andreas Jaeger <aj@suse.de>
42107 * elf/ldconfig.c (parse_conf): Change string to make clear that
42108 ldconfig only issued a warning if ld.so.conf does not exist.
42110 2012-05-08 David S. Miller <davem@davemloft.net>
42112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
42113 movxtod instead of popping the value on the stack.
42115 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42117 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
42119 * config.h.in: Add HAVE_ARM_PCS_VFP.
42121 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
42124 * include/features.h: Warn if user requests __FORTIFY_SOURCE
42125 checking but the checks are disabled for any reason.
42127 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
42129 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
42130 and ELF64_R_TYPE with ELFW(R_TYPE).
42132 2012-05-08 Joseph Myers <joseph@codesourcery.com>
42134 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
42135 (ulimit): Likewise.
42137 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
42138 (settimeofday): Likewise.
42140 2012-05-08 Mike Frysinger <vapier@gentoo.org>
42142 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
42143 a struct th_u2 inside the union, and move tu_block/tu_code into
42144 a new th_u3 union of tu_block/tu_code inside of that. Move
42145 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
42146 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
42147 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
42148 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
42149 (th_stuff): Change to th_u1.tu_stuff.
42151 (th_msg): Change to th_u1.th_u2.tu_data.
42153 2012-05-07 David S. Miller <davem@davemloft.net>
42155 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42158 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
42159 (SETUP_PIC_REG): Use it.
42160 (SETUP_PIC_REG_LEAF): Use it.
42162 2012-05-07 Joseph Myers <joseph@codesourcery.com>
42166 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42168 (EXPL_FINITE): Likewise.
42169 (FLDLOG): Likewise.
42170 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
42171 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
42173 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42175 (EXPL_FINITE): Likewise.
42176 (FLDLOG): Likewise.
42177 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
42178 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
42180 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
42181 test of -max_value argument for long double.
42182 * sysdeps/i386/fpu/libm-test-ulps: Update.
42183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42185 2012-05-06 David S. Miller <davem@davemloft.net>
42187 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
42188 quad soft-float symbols whose references which are compiler
42190 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42192 2012-05-06 Joseph Myers <joseph@codesourcery.com>
42196 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42198 (EXPL_FINITE): Likewise.
42199 (FLDLOG): Likewise.
42202 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
42203 Adjust comments for base varying.
42204 (__expl_finite): Change alias to EXPL_FINITE.
42205 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
42207 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
42208 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
42209 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
42210 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
42211 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42213 (EXPL_FINITE): Likewise.
42214 (FLDLOG): Likewise.
42217 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
42218 Adjust comments for base varying.
42219 (__expl_finite): Change alias to EXPL_FINITE.
42220 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
42222 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42225 * math/libm-test.inc (check_float_internal): Correct ulp
42226 calculation for subnormal expected results.
42228 2012-05-06 Andreas Jaeger <aj@suse.de>
42230 * Makeconfig (+math-flags): New, set to -frounding-math.
42231 (+cflags): Add +math-flags so that all of glibc gets compiled with
42234 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
42236 2012-05-05 Joseph Myers <joseph@codesourcery.com>
42238 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
42244 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
42245 (__ieee754_expl): Allow for and saturate large arguments.
42246 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
42247 (u_threshold): Likewise.
42248 (__exp): Call __ieee754_exp before checking for overflow and
42250 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
42251 (u_threshold): Likewise.
42252 (__expf): Call __ieee754_expf before checking for overflow and
42254 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
42255 (u_threshold): Likewise.
42256 (__expl): Call __ieee754_expl before checking for overflow and
42258 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
42259 (__ieee754_expl): Allow for and saturate large arguments.
42260 * math/libm-test.inc (exp_test): Add another test. Do not allow
42261 missing overflow exception on overflow.
42262 (expm1_test): Do not allow missing overflow exception on overflow.
42264 * sysdeps/i386/fpu/e_expl.c: Move to ...
42265 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
42266 rather than using inline asm.
42267 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
42268 * sysdeps/x86_64/fpu/e_expl.S: Copy from
42269 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
42271 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
42274 (signal): Likewise.
42278 2012-05-04 Joseph Myers <joseph@codesourcery.com>
42280 * sysdeps/unix/syscalls.list (adjtime): Add entry from
42281 sysdeps/unix/common/syscalls.list.
42282 (fchmod): Likewise.
42283 (fchown): Likewise.
42284 (ftruncate): Likewise.
42285 (getrusage): Likewise.
42286 (gettimeofday): Likewise.
42287 (setpgid): Likewise.
42288 (setregid): Likewise.
42289 (setreuid): Likewise.
42290 (sigaction): Likewise.
42291 (truncate): Likewise.
42292 (vhangup): Likewise.
42293 * sysdeps/unix/common/syscalls.list: Remove file.
42294 * sysdeps/unix/bsd/Implies: Don't include unix/common.
42295 * sysdeps/unix/sysv/linux/Implies: Likewise.
42297 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
42299 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
42300 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
42301 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
42303 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
42305 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
42307 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
42308 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
42310 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
42311 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
42313 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
42314 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
42316 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
42317 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
42319 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
42320 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
42322 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
42323 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
42325 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
42327 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
42329 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
42331 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
42333 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
42334 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
42336 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
42338 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
42340 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
42342 2012-05-04 Joseph Myers <joseph@codesourcery.com>
42344 * sysdeps/unix/common/bits/dirent.h: Remove file.
42345 * sysdeps/unix/common/bits/fcntl.h: Likewise.
42347 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
42348 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
42349 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
42350 * sysdeps/unix/bsd/isatty.c: Likewise.
42351 * sysdeps/unix/bsd/tcdrain.c: Likewise.
42352 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
42353 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
42355 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42358 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
42359 long double comparison inaccuracies.
42360 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
42361 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42363 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
42365 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
42366 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
42368 2012-05-04 Joseph Myers <joseph@codesourcery.com>
42371 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
42372 nonzero digits before rounding a hex value.
42373 * stdlib/tst-strtod.c (tests): Add another test.
42375 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42377 * sysdeps/s390/fpu/libm-test-ulps: Update.
42379 2012-05-03 Andreas Jaeger <aj@suse.de>
42381 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
42382 does not get optimized out.
42383 (malloc_opt_barrier): New.
42385 2012-05-03 Andreas Jaeger <aj@suse.de>
42386 Roland McGrath <roland@hack.frob.com>
42388 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
42389 intermediate file deletion.
42390 (generated): Add .symlist files.
42392 2012-05-03 Joseph Myers <joseph@codesourcery.com>
42395 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
42396 Redirect under this condition.
42397 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
42398 [__USE_GNU] (__dprintf_chk): Not under this condition.
42399 [__USE_GNU] (__vdprintf_chk): Likewise.
42400 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
42401 under this condition.
42402 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
42403 [__USE_XOPEN2K8] (dprintf): Define under this condition.
42404 [__USE_XOPEN2K8] (vdprintf): Likewise.
42405 [__USE_GNU] (__dprintf_chk): Not under this condition.
42406 [__USE_GNU] (__vdprintf_chk): Likewise.
42407 [__USE_GNU] (dprintf): Likewise.
42408 [__USE_GNU] (vdprintf): Likewise.
42410 2012-05-03 Roland McGrath <roland@hack.frob.com>
42412 * elf/Makefile (common-generated): Set this instead of generated for
42413 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
42414 $(all-built-dso)-derived lists.
42416 2012-05-03 Andreas Jaeger <aj@suse.de>
42418 * sysdeps/i386/fpu/libm-test-ulps: Update.
42421 * FAQ.in: Likewise.
42422 * scripts/gen-FAQ.pl: Likewise.
42423 * manual/install.texi (Installation): Point to online location of
42425 * Makefile (files-for-dist): Remove FAQ.
42428 2012-05-02 Allan McRae <allan@archlinux.org>
42430 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
42431 (LDFLAGS-reldepmod5.so): Likewise.
42432 (LDFLAGS-reldep6mod1.so): Likewise.
42433 (LDFLAGS-reldep6mod4.so): Likewise.
42434 (LDFLAGS-reldep8mod3.so): Likewise.
42435 (LDFLAGS-unload4mod1.so): Likewise.
42436 (LDFLAGS-unload4mod2.so): Likewise.
42437 (LDFLAGS-tst-initorder): Likewise.
42438 (LDFLAGS-tst-initordera2.so): Likewise.
42439 (LDFLAGS-tst-initordera3.so): Likewise.
42440 (LDFLAGS-tst-initordera4.so): Likewise.
42441 (LDFLAGS-tst-initorderb2.so): Likewise.
42442 (LDFLAGS-noload): Likewise.
42443 (LDFLAGS-next): Likewise.
42444 (LDFLAGS-order2mod1.so): Likewise.
42445 (LDFLAGS-order2mod2.so): Likewise.
42446 (LDFLAGS-tst-initorder2): Likewise.
42447 (LDFLAGS-tst-initorder2a.so): Likewise.
42448 (LDFLAGS-tst-initorder2b.so): Likewise.
42449 (LDFLAGS-tst-initorder2c.so): Likewise.
42450 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
42452 2012-05-02 David S. Miller <davem@davemloft.net>
42454 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42456 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
42459 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
42461 2012-05-02 Andreas Jaeger <aj@suse.de>
42463 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
42464 since we manipulate rounding mode.
42465 (CPPFLAGS-test-idouble.c): Likewise.
42466 (CPPFLAGS-test-ifloat.c): Likewise.
42467 (CFLAGS-test-ldouble.c): Likewise.
42468 (CFLAGS-test-double.c): Likewise.
42469 (CFLAGS-test-float.c): Likewise.
42470 (CFLAGS-test-misc.c): Likewise.
42471 (CFLAGS-test-test-fenv.c): Likewise.
42473 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42477 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
42478 comparisons to determine direction to adjust input.
42480 2012-05-01 Roland McGrath <roland@hack.frob.com>
42482 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
42483 output to the target.
42485 * scripts/localplt.awk: New file.
42486 * elf/Makefile ($(objpfx)check-localplt): Target removed.
42487 (check-localplt-CFLAGS): Variable removed.
42488 ($(all-built-dso:=.jmprel)): New static pattern rule.
42489 (generated): Add those targets.
42490 (localplt-built-dso): New variable.
42491 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
42493 * elf/check-localplt.c: File removed.
42495 * scripts/check-execstack.awk: New file.
42496 * elf/Makefile ($(objpfx)check-execstack): Target removed.
42497 (check-execstack-CFLAGS): Variable removed.
42498 ($(objpfx)check-execstack.h): Target removed.
42499 ($(objpfx)execstack-default): New target.
42500 (generated): Add that instead of check-execstack.h.
42501 ($(all-built-dso:=.phdr)): New static pattern rule.
42502 (generated): Add those targets.
42503 * elf/check-execstack.c: File removed.
42505 * scripts/check-textrel.awk: New file.
42506 * elf/Makefile ($(objpfx)check-textrel): Target removed.
42507 (check-textrel-CFLAGS): Variable removed.
42508 (all-built-dso): Use := to define.o
42509 ($(all-built-dso:=.dyn)): New static pattern rule.
42510 (generated): Add those targets.
42511 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
42512 * config.make.in (READELF): New substituted variable.
42513 * elf/check-textrel.c: File removed.
42515 2012-05-01 Joseph Myers <joseph@codesourcery.com>
42517 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42519 * conform/data/ctype.h-data [C99-based standards] (isblank):
42521 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
42522 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
42523 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42524 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
42525 Specify type. Require positive value.
42526 (EILSEQ): Likewise.
42527 (ERANGE): Likewise.
42528 [ISO || POSIX] (EILSEQ): Do not expect.
42529 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
42530 Specify type. Require positive value.
42531 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
42532 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
42533 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
42534 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
42535 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
42536 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
42537 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
42538 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
42539 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
42540 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
42541 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
42542 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
42543 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
42544 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
42545 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
42546 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
42547 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
42548 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
42549 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
42550 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
42551 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
42552 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
42553 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
42554 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
42555 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
42556 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
42557 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
42558 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
42559 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
42560 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
42561 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
42562 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
42563 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
42564 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
42565 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
42566 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
42567 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
42568 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
42569 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
42570 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
42571 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
42572 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
42573 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
42574 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
42575 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
42576 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
42577 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
42578 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
42579 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
42580 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
42581 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
42582 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
42583 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
42584 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
42585 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
42586 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
42587 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
42588 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
42589 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
42590 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
42591 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
42592 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
42593 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
42594 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
42595 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
42596 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
42597 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
42598 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
42599 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
42600 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
42601 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
42602 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
42603 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
42604 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
42605 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
42606 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
42607 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
42609 (FLT_ROUNDS): Expect as macro, not constant.
42610 (FLT_MANT_DIG): Use macro-int-constant.
42611 (DBL_MANT_DIG): Likewise.
42612 (LDBL_MANT_DIG): Likewise.
42613 (FLT_DIG): Likewise.
42614 (DBL_DIG): Likewise.
42615 (LDBL_DIG): Likewise.
42616 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
42617 (DBL_MIN_EXP): Likewise.
42618 (LDBL_MIN_EXP): Likewise.
42619 (FLT_MAX_EXP): Use macro-int-constant.
42620 (DBL_MAX_EXP): Likewise.
42621 (LDBL_MAX_EXP): Likewise.
42622 (FLT_MAX_10_EXP): Likewise.
42623 (DBL_MAX_10_EXP): Likewise.
42624 (LDBL_MAX_10_EXP): Likewise.
42625 (FLT_MAX): Use macro-constant.
42626 (DBL_MAX): Likewise.
42627 (LDBL_MAX): Likewise.
42628 (FLT_EPSILON): Use macro-constant. Give upper bound.
42629 (DBL_EPSILON): Likewise.
42630 (LDBL_EPSILON): Likewise.
42631 (FLT_MIN): Likewise.
42632 (DBL_MIN): Likewise.
42633 (LDBL_MIN): Likewise.
42634 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
42635 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
42636 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
42637 [ISO11] (FLT_HAS_SUBNORM): Likewise.
42638 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
42639 [ISO11] (DBL_DECIMAL_DIG): Likewise.
42640 [ISO11] (FLT_DECIMAL_DIG): Likewise.
42641 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
42642 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
42643 [ISO11] (FLT_TRUE_MIN): Likewise.
42644 [ISO11] (LDBL_TRUE_MIN): Likewise.
42645 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42646 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
42647 (SCHAR_MIN): Use macro-int-constant. Specify type.
42648 (SCHAR_MAX): Likewise.
42649 (UCHAR_MAX): Likewise.
42650 (CHAR_MIN): Likewise.
42651 (CHAR_MAX): Likewise.
42652 (MB_LEN_MAX): Use macro-int-constant.
42653 (SHRT_MIN): Use macro-int-constant. Specify type.
42654 (SHRT_MAX): Likewise.
42655 (USHRT_MAX): Likewise.
42656 (INT_MAX): Likewise.
42657 (INT_MIN): Use macro-int-constant. Specify type. Make upper
42659 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
42661 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
42663 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
42664 bound negative. Suffix upper bound with "L".
42665 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
42667 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
42669 [C99-based standards] (LLONG_MAX): Likewise.
42670 [C99-based standards] (ULLONG_MAX): Likewise.
42671 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
42673 [ISO11] (max_align_t): Require type.
42674 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42676 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
42677 from $CFLAGS, without defining away __attribute__ calls.
42678 (checknamespace): Use $CFLAGS_namespace.
42680 * conform/conformtest.pl (@keywords): Only include C99 keywords
42681 for standards based on C99 or C11.
42683 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
42685 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
42688 * conform/conformtest.pl: Handle "macro-int-constant" and test for
42689 usability of symbols in #if.
42691 * conform/conformtest.pl: If macro or constant types start
42692 "promoted:", expect the symbol to be of the following type
42693 promoted by the integer promotions.
42695 * conform/conformtest.pl: Parse all "constant" and "macro" lines
42696 in one place. Also handle "macro-constant".
42698 * conform/conformtest.pl: Only accept expected macro values with
42699 "==". Parse all "macro" lines in one place.
42700 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
42702 * conform/conformtest.pl: Handle braced types on "constant" lines
42703 instead of handling "typed-constant".
42704 * conform/data/signal.h-data: Use "constant" instead of
42707 * conform/conformtest.pl: Handle "optional-" at start of lines in
42708 one place rather than duplicating several cases. Handle each
42709 format of "macro" line with initial "optional-".
42711 * conform/conformtest.pl: Only accept expected constant or
42712 optional-constant values with "==". Parse all "constant" lines in
42713 one place. Parse all "optional-constant" lines in one place.
42714 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
42715 * conform/data/fmtmsg.h-data: Likewise.
42716 * conform/data/netinet/in.h-data: Likewise.
42717 * conform/data/tar.h-data: Likewise.
42718 * conform/data/limits.h-data: Use "==" form on "constant" and
42719 "optional-constant" lines.
42721 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
42722 Use -std=c99 for XOPEN2K.
42723 (@knownproblems): Remove.
42724 (newtoken): Don't check %isknown.
42726 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
42727 Do not expect macro.
42728 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
42729 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
42730 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
42731 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
42732 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
42733 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
42734 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
42735 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
42736 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
42737 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
42738 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
42739 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
42740 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
42741 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
42742 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
42743 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
42744 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
42745 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
42746 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
42747 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
42748 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
42749 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
42750 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
42751 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
42752 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
42753 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
42754 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
42755 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
42756 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
42757 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
42758 [XPG3] (acosh): Likewise.
42759 [XPG3] (asinh): Likewise.
42760 [XPG3] (atanh): Likewise.
42761 [XPG3] (cbrt): Likewise.
42762 [XPG3] (expm1): Likewise.
42763 [XPG3] (ilogb): Likewise.
42764 [XPG3] (log1p): Likewise.
42765 [XPG3] (logb): Likewise.
42766 [XPG3] (nextafter): Likewise.
42767 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
42768 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
42769 [XPG3] (remainder): Likewise.
42770 [XPG3] (rint): Likewise.
42771 [XPG3 || XPG4 || UNIX98] (round): Likewise.
42772 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
42773 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
42774 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
42775 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
42776 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
42777 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
42778 [UNIX98 || XOPEN2K] (scalb): Expect.
42779 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
42780 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
42781 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
42782 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
42783 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
42784 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
42785 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
42786 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
42787 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
42788 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
42789 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
42790 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
42791 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
42792 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
42793 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
42794 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
42795 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
42796 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
42797 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
42798 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
42799 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
42800 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
42801 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
42802 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
42803 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
42804 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
42805 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
42806 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
42807 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
42808 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
42809 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
42810 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
42811 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
42812 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
42813 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
42814 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
42815 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
42816 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
42817 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
42818 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
42819 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
42820 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
42821 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
42822 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
42823 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
42824 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
42825 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
42826 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
42827 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
42828 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
42829 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
42830 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
42831 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
42832 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
42833 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
42834 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
42835 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
42836 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
42837 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
42838 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
42839 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
42840 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
42841 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
42842 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
42843 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
42844 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
42845 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
42846 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
42847 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
42848 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
42849 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
42850 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
42851 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
42852 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
42853 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
42854 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
42855 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
42856 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
42857 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
42858 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
42859 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
42860 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
42861 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
42862 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
42863 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
42864 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
42865 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
42866 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
42867 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
42868 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
42869 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
42870 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
42871 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
42872 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
42873 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
42874 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
42875 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
42876 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
42877 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
42878 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
42879 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
42880 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
42881 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
42882 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
42883 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
42884 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
42885 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
42886 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
42887 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
42888 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
42889 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
42890 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
42891 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
42892 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
42893 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
42894 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
42895 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
42896 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
42897 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
42898 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
42899 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
42900 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
42901 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
42902 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
42903 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
42904 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
42905 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
42906 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
42907 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
42908 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
42909 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
42910 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
42911 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
42912 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
42913 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
42914 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
42915 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
42917 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
42918 _XOPEN_SOURCE_EXTENDED for XPG4.
42920 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
42922 * Makeconfig (localtime): Remove variable.
42923 (inst_localtime-file): Likewise.
42925 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
42927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
42929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
42933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
42935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
42937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
42939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
42943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42946 2012-05-01 Joseph Myers <joseph@codesourcery.com>
42950 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
42951 comparisons to determine direction to adjust input.
42952 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
42953 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
42954 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
42956 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
42958 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
42960 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
42961 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
42963 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
42965 * math/libm-test.inc (nexttoward_test): Add more tests.
42967 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
42970 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
42971 in version GLIBC_2.1, not GLIBC_2.0.
42972 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
42975 2012-04-30 Joseph Myers <joseph@codesourcery.com>
42978 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
42980 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
42981 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
42982 * math/libm-test.inc (acos_test): Add more tests.
42983 (asin_test): Likewise.
42984 * sysdeps/i386/fpu/libm-test-ulps: Update.
42985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42988 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
42990 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
42991 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
42992 * math/libm-test.inc (acos_test_tonearest): New function.
42993 (acos_test_towardzero): Likewise.
42994 (acos_test_downward): Likewise.
42995 (acos_test_upward): Likewise.
42996 (asin_test_tonearest): Likewise.
42997 (asin_test_towardzero): Likewise.
42998 (asin_test_downward): Likewise.
42999 (asin_test_upward): Likewise.
43000 (main): Call the new functions.
43001 * sysdeps/i386/fpu/libm-test-ulps: Update.
43002 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43006 * math/e_exp10.c: Include <float.h>.
43007 (__ieee754_exp10): Handle underflow here rather than multiplying
43008 large negative argument by M_LN10.
43009 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
43011 * math/e_exp10l.c: Include <float.h>.
43012 (__ieee754_exp10l): Handle underflow here rather than multiplying
43013 large negative argument by M_LN10l.
43014 * math/libm-test.inc (exp10_test): Add another test. Do not allow
43015 spurious overflow exception on underflow.
43017 2012-04-29 Marek Polacek <polacek@redhat.com>
43019 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
43020 (__fortify_function): New macro.
43021 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
43022 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
43023 __extern_always_inline.
43024 * libio/bits/stdio2.h: Likewise.
43025 * libio/bits/stdio.h: Likewise.
43026 * string/string.h: Likewise.
43027 * string/bits/string3.h: Likewise.
43028 * include/stdio.h: Likewise.
43029 * stdlib/bits/stdlib.h: Likewise.
43030 * stdlib/stdlib.h: Likewise.
43031 * rt/bits/mqueue2.h: Likewise.
43032 * rt/mqueue.h: Likewise.
43033 * posix/bits/unistd.h: Likewise.
43034 * posix/unistd.h: Likewise.
43035 * io/bits/poll2.h: Likewise.
43036 * io/bits/fcntl2.h: Likewise.
43037 * io/fcntl.h: Likewise.
43038 * io/sys/poll.h: Likewise.
43039 * misc/bits/syslog.h: Likewise.
43040 * misc/bits/syslog-ldbl.h: Likewise.
43041 * misc/sys/syslog.h: Likewise.
43042 * socket/bits/socket2.h: Likewise.
43043 * socket/sys/socket.h: Likewise.
43044 * debug/tst-chk1.c: Likewise.
43045 * wcsmbs/bits/wchar2.h: Likewise.
43046 * wcsmbs/bits/wchar-ldbl.h: Likewise.
43047 * wcsmbs/wchar.h: Likewise.
43049 2012-04-29 Andreas Jaeger <aj@suse.de>
43051 * Makerules (tests): Remove enable-check-abi protection.
43052 (check-abi-warn): Remove.
43053 (check-abi-%): Remove check-abi-warn usage.
43055 * configure.in: Remove check-abi configure option.
43056 * configure: Regenerated.
43057 * config.make.in (enable-check-abi): Remove.
43059 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
43062 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
43063 double functions to double *_finite functions.
43066 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
43067 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
43069 * stdio-common/Makefile (tests): Add tst-sprintf3.
43070 * stdio-common/tst-sprintf3.c: New file.
43072 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
43073 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
43075 2012-04-28 Joseph Myers <joseph@codesourcery.com>
43077 * conform/conformtest.pl: Remove duplicate typed-constant
43080 2012-04-28 David S. Miller <davem@davemloft.net>
43082 * Makerules (%.abilist): Add vpath on sysdep_dirs.
43083 (check-abi-%): Remove AWK script prerequisite and explicit
43085 (check-abi): Rewrite to just diff the symlist with the abilist.
43086 (config-tls, config-abi-config): Delete, no longer used.
43087 (update-abi-%): Remove AWK script and explicit abilist directory.
43088 (update-abi): Rewrite to simply compare and conditionally copy the
43089 symlist and the sysdep abilist file. Remove update-abi-config
43091 * abilist/ld.abilist: Remove.
43092 * abilist/libBrokenLocale.abilist: Remove.
43093 * abilist/libanl.abilist: Remove.
43094 * abilist/libcrypt.abilist: Remove.
43095 * abilist/libdl.abilist: Remove.
43096 * abilist/librt.abilist: Remove.
43097 * abilist/libthread_db.abilist: Remove.
43098 * abilist/libutil.abilist: Remove.
43099 * scripts/extract-abilist.awk: Remove.
43100 * scripts/merge-abilist.awk: Remove.
43101 * sysdeps/generic/libcidn.abilist: New file.
43102 * sysdeps/generic/libnss_compat.abilist: New file.
43103 * sysdeps/generic/libnss_db.abilist: New file.
43104 * sysdeps/generic/libnss_dns.abilist: New file.
43105 * sysdeps/generic/libnss_files.abilist: New file.
43106 * sysdeps/generic/libnss_hesiod.abilist: New file.
43107 * sysdeps/generic/libnss_nis.abilist: New file.
43108 * sysdeps/generic/libnss_nisplus.abilist: New file.
43109 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
43110 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
43111 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
43113 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
43114 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
43115 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
43116 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
43117 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
43118 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
43119 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
43120 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
43121 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
43123 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
43124 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
43125 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
43126 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
43128 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
43129 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
43130 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
43131 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
43132 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
43133 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
43135 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
43136 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
43137 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
43139 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
43140 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
43142 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
43144 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
43146 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
43148 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
43150 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
43152 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
43154 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
43156 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
43158 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
43160 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
43162 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
43164 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
43166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
43168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
43170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
43172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
43174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
43176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
43178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
43180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
43182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
43186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
43188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
43190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
43192 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
43193 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
43195 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
43197 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
43199 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
43201 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
43203 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
43205 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
43207 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
43209 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
43211 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
43213 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
43215 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
43217 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
43218 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
43220 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
43222 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
43224 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
43226 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
43228 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
43230 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
43232 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
43234 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
43236 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
43238 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
43240 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
43242 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
43243 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
43244 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
43246 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
43247 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
43248 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
43249 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
43250 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
43251 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
43252 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
43253 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
43254 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
43255 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
43256 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
43257 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
43259 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
43261 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
43263 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
43265 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
43267 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
43269 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
43271 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
43273 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
43275 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
43277 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
43279 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
43281 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
43282 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
43284 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
43286 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
43288 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
43290 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
43292 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
43294 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
43296 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
43298 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
43300 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
43302 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
43304 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
43307 2012-04-28 Joseph Myers <joseph@codesourcery.com>
43309 * conform/conformtest.pl: Fix typo in handling typed-constant from
43312 2012-04-27 Joseph Myers <joseph@codesourcery.com>
43314 * README: Cut down references to pre-2.6 Linux kernels and
43315 Linuxthreads. Update lists of configurations in libc and ports
43316 and sort alphabetically. Say "or newer" with Linux kernel version
43319 * config.h.in [IS_IN_build]: Allow compiling without optimization.
43321 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
43324 * math/libm-test.inc (logb_test_downward): New test to expose
43325 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
43328 2012-04-27 Joseph Myers <joseph@codesourcery.com>
43331 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
43333 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
43334 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
43336 2012-04-26 Joseph Myers <joseph@codesourcery.com>
43338 * sysdeps/unix/i386/brk.S: Remove file.
43339 * sysdeps/unix/i386/dl-brk.S: Likewise.
43340 * sysdeps/unix/i386/pipe.S: Likewise.
43341 * sysdeps/unix/i386/sigreturn.S: Likewise.
43342 * sysdeps/unix/i386/syscall.S: Likewise.
43343 * sysdeps/unix/i386/vfork.S: Likewise.
43344 * sysdeps/unix/i386/wait.S: Likewise.
43346 * sysdeps/unix/common/tcsendbrk.c: Move to ...
43347 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
43349 * configure.in (arm*-none*): Do not allow without
43350 --enable-hacker-mode.
43351 (netbsd*): Remove case setting base_os.
43352 (386bsd*): Likewise.
43353 (freebsd*): Likewise.
43356 (sunos*): Likewise.
43357 (ultrix*): Likewise.
43358 (newsos*): Likewise.
43359 (dynix*): Likewise.
43365 (minix*): Likewise.
43366 (irix4*): Likewise.
43367 (irix6*): Likewise.
43368 (solaris[2-9]*): Likewise.
43370 * configure: Regenerated.
43372 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43375 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
43376 overflow or cancellation in calculating denominator.
43377 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
43378 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
43379 down expression to avoid unexpected rounding in newer GCCs.
43380 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
43382 2012-04-26 David S. Miller <davem@davemloft.net>
43384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
43385 long-double compat symbols.
43386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
43387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
43388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
43389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
43390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
43391 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
43392 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
43393 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
43394 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
43395 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
43396 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
43397 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
43398 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
43400 2012-04-25 David S. Miller <davem@davemloft.net>
43402 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
43403 HWCAP_* values only after the memory barriers have been defined.
43404 (atomic_full_barrier): Define.
43405 (atomic_read_barrier): Define.
43406 (atomic_write_barrier): Define.
43408 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
43410 * shlib-versions: Add libgcc_s version information.
43411 * sysdeps/generic/libgcc_s.h: Remove.
43412 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
43414 * sysdeps/gnu/unwind-resume.c: Likewise.
43415 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
43417 2012-04-25 David S. Miller <davem@davemloft.net>
43419 * sysdeps/unix/sparc/brk.S: Delete.
43420 * sysdeps/unix/sparc/dl-brk.S: Delete.
43421 * sysdeps/unix/sparc/pipe.S: Delete.
43422 * sysdeps/unix/sparc/sysdep.S: Delete.
43423 * sysdeps/unix/sparc/sysdep.h: Delete.
43424 * sysdeps/unix/sparc/vfork.S: Delete.
43425 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
43426 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
43427 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
43428 (ret_ERRVAL, r0, r1, MOVE): Define.
43429 (JUMPTARGET): Remove.
43430 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
43431 sysdeps/unix/sparc/sysdep.h
43432 (ENTRY, END): Remove.
43433 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43435 2012-04-25 Joseph Myers <joseph@codesourcery.com>
43437 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
43438 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
43441 * timezone/README: Update upstream location and email address for
43443 * timezone/zdump.c: Update from tzcode 2012b.
43444 * timezone/zic.c: Likewise.
43446 * configure.in (libc_cv_as_needed): Remove test.
43447 * configure: Regenerated.
43448 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
43449 conditional definition.
43450 [$(have-as-needed) != yes] (no-as-needed): Likewise.
43451 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
43452 * config.make.in (have-as-needed): Remove variable.
43454 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
43455 Paul Pluzhnikov <ppluzhnikov@google.com>
43457 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
43460 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
43462 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
43463 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
43464 * sysdeps/sh/strlen.S: Likewise.
43466 2012-04-24 Joseph Myers <joseph@codesourcery.com>
43468 * sysdeps/unix/fork.S: Remove file.
43469 * sysdeps/unix/i386/fork.S: Likewise.
43470 * sysdeps/unix/sparc/fork.S: Likewise.
43472 * sysdeps/unix/system.c: Remove file.
43473 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
43475 * sysdeps/unix/getegid.S: Remove file.
43476 * sysdeps/unix/geteuid.S: Likewise.
43478 2012-04-24 Roland McGrath <roland@hack.frob.com>
43480 * scripts/check-localplt.awk: New file.
43481 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
43483 * scripts/data/localplt-generic.data: Add a comment.
43485 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
43486 NODE when __dir_mkfile failed.
43487 * sysdeps/mach/hurd/symlinkat.c: Likewise.
43488 Reported by Ludovic Courtès <ludo@gnu.org>.
43490 2012-04-24 Andreas Jaeger <aj@suse.de>
43492 * Makerules (common-clean): Also remove gen-as-const-headers
43495 2012-04-24 Joseph Myers <joseph@codesourcery.com>
43497 * Makerules (native-compile): Do not change working directory for
43498 build. Use $(OUTPUT_OPTION) in command.
43499 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
43501 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43504 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
43505 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
43506 * math/libm-test.inc (floor_test): Add more tests.
43507 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
43509 2012-04-24 Joseph Myers <joseph@codesourcery.com>
43511 * sysdeps/unix/getdents.c: Remove file.
43512 * sysdeps/unix/sysv/getdents.c: Likewise.
43513 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
43515 * sysdeps/unix/syscalls.list (madvise): Add syscall from
43516 sysdeps/unix/mman/syscalls.list.
43518 (mprotect): Likewise.
43520 (munmap): Likewise.
43521 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
43522 * sysdeps/unix/mman/syscalls.list: Remove.
43523 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
43525 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
43526 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
43527 * configure: Regenerated.
43528 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
43529 $(libgcc_s_suffix).
43530 * config.make.in (libgcc_s_suffix): Remove variable.
43532 2012-04-23 Joseph Myers <joseph@codesourcery.com>
43534 * sysdeps/unix/sysv/gethostname.c: Move to ...
43535 * sysdeps/posix/gethostname.c: ... here.
43537 * sysdeps/unix/execve.S: Remove file.
43539 * sysdeps/unix/_exit.S: Remove file.
43541 2012-04-23 Andreas Jaeger <aj@suse.de>
43544 * manual/Makefile: Remove make dist support, there's no
43545 need for a stand-alone documentation tar ball.
43546 (TEXI2DVI): Define always, it's not in Makeconfig.
43549 (edition): Removed.
43550 (glibc-doc-$(edition).tar): Removed
43554 (ETAGS): Remove, it's in Makeconfig.
43555 (move-if-change): Remove, it's in Makeconfig.
43557 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
43560 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
43561 (strtod, strtof, strtold, strtol, strtoul, strtoq)
43562 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
43563 (strtod_l, strtof_l, strtold_l): Remove __wur.
43564 It is not necessarily an error to ignore strtol's return value.
43565 One can reliably look at the stored endptr to decide whether
43566 the number had valid syntax.
43568 2012-04-21 Andreas Jaeger <aj@suse.de>
43571 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
43573 2012-04-21 Joseph Myers <joseph@codesourcery.com>
43575 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
43576 * sysdeps/unix/sysv/Versions: Remove file.
43578 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
43581 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43583 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
43586 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
43587 version from __vm86.
43589 2012-04-20 Joseph Myers <joseph@codesourcery.com>
43591 * sysdeps/unix/common/lxstat.c: Remove file.
43592 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
43594 * sysdeps/unix/sysv/Makefile: Remove file.
43596 * sysdeps/unix/sysv/direct.h: Remove file.
43598 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
43599 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
43600 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
43601 * sysdeps/unix/sysv/bits/signum.h: Likewise.
43602 * sysdeps/unix/sysv/bits/stat.h: Likewise.
43603 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
43604 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
43606 * sysdeps/unix/sysv/setrlimit.c: Remove file.
43608 * sysdeps/unix/xmknod.c: Remove file.
43609 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
43611 * sysdeps/unix/sysv/settimeofday.c: Remove file.
43613 * sysdeps/unix/sysv/i386/time.S: Remove file.
43615 * sysdeps/unix/fxstat.c: Remove file.
43616 * sysdeps/unix/xstat.c: Likewise.
43617 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
43619 * sysdeps/unix/sysv/sigaction.c: Remove file.
43621 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
43622 (sysdep_headers): Remove variable.
43623 [termio.h not in sysdep_headers] (generated): Likewise.
43624 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
43625 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
43626 * sysdeps/unix/sysv/tcdrain.c: Likewise.
43627 * sysdeps/unix/sysv/tcflow.c: Likewise.
43628 * sysdeps/unix/sysv/tcflush.c: Likewise.
43629 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
43630 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
43631 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
43632 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
43633 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
43635 * sysdeps/unix/siglist.c: Remove file.
43637 * sysdeps/unix/getppid.S: Remove file.
43639 * sysdeps/unix/mkdir.c: Remove file.
43640 * sysdeps/unix/rmdir.c: Likewise.
43642 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
43644 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
43646 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
43647 errlist-compat value.
43649 2012-04-18 David S. Miller <davem@davemloft.net>
43651 * sysdeps/generic/memcopy.h (reg_char): Delete.
43652 * debug/strcat_chk.c: Use char, not reg_char.
43653 * debug/strcpy_chk.c: Likewise.
43654 * debug/strncat_chk.c: Likewise.
43655 * debug/strncpy_chk.c: Likewise.
43656 * string/memchr.c: Likewise.
43657 * string/memrchr.c: Likewise.
43658 * string/rawmemchr.c: Likewise.
43659 * string/strcat.c: Likewise.
43660 * string/strchr.c: Likewise.
43661 * string/strchrnul.c: Likewise.
43662 * string/strcmp.c: Likewise.
43663 * string/strcpy.c: Likewise.
43664 * string/strncat.c: Likewise.
43665 * string/strncmp.c: Likewise.
43666 * string/strncpy.c: Likewise.
43668 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
43670 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
43671 __builtin_memcopy is called when src and dest ranges are known to not
43674 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
43676 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
43677 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
43678 fwd_align_merge macro call.
43679 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
43680 bwd_align_merge macro call.
43681 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
43683 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
43685 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
43686 bwd_align_merge macros.
43687 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
43688 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
43689 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
43691 2012-04-18 David S. Miller <davem@davemloft.net>
43693 * sysdeps/sparc/sparc64/memcopy.h: Delete.
43695 2012-04-18 Andreas Jaeger <aj@suse.de>
43698 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
43699 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
43700 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43702 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
43703 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
43704 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43706 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
43707 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
43708 Adjust for changed ldbl-128 files.
43710 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
43711 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
43712 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43714 2012-04-17 David S. Miller <davem@davemloft.net>
43716 * sysdeps/sparc/sparc32/memcopy.h: Delete.
43718 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
43720 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
43721 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
43722 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
43723 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
43724 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
43725 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
43727 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43730 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
43731 * math/libm-test.inc: Add ilogb errno and exception tests.
43732 * math/w_ilogb.c: New file: ilogb wrapper.
43733 * math/w_ilogbf.c: New file: ilogbf wrapper.
43734 * math/w_ilogbl.c: New file: ilogbl wrapper.
43735 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
43736 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
43737 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
43738 exception being thrown with 0.0 as argument.
43739 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
43740 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
43741 exception being thrown with 0.0 as argument.
43742 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
43743 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
43744 exception being thrown with 0.0 as argument.
43745 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
43746 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
43747 exception being thrown with 0.0 as argument.
43748 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
43749 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
43750 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
43751 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
43752 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
43753 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
43754 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
43755 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
43756 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
43758 2012-04-17 Petr Baudis <pasky@ucw.cz>
43760 * include/sys/uio.h: Change __vector to __iovec to avoid clash
43763 2012-04-16 Marek Polacek <polacek@redhat.com>
43765 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
43767 2012-04-16 Marek Polacek <polacek@redhat.com>
43769 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
43770 operands of fdivp instruction.
43772 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
43774 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
43775 * elf/tst-auditmod3b.c: Likewise.
43776 * elf/tst-auditmod4b.c: Likewise.
43777 * elf/tst-auditmod5b.c: Likewise.
43778 * elf/tst-auditmod6b.c: Likewise.
43779 * elf/tst-auditmod6c.c: Likewise.
43780 * elf/tst-auditmod7b.c: Likewise.
43781 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
43782 * sysdeps/x86_64/preconfigure.in: Likewise.
43783 * sysdeps/x86_64/preconfigure: Regenerated.
43785 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
43787 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
43790 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
43792 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43793 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
43795 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
43798 * locale/iso-639.def: Fix gl language name. Spotted by
43801 2012-04-12 Roland McGrath <roland@hack.frob.com>
43804 * libio/libio.h (__io_write_fn): Update comment.
43806 2012-04-12 Petr Baudis <pasky@ucw.cz>
43809 * stdio.texi (Hook Functions): The user provided writer function
43810 is not allowed to return -1.
43812 2012-04-11 David S. Miller <davem@davemloft.net>
43814 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43816 2012-04-11 Mike Frysinger <vapier@gentoo.org>
43818 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
43819 Add a leading slash to rtkaio.
43821 2012-04-11 Jim Meyering <meyering@redhat.com>
43824 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
43825 It is not necessarily an error to ignore fwrite's return
43826 value. One can reliably use ferror to test for errors after
43829 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
43831 * bits/types.h (__snseconds_t): New type.
43832 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
43834 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
43835 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43836 (__SNSECONDS_T_TYPE): Likewise.
43837 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43838 (__SNSECONDS_T_TYPE): Likewise.
43839 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43840 (__SNSECONDS_T_TYPE): Likewise.
43842 2012-04-10 Andreas Jaeger <aj@suse.de>
43845 * manual/time.texi (Processor Time): Return type of times is
43846 elapsed real time since an arbitrary point in the past.
43847 (CPU Time): Move CLK_TCK from here...
43848 (Processor Time): ...to here. Correct description.
43849 * manual/conf.texi (Constants for Sysconf): Correct description of
43852 2012-04-10 David S. Miller <davem@davemloft.net>
43855 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
43856 where the is a gap between DT_REL(A) and DT_JMPREL.
43858 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
43860 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
43861 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
43862 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
43864 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
43866 * elf/dl-support.c (_dl_inhibit_cache): New variable.
43867 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
43868 (dl_main): Handle --inhibit-cache.
43869 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
43871 * elf/dl-load.c (_dl_map_object): Use it.
43872 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
43874 2012-04-09 Joseph Myers <joseph@codesourcery.com>
43877 * sysdeps/i386/fpu/e_powl.S (p78): New object.
43878 (__ieee754_powl): Saturate large exponents rather than testing for
43879 overflow of y*log2(x).
43880 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43881 * math/libm-test.inc (pow_test): Do not permit spurious overflow
43885 * math/s_ctan.c: Include <float.h>.
43886 (__ctan): Avoid internal overflow or cancellation in calculating
43888 * math/s_ctanf.c: Likewise.
43889 * math/s_ctanl.c: Likewise.
43890 * math/s_ctanh.c: Likewise.
43891 * math/s_ctanhf.c: Likewise.
43892 * math/s_ctanhl.c: Likewise.
43893 * math/libm-test.inc (ctan_test): Add more tests.
43894 (ctanh_test): Likewise.
43895 * sysdeps/i386/fpu/libm-test-ulps: Update.
43896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43898 2012-04-09 Andreas Jaeger <aj@suse.de>
43901 * manual/filesys.texi (Directory Entries): Mention that d_namlen
43902 is an optional BSD extension.
43905 * manual/stdio.texi (Opening Streams): Document additional fopen
43908 2012-04-09 Roland McGrath <roland@hack.frob.com>
43910 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
43911 %eax without telling the compiler.
43913 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
43916 * manual/install.texi: Use sourceware.org.
43918 2012-04-09 Joseph Myers <joseph@codesourcery.com>
43921 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
43922 (__ieee754_pow): Generate overflow and underflow using huge*huge
43923 and tiny*tiny rather than just returning constant infinity or zero
43924 for large exponents.
43925 * math/libm-test.inc (pow_test): Require overflow exceptions for
43926 applicable cases of large exponents.
43929 * sysdeps/i386/fpu/e_pow.S (p10): New object.
43930 (__ieee754_pow): Use iterative multiplication algorithm only for
43931 integer exponents with absolute value below 1024. Check for odd
43932 integer exponents when using algorithm for real exponents.
43933 * math/libm-test.inc (pow_test): Add more tests.
43934 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43936 2012-04-08 Joseph Myers <joseph@codesourcery.com>
43939 * math/libm-test.inc (exp_test): Do not allow overflow exception
43942 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
43945 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
43946 instead of __kernel_standard_f.
43948 2012-04-08 Mike Frysinger <vapier@gentoo.org>
43950 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
43951 * sysdeps/x86_64/memset_chk.S: Likewise.
43953 2012-04-08 Andreas Jaeger <aj@suse.de>
43956 * manual/startup.texi (Environment Access): Describe return value
43957 for putenv and setenv.
43960 * manual/filesys.texi (Directory Entries): Add description for
43964 * manual/filesys.texi (Directory Entries): Clarify that it's file
43965 system not operating system in the description of DT_UNKNOWN.
43968 * manual/syslog.texi (closelog): Fix reference, it's openlog.
43970 2012-04-08 Stephen Compall <s11@member.fsf.org>
43973 * manual/llio.texi (Opening and Closing Files): Add cross
43974 reference to explain mode argument.
43976 2012-04-07 Mike Frysinger <vapier@gentoo.org>
43978 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
43979 * sysdeps/x86_64/memset_chk.S: Likewise.
43981 2012-04-07 David S. Miller <davem@davemloft.net>
43983 * elf/elf.h (R_SPARC_WDISP10): Define.
43984 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
43986 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
43987 R_SPARC_SIZE64 and R_SPARC_H34.
43989 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
43991 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
43992 conditions and remove no longer applicable assertion.
43994 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
43996 * bits/byteswap.h: Include <features.h>.
43997 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
43998 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
44000 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
44002 * bits/byteswap.h (__bswap_16): Removed.
44003 Include <bits/byteswap-16.h> to get __bswap_16.
44004 * sysdeps/i386/bits/byteswap.h: Likewise.
44005 * sysdeps/s390/bits/byteswap.h: Likewise.
44006 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44007 * bits/byteswap-16.h: New file.
44008 * sysdeps/i386/bits/byteswap-16.h: Likewise.
44009 * sysdeps/s390/bits/byteswap-16.h: Likewise.
44010 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
44011 * string/Makefile (headers): Add bits/byteswap-16.h.
44013 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
44016 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
44018 * nss/Makefile (tests-static, tests): Add tst-nss-static.
44019 * nss/tst-nss-static.c: New.
44021 2012-04-06 Robert Millan <rmh@gnu.org>
44024 * manual/llio.texi (File Position Primitive): lseek
44025 refers to WHENCE when it really means OFFSET.
44027 2012-04-06 Andreas Jaeger <aj@suse.de>
44029 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
44030 strncmp declarations.
44032 * abilist/libc.abilist: Add __poll and __ppoll.
44034 2012-04-05 David S. Miller <davem@davemloft.net>
44036 * scripts/check-local-headers.sh: Accept a host triplet in the
44037 path matched by the exclude regexp.
44039 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
44041 * sysdeps/powerpc/powerpc32/dl-machine.h
44042 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
44043 * sysdeps/s390/s390-32/dl-machine.h
44044 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44045 * sysdeps/sparc/sparc32/dl-machine.h
44046 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44047 * sysdeps/sparc/sparc64/dl-machine.h
44048 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44050 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
44052 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
44053 undefined symbol errors.
44055 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
44058 2012-04-05 Michael Matz <matz@suse.de>
44061 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
44063 2012-04-05 Andreas Jaeger <aj@suse.de>
44066 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
44069 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44071 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
44072 which ROUND is no valid rounding mode.
44074 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44076 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
44078 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
44080 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44082 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
44083 an exception using FPU order intentionally.
44085 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44087 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
44088 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
44089 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
44090 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
44092 2012-04-05 Simon Josefsson <simon@josefsson.org>
44095 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
44096 EINVAL when BUFLEN is too smal.
44098 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
44101 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
44102 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
44104 2012-04-03 Andreas Jaeger <aj@suse.de>
44107 * manual/setjmp.texi (System V contexts): Fix sentence.
44110 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
44111 New macro for this case.
44112 [!__GNUC__] (__bswap_64): New inline function for this case.
44113 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44114 * bits/byteswap.h: Likewise.
44115 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
44116 ull, guard with __GLIBC_HAVE_LONG_LONG.
44118 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
44119 __GLIBC_HAVE_LONG_LONG.
44121 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
44122 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
44124 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44127 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
44128 inptr and inend, rather than using last_ch.
44130 2012-04-02 David S. Miller <davem@davemloft.net>
44132 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
44133 * stdio-common/printf-parse.h (read_int): Change return type to
44134 'int', return -1 on INT_MAX overflow.
44135 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
44136 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
44137 overflows INT_MAX. Check for overflow of in-format-string precision
44138 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
44139 SIZE_MAX not INT_MAX for integer overflow test.
44140 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
44141 skip the construct in the format string but do not record anything.
44142 * stdio-common/bug22.c: Adjust to test both width/prevision
44143 INT_MAX overflow as well as total length INT_MAX overflow. Check
44144 explicitly for proper errno values.
44146 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
44148 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
44150 * string/test-strcmp.c [! WIDE]: Likewise.
44151 * time/tst-mktime2.c: Likewise for INT_MAX.
44152 * string/test-string.h: #include <sys/param.h> for MIN.
44154 * csu/init-first.c (__libc_init_first): Call __ctype_init.
44155 * sysdeps/i386/init-first.c (init): Likewise.
44156 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
44157 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
44158 * sysdeps/sh/init-first.c (init): Likewise.
44160 2012-04-01 Ulrich Drepper <drepper@gmail.com>
44162 * po/ru.po: Update from translation team.
44163 * po/vi.po: Likewise.
44165 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
44167 * resolv/nss_dns/dns-host.c: Merge copyright years.
44169 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44171 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44172 Optimize memcpy with prefetch if
44173 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
44174 src, dst pointers have unequal 16 byte alignments.
44176 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
44179 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
44180 from a CNAME entry and return the minimum ttl for the query.
44181 (gaih_getanswer_slice): Likewise.
44183 2012-03-30 Jeff Law <law@redhat.com>
44185 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
44187 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
44188 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
44190 * resolv/nss_dns/dns-host.c: Update copyright year.
44192 2012-03-30 Ulrich Drepper <drepper@gmail.com>
44194 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
44195 requests to save a system call. Fix check that all bytes are sent.
44197 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
44198 comments for sendmmsg.
44200 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44203 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
44204 with only 1 character between 0x0041 and 0x01b0.
44205 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
44206 * wcsmbs/tst-mbsnrtowcs.c: New file.
44208 2012-03-29 David S. Miller <davem@davemloft.net>
44210 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
44211 small copies by hand.
44213 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
44216 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
44217 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
44220 2012-03-28 David S. Miller <davem@davemloft.net>
44222 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
44223 that branches into memcpy.
44224 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
44225 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
44226 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
44227 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
44228 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
44230 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
44231 implementation too.
44232 * sysdeps/sparc/mempcpy.S: New file.
44234 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
44235 the IFUNC routine in the libc case.
44236 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
44238 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
44239 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
44240 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
44241 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
44242 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
44243 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
44244 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
44245 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
44247 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
44248 loop to 256 bytes instead of 64 bytes and fix test signedness.
44250 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
44251 * sysdeps/sparc/sparc32/Makefile: rather than here...
44252 * sysdeps/sparc/sparc64/Makefile: and here.
44254 2012-03-28 Ulrich Drepper <drepper@gmail.com>
44256 * malloc/mallocbug.c: Avoid warnings about unused variables.
44258 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
44261 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
44262 in the right place. Discard and retry query if response is
44263 larger than input buffer size.
44265 2012-03-28 Joseph Myers <joseph@codesourcery.com>
44270 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
44271 x for large integer exponent.
44272 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
44273 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
44274 sign of result as needed afterwards.
44275 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
44276 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
44277 result for underflowing pow the same as for overflow.
44278 (__kernel_standard_l): Handle powl overflow and underflow here
44279 rather than calling __kernel_standard.
44280 * math/libm-test.inc (pow_test): Add more tests.
44295 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
44296 * sysdeps/ieee754/k_standard.c: Include <float.h>.
44297 (__kernel_standard_l): New function.
44298 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
44300 * math/w_acosl.c (__acosl): Likewise.
44301 * math/w_asinl.c (__asinl): Likewise.
44302 * math/w_atan2l.c (__atan2l): Likewise.
44303 * math/w_atanhl.c (__atanhl): Likewise.
44304 * math/w_coshl.c (__coshl): Likewise.
44305 * math/w_exp10l.c (__exp10l): Likewise.
44306 * math/w_exp2l.c (__exp2l): Likewise.
44307 * math/w_fmodl.c (__fmodl): Likewise.
44308 * math/w_hypotl.c (__hypotl): Likewise.
44309 * math/w_j0l.c (__j0l, __y0l): Likewise.
44310 * math/w_j1l.c (__j1l, __y1l): Likewise.
44311 * math/w_jnl.c (__jnl, __ynl): Likewise.
44312 * math/w_lgammal.c (__lgammal): Likewise.
44313 * math/w_log10l.c (__log10l): Likewise.
44314 * math/w_log2l.c (__log2l): Likewise.
44315 * math/w_logl.c (__logl): Likewise.
44316 * math/w_powl.c (__powl): Likewise.
44317 * math/w_remainderl.c (__remainderl): Likewise.
44318 * math/w_scalbl.c (sysv_scalbl): Likewise.
44319 * math/w_sinhl.c (__sinhl): Likewise.
44320 * math/w_sqrtl.c (__sqrtl): Likewise.
44321 * math/w_tgammal.c (__tgammal): Likewise.
44322 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
44323 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
44324 * math/libm-test.inc (acos_test): Add more tests.
44325 (acosh_test): Likewise.
44326 (asin_test): Likewise.
44327 (atanh_test): Likewise.
44328 (exp_test): Likewise.
44329 (exp10_test): Likewise.
44330 (exp2_test): Likewise.
44331 (expm1_test): Likewise.
44332 (lgamma_test): Likewise.
44333 (log_test): Likewise.
44334 (log10_test): Likewise.
44335 (log1p_test): Likewise.
44336 (log2_test): Likewise.
44337 (pow_test): Do not allow some spurious overflow exceptions.
44338 (sqrt_test): Add more tests.
44339 (tgamma_test): Likewise.
44340 (y0_test): Likewise.
44341 (y1_test): Likewise.
44342 (yn_test): Likewise.
44344 2012-03-27 Anton Blanchard <anton@samba.org>
44346 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
44348 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44349 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
44350 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44352 2012-03-27 David S. Miller <davem@davemloft.net>
44354 * conform/Makefile: Run run-conformtest.sh using $(BASH).
44356 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
44357 have-as-vis3 check.
44359 2012-03-27 Andreas Jaeger <aj@suse.de>
44361 * sysdeps/x86_64/elf/configure.in: Moved to ...
44362 * sysdeps/x86_64/configure.in: ... here.
44363 * sysdeps/x86_64/elf/start.S: Moved to ...
44364 * sysdeps/x86_64/start.S: ... here.
44365 * sysdeps/x86_64/elf/configure: Delete.
44367 * sysdeps/x86_64/configure.in: Merge contents from
44368 sysdeps/i386/configure.in (without i686 check).
44370 * sysdeps/i386/elf/Versions: Merge into ...
44371 * sysdeps/i386/Versions: ... this.
44372 * sysdeps/i386/elf/Versions: Delete file.
44373 * sysdeps/i386/elf/start.S: Moved to ...
44374 * sysdeps/i386/start.S: ...here.
44375 * sysdeps/i386/elf/configure.in: Merge into...
44376 * sysdeps/i386/configure.in: ...here.
44377 * sysdeps/i386/elf/configure.in: Delete file.
44378 * sysdeps/i386/elf/configure: Delete file.
44380 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
44381 * debug/backtracesyms.c: ... here.
44382 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
44383 * debug/backtracesymsfd.c: ... here.
44384 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
44385 * sysdeps/generic/ifunc-sel.h: ... here.
44387 * sysdeps/unix/i386/start.c: Delete file.
44388 * sysdeps/unix/sparc/start.c: Delete file.
44389 * sysdeps/unix/start.c: Delete file.
44391 * sysdeps/sh/elf/configure.in: Moved to ...
44392 * sysdeps/sh/configure.in: ... here.
44393 * sysdeps/sh/elf/start.S: Moved to ...
44394 * sysdeps/sh/start.S: ... here.
44395 * sysdeps/sh/elf/configure: Delete file.
44397 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
44398 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
44399 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
44400 * sysdeps/powerpc/powerpc64/entry.h: ... here.
44401 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
44402 * sysdeps/powerpc/powerpc64/start.S: here.
44403 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
44404 * sysdeps/powerpc/powerpc64/Makefile: ... this.
44405 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
44406 * sysdeps/powerpc/powerpc64/configure.in: ... this.
44407 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
44409 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
44410 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
44411 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
44412 * sysdeps/powerpc/powerpc32/start.S: ... here.
44413 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
44414 * sysdeps/powerpc/powerpc32/configure.in: ... this.
44415 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
44417 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
44418 * sysdeps/powerpc/ifunc-sel.h: ... here.
44419 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
44420 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
44422 * sysdeps/sparc/elf/configure.in: Moved to ...
44423 * sysdeps/sparc/configure.in: ... here.
44424 * sysdeps/sparc/elf/configure: Delete file.
44425 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
44426 * sysdeps/sparc/sparc32/start.S: ... here.
44427 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
44428 * sysdeps/sparc/sparc64/start.S: ... here.
44429 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
44430 * sysdeps/sparc/sparc32/Makefile: ... this.
44431 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
44432 * sysdeps/sparc/sparc64/Makefile: ... this.
44434 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
44435 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
44436 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
44437 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
44438 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
44439 * sysdeps/s390/s390-32/setjmp.S: ... here.
44440 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
44441 * sysdeps/s390/s390-32/configure.in: ... here.
44442 * sysdeps/s390/s390-32/elf/configure: Delete file.
44443 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
44444 * sysdeps/s390/s390-32/start.S: ... here.
44446 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
44447 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
44448 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
44449 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
44450 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
44451 * sysdeps/s390/s390-64/setjmp.S: ... here.
44452 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
44453 * sysdeps/s390/s390-64/configure.in: ... here
44454 * sysdeps/s390/s390-64/elf/configure: Delete file.
44455 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
44456 * sysdeps/s390/s390-64/start.S: ... here.
44457 * sysdeps/s390/s390-64/elf/configure: Delete.
44459 * configure.in: Remove support for elf directories in sysdeps.
44461 * configure: Regenerated.
44462 * sysdeps/i386/configure: Regenerated.
44463 * sysdeps/powerpc/powerpc32/configure: Regenerated.
44464 * sysdeps/powerpc/powerpc64/configure: Regenerated.
44465 * sysdeps/s390/s390-32/configure: Regenerated.
44466 * sysdeps/s390/s390-64/configure: Regenerated.
44467 * sysdeps/sh/configure: Regenerated.
44468 * sysdeps/sparc/configure: Regenerated.
44469 * sysdeps/x86_64/configure: Regenerated.
44471 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
44473 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44475 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
44476 denormal result into account.
44478 2012-03-25 Roland McGrath <roland@hack.frob.com>
44480 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
44481 Reported by Allan McRae <allan@archlinux.org>.
44483 2012-03-23 Jeff Law <law@redhat.com>
44485 * nss/getnssent.c (__nss_getent): Fix typo.
44487 2012-03-23 David S. Miller <davem@davemloft.net>
44489 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44491 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
44493 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
44494 to pad to uint64_t for each field.
44495 (dl_tls_index): Replace unsigned long with uint64_t.
44497 2012-03-23 Daniel Jacobowitz <dmj@google.com>
44498 Paul Pluzhnikov <ppluzhnikov@google.com>
44501 * grp/Makefile (otherlibs): Don't set it.
44502 * inet/Makefile (otherlibs): Likewise.
44503 * login/Makefile (otherlibs): Likewise.
44504 * nscd/Makefile (otherlibs): Likewise.
44505 * posix/Makefile (otherlibs): Likewise.
44506 * pwd/Makefile (otherlibs): Likewise.
44507 * rt/Makefile (otherlibs): Likewise.
44508 * sunrpc/Makefile (otherlibs): Likewise.
44509 * nss/Makefile (otherlibs): Likewise.
44510 Add libnss_files to routines and static-only-routines.
44511 ($(objpfx)getent): Remove rule.
44512 * resolv/Makefile: Add libnss_dns and libresolv to routines and
44513 static-only-routines.
44515 2012-03-22 Joseph Myers <joseph@codesourcery.com>
44518 * math/s_cexp.c: Include <float.h>.
44519 (__cexp): Handle exp result overflowing not necessarily
44520 overflowing both real and imaginary parts of result.
44521 * math/s_cexpf.c: Likewise.
44522 * math/s_cexpl.c: Likewise.
44523 * math/libm-test.inc (cexp_test): Add more tests.
44524 * sysdeps/i386/fpu/libm-test-ulps: Update.
44525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44527 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44529 * include/link.h (ELFW): New macro.
44530 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
44531 Replace ELF64_R_TYPE with ELFW(R_TYPE).
44533 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44535 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
44538 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44540 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
44542 (struct La_x32_retval): Likewise.
44544 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44546 * sysdeps/x86_64/preconfigure.in: New file.
44547 * sysdeps/x86_64/preconfigure: New generated file.
44549 2012-03-22 Joseph Myers <joseph@codesourcery.com>
44552 * math/e_exp2l.c: Include <float.h>.
44553 (__ieee754_exp2l): Handle overflow and underflow cases
44554 separately. Only pass fractional part of argument to
44556 * math/libm-test.inc (exp2_test): Add more tests.
44558 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
44559 negating x to take absolute value.
44560 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
44562 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
44563 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
44565 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
44566 computing low part if x was negated.
44567 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
44569 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
44571 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
44572 la_x32_gnu_pltexit.
44573 (pltexit): Cast int_retval to ptrdiff_t.
44574 * elf/tst-auditmod3b.c: Likewise.
44575 * elf/tst-auditmod4b.c: Likewise.
44576 * elf/tst-auditmod5b.c: Likewise.
44577 * elf/tst-auditmod6b.c: Likewise.
44578 * elf/tst-auditmod6c.c: Likewise.
44579 * elf/tst-auditmod7b.c: Likewise.
44581 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
44582 and x32_gnu_pltexit.
44584 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
44585 __ELF_NATIVE_CLASS.
44586 (La_x32_regs): New macro.
44587 (La_x32_retval): Likewise.
44588 (la_x32_gnu_pltenter): New function prototype.
44589 (la_x32_gnu_pltexit): Likewise.
44591 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
44593 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
44596 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44598 * configure.in (libc_cv_cc_nofma): Check for option to disable
44599 generation of FMA instructions.
44600 * configure: Regenerate.
44601 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
44602 * sysdeps/ieee754/dbl-64/Makefile: New file.
44603 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
44604 Remove brandred-fma4.
44605 (CFLAGS-brandred-fma4.c): Remove.
44606 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
44607 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
44609 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
44612 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
44614 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
44615 LLONG_MAX != LONG_MAX.
44616 (_itoa_word): Use _ITOA_WORD_TYPE on value.
44617 (_fitoa_word): Likewise.
44618 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
44619 LLONG_MAX != LONG_MAX.
44620 * stdio-common/_itowa.h: Include <_itoa.h>.
44621 (_itowa_word): Use _ITOA_WORD_TYPE on value.
44622 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
44623 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
44624 only if not defined.
44625 (_ITOA_WORD_TYPE): Likewise.
44626 (_itoa_word): Use _ITOA_WORD_TYPE on value.
44627 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
44629 2012-03-21 David S. Miller <davem@davemloft.net>
44631 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44633 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
44635 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
44636 of x86_64 when setting libc_cv_slibdir, libdir and
44638 * sysdeps/unix/sysv/linux/configure: Regenerated.
44640 2012-03-21 Joseph Myers <joseph@codesourcery.com>
44642 * manual/lang.texi (Old Varargs): Remove section.
44643 (How Variadic): Update menu.
44644 (va_start): Do not mention varargs.h.
44646 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
44647 Joseph Myers <joseph@codesourcery.com>
44649 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
44651 * configure: Regenerated.
44653 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
44655 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
44656 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
44659 2012-03-21 Joseph Myers <joseph@codesourcery.com>
44662 * Makefile (files-for-dist): Remove NOTES.
44663 (NOTES): Remove rule.
44664 * README: Don't refer to NOTES.
44665 * manual/creature.texi: Don't include macros.texi.
44666 * manual/intro.texi (creature.texi): Remove comment referring to
44669 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
44670 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
44671 * configure: Regenerated.
44672 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
44673 LIBC_TRY_CC_OPTION.
44674 (libc_cv_as_i686): Likewise.
44675 (libc_cv_cc_avx): Likewise.
44676 (libc_cv_cc_sse2avx): Likewise.
44677 (libc_cv_cc_fma4): Likewise.
44678 (libc_cv_cc_novzeroupper): Likewise.
44679 * sysdeps/i386/configure: Regenerated.
44682 * sysdeps/i386/fpu/s_cexp.S: Remove.
44683 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
44684 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
44685 * math/libm-test.inc (cexp_test): Add more tests.
44686 * sysdeps/i386/fpu/libm-test-ulps: Update.
44687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44689 2012-03-21 Allan McRae <allan@archlinux.org>
44691 * timezone/Makefile: Do not install iso3166.tab and zone.tab
44693 2012-03-21 Joseph Myers <joseph@codesourcery.com>
44696 * math/w_exp2.c: Do not include <float.h>.
44697 (o_threshold, u_threshold): Remove.
44698 (__exp2): Calculate result before checking finiteness and calling
44700 * math/w_exp2f.c: Likewise.
44701 * math/w_exp2l.c: Likewise.
44702 * math/libm-test.inc (exp2_test): Require overflow exception for
44706 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
44707 range of signed 64-bit integers before using fistpll. Remove
44708 checks for whether integers fit in mantissa bits.
44709 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
44710 the range of signed 32-bit integers before using fistpl. Remove
44711 checks for whether integers fit in mantissa bits.
44712 * sysdeps/i386/fpu/e_powl.S (p64): New object.
44713 (__ieee754_powl): Test for y outside the range of signed 64-bit
44714 integers before using fistpll. Reduce 64-bit values to 63-bit
44716 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
44717 divide-by-zero is raised for zero to large negative powers.
44718 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
44719 (__ieee754_powl): Test for y outside the range of signed 64-bit
44720 integers before using fistpll. Reduce 64-bit values to 63-bit
44722 * math/libm-test.inc (pow_test): Add more tests.
44724 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
44726 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
44727 <stdio-common/_itoa.h>.
44728 * debug/segfault.c: Likewise.
44729 * elf/dl-cache.c: Likewise.
44730 * elf/dl-minimal.c: Likewise.
44731 * elf/dl-misc.c: Likewise.
44732 * elf/dl-sysdep.c: Likewise.
44733 * elf/dl-version.c: Likewise.
44734 * elf/rtld.c: Likewise.
44735 * hurd/hurdsock.c: Likewise.
44736 * hurd/lookup-retry.c: Likewise.
44737 * malloc/malloc.c: Likewise.
44738 * malloc/mtrace.c: Likewise.
44739 * nscd/nscd_getgr_r.c: Likewise.
44740 * nscd/nscd_getpw_r.c: Likewise.
44741 * nscd/nscd_getserv_r.c: Likewise.
44742 * posix/getopt_init.c: Likewise.
44743 * posix/wordexp.c: Likewise.
44744 * stdio-common/_itoa.c: Likewise.
44745 * stdio-common/printf_fphex.c: Likewise.
44746 * stdio-common/vfprintf.c: Likewise.
44747 * string/_strerror.c: Likewise.
44748 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
44749 * sysdeps/i386/i686/hp-timing.h: Likewise.
44750 * sysdeps/mach/_strerror.c: Likewise.
44751 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
44752 * sysdeps/mach/hurd/sethostid.c: Likewise.
44753 * sysdeps/mach/hurd/xmknodat.c: Likewise.
44754 * sysdeps/mach/xpg-strerror.c: Likewise.
44755 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
44756 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
44757 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
44758 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
44759 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
44760 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
44761 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
44762 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
44763 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
44764 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
44765 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
44766 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
44767 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
44768 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
44769 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
44770 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
44771 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
44772 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
44773 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
44774 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
44775 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
44777 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
44779 * stdio-common/_itoa.h: Moved to ...
44780 * sysdeps/generic/_itoa.h: Here.
44782 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
44784 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
44785 instead of "_itoa.h" and "_itowa.h".
44786 * stdio-common/vfprintf.: Likewise.
44788 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
44790 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
44792 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
44793 (__signbit): Likwise.
44794 (llrintf): Likwise.
44797 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
44799 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
44802 2012-03-20 Joseph Myers <joseph@codesourcery.com>
44804 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
44805 OVERFLOW_EXCEPTION_OK.
44806 * math/libm-test.inc ("Philosophy"): Update comment about
44808 (OVERFLOW_EXCEPTION): Define.
44809 (OVERFLOW_EXCEPTION_OK): Likewise.
44810 (INVALID_EXCEPTION_OK): Renumber.
44811 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
44812 (IGNORE_ZERO_INF_SIGN): Likewise.
44813 (test_exceptions): Handle FE_OVERFLOW.
44814 (exp10_test): Expect overflow exceptions.
44815 (exp2_test): Likewise.
44816 (expm1_test): Likewise.
44817 (nextafter_test): Likewise.
44818 (pow_test): Likewise.
44819 (scalbn_test): Likewise.
44820 (scalbln_test): Likewise.
44822 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44824 * sysdeps/x86_64/bits/atomic.h
44825 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
44827 (atomic_exchange_acq): Likewise.
44828 (__arch_exchange_and_add_body): Likewise.
44829 (__arch_add_body): Likewise.
44830 (atomic_add_negative): Likewise.
44831 (atomic_add_zero): Likewise.
44833 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44835 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
44836 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
44838 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44840 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
44841 Check __x86_64__ instead of __WORDSIZE.
44843 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44845 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
44847 2012-03-19 David S. Miller <davem@davemloft.net>
44849 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44851 * sysdeps/sparc/fpu/fenv_private.h: New file.
44852 * sysdeps/sparc/fpu/math_private.h: Use it.
44853 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
44855 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
44856 (libc_feholdexcept_setroundl): Remove.
44857 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
44859 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
44860 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
44862 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44864 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
44865 int64_t instead of long int.
44866 (INSERT_WORDS64): Likwise.
44868 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44870 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
44871 _Unwind_GetCFA return to _Unwind_Ptr first.
44873 2012-03-19 Joseph Myers <joseph@codesourcery.com>
44876 * math/s_clog.c: Include <float.h>.
44877 (__clog): Scale large or subnormal inputs.
44878 * math/s_clogf.c: Likewise.
44879 * math/s_clogl.c: Likewise.
44880 * math/s_clog10.c: Include <float.h>.
44881 (M_LOG10_2): Define.
44882 (__clog10): Scale large or subnormal inputs.
44883 * math/s_clog10f.c: Likewise.
44884 * math/s_clog10l.c: Likewise.
44885 * math/libm-test.inc (clog_test): Add more tests.
44886 (clog10_test): Likewise.
44887 * sysdeps/i386/fpu/libm-test-ulps: Update.
44888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44891 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
44893 * math/libm-test.inc (atan2_test): Add another test.
44895 * Makerules (common-objdir-compile): Remove.
44896 * sysdeps/unix/Makefile (config-generated): Do not add
44897 $(unix-generated) to variable.
44898 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
44899 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
44901 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
44903 [generic bits/local_lim.h] (before-compile): Do not append to
44905 [generic bits/local_lim.h] (common-generated): Likewise.
44906 [generic sys/param.h] (before-compile): Do not append to variable.
44907 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
44908 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
44909 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
44910 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
44912 [generic sys/param.h] (sys/param.h-includes): Remove variable.
44913 [generic sys/param.h] (sys/param.h-includes): Remove rule.
44914 [generic sys/param.h] ($(addprefix
44915 $(common-objpfx),$(sys/param.h-includes))): Likewise.
44916 [generic sys/param.h] (common-generated): Do not append to
44918 [generic sys/param.h] (sysdep_headers): Likewise.
44919 [generic bits/errno.h] (before-compile): Do not append to
44921 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
44923 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
44924 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
44925 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
44926 [generic bits/errno.h] (common-generated): Do not append to
44928 [generic bits/ioctls.h] (before-compile): Do not append to
44930 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
44932 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
44933 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
44934 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
44936 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
44937 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
44938 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
44939 [generic bits/ioctls.h] (common-generated): Do not append to
44941 [generic sys/syscall.h] (syscall.h): Remove variable.
44942 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
44944 [generic sys/syscall.h] (before-compile): Do not append to
44946 [generic sys/syscall.h] (common-generated): Likewise.
44947 * sysdeps/unix/errnos-tmpl.c: Remove file.
44948 * sysdeps/unix/errnos.awk: Likewise.
44949 * sysdeps/unix/ioctls-tmpl.c: Likewise.
44950 * sysdeps/unix/ioctls.awk: Likewise.
44951 * sysdeps/unix/mk-local_lim.c: Likewise.
44952 * sysdeps/unix/snarf-ioctls: Likewise.
44954 2012-03-19 Richard Henderson <rth@twiddle.net>
44956 * sysdeps/i386/fpu/fenv_private.h: New file.
44957 * sysdeps/i386/fpu/math_private.h: Use it.
44958 (math_opt_barrier, math_force_eval): Remove.
44959 (libc_feholdexcept_setround_53bit): Remove.
44960 (libc_feupdateenv_53bit): Remove.
44961 * sysdeps/x86_64/fpu/math_private.h: Likewise.
44962 (math_opt_barrier, math_force_eval): Remove.
44963 (libc_feholdexcept): Remove.
44964 (libc_feholdexcept_setround): Remove.
44965 (libc_fetestexcept, libc_fesetenv): Remove.
44966 (libc_feupdateenv_test): Remove.
44967 (libc_feupdateenv, libc_feholdsetround): Remove.
44968 (libc_feresetround): Remove.
44970 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
44971 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
44973 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
44974 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
44975 (libc_feupdateenv_testl): New.
44976 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
44977 (libc_feupdateenv_testf): New.
44978 (libc_feupdateenv): Use libc_feupdateenv_test.
44979 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
44980 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
44982 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
44983 (libc_feholdsetroundf, libc_feholdsetroundl): New.
44984 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
44985 (libc_feresetround_noex): New.
44986 (libc_feresetround_noexf): New.
44987 (libc_feresetround_noexl): New.
44988 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
44989 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
44990 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
44991 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
44993 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
44994 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
44996 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
44997 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
44998 SET_RESTORE_ROUND_NOEX.
44999 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
45000 SET_RESTORE_ROUND_NOEXF.
45001 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
45002 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
45003 (libc_feholdsetroundf): New.
45004 (libc_feresetround, libc_feresetroundf): New.
45006 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
45007 (libc_feholdexcept_setround_53bit): Convert from macro to function.
45008 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
45010 * sysdeps/generic/math_private.h: Include <fenv.h>.
45011 (default_libc_feholdexcept): New.
45012 (default_libc_feholdexcept_setround): New.
45013 (default_libc_fesetenv, default_libc_feupdateenv): New.
45014 (libc_feholdexcept): Only define if undefined.
45015 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
45016 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
45017 (libc_feholdexcept_setroundl): Likewise.
45018 (libc_feholdexcept_setround_53bit): Likewise.
45019 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
45020 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
45021 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
45022 (libc_feupdateenv_53bit): Likewise.
45023 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
45024 (libc_feholdexcept): Convert from macro to inline function.
45025 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
45026 (libc_fesetenv, libc_feupdateenv): Likewise.
45028 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
45029 not previously defined.
45030 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
45031 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
45032 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
45033 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
45034 * sysdeps/ieee754/flt-32/math_private.h: New file.
45035 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
45036 math_private.h below SET_FLOAT_WORD.
45037 (__isnan, __isinf_ns, __finite): Remove.
45038 (__isnanf, __isinf_nsf, __finitef): Remove.
45040 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
45042 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45044 2012-03-17 David S. Miller <davem@davemloft.net>
45047 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
45050 2012-03-16 David S. Miller <davem@davemloft.net>
45052 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
45056 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
45058 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
45059 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
45060 sysdep_routines when subdir is sysvipc.
45061 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
45062 __getshmlba helper.
45064 * sysdeps/sparc/fpu/libm-test/ulps: Update.
45066 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45068 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
45071 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45073 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
45074 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
45075 (__lround): Renamed to ...
45076 (__llround): This. Replace long int with long long int.
45077 Define lround functions as aliases of llround functions.
45078 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
45080 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45082 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
45083 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
45084 adresses to uintptr_t. Replace "long int" and "unsigned long
45085 int" with "greg_t" on va_arg.
45087 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45089 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
45090 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
45092 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
45093 Move e_machine check before EI_CLASS check. Handle x32
45094 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
45095 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
45096 SKIP_EM_IA_64 and include
45097 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
45099 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
45100 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
45101 (add_system_dir): New macro.
45103 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
45104 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
45106 2012-03-16 Joseph Myers <joseph@codesourcery.com>
45117 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
45119 * math/w_j0f.c (j0f): Likewise.
45121 * math/w_j0l.c (__j0l): Likewise.
45123 * math/w_j1.c (j1): Likewise.
45125 * math/w_j1f.c (j1f): Likewise.
45127 * math/w_j1l.c (__j1l): Likewise.
45129 * math/w_jn.c (jn): Likewise.
45131 * math/w_jnf.c (jnf): Likewise.
45133 * math/w_jnl.c (__jnl): Likewise.
45135 * math/libm-test.inc (j0_test): Add more tests.
45136 (j1_test): Likewise.
45137 (jn_test): Likewise. Add trailing semicolon to existing test.
45138 (y0_test): Likewise.
45139 (y1_test): Likewise.
45140 * sysdeps/i386/fpu/libm-test-ulps: Update.
45141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45145 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
45146 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
45147 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
45148 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
45149 (__tanl): Set errno for infinite argument.
45150 * sysdeps/i386/fpu/mptan.c: Remove.
45151 * sysdeps/i386/fpu/s_tan.S: Likewise.
45152 * sysdeps/i386/fpu/s_tanl.S: Likewise.
45153 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
45154 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
45155 * math/libm-test.inc (tan_test): Add more tests and enable more
45156 tests for double and long double.
45157 * sysdeps/i386/fpu/libm-test-ulps: Update.
45158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45160 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
45162 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
45163 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
45165 2012-03-16 Roland McGrath <roland@hack.frob.com>
45167 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
45168 * configure.in: Use it for both main tree and add-ons.
45169 * configure: Regenerated.
45171 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45173 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
45175 2012-03-16 Joseph Myers <joseph@codesourcery.com>
45177 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
45181 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
45182 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
45183 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
45184 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
45185 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
45187 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
45188 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
45189 != 0 for prec == 2.
45190 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
45191 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
45192 * sysdeps/i386/fpu/s_cosl.S: Likewise.
45193 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
45194 * sysdeps/i386/fpu/s_sinl.S: Likewise.
45195 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
45196 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
45197 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
45198 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
45199 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
45200 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
45201 * math/libm-test.inc (cos_test): Add more tests and enable more
45202 tests for long double.
45203 (sin_test): Likewise.
45204 (sincos_test): Likewise.
45205 * sysdeps/i386/fpu/libm-test-ulps: Update.
45206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45208 2012-03-16 David S. Miller <davem@davemloft.net>
45210 * sysdeps/sparc/fpu/math_private.h: New file.
45212 2012-03-15 David S. Miller <davem@davemloft.net>
45214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
45216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
45217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
45219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
45220 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
45221 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
45222 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
45223 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
45224 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
45226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
45228 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
45229 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
45231 * sysdeps/sparc/sparc-ifunc.h: New file.
45232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
45234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
45235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
45237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
45239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
45240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
45241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
45242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
45244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
45245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
45246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
45247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
45248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
45250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
45252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
45253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
45254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
45255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
45256 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
45257 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
45258 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
45259 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
45260 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
45261 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
45262 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
45263 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
45264 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
45265 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
45266 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
45267 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
45268 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
45269 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
45270 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
45271 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
45272 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
45273 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
45274 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
45275 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
45277 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
45279 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
45281 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45283 2012-03-15 Andreas Jaeger <aj@suse.de>
45286 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
45287 ieee754/flt-32 implementation for sin, cos and sincos.
45288 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
45289 * sysdeps/i386/fpu/s_cosf.S: Likewise.
45290 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
45291 * sysdeps/i386/fpu/s_sinf.S: Likewise.
45292 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
45293 ieee754/flt-32 implementation for tan.
45295 * math/libm-test.inc (cos_test): Enable some large input tests for
45297 (sin_test): Likewise.
45298 (sincos_test): Likewise.
45299 (tan_test): Add tests for large input.
45301 * sysdeps/i386/fpu/libm-test-ulps: Update.
45303 2012-03-15 Andreas Jaeger <aj@suse.de>
45306 * math/libm-test.inc (cos_test): Add more test cases.
45307 (sin_test): Likewise.
45308 (sincos_test): Likewise.
45310 2012-03-15 Andreas Jaeger <aj@suse.de>
45313 * math/libm-test.inc (cos_test): Add a test case for large input
45315 (sin_test): Likewise.
45316 (sincos_test): Likewise.
45318 2012-03-15 Andreas Jaeger <aj@suse.de>
45319 Joseph Myers <joseph@codesourcery.com>
45322 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
45323 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
45324 * sysdeps/i386/fpu/branred.c: Likewise.
45325 * sysdeps/i386/fpu/dosincos.c: Likewise.
45326 * sysdeps/i386/fpu/mpa.c: Likewise.
45327 * sysdeps/i386/fpu/s_cos.S: Likewise.
45328 * sysdeps/i386/fpu/s_sin.S: Likewise.
45329 * sysdeps/i386/fpu/s_sincos.S: Likewise.
45330 * sysdeps/i386/fpu/sincos32.c: Likewise.
45332 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
45334 (libc_feupdateenv_53bit): Define.
45335 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
45337 (libc_feupdateenv_53bit): Define.
45339 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
45340 53 bit (without extend i386 double precision).
45342 * math/libm-test.inc (sincos_test): Add tests for large input.
45346 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
45348 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
45350 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45352 2012-03-15 David S. Miller <davem@davemloft.net>
45354 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
45355 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
45356 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
45357 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
45358 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
45359 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
45360 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
45361 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
45362 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
45363 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
45364 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
45365 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
45366 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
45367 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
45368 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
45369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
45371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
45372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
45374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
45375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
45377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
45378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
45380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
45381 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
45382 fmin/fmax sysdep routines.
45383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
45385 2012-03-14 David S. Miller <davem@davemloft.net>
45387 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
45388 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
45389 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
45390 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
45391 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
45392 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
45393 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
45394 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
45395 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
45396 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
45397 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
45398 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
45399 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
45400 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
45401 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
45402 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
45403 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
45404 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
45405 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
45406 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
45407 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
45408 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
45409 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
45410 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
45411 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
45412 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
45413 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
45414 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
45415 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
45417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
45419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
45420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
45422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
45423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
45425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
45426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
45428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
45429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
45431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
45432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
45434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
45436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
45438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
45440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
45442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
45444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
45446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
45447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
45449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
45450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
45452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
45453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
45455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
45456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
45459 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
45462 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45464 * sysdeps/sparc/configure.in: New file.
45465 * sysdeps/sparc/configure: Generate.
45466 * configure.in (libc_cv_sparc_as_vis3): Substitute.
45467 * configure: Regenerate.
45468 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
45469 * config.make.in (have-as-vis3): New.
45470 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
45471 available use -Av9d instead of -Av9a.
45472 * sysdeps/sparc/sparc64/Makefile: Likewise.
45473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
45474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
45476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
45478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
45480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
45482 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
45483 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
45484 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
45485 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
45486 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
45488 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
45489 fzeros/fnegs to load 0x80000000 into a float register instead of
45491 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
45493 2012-03-14 Joseph Myers <joseph@codesourcery.com>
45495 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45497 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
45498 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
45499 ($(inst_includedir)/bits/syscall.h): Remove rule.
45500 ($(objpfx)bits/syscall.d): Include instead of
45501 $(objpfx)syscall-list.d.
45502 (generated): Change syscall-list.h and syscall-list.d to
45503 bits/syscall.h and bits/syscall.d.
45505 2012-03-14 Roland McGrath <roland@hack.frob.com>
45508 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
45510 2012-03-14 Joseph Myers <joseph@codesourcery.com>
45513 * math/s_csqrt.c: Include <float.h>.
45514 (__csqrt): Scale large or subnormal inputs.
45515 * math/s_csqrtf.c: Likewise.
45516 * math/s_csqrtl.c: Likewise.
45517 * math/libm-test.inc (csqrt_test): Add more tests.
45518 * sysdeps/i386/fpu/libm-test-ulps: Update.
45519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45522 * math/libm-test.inc (hypot_test): Add more tests.
45524 2012-03-13 David S. Miller <davem@davemloft.net>
45527 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
45528 double-precision for the calculation instead of scaling.
45530 2012-03-13 Joseph Myers <joseph@codesourcery.com>
45532 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
45533 manipulate bits before adding and subtracting TWO52[sx].
45534 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
45535 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
45537 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
45539 2012-03-13 David S. Miller <davem@davemloft.net>
45541 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
45542 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
45543 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
45544 rtld-global-offsets.h
45545 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45547 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
45550 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
45552 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
45553 'err' in the ifdef scope in which it is actually used.
45555 * nss/nss_db/db-init.c: Include string.h
45557 2012-03-12 David S. Miller <davem@davemloft.net>
45559 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45560 masking out of the most significant byte of random value used.
45561 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45562 Fix coding style in previous change.
45564 * sysdeps/unix/sysv/linux/kernel-features.h
45565 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
45566 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
45568 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
45571 2012-03-11 David S. Miller <davem@davemloft.net>
45573 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
45574 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
45575 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
45576 for 'resultvar' otherwise things get truncated on 64-bit.
45578 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45579 Fix masking out of the most significant byte of random value used.
45581 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45583 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
45585 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45587 2012-03-09 David S. Miller <davem@davemloft.net>
45589 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
45590 variables with appropriate CPP guards.
45591 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
45592 from the frame pointer, not the stack pointer. Correct layout
45593 comments. Fix test on resulting framesize and the management of
45594 the outregs buffer for pltexit. Preserve floating point return
45595 values across _dl_call_pltexit call.
45596 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
45597 framesize and the management of the outregs buffer for pltexit.
45598 Preserve floating point return values across _dl_call_pltexit
45600 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
45601 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
45602 (la_sparc64_gnu_pltexit): New functions.
45603 (print_exit): Fix format string for return register value.
45605 2012-03-10 Joseph Myers <joseph@codesourcery.com>
45607 * sunrpc/Makefile (others): Add rpcgen.
45608 ($(objpfx)rpcgen): Remove special build rule and dependency on
45610 * sunrpc/rpcgen.c: New file.
45612 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
45615 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
45616 * stdio-common/bug-vfprintf-nargs.c: Likewise.
45617 * sysdeps/i386/crti.S: Likewise.
45618 * sysdeps/i386/crtn.S: Likewise.
45619 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
45620 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
45621 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
45622 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
45623 * sysdeps/sh/crti.S: Likewise.
45624 * sysdeps/sh/crtn.S: Likewise.
45625 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
45628 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
45630 * locale/programs/locfile-kw.gperf: Likewise.
45631 * locale/programs/charmap-kw.h: Regenerated.
45632 * locale/programs/locfile-kw.h: Likewise.
45635 * intl/plural.y: Replace FSF snail mail address with URL.
45636 * intl/plural.c: Regenerated.
45638 2012-03-09 Richard Henderson <rth@twiddle.net>
45640 * include/math_private.h: Remove file.
45641 * math/math_private.h: Move file ...
45642 * sysdeps/generic/math_private.h: ... here.
45644 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
45645 * sysdeps/powerpc/fpu/math_private.h: Likewise.
45646 * sysdeps/x86_64/fpu/math_private.h: Likewise.
45648 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
45649 and <math_private.h>.
45650 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
45651 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
45652 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
45653 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
45654 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
45655 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
45656 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
45657 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45658 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45659 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45660 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45661 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45662 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45663 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45664 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45665 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45666 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45667 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45668 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45669 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45670 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45671 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45672 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45673 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45674 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
45675 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45676 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45677 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45678 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45679 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45680 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45681 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45682 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
45683 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45684 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45685 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45686 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45687 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45688 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45689 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45690 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
45691 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45692 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
45693 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
45694 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
45695 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45696 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
45697 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
45698 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45699 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45700 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
45701 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
45702 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
45703 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45704 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
45705 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45706 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45707 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
45708 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
45709 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
45710 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45711 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
45712 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45713 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45714 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
45715 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
45716 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
45717 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
45718 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
45719 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
45720 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
45721 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45722 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
45723 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45724 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
45725 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
45726 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
45727 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
45728 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
45729 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
45730 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
45731 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
45732 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
45733 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
45734 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
45735 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
45736 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
45737 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
45738 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45739 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45740 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45741 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45742 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45743 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45744 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45745 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45746 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45747 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45748 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45749 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45750 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45751 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45752 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45753 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45754 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
45755 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45756 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45757 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45758 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
45759 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45760 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
45761 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
45762 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45763 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
45764 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
45765 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45766 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
45767 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
45768 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
45769 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
45770 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
45771 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
45772 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45773 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
45774 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
45775 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
45776 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45777 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
45778 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
45779 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
45780 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
45781 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
45782 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
45783 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
45784 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
45785 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
45786 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
45787 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
45788 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
45789 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
45790 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45791 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
45792 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
45793 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
45794 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
45795 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
45796 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
45797 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
45798 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
45799 * sysdeps/ieee754/k_standard.c: Likewise.
45800 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45801 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45802 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45803 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45804 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45805 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45806 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45807 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45808 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45809 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45810 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45811 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45812 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45813 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45814 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45815 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45816 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
45817 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45818 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45819 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
45820 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
45821 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
45822 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
45823 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
45824 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
45825 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
45826 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
45827 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
45828 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
45829 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
45830 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
45831 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
45832 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
45833 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
45834 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
45835 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
45836 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
45837 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
45838 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
45839 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
45840 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
45841 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
45842 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
45843 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
45844 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
45845 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
45846 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
45847 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
45848 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
45849 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
45850 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
45851 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
45852 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
45853 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
45854 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45855 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
45856 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
45857 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
45858 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
45859 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
45860 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
45861 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
45862 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
45863 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45864 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45865 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45866 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45867 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45868 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45869 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45870 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45871 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45872 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45873 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45874 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45875 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45876 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
45877 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45878 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45879 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
45880 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
45881 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
45882 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
45883 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
45884 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
45885 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
45886 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
45887 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
45888 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
45889 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
45890 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
45891 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
45892 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
45893 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
45894 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
45895 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
45896 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
45897 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
45898 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
45899 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
45900 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
45901 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
45902 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
45903 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
45904 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
45905 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
45906 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
45907 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
45908 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
45909 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
45910 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
45911 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
45912 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
45913 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45914 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
45915 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45916 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
45917 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45918 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45919 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
45920 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45921 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
45922 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45923 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
45924 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45925 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
45926 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
45927 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
45928 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
45929 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
45930 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
45931 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
45932 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
45933 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
45934 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
45935 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
45936 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
45937 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
45938 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
45939 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
45940 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
45941 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
45942 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
45943 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
45944 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
45945 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
45946 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
45947 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
45948 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
45949 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
45950 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
45951 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
45952 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
45953 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
45954 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
45955 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
45956 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
45957 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
45958 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
45959 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
45960 * sysdeps/ieee754/s_lib_version.c: Likewise.
45961 * sysdeps/ieee754/s_matherr.c: Likewise.
45962 * sysdeps/ieee754/s_signgam.c: Likewise.
45963 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45964 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45965 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
45966 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
45967 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
45968 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
45969 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
45970 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
45971 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
45972 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
45973 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
45974 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
45975 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
45976 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
45977 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
45978 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
45979 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
45980 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
45981 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
45982 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45983 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45985 2012-03-09 Joseph Myers <joseph@codesourcery.com>
45987 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
45988 * sunrpc/rpc_main.c: Likewise.
45989 * sunrpc/rpc_svcout.c: Likewise.
45991 2012-03-09 David S. Miller <davem@davemloft.net>
45993 * include/math_private.h: New file.
45995 2012-03-09 Joseph Myers <joseph@codesourcery.com>
45997 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
45998 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
45999 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
46000 from <bits/socket_type.h>.
46001 (enum __socket_type): Don't define here.
46002 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
46003 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46004 bits/socket_type.h.
46007 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
46008 checking __USE_GNU.
46010 * Makerules ($(inst_includedir)/%.h): New rule.
46011 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
46012 (install-others): Remove variable setting.
46013 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
46015 2012-03-08 Richard Henderson <rth@twiddle.net>
46017 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
46018 from macro to inline function; merge with the
46019 !__LIBC_INTERNAL_MATH_INLINES version.
46020 (__ieee754_sqrtf): Likewise.
46022 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
46023 to inline function.
46024 (__rintf, __floor, __floorf): Likewise.
46026 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
46027 macro to inline function.
46028 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
46030 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
46031 not <math/math_private.h>.
46033 2012-03-08 David S. Miller <davem@davemloft.net>
46035 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
46037 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
46039 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
46041 * resolv/gai_misc.c (handle_requests): Fix struct timespec
46043 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
46044 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
46046 2012-03-08 Ulrich Drepper <drepper@gmail.com>
46048 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
46049 be defined individually, they must be defined as a block. Define
46050 S for printing a string instead of hidint the different by using a
46051 macro for adding the 'l'.
46052 * stdio-common/tst-fphex-wide.c: Adjust.
46054 2012-03-07 Marek Polacek <polacek@redhat.com>
46056 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
46058 2012-03-08 Marek Polacek <polacek@redhat.com>
46061 * stdio-common/Makefile (tests): Add tst-fphex-wide.
46062 * stdio-common/tst-fphex.c: Define a few macros to make the
46063 test reusable. Use them.
46064 * stdio-common/tst-fphex-wide.c: New file.
46066 2012-03-08 Joseph Myers <joseph@codesourcery.com>
46069 * manual/macros.texi (gnusystems): New macro.
46070 (nongnusystems): Likewise.
46071 (gnulinuxhurdsystems): Likewise.
46072 (gnuhurdsystems): Likewise..
46073 (gnulinuxsystems): Likewise.
46074 * manual/charset.texi: Use new macros or @theglibc{} to refer to
46075 variants of the GNU system, not "GNU system".
46076 * manual/conf.texi: Likewise.
46077 * manual/errno.texi: Likewise. Update example of errno macro
46079 * manual/filesys.texi: Likewise.
46080 (getumask): Document as specific to GNU/Hurd.
46081 * manual/install.texi: Likewise. Reword some references to
46083 * manual/intro.texi: Likewise.
46084 * manual/io.texi: Likewise.
46085 (File Name Portability): Detail which constraints are inapplicable
46086 to all GNU systems and which are only inapplicable to GNU/Hurd.
46087 * manual/job.texi: Likewise.
46088 * manual/llio.texi: Likewise.
46089 (O_NOCTTY): Document as present on GNU/Linux.
46090 * manual/maint.texi: Likewise.
46091 * manual/memory.texi: Likewise.
46092 * manual/pattern.texi: Likewise.
46093 * manual/pipe.texi: Likewise.
46094 * manual/process.texi: Likewise.
46095 * manual/resource.texi: Likewise.
46096 (RUSAGE_CHILDREN): Remove statement about specifying a particular
46098 * manual/setjmp.texi: Likewise.
46099 * manual/signal.texi: Likewise.
46100 * manual/startup.texi: Likewise.
46101 * manual/stdio.texi: Likewise.
46102 * manual/terminal.texi: Likewise.
46103 (ONLCR): Document as POSIX.
46104 (OXTABS): Document availability on GNU/Linux as XTABS.
46105 (ONOEOT): Document availability separately from other bits.
46106 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
46107 * manual/time.texi: Likewise.
46108 * manual/users.texi: Likewise.
46109 * INSTALL: Regenerated.
46110 * sysdeps/gnu/errlist.c: Regenerated.
46112 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
46113 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
46114 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
46116 * configure: Regenerated.
46118 2012-03-07 Joseph Myers <joseph@codesourcery.com>
46120 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
46121 default includes instead of AC_HEADER_CHECK.
46122 * sysdeps/i386/configure: Regenerated.
46125 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
46126 * math/s_cacoshf.c (__cacoshf): Likewise.
46127 * math/s_cacoshl.c (__cacoshl): Likewise.
46128 * math/s_casinh.c (__casinh): Set signs of result from argument.
46129 * math/s_casinhf.c (__casinhf): Likewise.
46130 * math/s_casinhl.c (__casinhl): Likewise.
46131 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
46132 (casinh_test): Add more tests.
46133 * sysdeps/i386/fpu/libm-test-ulps: Update.
46134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46136 2012-03-07 Ulrich Drepper <drepper@gmail.com>
46138 * po/zh_TW.po: Update from translation team.
46140 * login/Makefile (distribute): Remove variable.
46141 * catgets/Makefile: Likewise.
46142 * mach/Makefile: Likewise.
46143 * malloc/Makefile: Likewise.
46144 * misc/Makefile: Likewise.
46145 * iconv/Makefile: Likewise.
46146 * nscd/Makefile: Likewise.
46147 * hurd/Makefile: Likewise.
46148 * manual/Makefile: Likewise.
46149 * locale/Makefile: Likewise.
46150 * intl/Makefile: Likewise.
46151 * conform/Makefile: Likewise.
46152 * nss/Makefile: Likewise.
46153 * time/Makefile: Likewise.
46154 * soft-fp/Makefile: Likewise.
46155 * dirent/Makefile: Likewise.
46156 * gmon/Makefile: Likewise.
46157 * po/Makefile: Likewise.
46158 * rt/Makefile: Likewise.
46159 * socket/Makefile: Likewise.
46160 * math/Makefile: Likewise.
46161 * signal/Makefile: Likewise.
46162 * debug/Makefile: Likewise.
46163 * elf/Makefile: Likewise.
46164 * timezone/Makefile: Likewise.
46165 * stdlib/Makefile: Likewise.
46166 * iconvdata/Makefile: Likewise.
46167 * sunrpc/Makefile: Likewise.
46168 * io/Makefile: Likewise.
46169 * argp/Makefile: Likewise.
46170 * inet/Makefile: Likewise.
46171 * hesiod/Makefile: Likewise.
46172 * grp/Makefile: Likewise.
46173 * csu/Makefile: Likewise.
46174 * wctype/Makefile: Likewise.
46175 * crypt/Makefile: Likewise.
46176 * libio/Makefile: Likewise.
46177 * string/Makefile: Likewise.
46178 * nis/Makefile: Likewise.
46179 * resolv/Makefile: Likewise.
46180 * stdio-common/Makefile: Likewise.
46181 * wcsmbs/Makefile: Likewise.
46182 * dlfcn/Makefile: Likewise.
46183 * posix/Makefile: Likewise.
46186 * timezone/Makefile: Don't install timezone files, just the programs
46189 2012-03-06 Ulrich Drepper <drepper@gmail.com>
46191 * nss/databases.def: Add missing gshadow entry.
46193 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
46195 2012-03-06 Marek Polacek <polacek@redhat.com>
46198 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
46199 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
46200 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
46201 * stdio-common/tst-long-dbl-fphex.c: New file.
46203 2012-03-06 David S. Miller <davem@davemloft.net>
46205 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46206 (set_obp_int): New function.
46207 (get_obp_int): New function.
46208 (__get_clockfreq_via_dev_openprom): Likewise.
46209 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
46210 Avoid unused variable warnings on 'val' and use builtin_expect.
46211 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
46213 (INLINE_CLONE_SYSCALL): Likewise.
46215 2012-03-05 David S. Miller <davem@davemloft.net>
46217 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46219 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
46221 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46223 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
46224 only for |x| >= 40.
46225 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46227 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
46229 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
46230 Replace gettimeofday with __vdso_gettimeofday.
46232 * sysdeps/unix/sysv/linux/x86_64/init-first.c
46233 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
46234 __vdso_clock_gettime and __vdso_getcpu.
46236 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
46237 time with __vdso_time.
46239 2012-03-05 Joseph Myers <joseph@codesourcery.com>
46241 * manual/lang.texi (size_t): Note types to which size_t may be
46242 equivalent with the GNU C Library, but do not describe when
46243 differences between them are significant.
46245 2012-03-05 Andreas Jaeger <aj@suse.de>
46247 * sysdeps/i386/fpu/libm-test-ulps: Update.
46249 2012-03-05 Joseph Myers <joseph@codesourcery.com>
46252 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
46253 (__ieee754_pow): Save and restore rounding mode and use
46254 round-to-nearest for main computations.
46255 * math/libm-test.inc (pow_test_tonearest): New function.
46256 (pow_test_towardzero): Likewise.
46257 (pow_test_downward): Likewise.
46258 (pow_test_upward): Likewise.
46259 (main): Call the new functions.
46260 * sysdeps/i386/fpu/libm-test-ulps: Update.
46261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46264 * math/libm-test.inc (cosh_test_tonearest): New function.
46265 (cosh_test_towardzero): Likewise.
46266 (cosh_test_downward): Likewise.
46267 (cosh_test_upward): Likewise.
46268 (sinh_test_tonearest): Likewise.
46269 (sinh_test_towardzero): Likewise.
46270 (sinh_test_downward): Likewise.
46271 (sinh_test_upward): Likewise.
46272 (main): Call the new functions.
46273 * sysdeps/i386/fpu/libm-test-ulps: Update.
46274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46276 2012-03-05 Tom de Vries <tom@codesourcery.com>
46278 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
46279 default stack guard is set in last bytes.
46280 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
46282 2012-03-05 Kees Cook <keescook@chromium.org>
46284 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
46287 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
46288 possibly allocate from heap instead of stack.
46289 * stdio-common/bug-vfprintf-nargs.c: New file.
46290 * stdio-common/Makefile (tests): Add nargs overflow test.
46292 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
46294 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46296 2012-03-03 Marek Polacek <polacek@redhat.com>
46298 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
46299 * math/math_private.h: Likewise.
46300 * stdlib/tst-strtod.c: Likewise.
46301 * sysdeps/i386/i486/bits/atomic.h: Likewise.
46302 * sysdeps/x86_64/bits/atomic.h: Likewise.
46304 2012-03-02 David S. Miller <davem@davemloft.net>
46306 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
46307 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
46308 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
46309 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
46310 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
46311 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
46312 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
46313 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
46315 2012-03-02 Roland McGrath <roland@hack.frob.com>
46318 * manual/examples/README: New file, says the example source files
46319 can be used under GPL>=2.
46320 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
46321 line containing just "*/".
46322 * manual/examples/add.c: Add copyright header (GPL>=2).
46323 * manual/examples/argp-ex1.c: Likewise.
46324 * manual/examples/argp-ex2.c: Likewise.
46325 * manual/examples/argp-ex3.c: Likewise.
46326 * manual/examples/argp-ex4.c: Likewise.
46327 * manual/examples/atexit.c: Likewise.
46328 * manual/examples/db.c: Likewise.
46329 * manual/examples/dir.c: Likewise.
46330 * manual/examples/dir2.c: Likewise.
46331 * manual/examples/execinfo.c: Likewise.
46332 * manual/examples/filecli.c: Likewise.
46333 * manual/examples/filesrv.c: Likewise.
46334 * manual/examples/fmtmsgexpl.c: Likewise.
46335 * manual/examples/genpass.c: Likewise.
46336 * manual/examples/inetcli.c: Likewise.
46337 * manual/examples/inetsrv.c: Likewise.
46338 * manual/examples/isockad.c: Likewise.
46339 * manual/examples/longopt.c: Likewise.
46340 * manual/examples/memopen.c: Likewise.
46341 * manual/examples/memstrm.c: Likewise.
46342 * manual/examples/mkfsock.c: Likewise.
46343 * manual/examples/mkisock.c: Likewise.
46344 * manual/examples/mygetpass.c: Likewise.
46345 * manual/examples/pipe.c: Likewise.
46346 * manual/examples/popen.c: Likewise.
46347 * manual/examples/rprintf.c: Likewise.
46348 * manual/examples/search.c: Likewise.
46349 * manual/examples/select.c: Likewise.
46350 * manual/examples/setjmp.c: Likewise.
46351 * manual/examples/sigh1.c: Likewise.
46352 * manual/examples/sigusr.c: Likewise.
46353 * manual/examples/stpcpy.c: Likewise.
46354 * manual/examples/strdupa.c: Likewise.
46355 * manual/examples/strftim.c: Likewise.
46356 * manual/examples/strncat.c: Likewise.
46357 * manual/examples/subopt.c: Likewise.
46358 * manual/examples/swapcontext.c: Likewise.
46359 * manual/examples/termios.c: Likewise.
46360 * manual/examples/testopt.c: Likewise.
46361 * manual/examples/testpass.c: Likewise.
46362 * manual/examples/timeval_subtract.c: Likewise.
46365 * manual/time.texi (Elapsed Time): Move timeval_subtract example
46367 * manual/timeval_subtract.c.texi: ... here, new file.
46369 2012-03-02 David S. Miller <davem@davemloft.net>
46371 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
46373 2012-03-02 Joseph Myers <joseph@codesourcery.com>
46376 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
46377 (__sin): Save and restore rounding mode and use round-to-nearest
46378 for all computations.
46379 (__cos): Save and restore rounding mode and use round-to-nearest
46380 for all computations.
46381 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
46383 (tan): Save and restore rounding mode and use round-to-nearest for
46385 * math/libm-test.inc (cos_test_tonearest): New function.
46386 (cos_test_towardzero): Likewise.
46387 (cos_test_downward): Likewise.
46388 (cos_test_upward): Likewise.
46389 (sin_test_tonearest): Likewise.
46390 (sin_test_towardzero): Likewise.
46391 (sin_test_downward): Likewise.
46392 (sin_test_upward): Likewise.
46393 (tan_test_tonearest): Likewise.
46394 (tan_test_towardzero): Likewise.
46395 (tan_test_downward): Likewise.
46396 (tan_test_upward): Likewise.
46397 (main): Call the new functions.
46398 * sysdeps/i386/fpu/libm-test-ulps: Update.
46399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46402 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
46403 small n, then large n, before computing and testing k+n.
46404 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
46405 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
46407 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
46409 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
46410 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
46411 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
46412 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
46413 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
46414 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
46415 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
46416 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
46417 * math/libm-test.inc (scalbn_test): Add more tests.
46418 (scalbln_test): Likewise.
46420 * manual/filesys.texi (mode_t): Describe constraints on size and
46421 signedness, not exact equivalence to a particular type.
46423 (ino64_t): Likewise.
46425 (nlink_t): Likewise.
46426 (blkcnt_t): Likewise.
46427 (blkcnt64_t): Likewise.
46428 * manual/llio.texi (off_t): Likewise.
46431 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
46432 (__ieee754_exp): Save and restore rounding mode and use
46433 round-to-nearest for all computations.
46434 * math/libm-test.inc (exp_test_tonearest): New function.
46435 (exp_test_towardzero): Likewise.
46436 (exp_test_downward): Likewise.
46437 (exp_test_upward): Likewise.
46438 (main): Call the new functions.
46439 * sysdeps/i386/fpu/libm-test-ulps: Update.
46440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46442 2012-03-01 Chris Demetriou <cgd@google.com>
46444 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
46445 have predictable order.
46447 2012-03-01 David S. Miller <davem@davemloft.net>
46449 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
46451 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
46452 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
46453 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
46454 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
46456 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
46457 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
46458 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
46459 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
46460 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
46461 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
46462 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
46463 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
46464 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
46466 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46468 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
46469 * sysdeps/sparc/fpu/libm-test-ulps: to here.
46470 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
46472 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
46473 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46474 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
46475 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
46476 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
46477 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
46478 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
46479 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
46480 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
46481 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
46482 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
46483 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46484 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46485 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
46486 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46487 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46488 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
46489 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
46490 * sysdeps/sparc/elf/configure: Regenerated.
46492 2012-03-01 Joseph Myers <joseph@codesourcery.com>
46494 * configure.in (AS, LD): Require binutils 2.20 or later.
46495 * configure: Regenerated.
46496 * manual/install.texi (Tools for Compilation): Give binutils 2.20
46497 as required minimum version.
46498 * INSTALL: Regenerated.
46502 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
46503 before squaring exponent.
46504 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
46505 bottom long double and 27 bits of top long double before squaring
46507 * math/libm-test.inc (erfc_test): Add more tests.
46508 * sysdeps/i386/fpu/libm-test-ulps: Update.
46509 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46512 2012-03-01 Kai Tietz <ktietz@redhat.com>
46514 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
46515 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
46516 containing bit-fields.
46517 * soft-fp/extended.h (_FP_UNION_E): Likewise.
46518 * soft-fp/single.h (_FP_UNION_S): Likewise.
46519 * soft-fp/double.h (_FP_UNION_D): Likewise.
46521 2012-02-29 Joseph Myers <joseph@codesourcery.com>
46524 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
46525 not include ../strcmp.S.
46526 [USE_AS_STRNCASECMP_L]: Likewise.
46527 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
46528 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
46529 * sysdeps/i386/i686/multiarch/strncase_l-c.c
46530 (__strncasecmp_l_ia32): Define as alias to
46531 __strncasecmp_l_nonascii.
46534 * math/libm-test.inc (expm1_test): Add test for bug 5794.
46535 * sysdeps/i386/fpu/libm-test-ulps: Update.
46536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46538 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
46539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46541 2012-02-29 Jeff Law <law@redhat.com>
46543 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
46544 out of bounds read.
46546 2012-02-29 Marek Polacek <polacek@redhat.com>
46549 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
46550 * elf/Makefile: Add rules to run tst-unused-dep.out.
46552 2012-02-28 David S. Miller <davem@davemloft.net>
46554 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
46555 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
46556 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
46557 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
46558 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
46559 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
46561 2012-02-29 Joseph Myers <joseph@codesourcery.com>
46563 * math/libm-test.inc (llround_test): Move one test from
46564 lround_test. Use TEST_f_L in moved test.
46565 (lround_test): Move misplaced test to llround_test. Add testcase
46568 2012-02-28 Ulrich Drepper <drepper@gmail.com>
46570 * sysdeps/x86_64/fpu/e_expf.S: New file.
46571 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
46573 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
46576 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
46577 of remain_len that may cause incomplete multi-byte character and
46579 * posix/bug-regex33.c: New file.
46580 * posix/Makefile (tests): Add bug-regex33.
46582 2012-02-28 Joseph Myers <joseph@codesourcery.com>
46584 * manual/macros.texi: New file.
46585 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
46586 * manual/libc.texinfo: Include macros.texi.
46587 * manual/creatute.texi: Likewise.
46588 * manual/install.texi: Likewise.
46589 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
46590 @glibcadj{} in references to the GNU C Library.
46591 * manual/charset.texi: Likewise.
46592 * manual/conf.texi: Likewise.
46593 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
46594 when not using those macros.
46595 * manual/creature.texi: Likewise.
46596 * manual/crypt.texi: Likewise.
46597 * manual/errno.texi: Likewise.
46598 * manual/filesys.texi: Likewise.
46599 * manual/header.texi: Likewise.
46600 * manual/install.texi: Likewise.
46601 * manual/intro.texi: Likewise.
46602 * manual/io.texi: Likewise.
46603 * manual/job.texi: Likewise.
46604 * manual/lang.texi: Likewise.
46605 * manual/libc.texiinfo: Likewise.
46606 * manual/llio.texi: Likewise.
46607 * manual/locale.texi: Likewise.
46608 * manual/maint.texi: Likewise.
46609 * manual/math.texi: Likewise.
46610 * manual/memory.texi: Likewise.
46611 * manual/message.texi: Likewise.
46612 * manual/nss.texi: Likewise.
46613 * manual/pattern.texi: Likewise.
46614 * manual/process.texi: Likewise.
46615 * manual/resource.texi: Likewise.
46616 * manual/search.texi: Likewise.
46617 * manual/setjmp.texi: Likewise.
46618 * manual/signal.texi: Likewise.
46619 * manual/socket.texi: Likewise.
46620 * manual/startup.texi: Likewise.
46621 * manual/stdio.texi: Likewise.
46622 * manual/string.texi: Likewise.
46623 * manual/sysinfo.texi: Likewise.
46624 * manual/syslog.texi: Likewise.
46625 * manual/terminal.texi: Likewise.
46626 * manual/time.texi: Likewise.
46627 * manual/users.texi: Likewise.
46628 * INSTALL: Regenerated.
46629 * NOTES: Regenerated.
46630 * sysdeps/gnu/errlist.c: Regenerated.
46632 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
46634 * include/dirent.h: Include <dirstream.h> before
46637 2012-02-28 David S. Miller <davem@davemloft.net>
46639 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
46640 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
46641 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
46642 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
46644 2012-02-27 David S. Miller <davem@davemloft.net>
46646 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
46647 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
46648 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
46649 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
46651 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
46652 frame pointer instead of stack pointer relative arg slot.
46653 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
46654 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
46655 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
46657 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
46660 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
46662 2012-02-27 David S. Miller <davem@davemloft.net>
46664 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
46665 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
46666 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
46667 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
46668 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
46669 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
46670 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
46671 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
46673 2012-02-27 Joseph Myers <joseph@codesourcery.com>
46675 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
46676 later. Allow versions 5-9.
46677 * configure: Regenerated.
46678 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
46679 required minimum version and 4.6 as recommended version. Do not
46680 mention bugs in GCC 2.7 and 2.8.
46681 * INSTALL: Regenerated.
46683 2012-02-27 David S. Miller <davem@davemloft.net>
46685 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
46686 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
46687 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
46688 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
46689 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
46690 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
46691 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
46692 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
46694 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
46695 manipulate bits before adding and subtracting TWO112[sx].
46696 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
46698 2012-02-27 Roland McGrath <roland@hack.frob.com>
46701 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
46702 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
46703 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
46704 being in POSIX, because they are in 1003.1-2008.
46706 * rt/tst-aio.c: Include <fcntl.h>.
46707 * rt/tst-aio7.c: Likewise.
46708 * rt/tst-aio64.c: Likewise.
46710 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
46712 2012-02-27 Joseph Myers <joseph@codesourcery.com>
46714 * manual/install.texi (--with-headers): Describe headers as
46715 interface headers, not private headers.
46716 (Specific advice for GNU/Linux systems): Describe use of headers
46717 from "make headers_install", not private headers from older
46719 * INSTALL: Regenerated.
46720 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
46722 * sysdeps/unix/sysv/linux/configure: Regenerated.
46724 * manual/llio.texi (fclean): Remove documentation.
46726 * manual/Makefile (libc-texi-generated): New variable. Include
46728 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
46729 $(libc-texi-generated), not duplicated list of files.
46730 (version.texi, stamp-version): New rules.
46731 (realclean): Remove $(libc-texi-generated), not individual files
46732 from that list. Do not remove dir-add.texinfo.
46733 * manual/libc.texinfo: Comment out uses of edition numbers and
46734 references to printed manual. Remove last-updated dates.
46735 (EDITION): Comment out.
46737 (VERSION, UPDATED): Remove.
46738 (version.texi): Include.
46740 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
46742 * sysdeps/posix/spawni.c: Include <signal.h>.
46743 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
46744 * sysdeps/pthread/aio_fsync.c: Likewise.
46746 2012-02-26 Ulrich Drepper <drepper@gmail.com>
46748 * conform/Makefile (tests): Run only when not cross-compiling and
46749 when fast-check is not defined.
46751 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
46752 * conform/data/limits.h-data: Fixes for POSIX2008.
46753 * conform/run-conformtest.sh: Run all tests.
46754 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
46756 * include/bits/dlfcn.h: Likewise.
46757 * include/langinfo.h: Likewise.
46758 * include/monetary.h: Likewise.
46759 * include/sys/poll.h: Likewise.
46761 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
46763 * posix/spawn.h: Define __need_sigset_t.
46764 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
46765 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
46766 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
46767 to get sigevent_t only.
46768 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
46769 only for __USE_GNU.
46770 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46771 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
46772 process_vm_writev only for __USE_GNU.
46773 * termios/termios.h: Declare tcgetsid also for POSIX2008.
46775 * conform/Makefile: For now ignore errors from run-conformtest.
46776 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
46777 POSIX to avoid namespace pollution. Don't prepend headers.
46778 * conform/data/aio.h-data: Fixes for POSIX testing.
46779 * conform/data/fcntl.h-data: Likewise.
46780 * conform/data/glob.h-data: Likewise.
46781 * conform/data/grp.h-data: Likewise.
46782 * conform/data/pthread.h-data: Likewise.
46783 * conform/data/pwd.h-data: Likewise.
46784 * conform/data/signal.h-data: Likewise.
46785 * conform/data/spawn.h-data: Likewise.
46786 * conform/data/stdio.h-data: Likewise.
46787 * conform/data/stdlib.h-data: Likewise.
46788 * conform/data/stropts.h-data: Likewise.
46789 * conform/data/sys/mman.h-data: Likewise.
46790 * conform/data/sys/stat.h-data: Likewise.
46791 * conform/data/sys/types.h-data: Likewise.
46792 * conform/data/sys/wait.h-data: Likewise.
46793 * conform/data/time.h-data: Likewise.
46794 * conform/data/unistd.h-data: Likewise.
46795 * conform/data/utime.h-data: Likewise.
46797 * io/sys/stat.h: fchmod was always in POSIX.
46798 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
46799 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
46800 * rt/aio.h: Define __need_timespec before including <time.h>.
46801 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
46802 struct. Add forward declaration of pthread_attr_t and use it in
46804 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46805 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46806 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
46807 always remove CLK_TCK definition.
46809 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
46811 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
46813 2012-02-25 Ulrich Drepper <drepper@gmail.com>
46815 * conform/run-conformtest.sh: New file.
46816 * conform/Makefile: Run run-conformtest for tests.
46817 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
46820 * conform/data/uchar.h-data: New file.
46821 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
46822 * conform/data/arpa/inet.h-data: Likewise.
46823 * conform/data/assert.h-data: Likewise.
46824 * conform/data/complex.h-data: Likewise.
46825 * conform/data/cpio.h-data: Likewise.
46826 * conform/data/ctype.h-data: Likewise.
46827 * conform/data/dirent.h-data: Likewise.
46828 * conform/data/dlfcn.h-data: Likewise.
46829 * conform/data/errno.h-data: Likewise.
46830 * conform/data/fcntl.h-data: Likewise.
46831 * conform/data/float.h-data: Likewise.
46832 * conform/data/fmtmsg.h-data: Likewise.
46833 * conform/data/fnmatch.h-data: Likewise.
46834 * conform/data/ftw.h-data: Likewise.
46835 * conform/data/glob.h-data: Likewise.
46836 * conform/data/grp.h-data: Likewise.
46837 * conform/data/iconv.h-data: Likewise.
46838 * conform/data/inttypes.h-data: Likewise.
46839 * conform/data/langinfo.h-data: Likewise.
46840 * conform/data/libgen.h-data: Likewise.
46841 * conform/data/limits.h-data: Likewise.
46842 * conform/data/locale.h-data: Likewise.
46843 * conform/data/math.h-data: Likewise.
46844 * conform/data/monetary.h-data: Likewise.
46845 * conform/data/mqueue.h-data: Likewise.
46846 * conform/data/ndbm.h-data: Likewise.
46847 * conform/data/net/if.h-data: Likewise.
46848 * conform/data/netdb.h-data: Likewise.
46849 * conform/data/netinet/in.h-data: Likewise.
46850 * conform/data/nl_types.h-data: Likewise.
46851 * conform/data/poll.h-data: Likewise.
46852 * conform/data/pthread.h-data: Likewise.
46853 * conform/data/pwd.h-data: Likewise.
46854 * conform/data/regex.h-data: Likewise.
46855 * conform/data/sched.h-data: Likewise.
46856 * conform/data/search.h-data: Likewise.
46857 * conform/data/semaphore.h-data: Likewise.
46858 * conform/data/setjmp.h-data: Likewise.
46859 * conform/data/signal.h-data: Likewise.
46860 * conform/data/spawn.h-data: Likewise.
46861 * conform/data/stdarg.h-data: Likewise.
46862 * conform/data/stdio.h-data: Likewise.
46863 * conform/data/stdlib.h-data: Likewise.
46864 * conform/data/string.h-data: Likewise.
46865 * conform/data/strings.h-data: Likewise.
46866 * conform/data/stropts.h-data: Likewise.
46867 * conform/data/sys/ipc.h-data: Likewise.
46868 * conform/data/sys/mman.h-data: Likewise.
46869 * conform/data/sys/msg.h-data: Likewise.
46870 * conform/data/sys/resource.h-data: Likewise.
46871 * conform/data/sys/select.h-data: Likewise.
46872 * conform/data/sys/sem.h-data: Likewise.
46873 * conform/data/sys/shm.h-data: Likewise.
46874 * conform/data/sys/socket.h-data: Likewise.
46875 * conform/data/sys/stat.h-data: Likewise.
46876 * conform/data/sys/statvfs.h-data: Likewise.
46877 * conform/data/sys/time.h-data: Likewise.
46878 * conform/data/sys/timeb.h-data: Likewise.
46879 * conform/data/sys/times.h-data: Likewise.
46880 * conform/data/sys/types.h-data: Likewise.
46881 * conform/data/sys/uio.h-data: Likewise.
46882 * conform/data/sys/un.h-data: Likewise.
46883 * conform/data/sys/utsname.h-data: Likewise.
46884 * conform/data/sys/wait.h-data: Likewise.
46885 * conform/data/syslog.h-data: Likewise.
46886 * conform/data/tar.h-data: Likewise.
46887 * conform/data/termios.h-data: Likewise.
46888 * conform/data/utime.h-data: Likewise.
46889 * conform/data/utmpx.h-data: Likewise.
46890 * conform/data/varargs.h-data: Likewise.
46891 * conform/data/wchar.h-data: Likewise.
46892 * conform/data/wctype.h-data: Likewise.
46893 * conform/data/wordexp.h-data: Likewise.
46895 * include/stropts.h: New file.
46896 * include/uchar.h: New file.
46897 * include/aio.h: Changes to allow conformtest.pl to use the headers.
46898 * include/assert.h: Likewise.
46899 * include/ctype.h: Likewise.
46900 * include/dirent.h: Likewise.
46901 * include/dlfcn.h: Likewise.
46902 * include/fcntl.h: Likewise.
46903 * include/fnmatch.h: Likewise.
46904 * include/glob.h: Likewise.
46905 * include/grp.h: Likewise.
46906 * include/libio.h: Likewise.
46907 * include/locale.h: Likewise.
46908 * include/math.h: Likewise.
46909 * include/net/if.h: Likewise.
46910 * include/netdb.h: Likewise.
46911 * include/netinet/in.h: Likewise.
46912 * include/pthread.h: Likewise.
46913 * include/pwd.h: Likewise.
46914 * include/regex.h: Likewise.
46915 * include/sched.h: Likewise.
46916 * include/search.h: Likewise.
46917 * include/setjmp.h: Likewise.
46918 * include/signal.h: Likewise.
46919 * include/stdio.h: Likewise.
46920 * include/stdlib.h: Likewise.
46921 * include/string.h: Likewise.
46922 * include/sys/cdefs.h: Likewise.
46923 * include/sys/mman.h: Likewise.
46924 * include/sys/msg.h: Likewise.
46925 * include/sys/resource.h: Likewise.
46926 * include/sys/select.h: Likewise.
46927 * include/sys/socket.h: Likewise.
46928 * include/sys/stat.h: Likewise.
46929 * include/sys/statvfs.h: Likewise.
46930 * include/sys/time.h: Likewise.
46931 * include/sys/times.h: Likewise.
46932 * include/sys/uio.h: Likewise.
46933 * include/sys/utsname.h: Likewise.
46934 * include/sys/wait.h: Likewise.
46935 * include/termios.h: Likewise.
46936 * include/time.h: Likewise.
46937 * include/ulimit.h: Likewise.
46938 * include/unistd.h: Likewise.
46939 * include/utime.h: Likewise.
46940 * include/wchar.h: Likewise.
46941 * include/wctype.h: Likewise.
46942 * include/wordexp.h: Likewise.
46944 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
46946 * time/time.h: TIME_UTC must be a macro.
46947 Make timespec_get available for ISO C11 only as well.
46949 2012-02-24 Ulrich Drepper <drepper@gmail.com>
46951 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
46952 Reported by Peng Haitao <penght@cn.fujitsu.com>.
46954 2012-02-24 Joseph Myers <joseph@codesourcery.com>
46956 * configure.in: Use -o not -a in test for unsupported multi-arch.
46958 2012-02-24 Joseph Myers <joseph@codesourcery.com>
46960 * manual/texinfo.tex: Update to version 2012-01-19.16.
46962 2012-02-24 Joseph Myers <joseph@codesourcery.com>
46964 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
46966 2012-02-24 Roland McGrath <roland@hack.frob.com>
46969 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
46970 * manual/fdl-1.3.texi: New file.
46971 * manual/fdl-1.1.texi: File removed.
46974 * manual/libc.texinfo (FDL_VERSION): New @set.
46975 Use it for mention of FDL in cover text.
46976 (Documentation License): Use it in @include file name.
46978 2012-02-22 Joseph Myers <joseph@codesourcery.com>
46979 Roland McGrath <roland@hack.frob.com>
46982 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
46983 (not LONG_LONG_MAX and LONG_LONG_MIN.
46984 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
46985 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
46987 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
46989 2012-02-22 Joseph Myers <joseph@codesourcery.com>
46993 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
46994 manipulate bits before adding and subtracting TWO23[sx].
46995 * math/libm-test.inc (nearbyint_test): Add more tests.
46997 2012-02-22 Joseph Myers <joseph@codesourcery.com>
47000 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
47001 bits before adding and subtracting TWO23[sx].
47002 * math/libm-test.inc (rint_test): Add more tests.
47003 (rint_test_tonearest): Likewise.
47004 (rint_test_towardzero): Likewise.
47005 (rint_test_downward): Likewise.
47006 (rint_test_upward: Likewise.
47008 2012-02-22 Joseph Myers <joseph@codesourcery.com>
47011 * include/stdc-predef.h: New file. Extracted from features.h.
47012 * include/features.h: Include stdc-predef.h.
47013 * Makefile (headers): Add stdc-predef.h.
47014 * CONFORMANCE (Compiler limitations): Update.
47016 2012-02-22 Joseph Myers <joseph@codesourcery.com>
47018 * manual/libc.texinfo (VERSION, UPDATED): Revert.
47020 2012-02-21 David S. Miller <davem@davemloft.net>
47022 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
47023 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
47025 2012-02-20 David S. Miller <davem@davemloft.net>
47027 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
47028 using a normal save/restore sequence, rather than allocating a
47029 dummy stack frame just to store a frame pointer and restore.
47030 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47032 2012-02-21 Joseph Myers <joseph@codesourcery.com>
47034 * manual/install.texi: Fix stray word in line-wrapped comment.
47036 2012-02-20 David S. Miller <davem@davemloft.net>
47038 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
47039 both binutils and gcc support GOTDATA.
47041 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
47042 "rd %pc" in the PIC register setup sequences.
47044 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
47045 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
47046 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
47047 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
47048 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
47049 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
47050 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47051 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47052 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
47053 (SYSCALL_ERROR_HANDLER): Likewise.
47054 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
47055 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47056 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
47057 (SYSCALL_ERROR_HANDLER): Likewise.
47059 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
47060 (HAVE_GCC_GOTDATA): New.
47061 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
47062 relocation support in both binutils and gcc.
47063 * sysdeps/sparc/elf/configure: Regenerate.
47065 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
47066 * sysdeps/sparc/sparc32/elf/configure: Delete.
47067 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
47068 * sysdeps/sparc/sparc64/elf/configure: Delete.
47069 * sysdeps/sparc/elf/configure.in: New file.
47070 * sysdeps/sparc/elf/configure: Generate.
47072 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
47073 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
47074 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
47075 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
47076 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
47078 2012-02-21 Joseph Myers <joseph@codesourcery.com>
47080 * manual/install.texi: Do not mention specific glibc version
47082 * manual/libc.texinfo (VERSION, UPDATED): Update.
47083 (@copying): Use @copyright{} and range of years.
47085 2012-02-21 Joseph Myers <joseph@codesourcery.com>
47088 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
47089 [crti.S not in sysdirs] (generated): Do not append.
47090 [crti.S not in sysdirs] (omit-deps): Likewise.
47091 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
47092 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
47093 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
47094 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
47095 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
47097 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
47098 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
47099 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
47100 * csu/defs.awk: Remove file.
47101 * sysdeps/generic/initfini.c: Likewise.
47102 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
47104 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
47107 2012-02-20 Joseph Myers <joseph@codesourcery.com>
47109 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
47110 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
47111 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
47112 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
47113 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47114 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
47116 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
47117 (__EPOLL_PACKED): Define to empty if not defined by
47119 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
47120 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47123 2012-02-20 Joseph Myers <joseph@codesourcery.com>
47125 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
47126 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
47127 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
47128 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
47130 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
47131 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47134 2012-02-20 Joseph Myers <joseph@codesourcery.com>
47136 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
47138 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47139 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
47140 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
47141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47143 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
47145 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47146 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
47148 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
47150 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
47151 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
47153 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
47155 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
47158 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
47160 * math/w_acos.c: Use non-signaling floating-point comparisons.
47161 * math/w_acosf.c: Likewise.
47162 * math/w_acosh.c: Likewise.
47163 * math/w_acoshf.c: Likewise.
47164 * math/w_acoshl.c: Likewise.
47165 * math/w_acosl.c: Likewise.
47166 * math/w_asin.c: Likewise.
47167 * math/w_asinf.c: Likewise.
47168 * math/w_asinl.c: Likewise.
47169 * math/w_atanh.c: Likewise.
47170 * math/w_atanhf.c: Likewise.
47171 * math/w_atanhl.c: Likewise.
47172 * math/w_exp2.c: Likewise.
47173 * math/w_exp2f.c: Likewise.
47174 * math/w_exp2l.c: Likewise.
47175 * math/w_j0.c: Likewise.
47176 * math/w_j0f.c: Likewise.
47177 * math/w_j0l.c: Likewise.
47178 * math/w_j1.c: Likewise.
47179 * math/w_j1f.c: Likewise.
47180 * math/w_j1l.c: Likewise.
47181 * math/w_jn.c: Likewise.
47182 * math/w_jnf.c: Likewise.
47183 * math/w_log.c: Likewise.
47184 * math/w_log10.c: Likewise.
47185 * math/w_log10f.c: Likewise.
47186 * math/w_log10l.c: Likewise.
47187 * math/w_log2.c: Likewise.
47188 * math/w_log2f.c: Likewise.
47189 * math/w_log2l.c: Likewise.
47190 * math/w_logf.c: Likewise.
47191 * math/w_logl.c: Likewise.
47192 * math/w_sqrt.c: Likewise.
47193 * math/w_sqrtf.c: Likewise.
47194 * math/w_sqrtl.c: Likewise.
47195 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47196 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
47197 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47198 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
47199 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
47201 2012-02-19 Joseph Myers <joseph@codesourcery.com>
47204 * manual/string.texi (strnlen): Use correct parameter name in
47205 equivalent expression.
47207 2012-02-19 Joseph Myers <joseph@codesourcery.com>
47210 * manual/users.texi (seteuid): Consistently use neweuid for
47213 2012-02-19 Joseph Myers <joseph@codesourcery.com>
47216 * manual/nss.texi (Services in the NSS configuration): Correct
47217 list of services in example configuration file.
47219 2012-02-19 Nick Bowler <nbowler@draconx.ca>
47222 * manual/arith.texi: Remove statements about negative zero
47223 behaving identically to zero.
47225 2012-02-18 Joseph Myers <joseph@codesourcery.com>
47228 * manual/install.texi: Do not document upgrading from libc5.
47230 2012-02-18 Joseph Myers <joseph@codesourcery.com>
47233 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
47235 2012-02-18 David S. Miller <davem@davemloft.net>
47237 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
47238 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
47239 %o7 across the call.
47240 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
47242 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
47243 SETUP_PIC_REG_LEAF.
47244 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47245 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
47246 * sysdeps/sparc/crtn.S: Likewise.
47248 2012-02-17 Ulrich Drepper <drepper@gmail.com>
47250 * aout/Makefile: Remove.
47252 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
47255 * manual/examples/argp-ex1.c (main): Format definition in GNU
47257 * manual/examples/argp-ex2.c (main): Likewise.
47258 * manual/examples/argp-ex3.c (main): Likewise.
47259 * manual/examples/argp-ex4.c (main): Likewise.
47260 * manual/examples/longopt.c (main): Use new-style prototype
47262 * manual/examples/strncat.c (main): Specify return type and use
47263 (void) for arguments.
47264 * manual/examples/subopt.c (main): Use char **argv argument.
47266 2012-02-17 Joseph Myers <joseph@codesourcery.com>
47269 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
47272 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
47275 * manual/string.texi (strchr): Change when strchrnul is
47278 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
47281 * manual/locale.texi (setlocale): Document LOCPATH.
47283 2012-02-17 Joseph Myers <joseph@codesourcery.com>
47286 * manual/process.texi (execle): Move @dots{} before last argument.
47288 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
47291 * manual/charset.texi (Generic Charset Conversion): Fix typo
47292 (LC_TYPE -> LC_CTYPE).
47294 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
47297 * manual/arith.texi (scalbn): Use @var{} on parameter names.
47298 (scalbnf): Likewise.
47299 (scalbnl): Likewise.
47300 (scalbln): Likewise.
47301 (scalblnf): Likewise.
47302 (scalblnl): Likewise.
47303 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
47304 (vwarnx): Likewise.
47307 * manual/filesys.texi (telldir): Use braces around return type.
47308 * manual/llio.texi (mmap): Add space after comma.
47309 (mmap64): Likewise.
47310 * manual/math.texi (jn): Use @var{} on parameter names.
47316 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
47318 * manual/resource.texi (ulimit): Use @dots{} instead of literal
47320 (sched_get_priority_min): Remove semicolon on @deftypefun line.
47321 (sched_get_priority_max): Likewise.
47322 * manual/signal.texi (sigvec): Add space after comma.
47323 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
47325 (if_indextoname): Likewise.
47326 (if_freenameindex): Likewise.
47327 (sendto): Use ',' instead of '.' in prototype.
47328 * manual/startup.texi (syscall): Use @dots{} instead of literal
47330 * manual/stdio.texi (__fpending): Separate initial words of
47331 paragraph from @deftypefun line.
47332 * manual/syslog.texi (syslog): Use @dots{} instead of literal
47334 (vsyslog): Use @var{} on parameter names.
47335 * manual/terminal.texi (stty): Use @var{} on parameter names.
47336 * manual/users.texi (getutmp): Use @var{} on parameter names.
47337 (getutmpx): Likewise.
47339 2012-02-17 Joseph Myers <joseph@codesourcery.com>
47342 * manual/stdio.texi (fopen): Fix typos in description of
47345 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
47348 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
47349 get clock_id definition.
47351 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
47354 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
47355 (madvise): Cast every argument to void on its own.
47357 2012-02-17 Joseph Myers <joseph@codesourcery.com>
47360 * manual/startup.texi (Exit Status): Fix typo.
47362 2012-02-17 Joseph Myers <joseph@codesourcery.com>
47365 * manual/examples/argp-ex1.c: Include <stdlib.h>.
47366 * manual/examples/argp-ex2.c: Likewise.
47367 * manual/examples/argp-ex3.c: Likewise.
47369 2012-02-16 Richard Henderson <rth@redhat.com>
47371 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
47372 * sysdeps/s390/s390-32/initfini.c: Remove.
47373 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
47374 * sysdeps/s390/s390-64/initfini.c: Remove.
47376 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47378 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
47379 compiler output for sysdeps/generic/initfini.c.
47380 * sysdeps/sh/elf/initfini.c: Remove file.
47382 2012-02-16 David S. Miller <davem@davemloft.net>
47385 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
47387 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
47388 * sysdeps/sparc/crti.S: New file.
47389 * sysdeps/sparc/crtn.S: New file.
47390 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
47391 * sysdeps/sparc/sparc64/Makefile: Likewise.
47393 2012-02-15 Mike Frysinger <vapier@gentoo.org>
47396 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
47398 2012-02-15 Roland McGrath <roland@hack.frob.com>
47401 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
47403 * mach/devstream.c (cookie_io_functions_t): Macro removed.
47404 (write, read, close): Likewise.
47405 Patch by Aurelien Jarno <aurelien@aurel32.net>.
47407 2012-02-15 Joseph Myers <joseph@codesourcery.com>
47409 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
47410 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
47411 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
47412 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
47414 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
47415 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47418 2012-02-14 Marek Polacek <polacek@redhat.com>
47420 * sysdeps/x86_64/crti.S: New file.
47421 * sysdeps/x86_64/crtn.S: New file.
47422 * sysdeps/x86_64/elf/initfini.c: Remove file.
47424 2012-02-13 Joseph Myers <joseph@codesourcery.com>
47426 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
47427 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
47428 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
47429 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
47431 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
47432 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47435 2012-02-13 Joseph Myers <joseph@codesourcery.com>
47437 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
47438 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
47439 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
47440 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
47442 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
47443 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47446 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
47448 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
47449 __feraiseexcept instead of feraiseexcept.
47451 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
47452 nanosleep invocations.
47453 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
47454 strings, and add error checking for a nanosleep invocations.
47456 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
47458 Replace FSF snail mail address with URLs, as per GNU coding standards.
47459 Most of the snail mail addresses were wrong anyway, and omitting
47460 them makes the source code easier to maintain. Almost all of the
47461 changes are to license notices and to locale LC_IDENTIFICATION
47462 addresses, except for this one:
47463 * manual/libc.texinfo: In "Published by", give the FSF's URL,
47464 not its snail mail address.
47466 2012-02-09 Richard Henderson <rth@twiddle.net>
47468 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
47469 of kernel-features.h.
47471 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
47473 2012-02-08 Marek Polacek <polacek@redhat.com>
47475 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
47476 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
47477 * sysdeps/gnu/_G_config.h: Likewise.
47478 * sysdeps/generic/_G_config.h: Likewise.
47480 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
47482 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
47484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47486 * sysdeps/powerpc/powerpc32/crti.S: New file.
47487 * sysdeps/powerpc/powerpc32/crtn.S: New file.
47488 * sysdeps/powerpc/powerpc64/crti.S: New file.
47489 * sysdeps/powerpc/powerpc64/crtn.S: New file.
47491 * Makeconfig (have-initfini): Don't set.
47492 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
47493 * configure.in (nopic_initfini): Don't substitute.
47494 * config.h.in (HAVE_INITFINI): Don't #undef.
47495 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
47496 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
47498 2012-02-08 Joseph Myers <joseph@codesourcery.com>
47500 Support crti.S and crtn.S provided directly by architectures.
47501 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
47502 [crti.S in sysdirs] (omit-deps): Likewise.
47503 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
47504 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
47505 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
47506 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
47507 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
47508 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
47509 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
47510 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
47511 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
47512 compiler output for sysdeps/generic/initfini.c.
47513 * sysdeps/i386/elf/Makefile: Remove file.
47514 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
47516 2012-02-07 Marek Polacek <polacek@redhat.com>
47518 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
47519 * sysdeps/gnu/_G_config.h: Likewise.
47520 * sysdeps/mach/hurd/_G_config.h: Likewise.
47522 2012-02-07 Marek Polacek <polacek@redhat.com>
47524 * math/Makefile (tests): Add tst-CMPLX2.
47525 * math/tst-CMPLX2.c: New file.
47527 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
47529 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47531 * math/libm-test.inc (jn_test): Add missing L suffix.
47533 2012-02-06 Marek Polacek <polacek@redhat.com>
47535 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
47536 * sysdeps/i386/fpu/e_powf.S: Likewise.
47537 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47538 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
47539 * sysdeps/i386/fpu/e_acosh.S: Likewise.
47540 * sysdeps/i386/fpu/e_pow.S: Likewise.
47541 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
47542 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47543 * sysdeps/i386/fpu/s_expm1.S: Likewise.
47544 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
47545 * sysdeps/i386/fpu/e_log2.S: Likewise.
47546 * sysdeps/i386/fpu/e_log2l.S: Likewise.
47547 * sysdeps/i386/fpu/e_scalb.S: Likewise.
47548 * sysdeps/i386/fpu/e_powl.S: Likewise.
47549 * sysdeps/i386/fpu/s_log1p.S: Likewise.
47550 * sysdeps/i386/fpu/e_log10f.S: Likewise.
47551 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
47552 * sysdeps/i386/fpu/e_logl.S: Likewise.
47553 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
47554 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
47555 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
47556 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
47557 * sysdeps/i386/fpu/e_log2f.S: Likewise.
47558 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47559 * sysdeps/i386/fpu/e_log.S: Likewise.
47560 * sysdeps/i386/fpu/s_cexp.S: Likewise.
47561 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47562 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
47563 * sysdeps/i386/fpu/e_logf.S: Likewise.
47564 * sysdeps/i386/fpu/e_log10l.S: Likewise.
47565 * sysdeps/i386/fpu/e_atanh.S: Likewise.
47566 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
47567 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
47568 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
47569 * sysdeps/i386/fpu/e_log10.S: Likewise.
47570 * sysdeps/i386/fpu/s_frexp.S: Likewise.
47571 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47572 * sysdeps/i386/fpu/s_asinh.S: Likewise.
47573 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
47574 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47575 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
47576 * sysdeps/i386/asm-syntax.h: Likewise.
47577 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47578 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47579 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47580 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
47581 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
47582 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47583 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
47584 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
47585 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47586 * sysdeps/powerpc/sysdep.h: Likewise.
47587 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
47588 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
47590 2012-02-06 Joseph Myers <joseph@codesourcery.com>
47593 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
47595 2012-02-06 Joseph Myers <joseph@codesourcery.com>
47597 * sysdeps/i386/sysdep.h: Include <features.h>.
47598 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
47601 2012-02-05 Joseph Myers <joseph@codesourcery.com>
47603 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
47605 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
47608 2012-02-03 Joseph Myers <joseph@codesourcery.com>
47610 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
47611 (SETUP_PIC_REG): Use GET_PC_THUNK.
47612 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
47615 2012-02-03 Joseph Myers <joseph@codesourcery.com>
47617 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
47618 for non-PIC compilation.
47619 (SETUP_PIC_REG): Add .p2align directive.
47620 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
47621 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
47622 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
47623 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
47624 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
47625 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
47626 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
47627 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47628 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
47629 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
47630 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
47631 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
47632 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
47633 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
47634 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
47635 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
47636 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
47637 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
47638 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
47639 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
47640 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
47641 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
47642 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
47643 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
47644 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
47645 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
47646 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
47647 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
47648 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
47649 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
47650 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
47651 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47652 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
47653 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
47654 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
47655 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
47656 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
47657 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
47658 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
47659 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
47660 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
47662 2012-02-03 Joseph Myers <joseph@codesourcery.com>
47664 * math/tst-CMPLX.c: Include <stdio.h>.
47666 2012-01-31 Joseph Myers <joseph@codesourcery.com>
47668 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
47670 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
47671 * sysdeps/sparc/bits/mathdef.h: Likewise.
47673 2012-01-31 Marek Polacek <polacek@redhat.com>
47675 * libio/libio.h: Don't define _PARAMS.
47676 * locale/programs/config.h: Don't define PARAMS.
47677 * stdlib/strtol_l.c: Likewise.
47678 (__strtol_l): Remove PARAMS from the prototype.
47680 2012-01-31 Ulrich Drepper <drepper@gmail.com>
47682 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
47683 names. Just use the correct names. Remove unnecessary wrapper
47685 * malloc/arena.c: Likewise.
47686 * malloc/hooks.c: Likewise.
47688 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
47689 ARENA_TEST says not to. Simplify test for creation of a new arena.
47690 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
47692 2012-01-30 Ulrich Drepper <drepper@gmail.com>
47694 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
47696 (update_get_addr): New function.
47697 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
47698 GET_ADDR_MODULE parameter.
47700 2012-01-30 Joseph Myers <joseph@codesourcery.com>
47702 * crypt/cert.c: Remove __STDC__ conditionals.
47703 * crypt/crypt-entry.c: Likewise.
47704 * crypt/crypt_util.c: Likewise.
47705 * libio/filedoalloc.c: Likewise.
47706 * libio/fileops.c: Likewise.
47707 * libio/genops.c: Likewise.
47708 * libio/iofclose.c: Likewise.
47709 * libio/iofdopen.c: Likewise.
47710 * libio/iofopen.c: Likewise.
47711 * libio/iofopen64.c: Likewise.
47712 * libio/iogetdelim.c: Likewise.
47713 * libio/iopopen.c: Likewise.
47714 * libio/obprintf.c: Likewise.
47715 * libio/oldfileops.c: Likewise.
47716 * libio/oldiofclose.c: Likewise.
47717 * libio/oldiofdopen.c: Likewise.
47718 * libio/oldiofopen.c: Likewise.
47719 * libio/oldiopopen.c: Likewise.
47720 * libio/wfiledoalloc.c: Likewise.
47721 * libio/wgenops.c: Likewise.
47722 * locale/programs/xmalloc.c: Likewise.
47723 * misc/syslog.c: Likewise.
47724 * stdio-common/xbug.c: Likewise.
47725 * string/memchr.c: Likewise.
47726 * string/memcmp.c: Likewise.
47727 * string/memrchr.c: Likewise.
47728 * string/rawmemchr.c: Likewise.
47729 * sysdeps/posix/getcwd.c: Likewise.
47730 * time/strftime_l.c: Likewise.
47732 2012-01-30 Joseph Myers <joseph@codesourcery.com>
47734 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
47735 * config.make.in (config-cflags-sse2avx): Define.
47736 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
47739 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
47741 * scripts/config.guess: Update from upstream config git repository.
47742 * scripts/config.sub: Likewise.
47744 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
47746 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
47748 (R_TILEPRO_*, R_TILEGX_*): New macros.
47750 * scripts/firstversions.awk: Fix bug in version range handling.
47752 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
47754 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
47756 * include/sys/epoll.h: New file.
47757 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
47760 2012-01-28 Ulrich Drepper <drepper@gmail.com>
47762 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
47763 Avoid unnecessary __WORDSIZE == 64 test.
47764 (fmaxf): Use VEX format if possible.
47769 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
47770 * math/math_private.h: Remove libc_fegetround* and
47772 * sysdeps/i386/configure.in: Check for -msse2avx.
47773 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
47774 also if SSE2AVX is defined.
47775 Remove libc_fegetround* and libc_fesetround*.
47776 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
47777 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
47778 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
47780 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47781 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47782 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47783 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47784 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47786 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
47788 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47790 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
47792 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47794 2012-01-27 Ulrich Drepper <drepper@gmail.com>
47797 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
47799 * Makeconfig (libm): Define.
47800 * elf/Makefile: Add rules to build and run tst-relsort1.
47801 * elf/tst-relsort1.c: New file.
47802 * elf/tst-relsort1mod1.c: New file.
47803 * elf/tst-relsort1mod2.c: New file.
47805 2012-01-27 Joseph Myers <joseph@codesourcery.com>
47807 * math/s_ldexp.c: Remove __STDC__ conditionals.
47808 * math/s_ldexpf.c: Likewise.
47809 * math/s_ldexpl.c: Likewise.
47810 * math/s_nextafter.c: Likewise.
47811 * math/s_nexttowardf.c: Likewise.
47812 * math/s_significand.c: Likewise.
47813 * math/s_significandf.c: Likewise.
47814 * math/s_significandl.c: Likewise.
47815 * math/w_jnl.c: Likewise.
47816 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
47817 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
47818 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
47819 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
47820 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
47821 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47822 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
47823 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
47824 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47825 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47826 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
47827 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47828 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47829 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
47830 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47831 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47832 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
47833 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47834 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47835 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47836 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47837 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47838 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47839 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47840 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47841 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47842 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47843 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47844 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
47845 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47846 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47847 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
47848 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47849 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
47850 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
47851 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47852 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
47853 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
47854 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
47855 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
47856 * sysdeps/ieee754/k_standard.c: Likewise.
47857 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47858 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47859 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
47860 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
47861 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
47862 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
47863 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47864 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
47865 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
47866 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
47867 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
47868 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
47869 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
47870 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
47871 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
47872 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
47873 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
47874 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47875 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47876 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
47877 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47878 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47879 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
47880 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
47881 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47882 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
47883 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47884 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47885 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47886 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
47887 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
47888 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
47889 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
47890 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
47891 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
47892 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
47893 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
47894 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
47895 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
47896 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
47897 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
47898 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
47899 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
47900 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
47901 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
47902 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
47903 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
47904 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47905 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
47906 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
47907 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
47908 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47909 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47910 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
47911 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
47912 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
47913 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
47914 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47915 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47916 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47917 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47918 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
47919 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
47920 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47921 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47922 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47923 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47924 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
47925 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
47926 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47927 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47928 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47929 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47930 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
47931 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
47932 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47933 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
47934 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
47935 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
47936 * sysdeps/ieee754/s_matherr.c: Likewise.
47937 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
47938 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
47939 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47940 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
47942 2012-01-26 Joseph Myers <joseph@codesourcery.com>
47944 * crypt/md5.h: Remove __STDC__ conditionals.
47945 * libio/libioP.h: Likewise.
47946 * locale/programs/config.h: Likewise.
47947 * sysdeps/generic/sysdep.h: Likewise.
47948 * sysdeps/i386/asm-syntax.h: Likewise.
47949 * sysdeps/s390/asm-syntax.h: Likewise.
47950 * sysdeps/unix/sysdep.h: Likewise.
47951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
47952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
47954 2012-01-26 Joseph Myers <joseph@codesourcery.com>
47956 * libio/libio.h: Remove __STDC__ conditionals.
47957 * malloc/obstack.h: Likewise.
47958 * math/complex.h: Likewise.
47959 * math/math.h: Likewise.
47960 * sysdeps/generic/_G_config.h: Likewise.
47961 * sysdeps/gnu/_G_config.h: Likewise.
47962 * sysdeps/mach/hurd/_G_config.h: Likewise.
47963 * sysdeps/powerpc/bits/mathdef.h: Likewise.
47964 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
47965 * sysdeps/sparc/bits/mathdef.h: Likewise.
47967 2012-01-26 Ulrich Drepper <drepper@gmail.com>
47970 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
47971 Clean up HAS_* macros.
47972 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
47973 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
47975 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
47977 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47978 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47979 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47980 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47981 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47983 2012-01-25 Joseph Myers <joseph@codesourcery.com>
47985 * elf/tst-unique3.cc (gets): Remove declaration.
47986 * elf/tst-unique3lib.cc (gets): Likewise.
47987 * elf/tst-unique3lib2.cc (gets): Likewise.
47988 * elf/tst-unique4.cc (gets): Likewise.
47990 2012-01-24 Ulrich Drepper <drepper@gmail.com>
47992 * include/stdio.h: Add C++ protection. Add gets declarations and
47994 * debug/tst-chk1.c: Don't declare gets here.
47995 * stdio-common/tst-gets.c: Likewise.
47997 2012-01-24 Joseph Myers <joseph@codesourcery.com>
47999 * posix/glob: Remove directory.
48001 2012-01-24 Joseph Myers <joseph@codesourcery.com>
48003 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
48005 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
48007 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
48008 of the non-standard EPFNOSUPPORT.
48010 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
48012 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
48013 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
48014 ANYWHERE set to 1 only on KERN_NO_SPACE error.
48016 2012-01-21 Ulrich Drepper <drepper@gmail.com>
48018 * wcsmbs/uchar.h: Test __STDC_VERSION__.
48020 2012-01-20 Ulrich Drepper <drepper@gmail.com>
48022 * nscd/aicache.c (addhstaiX): Do not cache negative results of
48024 * nscd/grpcache.c (cache_addgr): Likewise.
48025 * nscd/hstcache.c (cache_addhst): Likewise.
48026 * nscd/initgrcache.c (addinitgroupsX): Likewise.
48027 * nscd/pwdcache.c (cache_addpw): Likewise.
48028 * nscd/servicescache.c (cache_addserv): Likewise.
48030 2012-01-16 Ulrich Drepper <drepper@gmail.com>
48032 * malloc/malloc.c: Various cleanups.
48033 * malloc/hooks.c: Likewise.
48035 * stdlib/Makefile (tests): Add bug-fmtmsg1.
48036 * stdlib/bug-fmtmsg1.c: New file.
48038 * stdlib/fmtmsg.c (init): Add missing unlock.
48039 Patch by Peng Haitao <penght@cn.fujitsu.com>.
48041 2012-01-12 Marek Polacek <polacek@redhat.com>
48043 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
48046 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
48048 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
48049 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
48050 macro to ensure uniqueness of label name.
48051 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
48052 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
48054 2012-01-11 Ulrich Drepper <drepper@gmail.com>
48056 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
48058 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
48059 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
48060 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48061 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
48063 2012-01-10 Ulrich Drepper <drepper@gmail.com>
48065 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
48067 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
48068 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
48069 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
48071 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
48073 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
48074 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
48075 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
48076 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
48078 * math/bits/math-finite.h: Add ldexp support.
48080 2012-01-10 Marek Polacek <polacek@redhat.com>
48082 * locale/programs/localedef.h (show_archive_content): Add noreturn
48085 2012-01-09 Ulrich Drepper <drepper@gmail.com>
48087 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
48089 2012-01-08 Ulrich Drepper <drepper@gmail.com>
48091 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
48093 * io/Makefile (headers): Add bits/poll2.h.
48095 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
48097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
48098 typo #include statement.
48100 2012-01-08 Ulrich Drepper <drepper@gmail.com>
48102 * include/sys/cdefs.h: Define __attribute_alloc_size.
48103 * catgets/gencat.c: Add alloc_size attribute and apply consistently
48104 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
48105 * elf/pldd.c: Likewise.
48106 * iconv/iconv_charmap.c: Likewise.
48107 * iconv/iconvconfig.c: Likewise.
48108 * iconv/strtab.c: Likewise.
48109 * locale/programs/locale.c: Likewise.
48110 * locale/programs/localedef.h: Likewise.
48111 * locale/programs/simple-hash.c: Likewise.
48112 * nscd/nscd.h: Likewise.
48113 * nss/makedb.c: Likewise.
48114 * sysdeps/generic/ldconfig.h: Likewise.
48115 * locale/programs/localedef.c: Remove xmalloc prototype.
48116 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
48118 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
48120 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
48123 2012-01-08 Ulrich Drepper <drepper@gmail.com>
48125 * math/Makefile (tests): Add tst-CMPLX.
48126 * math/tst-CMPLX.c: New file.
48128 * math/complex.h (CMPLXL): Fix typo.
48130 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
48131 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
48133 * debug/tst-chk1.c: Add poll and ppoll tests.
48134 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
48135 * include/sys/poll.h: Add hidden proto for ppoll.
48136 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
48137 * sysdeps/mach/hurd/ppoll.c: Likewise.
48138 * io/ppoll.c: Likewise.
48139 * debug/poll_chk.c: New file.
48140 * debug/ppoll_chk.c: New file.
48141 * include/bits/poll2.h: New file.
48142 * io/bits/poll2.h: New file.
48145 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
48147 * configure.in: static is always set to yes. Remove.
48148 * config.make.in: Don't set build-static.
48149 * Makeconfig: Remove use of build-static.
48150 * dlfcn/Makefile: Likewise.
48151 * elf/Makefile: Likewise.
48152 * math/Makefile: Likewise.
48153 * misc/Makefile: Likewise.
48154 * nptl/Makefile: Likewise.
48155 * sysdeps/mach/hurd/Makefile: Likewise.
48157 * configure.in: PWD_P is not used anymore.
48158 * config.make.in: Remove PWD_P entry.
48160 * configure.in: Remove last remnants of RANLIB.
48161 No need to check for signed size_t anymore.
48162 Don't set libc_commonpagesize and libc_relro_required here for Alpha
48164 Remove __builtin_expect test because we require at least gcc 3.4.
48165 * aclocal.m4: Likewise.
48167 * wcsmbs/mbrtoc16.c: Implement using towc function.
48168 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
48169 * wcsmbs/wcsmbsload.c: Likewise.
48170 * iconv/gconv_simple.c: Likewise.
48171 * iconv/gconv_int.h: Likewise.
48172 * iconv/gconv_builtin.h: Likewise.
48173 * iconv/iconv_prog.c: Remove CHAR16 handling.
48175 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
48177 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
48179 * configure.in: Remove --with-elf and --enable-bounded options.
48180 Dont set base_machine for ia64. More non-ELF conditions removed.
48181 Remove testing and setting of leading underscore information.
48182 * config.make.in (build-bounded): Set to no.
48183 * config.h.in: Remove NO_UNDERSCORES entry.
48184 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
48186 * csu/start.c: Remove !NO_UNDERSCORE code.
48187 * locale/localeinfo.h: Likewise.
48188 * sysdeps/generic/machine-gmon.h: Likewise.
48189 * sysdeps/generic/sysdep.h: Likewise.
48190 * sysdeps/i386/sysdep.h: Likewise.
48191 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
48192 * sysdeps/mach/sysdep.h: Likewise.
48193 * sysdeps/s390/s390-32/sysdep.h: Likewise.
48194 * sysdeps/s390/s390-64/sysdep.h: Likewise.
48195 * sysdeps/sh/sysdep.h: Likewise.
48196 * sysdeps/sparc/sparc32/alloca.S: Likewise.
48197 * sysdeps/unix/i386/sysdep.S: Likewise.
48198 * sysdeps/unix/sparc/start.c: Likewise.
48199 * sysdeps/unix/sparc/sysdep.S: Likewise.
48200 * sysdeps/unix/sparc/sysdep.h: Likewise.
48201 * sysdeps/unix/start.c: Likewise.
48202 * sysdeps/unix/x86_64/sysdep.S: Likewise.
48203 * sysdeps/x86_64/sysdep.h: Likewise.
48205 2012-01-07 Ulrich Drepper <drepper@gmail.com>
48208 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
48210 * argp/argp-fmtstream.h: Use const instead __const.
48211 * argp/argp.h: Likewise.
48212 * assert/assert.h: Likewise.
48213 * bits/fenv.h: Likewise.
48214 * bits/sched.h: Likewise.
48215 * bits/sigset.h: Likewise.
48216 * bits/sigthread.h: Likewise.
48217 * catgets/nl_types.h: Likewise.
48218 * conform/data/pthread.h-data: Likewise.
48219 * crypt/crypt-private.h: Likewise.
48220 * crypt/crypt.h: Likewise.
48221 * crypt/crypt_util.c: Likewise.
48222 * ctype/ctype.h: Likewise.
48223 * debug/execinfo.h: Likewise.
48224 * debug/mbsnrtowcs_chk.c: Likewise.
48225 * debug/mbsrtowcs_chk.c: Likewise.
48226 * debug/wcsnrtombs_chk.c: Likewise.
48227 * debug/wcsrtombs_chk.c: Likewise.
48228 * debug/wcstombs_chk.c: Likewise.
48229 * dirent/dirent.h: Likewise.
48230 * dlfcn/dlfcn.h: Likewise.
48231 * elf/neededtest4.c: Likewise.
48232 * grp/grp.h: Likewise.
48233 * gshadow/gshadow.h: Likewise.
48234 * iconv/gconv.h: Likewise.
48235 * iconv/gconv_int.h: Likewise.
48236 * iconv/gconv_simple.c: Likewise.
48237 * iconv/iconv.h: Likewise.
48238 * iconv/loop.c: Likewise.
48239 * iconv/skeleton.c: Likewise.
48240 * include/aio.h: Likewise.
48241 * include/aliases.h: Likewise.
48242 * include/argz.h: Likewise.
48243 * include/arpa/inet.h: Likewise.
48244 * include/assert.h: Likewise.
48245 * include/dirent.h: Likewise.
48246 * include/dlfcn.h: Likewise.
48247 * include/execinfo.h: Likewise.
48248 * include/fcntl.h: Likewise.
48249 * include/fenv.h: Likewise.
48250 * include/glob.h: Likewise.
48251 * include/grp.h: Likewise.
48252 * include/libintl.h: Likewise.
48253 * include/mntent.h: Likewise.
48254 * include/netdb.h: Likewise.
48255 * include/pwd.h: Likewise.
48256 * include/rpc/netdb.h: Likewise.
48257 * include/sched.h: Likewise.
48258 * include/search.h: Likewise.
48259 * include/shadow.h: Likewise.
48260 * include/signal.h: Likewise.
48261 * include/stdio.h: Likewise.
48262 * include/stdlib.h: Likewise.
48263 * include/string.h: Likewise.
48264 * include/sys/socket.h: Likewise.
48265 * include/sys/stat.h: Likewise.
48266 * include/sys/statfs.h: Likewise.
48267 * include/sys/statvfs.h: Likewise.
48268 * include/sys/syslog.h: Likewise.
48269 * include/sys/time.h: Likewise.
48270 * include/sys/uio.h: Likewise.
48271 * include/time.h: Likewise.
48272 * include/unistd.h: Likewise.
48273 * include/utmp.h: Likewise.
48274 * include/wchar.h: Likewise.
48275 * include/wctype.h: Likewise.
48276 * inet/aliases.h: Likewise.
48277 * inet/arpa/inet.h: Likewise.
48278 * inet/netinet/ether.h: Likewise.
48279 * inet/netinet/in.h: Likewise.
48280 * intl/libintl.h: Likewise.
48281 * io/bits/fcntl2.h: Likewise.
48282 * io/fcntl.h: Likewise.
48283 * io/ftw.h: Likewise.
48284 * io/sys/poll.h: Likewise.
48285 * io/sys/stat.h: Likewise.
48286 * io/sys/statfs.h: Likewise.
48287 * io/sys/statvfs.h: Likewise.
48288 * io/utime.h: Likewise.
48289 * libio/bits/stdio.h: Likewise.
48290 * libio/bits/stdio2.h: Likewise.
48291 * libio/libio.h: Likewise.
48292 * libio/libioP.h: Likewise.
48293 * libio/stdio.h: Likewise.
48294 * locale/lc-ctype.c: Likewise.
48295 * locale/locale.h: Likewise.
48296 * login/utmp.h: Likewise.
48297 * malloc/arena.c: Likewise.
48298 * malloc/malloc.c: Likewise.
48299 * malloc/malloc.h: Likewise.
48300 * malloc/mcheck.c: Likewise.
48301 * malloc/mtrace.c: Likewise.
48302 * math/bits/mathcalls.h: Likewise.
48303 * math/fenv.h: Likewise.
48304 * math/math_private.h: Likewise.
48305 * misc/bits/error.h: Likewise.
48306 * misc/bits/syslog.h: Likewise.
48307 * misc/err.h: Likewise.
48308 * misc/error.h: Likewise.
48309 * misc/fstab.h: Likewise.
48310 * misc/mntent.h: Likewise.
48311 * misc/regexp.h: Likewise.
48312 * misc/search.h: Likewise.
48313 * misc/sgtty.h: Likewise.
48314 * misc/sys/mman.h: Likewise.
48315 * misc/sys/syslog.h: Likewise.
48316 * misc/sys/uio.h: Likewise.
48317 * misc/sys/xattr.h: Likewise.
48318 * misc/ttyent.h: Likewise.
48319 * nis/rpcsvc/ypclnt.h: Likewise.
48320 * nss/nss.h: Likewise.
48321 * posix/bits/unistd.h: Likewise.
48322 * posix/fnmatch.h: Likewise.
48323 * posix/glob.h: Likewise.
48324 * posix/sched.h: Likewise.
48325 * posix/spawn.h: Likewise.
48326 * posix/sys/wait.h: Likewise.
48327 * posix/unistd.h: Likewise.
48328 * posix/wordexp.h: Likewise.
48329 * pwd/pwd.h: Likewise.
48330 * resolv/netdb.h: Likewise.
48331 * resource/sys/resource.h: Likewise.
48332 * rt/aio.h: Likewise.
48333 * rt/bits/mqueue2.h: Likewise.
48334 * rt/mqueue.h: Likewise.
48335 * shadow/shadow.h: Likewise.
48336 * signal/signal.h: Likewise.
48337 * socket/send.c: Likewise.
48338 * socket/sendto.c: Likewise.
48339 * socket/sys/socket.h: Likewise.
48340 * stdio-common/printf.h: Likewise.
48341 * stdlib/bits/stdlib.h: Likewise.
48342 * stdlib/fmtmsg.h: Likewise.
48343 * stdlib/monetary.h: Likewise.
48344 * stdlib/stdlib.h: Likewise.
48345 * stdlib/ucontext.h: Likewise.
48346 * streams/stropts.h: Likewise.
48347 * string/argz.h: Likewise.
48348 * string/bits/string2.h: Likewise.
48349 * string/string.h: Likewise.
48350 * string/strings.h: Likewise.
48351 * sunrpc/rpc/auth.h: Likewise.
48352 * sunrpc/rpc/auth_des.h: Likewise.
48353 * sunrpc/rpc/clnt.h: Likewise.
48354 * sunrpc/rpc/netdb.h: Likewise.
48355 * sunrpc/rpc/pmap_clnt.h: Likewise.
48356 * sunrpc/rpc/xdr.h: Likewise.
48357 * sysdeps/generic/inttypes.h: Likewise.
48358 * sysdeps/generic/net/if.h: Likewise.
48359 * sysdeps/generic/sys/swap.h: Likewise.
48360 * sysdeps/gnu/net/if.h: Likewise.
48361 * sysdeps/gnu/utmpx.h: Likewise.
48362 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
48363 * sysdeps/i386/i486/bits/string.h: Likewise.
48364 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
48365 * sysdeps/s390/bits/string.h: Likewise.
48366 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
48367 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
48368 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
48369 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
48370 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
48371 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
48372 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
48373 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
48374 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
48375 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
48376 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
48377 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
48378 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
48379 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
48380 * sysdeps/unix/sysv/linux/readv.c: Likewise.
48381 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
48382 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
48383 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48384 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
48385 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
48386 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
48387 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
48388 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
48389 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
48390 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
48391 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
48392 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
48393 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48394 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
48395 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
48396 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
48397 * sysvipc/sys/ipc.h: Likewise.
48398 * sysvipc/sys/msg.h: Likewise.
48399 * sysvipc/sys/sem.h: Likewise.
48400 * sysvipc/sys/shm.h: Likewise.
48401 * termios/termios.h: Likewise.
48402 * time/sys/time.h: Likewise.
48403 * time/time.h: Likewise.
48404 * wcsmbs/bits/wchar2.h: Likewise.
48405 * wcsmbs/uchar.h: Likewise.
48406 * wcsmbs/wchar.h: Likewise.
48407 * wctype/wctype.h: Likewise.
48410 * Makeconfig: Remove all but ELF support including AIX support.
48411 * Makerules: Likewise.
48412 * config.h.in: Likewise.
48413 * config.make.in: Likewise.
48414 * configure: Likewise.
48415 * configure.in: Likewise.
48416 * csu/Makefile: Likewise.
48417 * csu/version.c: Likewise.
48418 * debug/Makefile: Likewise.
48419 * dlfcn/Makefile: Likewise.
48420 * elf/Makefile: Likewise.
48421 * extra-lib.mk: Likewise.
48422 * iconv/Makefile: Likewise.
48423 * include/libc-symbols.h: Likewise.
48424 * include/shlib-compat.h: Likewise.
48425 * resolv/Makefile: Likewise.
48426 * resolv/res_libc.c: Likewise.
48427 * rt/Makefile: Likewise.
48428 * sysdeps/i386/asm-syntax.h: Likewise.
48429 * sysdeps/i386/sysdep.h: Likewise.
48430 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
48431 * sysdeps/mach/sysdep.h: Likewise.
48432 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
48433 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
48434 * sysdeps/s390/asm-syntax.h: Likewise.
48435 * sysdeps/s390/s390-32/sysdep.h: Likewise.
48436 * sysdeps/s390/s390-64/sysdep.h: Likewise.
48437 * sysdeps/sh/sysdep.h: Likewise.
48438 * sysdeps/unix/sparc/sysdep.h: Likewise.
48439 * sysdeps/wordsize-32/divdi3.c: Likewise.
48440 * sysdeps/x86_64/sysdep.h: Likewise.
48442 * argp/Versions: Remove _argp_unlock_xxx.
48445 * abilist/ld.abilist: Update. Adjust for removal of tls option.
48446 * abilist/libBrokenLocale.abilist: Likewise.
48447 * abilist/libanl.abilist: Likewise.
48448 * abilist/libc.abilist: Likewise.
48449 * abilist/libcrypt.abilist: Likewise.
48450 * abilist/libdl.abilist: Likewise.
48451 * abilist/libm.abilist: Likewise.
48452 * abilist/libnsl.abilist: Likewise.
48453 * abilist/libpthread.abilist: Likewise.
48454 * abilist/libresolv.abilist: Likewise.
48455 * abilist/librt.abilist: Likewise.
48456 * abilist/libthread_db.abilist: Likewise.
48457 * abilist/libutil.abilist: Likewise.
48458 * abilist/libnss_db.abilist: New file.
48460 * scripts/abilist.awk: Add support for indirect functions.
48462 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
48464 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
48466 * shlib-versions: Remove entries for ports architectures.
48468 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
48470 * elf/stackguard-macros.h: Remove support for IA-64.
48471 * elf/tst-auditmod1.c: Likewise.
48472 * sysdeps/generic/ldsodefs.h: Likewise.
48474 * sysdeps/unix/sysv/linux/configure.in: Ports should define
48475 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
48479 * configure.in: Remove --enable-omitfp support.
48481 * config.make.in: Likewise.
48482 * Makeconfig: Likewise.
48483 * manual/install.texi: Likewise.
48485 In case anyone cares, the IA-64 architecture could move to ports.
48486 * sysdeps/ia64/*: Removed.
48487 * sysdeps/unix/sysv/linux/ia64/*: Removed.
48488 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
48491 * configure.in: Remove entries for unsupported architectures.
48494 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
48495 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
48497 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
48498 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
48499 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
48500 fall back to using wcrtomb.
48501 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
48502 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
48504 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
48505 * wcsmbs/tst-c16c32-1.c: New file.
48507 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
48510 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
48512 * elf/tst-unique3.cc: Add explicit declaration of gets.
48513 * elf/tst-unique3lib.cc: Likewise.
48514 * elf/tst-unique3lib2.cc: Likewise.
48515 * elf/tst-unique4.cc: Likewise.
48517 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
48519 2012-01-06 Joseph Myers <joseph@codesourcery.com>
48522 * assert/assert.h (static_assert): Don't define for C++.
48523 * libio/stdio.h (gets): Do declare for C++ <= C++11.
48524 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
48526 2012-01-03 Ulrich Drepper <drepper@gmail.com>
48528 * iconv/loop.c (single loop): Fix assertion in storing of
48531 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
48533 2012-01-01 Ulrich Drepper <drepper@gmail.com>
48535 * posix/getconf.c: Update copyright year.
48536 * nss/getent.c: Likewise.
48537 * nss/makedb.c: Likewise.
48538 * iconv/iconvconfig.c: Likewise.
48539 * iconv/iconv_prog.c: Likewise.
48540 * elf/ldconfig.c: Likewise.
48541 * elf/pldd.c: Likewise.
48542 * elf/sotruss.ksh: Likewise.
48543 * catgets/gencat.c: Likewise.
48544 * csu/version.c: Likewise.
48545 * elf/ldd.bash.in: Likewise.
48546 * elf/sprof.c (print_version): Likewise.
48547 * locale/programs/locale.c: Likewise.
48548 * locale/programs/localedef.c: Likewise.
48549 * login/programs/pt_chown.c: Likewise.
48550 * nscd/nscd.c (print_version): Likewise.
48551 * debug/xtrace.sh: Likewise.
48552 * malloc/memusage.sh: Likewise.
48553 * malloc/mtrace.pl: Likewise.
48554 * debug/catchsegv.sh: Likewise.
48556 2011-12-30 Jakub Jelinek <jakub@redhat.com>
48558 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
48561 2011-12-24 Ulrich Drepper <drepper@gmail.com>
48564 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
48565 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
48567 * iconv/gconv_int.h: Likewise.
48568 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
48569 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
48570 from libc for GLIBC_2.16.
48571 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
48572 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
48573 * wcsmbs/uchar.h: Really define mbstate_t.
48574 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
48575 * wcsmbs/c16rtomb.c: New file.
48576 * wcsmbs/mbrtoc16.c: New file.
48577 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
48578 for C/POSIX locale.
48579 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
48580 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
48582 * wcsmbs/wchar.h: Add missing __restrict.
48584 2011-12-23 Ulrich Drepper <drepper@gmail.com>
48587 * time/Makefile (routines): Add timespec_get.
48588 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
48589 * time/time.h: Define TIME_UTC and declare timespec_get. Define
48590 timespec for ISO C11.
48591 * time/timespec_get.c: New file.
48592 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
48593 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
48596 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
48597 * stdlib/stdlib.h: Declare aligned_alloc.
48598 * Versions.def: Add GLIBC_2.16 for libc.
48599 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
48602 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
48605 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
48609 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
48612 * assert/assert.h (static_assert): Define.
48614 * version.h: Update for 2.16 development version.
48617 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
48620 * version.h (RELEASE): Bump for 2.15 release.
48621 * include/features.h (__GLIBC_MINOR__): Bump to 15.
48623 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
48624 Patch by Marek Polacek <mpolacek@redhat.com>.
48626 * bits/byteswap.h: Protect long long constants with __extension__.
48627 * sysdeps/i386/bits/byteswap.h: Likewise.
48628 * sysdeps/ia64/bits/byteswap.h: Likewise.
48629 * sysdeps/s390/bits/byteswap.h: Likewise.
48630 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48632 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48635 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
48636 destination buffer.
48637 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
48639 2011-12-23 Marek Polacek <polacek@redhat.com>
48641 * elf/dl-addr.c (determine_info): Add inline keyword.
48642 * elf/tst-auditmod4b.c (check_avx): Likewise.
48643 * elf/tst-auditmod6b.c (check_avx): Likewise.
48644 * elf/tst-auditmod6c.c (check_avx): Likewise.
48645 * elf/tst-auditmod7b.c (check_avx): Likewise.
48647 2011-12-23 Ulrich Drepper <drepper@gmail.com>
48649 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
48652 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48655 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
48656 processing for last bytes.
48658 2011-08-06 Bruno Haible <bruno@clisp.org>
48661 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
48662 U+0385, not to U+1FEE.
48665 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
48666 entry for U+00A5 U+0301.
48668 2011-12-22 Ulrich Drepper <drepper@gmail.com>
48671 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
48672 buffer for the output is too small.
48674 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
48678 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
48679 SSE flags if possible.
48681 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48684 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
48685 processing for last bytes.
48687 2011-12-22 Joseph Myers <joseph@codesourcery.com>
48689 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
48690 (syscall-list-default-options, syscall-list-default-condition)
48691 (syscall-list-includes): Define.
48692 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
48693 list of ABIs and options and #if conditions for each ABI. Do not
48694 handle common syscalls between ABIs specially.
48695 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
48697 (syscall-list-variants, syscall-list-32bit-options)
48698 (syscall-list-32bit-condition, syscall-list-64bit-options)
48699 (syscall-list-64bit-condition): Define.
48700 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
48701 (syscall-list-variants, syscall-list-32bit-options)
48702 (syscall-list-32bit-condition, syscall-list-64bit-options)
48703 (syscall-list-64bit-condition): Define.
48704 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
48706 (syscall-list-variants, syscall-list-32bit-options)
48707 (syscall-list-32bit-condition, syscall-list-64bit-options)
48708 (syscall-list-64bit-condition): Define.
48709 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
48711 (syscall-list-variants, syscall-list-32bit-options)
48712 (syscall-list-32bit-condition, syscall-list-64bit-options)
48713 (syscall-list-64bit-condition): Define.
48715 2011-12-22 Ulrich Drepper <drepper@gmail.com>
48717 * locale/iso-639.def: Add brx entry.
48720 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
48721 Proposed by Mariusz_Cukr <marcukr@op.pl>.
48723 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
48724 __feraiseexcept_renamed.
48726 2011-12-21 Ulrich Drepper <drepper@gmail.com>
48729 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
48730 EPOLLET with unsigned values.
48731 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48732 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
48734 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
48735 to large cancellation.
48736 * math/s_cacoshf.c: Likewise.
48737 * math/s_cacoshl.c: Likewise.
48739 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
48743 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
48744 * math/s_cacoshf.c: Likewise.
48745 * math/s_cacoshl.c: Likewise.
48747 2011-12-21 Ulrich Drepper <drepper@gmail.com>
48750 * iconv/gconv.h: Define __GCONV_SWAP.
48751 * iconvdata/unicode.c: The swap bit must be stored in __flags.
48752 * iconvdata/utf-16.c: Likewise.
48753 * iconvdata/utf-32.c: Likewise.
48755 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
48758 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
48759 numerator after shifting it by one limb.
48761 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
48763 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
48764 under [__USE_EXTERN_INLINES].
48766 2011-12-17 Ulrich Drepper <drepper@gmail.com>
48769 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
48771 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48773 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
48774 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
48776 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
48777 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
48778 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
48779 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
48780 for strncasecmp/strncasecmp_l compilation.
48781 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
48782 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
48784 2011-12-08 Marek Polacek <mpolacek@redhat.com>
48787 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
48790 2011-12-17 Ulrich Drepper <drepper@gmail.com>
48793 * time/tzfile.c (__tzfile_read): Check values from file header.
48795 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
48797 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
48798 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
48799 * powerpc/powerpc32/dl-start.S: Likewise.
48800 * powerpc/powerpc32/elf/start.S: Likewise.
48801 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
48802 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
48803 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
48804 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
48805 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
48806 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
48807 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
48808 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
48809 * powerpc/powerpc32/fpu/s_round.S: Likewise.
48810 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
48811 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
48812 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
48813 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
48814 * powerpc/powerpc32/memset.S: Likewise.
48815 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
48816 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
48817 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
48818 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
48819 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
48820 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
48821 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
48822 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
48823 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
48824 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
48825 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
48826 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
48827 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
48829 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48831 * math/libm-test.inc: Added more nearbyint tests.
48832 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
48833 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
48834 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
48835 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
48837 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
48839 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
48842 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48844 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
48845 Add wcscpy-ssse3 wcscpy-c.
48846 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
48847 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
48848 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
48849 * sysdeps/x86_64/wcschr.S: New file.
48850 * sysdeps/x86_64/wcsrchr.S: New file.
48851 * string/test-strcmp.c: Remove checking of wcscmp function for
48853 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
48854 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
48855 wcsrchr-sse2 wcsrchr-c.
48856 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
48857 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
48858 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
48859 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
48860 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
48861 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
48862 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
48863 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
48864 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
48865 * wcsmbc/wcschr.c (WCSCHR): New macro.
48867 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48869 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
48870 * wcsmbs/test-wcsrchr.c: New file.
48871 * string/test-strrchr.c: Add wcsrchr support.
48873 * wcsmbs/test-wcscpy.c: New file.
48874 * string/test-strcpy.c: Add wcscpy support.
48877 2011-12-10 Ulrich Drepper <drepper@gmail.com>
48879 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
48882 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
48885 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
48887 2011-12-04 Ulrich Drepper <drepper@gmail.com>
48889 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
48890 Minor optimizations.
48892 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
48893 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
48894 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
48896 2011-12-03 Ulrich Drepper <drepper@gmail.com>
48898 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
48899 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
48900 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
48901 for gcc to avoid warnings.
48902 * inet/Makefile (tests): Add tst-checks.
48903 * inet/tst-checks.c: New file.
48905 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
48908 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
48911 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
48912 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
48914 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
48916 2011-12-02 Ulrich Drepper <drepper@gmail.com>
48918 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
48921 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
48923 2011-11-29 Joseph Myers <joseph@codesourcery.com>
48925 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
48926 conditional on GCC version.
48927 (__arch_compare_and_exchange_val_8_acq)
48928 (__arch_compare_and_exchange_val_16_acq)
48929 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
48930 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
48931 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
48933 2011-12-02 Joseph Myers <joseph@codesourcery.com>
48935 * sysdeps/sh/backtrace.c: New file.
48937 2011-12-02 Andreas Schwab <schwab@redhat.com>
48939 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
48942 2011-12-01 Andreas Schwab <schwab@redhat.com>
48944 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
48945 falling back to utime.
48947 2011-11-30 Andreas Schwab <schwab@redhat.com>
48949 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
48950 expectations for float.
48952 2011-11-29 Andreas Schwab <schwab@redhat.com>
48954 * locale/weight.h (findidx): Add parameter len.
48955 * locale/weightwc.h (findidx): Likewise.
48956 * posix/fnmatch_loop.c (FCT): Adjust caller.
48957 * posix/regcomp.c (build_equiv_class): Likewise.
48958 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
48959 * posix/regexec.c (check_node_accept_bytes): Likewise.
48960 * string/strcoll_l.c (STRCOLL): Likewise.
48961 * string/strxfrm_l.c (STRXFRM): Likewise.
48963 2011-11-17 Ulrich Drepper <drepper@gmail.com>
48965 * Makefile.in: Remove CVSOPT handling.
48966 * configure.in: Remove use of AC_REVISION.
48967 * iconvdata/Makefile (distribute): No need to filter out CVS.
48968 * scripts/list-sources.sh: Remove CVS, subversion and monotone
48971 2011-11-16 Andreas Schwab <schwab@redhat.com>
48973 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
48974 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
48975 [USE_AS_STRNCASECMP_L]: Likewise.
48976 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
48977 NO_TLS_DIRECT_SEG_REFS.
48978 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
48979 Fix argument offsets for non-PIC.
48980 [USE_AS_STRNCASECMP_L]: Likewise.
48981 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
48982 NO_TLS_DIRECT_SEG_REFS.
48984 2011-11-15 Ulrich Drepper <drepper@gmail.com>
48986 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
48988 * locale/loadlocale.c (_nl_load_locale): Likewise.
48990 2011-11-15 Andreas Schwab <schwab@redhat.com>
48992 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
48993 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
48994 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
48995 (SYSCALL_GETTIME): Set errno on error.
48997 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
48998 count references to noai6ai_cached.
49000 2011-11-15 Ulrich Drepper <drepper@gmail.com>
49002 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
49004 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
49005 FD_CLOEXEC for /proc/self/maps.
49007 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
49008 FD_CLOEXEC for /proc/meminfo.
49010 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
49013 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
49014 FD_CLOEXEC for given file.
49016 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
49018 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
49019 FD_CLOEXEC for /etc/hosts.
49020 (_gethtent): Likewise.
49022 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
49024 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
49025 cancellation and set FD_CLOEXEC for /etc/netgroup.
49027 * nss/nss_files/files-key.c (search): Don't allow cancellation when
49028 reading /etc/publickey.
49030 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
49031 allow cancellation when reading /etc/group.
49033 * nss/nss_files/files-alias.c (internal_setent): Don't allow
49035 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
49037 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
49038 when using data file.
49040 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
49042 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
49043 (write_nis_obj): Use "c" and "e" in fopen.
49045 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
49047 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
49049 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
49051 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
49053 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
49056 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
49058 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
49060 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
49062 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
49063 file parsing and set FD_CLOEXEC.
49065 2011-11-14 Ulrich Drepper <drepper@gmail.com>
49067 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
49069 2011-11-14 Andreas Schwab <schwab@redhat.com>
49071 * malloc/arena.c (arena_get2): Don't call reused_arena when
49072 _int_new_arena failed.
49074 2011-11-14 Ulrich Drepper <drepper@gmail.com>
49076 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
49077 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
49078 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
49079 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
49080 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49081 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
49082 to compile strcasecmp and strncasecmp.
49083 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
49084 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
49086 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
49088 2011-11-13 Ulrich Drepper <drepper@gmail.com>
49090 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
49091 locale-defines.sym to gen-as-const-headers.
49092 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
49093 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
49094 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
49095 to compile strcasecmp and strncasecmp.
49096 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
49097 strcasecmp_l and strncasecmp_l.
49098 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
49099 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
49100 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
49101 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
49102 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
49103 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
49104 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
49105 * sysdeps/i386/i686/multiarch/strncase.S: New file.
49106 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
49107 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
49108 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
49110 2011-11-12 Ulrich Drepper <drepper@gmail.com>
49112 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
49113 result of SYSDEP_GETTIME_CPU to retval.
49114 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
49115 parameter list to macro. Remove trailing semicolon. Adjust users.
49117 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
49120 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
49122 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
49124 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
49125 from unused variable.
49127 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
49129 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
49132 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
49135 * sunrpc/rpc_prot.c (rejected): Fix case value.
49137 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
49138 unsigned long long int to avoid warnings in shift.
49140 * posix/regex_internal.c (re_string_reconstruct): Actually use result
49142 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
49145 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
49146 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
49147 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
49149 * nis/nis_table.c (nis_list): Use variable of correct type for
49150 result of __follow_path call.
49152 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49154 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
49155 of math functions ceil, trunc, floor, round, and sqrt, when
49156 avaliable on the platform.
49157 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
49159 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
49160 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
49161 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
49163 2011-10-30 Marek Polacek <mpolacek@redhat.com>
49165 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
49166 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
49168 2011-11-11 Roland McGrath <roland@hack.frob.com>
49170 * include/unistd.h: Fix __readlink return type.
49171 Reported by Chris Metcalf <cmetcalf@tilera.com>.
49173 2011-11-11 Ulrich Drepper <drepper@gmail.com>
49175 * stdlib/ucontext.h: Undo last change for makecontext.
49177 2011-11-11 Andreas Schwab <schwab@redhat.com>
49179 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
49181 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
49182 * setjmp/setjmp.h: Mark functions as non-leaf.
49183 * setjmp/bits/setjmp2.h: Likewise.
49184 * stdlib/ucontext.h: Likewise.
49186 2011-11-10 Andreas Schwab <schwab@redhat.com>
49188 * malloc/arena.c (_int_new_arena): Don't increment narenas.
49189 (reused_arena): Don't check arena limit.
49190 (arena_get2): Atomically check arena limit.
49192 2011-11-08 Ulrich Drepper <drepper@gmail.com>
49194 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
49195 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
49197 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
49200 2011-11-07 Andreas Schwab <schwab@redhat.com>
49202 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
49203 handler when locking.
49205 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
49206 Fix size of allocated buffer.
49208 2011-11-04 Andreas Schwab <schwab@redhat.com>
49211 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
49212 declarations for long double functions.
49213 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
49215 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
49217 2011-11-03 Andreas Schwab <schwab@redhat.com>
49219 * nscd/nscd.c (main): Don't start AVC thread until credentials are
49222 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
49225 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
49227 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
49229 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
49231 * include/alloca.h (stackinfo_alloca_round): Define.
49232 (extend_alloca): Use it.
49233 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
49234 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
49237 * scripts/check-local-headers.sh: Ignore libaudit.h.
49239 * nscd/Makefile (extra-objs): Make recursively expanded.
49241 2011-11-01 Ulrich Drepper <drepper@gmail.com>
49243 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
49244 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
49246 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
49247 * posix/tst-rfc3484-2.c: Likewise.
49248 * posix/tst-rfc3484-3.c: Likewise.
49250 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
49252 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
49254 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
49255 process_vm_writev from libc using GLIBC_2.15 version.
49257 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
49259 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
49261 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
49264 2011-10-31 Ulrich Drepper <drepper@gmail.com>
49267 * nss/getent.c (initgroups_keys): Show error message in case no group
49270 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
49271 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
49272 __bump_nl_timestamp.
49273 * nscd/connections (nscd_init): When host database is served open
49274 netlink socket and request notification about configuration changes.
49275 (main_loop_poll): Track netlink file descriptor and bump timestamp
49276 in case data becomes available.
49277 (main_loop_epoll): Likewise.
49278 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
49279 (database_pers_head): Add extra_data fileds.
49280 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
49281 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
49282 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
49284 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
49285 in6ai data, call __free_in6ai.
49286 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
49287 Add -DHAVE_NETLINK.
49288 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
49289 interface information. Reuse previous data if netlink timestamp
49291 (__bump_nl_timestamp): New function.
49292 (__free_in6ai): New function.
49294 2011-10-30 Ulrich Drepper <drepper@gmail.com>
49296 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
49297 close_not_cancel_no_status here.
49298 (__check_pf): Reorganize code a bit to not call close twice if OOM.
49300 2011-10-29 Ulrich Drepper <drepper@gmail.com>
49303 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
49306 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
49307 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
49308 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
49310 2011-07-03 Andreas Jaeger <aj@suse.de>
49313 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
49314 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
49315 * math/libm-test.inc (sin_test): Add test case.
49317 2011-10-29 Ulrich Drepper <drepper@gmail.com>
49320 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
49321 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
49323 * elf/chroot_canon.c (chroot_canon): Cleanups.
49325 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
49328 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
49329 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
49331 * string/test-strchr.c: Make usable for strchrnul testing.
49332 * string/test-strchrnul.c: New file.
49333 * string/Makefile (strop-tests): Add strchrnul.
49335 * po/it.po: Update from translation team.
49336 * po/es.po: Likewise.
49338 2011-10-28 Ulrich Drepper <drepper@gmail.com>
49340 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
49341 the three constants needed as parameters. Drop the others.
49342 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
49343 __m128i_strloadu_tolower.
49344 Create and initialize variable zero and use it in all the places
49345 where _mm_setzero_si128 was used.
49347 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
49348 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
49349 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
49350 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
49352 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
49353 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
49354 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
49355 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
49356 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
49357 __mpranred, __mptan.
49358 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
49359 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
49360 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
49361 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
49362 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
49363 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
49364 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
49365 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
49366 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
49368 2011-10-28 Andreas Schwab <schwab@redhat.com>
49370 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
49371 redefine if SHARED.
49372 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
49374 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
49375 wide char related routines to wcsmbs subdir.
49377 2011-10-27 Andreas Schwab <schwab@redhat.com>
49380 * misc/sys/cdefs.h (__THROWNL): Define.
49381 * posix/unistd.h: Use __THREADNL instead of __THREAD
49382 for memory synchronization functions.
49384 2011-10-26 Roland McGrath <roland@hack.frob.com>
49387 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
49389 * manual/stdio.texi (Obstack Streams): Node removed.
49391 2011-10-26 Andreas Schwab <schwab@redhat.com>
49393 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
49394 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
49395 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
49397 * math/math_private.h (math_force_eval): Allow non-addressable
49399 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
49401 2011-10-25 Ulrich Drepper <drepper@gmail.com>
49403 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
49404 file is not needed.
49406 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
49407 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
49408 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49409 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49410 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49411 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49412 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49413 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
49415 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
49416 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
49417 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
49418 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
49419 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
49420 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
49421 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
49422 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
49423 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
49424 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
49425 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
49426 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
49427 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
49428 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
49429 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
49430 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
49431 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
49432 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
49433 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
49435 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
49436 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
49438 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
49439 place. Use VEX encoding when compiling for AVX.
49441 2011-10-25 Andreas Schwab <schwab@redhat.com>
49443 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
49444 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
49446 * string/test-strchr.c (do_test): Don't generate NUL bytes.
49448 2011-10-25 Ulrich Drepper <drepper@gmail.com>
49450 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
49451 useless if() expression.
49452 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49453 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
49454 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
49455 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49456 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
49457 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
49458 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
49459 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49460 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
49461 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49462 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
49463 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
49464 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
49465 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
49466 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
49467 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
49468 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49469 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49470 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
49472 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
49474 2011-10-25 Andreas Schwab <schwab@redhat.com>
49476 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
49478 * elf/dl-fini.c (_dl_sort_fini): Likewise.
49480 2011-10-25 Ulrich Drepper <drepper@gmail.com>
49482 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
49483 .text section. Avoid duplicate constants.
49484 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
49485 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49486 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49487 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49488 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49489 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49490 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49491 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49492 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
49493 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
49494 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
49495 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
49496 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
49497 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
49498 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
49499 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
49500 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
49501 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
49502 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49503 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49504 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
49505 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
49506 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
49507 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
49508 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
49509 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
49510 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
49511 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
49512 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
49513 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
49514 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
49515 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
49516 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
49517 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
49518 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
49519 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
49520 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
49521 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
49522 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
49523 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
49524 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
49525 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
49526 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
49527 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
49528 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
49530 2011-10-24 Ulrich Drepper <drepper@gmail.com>
49532 * sysdeps/x86_64/dla.h: Move to ...
49533 * sysdeps/x86_64/fpu/dla.h: ...here.
49534 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
49535 situations. Use __builtin_fma only for gcc 4.6 and up.
49537 * config.make.in: Add have-mfma4 entry.
49538 * configure.in: Substitute libc_cv_cc_fma4.
49539 * math/Makefile (dbl-only-routines): Add sincostab.
49540 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
49541 Use __sincostab not sincos.
49542 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
49544 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49545 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49546 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49547 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
49549 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
49550 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
49551 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
49552 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
49554 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
49555 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
49557 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
49558 define aliases when function name is a macro.
49559 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
49560 sysdeps/ieee754/dbl-64/sincos.tbl.
49561 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
49562 fma4-enabled routines.
49563 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
49564 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
49565 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
49566 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
49567 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
49568 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
49569 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
49570 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
49571 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
49572 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
49573 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
49574 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
49575 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
49576 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
49577 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
49578 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
49579 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
49580 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
49581 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
49582 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
49583 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
49584 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
49585 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
49586 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
49587 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
49588 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
49589 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
49590 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
49591 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
49592 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
49594 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
49596 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49597 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49598 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49599 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49600 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49601 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49602 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49603 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49605 2011-10-24 Andreas Schwab <schwab@redhat.com>
49607 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
49609 2011-10-23 Ulrich Drepper <drepper@gmail.com>
49611 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
49613 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
49615 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
49617 * string/strnlen.c: Don't define STRNLEN, reverse logic.
49618 Remove unused variable magic_bits.
49619 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
49621 * string/strnlen.c: Define and use STRNLEN macro.
49622 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
49623 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
49624 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
49625 * wcsmbs/wcslen.c: Define and use WCSLEN.
49626 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
49627 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
49628 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
49629 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
49630 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
49631 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
49632 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
49634 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49636 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49637 strnlen-sse2-no-bsf.
49638 Rename strlen-no-bsf to strlen-sse2-no-bsf.
49639 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
49640 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
49641 Add strnlen support.
49642 (USE_AS_STRNLEN): New macro.
49643 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
49644 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
49645 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
49646 * sysdeps/x86_64/wcslen.S: New file.
49648 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
49650 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
49651 XMM-moves are used for copying on small sizes.
49653 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49655 * wcsmbs/Makefile (strop-tests): Add wcschr.
49656 * wcsmbs/test-wcschr.c: New file.
49657 * string/test-strchr.c: Update.
49658 Add wcschr support.
49661 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49663 * wcsmbs/Makefile (strop-tests): Add wcslen.
49664 * wcsmbs/test-wcslen.c: New file.
49665 * string/test-strlen.c: Update.
49666 Add wcslen support.
49669 2011-10-23 Ulrich Drepper <drepper@gmail.com>
49671 * po/it.po: Update from translation team.
49673 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49675 * sysdeps/x86_64/wcscmp.S: Update.
49676 Fix wrong comparison semantics.
49677 wcscmp shall use signed comparison not unsigned.
49678 Don't use substraction to avoid overflow bug.
49679 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
49680 * wcsmbc/wcscmp.c: Likewise.
49681 * string/test-strcmp.c: Likewise.
49682 Add new tests to check cases with negative values.
49684 2011-10-23 Ulrich Drepper <drepper@gmail.com>
49686 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
49687 * sysdeps/x86_64/dla.h: ...here. New file.
49688 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
49689 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49690 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49691 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49692 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49693 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49694 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49695 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49696 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49698 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
49700 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
49701 __ynl_finite aliases.
49703 2011-10-22 Ulrich Drepper <drepper@gmail.com>
49705 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49707 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
49709 [DLA_FMA] (EMULV): Use DLA_FMA.
49710 [DLA_FMA] (MUL12): Use EMULV.
49711 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
49712 that are not needed.
49713 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49714 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49715 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49716 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49717 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49718 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49719 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49721 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
49723 * math/s_nan.c: Undef __nan.
49724 * math/s_nanf.c: Undef __nanf.
49725 * math/s_nanl.c: Undef __nanl.
49726 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
49729 2011-10-22 Ulrich Drepper <drepper@gmail.com>
49731 * math/s_catan.c: Add branch predictions.
49732 * math/s_catanf.c: Likewise.
49733 * math/s_catanh.c: Likewise.
49734 * math/s_catanhf.c: Likewise.
49735 * math/s_catanhl.c: Likewise.
49736 * math/s_catanl.c: Likewise.
49737 * math/s_cexp.c: Likewise.
49738 * math/s_cexpf.c: Likewise.
49739 * math/s_cexpl.c: Likewise.
49740 * math/s_clog.c: Likewise.
49741 * math/s_clog10.c: Likewise.
49742 * math/s_clog10f.c: Likewise.
49743 * math/s_clog10l.c: Likewise.
49744 * math/s_clogf.c: Likewise.
49745 * math/s_clogl.c: Likewise.
49746 * math/s_csqrt.c: Likewise.
49747 * math/s_csqrtf.c: Likewise.
49748 * math/s_csqrtl.c: Likewise.
49749 * math/s_ctanf.c: Likewise.
49750 * math/s_ctanh.c: Likewise.
49751 * math/s_ctanhf.c: Likewise.
49752 * math/s_ctanhl.c: Likewise.
49753 * math/s_ctanl.c: Likewise.
49755 * math/math_private.h: Define __nan, __nanf, __nanl.
49756 * math/s_cacosh.c: Include <math_private.h>.
49757 * math/s_cacoshl.c: Likewise.
49758 * math/s_casinh.c: Likewise.
49759 * math/s_casinhf.c: Likewise.
49760 * math/s_casinhl.c: Likewise.
49761 * math/s_ccos.c: Rely entire on ccosh.
49762 * math/s_ccosf.c: Rely entire on ccoshf.
49763 * math/s_ccosl.c: Rely entirely on ccoshl.
49764 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
49765 Remove tests for FE_INVALID.
49766 * math/s_ccoshf.c: Likewise.
49767 * math/s_ccoshl.c: Likewise.
49768 * math/s_csin.c: Likewise.
49769 * math/s_csinf.c: Likewise.
49770 * math/s_csinh.c Likewise.
49771 * math/s_csinhf.c: Likewise.
49772 * math/s_csinhl.c: Likewise.
49773 * math/s_csinl.c: Likewise.
49774 * math/s_ctan.c: Likewise.
49775 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
49776 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
49777 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
49779 2011-10-21 Ulrich Drepper <drepper@gmail.com>
49781 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
49782 compilation problems.
49784 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
49787 2011-10-20 Ulrich Drepper <drepper@gmail.com>
49789 * sysdeps/i386/configure.in: Test for -mfma4 option.
49790 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
49791 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
49792 COMMON_CPUID_INDEX_80000001.
49793 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
49794 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
49795 use it if FMA3 is not supported.
49796 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
49798 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
49799 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49801 2011-10-20 Andreas Schwab <schwab@redhat.com>
49804 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
49805 it would create a cycle with a link time dependency.
49807 2011-10-19 Ulrich Drepper <drepper@gmail.com>
49809 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
49811 * string/Makefile (strop-tests): Add rawmemchr.
49812 * string/test-rawmemchr.c: New file.
49814 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
49815 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
49816 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
49817 when compiling str{,n}casecmp and when AVX is available. Hook up
49818 new optimized code in initializers.
49820 2011-10-19 Andreas Schwab <schwab@redhat.com>
49822 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
49823 __feraiseexcept instead of feraiseexcept.
49825 2011-10-18 Ulrich Drepper <drepper@gmail.com>
49827 * math/math_private.h: Define defaults for libc_fetestexcept and
49829 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
49830 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
49831 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
49832 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
49833 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
49834 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
49835 libc_fetestexcept and libc_feupdateenv.
49837 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
49838 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
49839 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
49840 * sysdeps/x86_64/fpu/math_private.h: Define special version of
49841 libc_feholdexcept_setround.
49843 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
49844 Add s_nearbyint-c and s_nearbyintf-c.
49845 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
49846 nearbyintf inlines.
49847 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
49848 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
49849 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
49850 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
49852 * math/math_private.h: Define defaults for libc_fegetround,
49853 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
49854 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
49855 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
49856 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
49857 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
49858 standard functions.
49859 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
49860 Remove comments and hacks for old compiler versions.
49861 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
49862 libc_fegetround, libc_fesetround, libc_feholdexcept, and
49863 libc_feholdexceptl.
49865 2011-10-18 Andreas Schwab <schwab@redhat.com>
49867 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
49868 (__feraiseexcept_renamed): Add __NTH.
49869 (feraiseexcept): Add __NTH. Rename local variables to fix
49870 namespace violations.
49872 2011-10-17 Ulrich Drepper <drepper@gmail.com>
49874 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
49876 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
49878 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
49879 recently added interfaces.
49880 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
49882 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
49883 about macro parameter expansion.
49885 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
49886 __NO_MATH_INLINES is defined. Cleanups.
49888 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
49889 and __floorf is target has SSE4.1.
49890 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
49891 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
49892 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
49893 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
49895 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
49897 (floorf): Likewise.
49899 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
49901 2011-10-17 Andreas Schwab <schwab@redhat.com>
49903 * misc/sys/cdefs.h: Fix last change.
49905 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
49908 2011-10-16 Ulrich Drepper <drepper@gmail.com>
49910 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
49912 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
49913 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49914 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
49915 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
49916 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49917 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
49918 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
49919 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
49920 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
49921 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
49922 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
49923 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
49924 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
49925 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
49926 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
49927 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
49928 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
49929 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
49930 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
49931 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
49932 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
49933 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
49935 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
49936 ceil, ceilf, floor, floorf.
49938 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
49939 Perform IRELATIVE relocations last.
49941 * elf/do-rel.h: Add another parameter nrelative, replacing the
49942 local variable with the same name. Change name of the function
49943 to end in Rel or Rela (uppercase).
49944 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
49945 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
49946 elf_dynamic_do_##reloc function.
49948 2011-10-15 Ulrich Drepper <drepper@gmail.com>
49950 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
49951 is sufficient, at least on modern CPUs.
49953 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
49955 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
49956 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
49958 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
49960 * math/bits/math-finite.h: Add entries for exp.
49961 * math/e_expl.c: Add __*_finite alias.
49962 * sysdeps/i386/fpu/e_exp.S: Likewise.
49963 * sysdeps/i386/fpu/e_expf.S: Likewise.
49964 * sysdeps/i386/fpu/e_expl.c: Likewise.
49965 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49966 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
49967 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
49968 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
49969 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
49970 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
49971 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
49973 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
49974 is sufficient, at least on modern CPUs.
49976 * ctype/ctype-info.c (__ctype_init): Define.
49977 * include/ctype.h (__ctype_init): Declare.
49978 (__ctype_b_loc): The variable is always initialized.
49979 (__ctype_toupper_loc): Likewise.
49980 (__ctype_tolower_loc): Likewise.
49981 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
49982 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
49984 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
49986 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
49988 * configure.in: Also look in $cxxmachine/include for C++ system
49991 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49993 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
49994 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
49995 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
49996 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
49997 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
49998 (USE_AS_WMEMCMP): New macro.
50000 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
50001 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
50002 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
50003 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
50004 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50005 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
50006 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
50007 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
50008 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
50009 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
50010 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
50011 (USE_AS_WMEMCMP): New macro.
50012 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
50013 * sysdeps/string/test-memcmp.c: Update.
50014 Fix simple_wmemcmp.
50016 * wcsmbs/wmemcmp.c: Update.
50017 (WMEMCMP): New macro.
50020 2011-10-12 Andreas Jaeger <aj@suse.de>
50023 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
50025 2011-10-15 Ulrich Drepper <drepper@gmail.com>
50027 * libio/iofwide.c (do_length): Avoid warning.
50029 * ctype/ctype.h (__isctype_f): Add missing __THROW.
50031 2011-10-14 Ulrich Drepper <drepper@gmail.com>
50033 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
50035 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
50036 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
50037 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
50038 * sysdeps/i386/i686/fpu/e_log.S: New file.
50039 * sysdeps/i386/i686/fpu/e_logf.S: New file.
50040 * sysdeps/i386/i686/fpu/e_logl.S: New file.
50042 * ctype/ctype.h: Add support for inlined isXXX functions when
50043 compiling C++ code.
50045 2011-10-14 Andreas Schwab <schwab@redhat.com>
50047 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50049 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
50051 2011-10-13 Roland McGrath <roland@hack.frob.com>
50054 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
50056 2011-10-13 Andreas Schwab <schwab@redhat.com>
50058 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
50059 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
50062 * sysdeps/x86_64/memrchr.S: Check for zero size.
50064 * string/stratcliff.c: Add memrchr tests.
50066 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50068 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50069 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
50070 rawmemchr-sse2 rawmemchr-sse2-bsf.
50071 * sysdeps/i386/i686/multiarch/memchr.S: New file.
50072 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
50073 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
50074 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
50075 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
50076 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
50077 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
50078 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
50079 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
50080 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
50081 * string/memrchr.c (MEMRCHR): New macro.
50083 2011-10-12 Ulrich Drepper <drepper@gmail.com>
50085 Add integration with gcc's -ffinite-math-only and optimize wrapper
50087 * Versions.def: Define GLIBC_2.15 version for libm.
50088 * math/Makefile (headers): Add bits/math-finite.h.
50089 * math/bits/math-finite.h: New file.
50090 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
50091 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
50092 * math/e_acoshl.c: Add __*_finite alias.
50093 * math/e_acosl.c: Likewise.
50094 * math/e_asinl.c: Likewise.
50095 * math/e_atan2l.c: Likewise.
50096 * math/e_atanhl.c: Likewise.
50097 * math/e_coshl.c: Likewise.
50098 * math/e_exp10.c: Likewise.
50099 * math/e_exp10f.c: Likewise.
50100 * math/e_exp10l.c: Likewise.
50101 * math/e_exp2l.c: Likewise.
50102 * math/e_fmodl.c: Likewise.
50103 * math/e_gammal_r.c: Likewise.
50104 * math/e_hypotl.c: Likewise.
50105 * math/e_j0l.c: Likewise.
50106 * math/e_j1l.c: Likewise.
50107 * math/e_jnl.c: Likewise.
50108 * math/e_lgammal_r.c: Likewise.
50109 * math/e_log10l.c: Likewise.
50110 * math/e_log2l.c: Likewise.
50111 * math/e_logl.c: Likewise.
50112 * math/e_powl.c: Likewise.
50113 * math/e_sinhl.c: Likewise.
50114 * math/e_sqrtl.c: Likewise.
50115 * math/e_scalb.c: Completely rewritten and optimized.
50116 * math/e_scalbf.c: Likewise.
50117 * math/e_scalbl.c: Likewise.
50118 * math/w_acos.c: Likewise.
50119 * math/w_acosf.c: Likewise.
50120 * math/w_acosl.c: Likewise.
50121 * math/w_acosh.c: Likewise.
50122 * math/w_acoshf.c: Likewise.
50123 * math/w_acoshl.c: Likewise.
50124 * math/w_asin.c: Likewise.
50125 * math/w_asinf.c: Likewise.
50126 * math/w_asinl.c: Likewise.
50127 * math/w_atan2.c: Likewise.
50128 * math/w_atan2f.c: Likewise.
50129 * math/w_atan2l.c: Likewise.
50130 * math/w_atanh.c: Likewise.
50131 * math/w_atanhf.c: Likewise.
50132 * math/w_atanhl.c: Likewise.
50133 * math/w_exp10.c: Likewise.
50134 * math/w_exp10f.c: Likewise.
50135 * math/w_exp10l.c: Likewise.
50136 * math/w_fmod.c: Likewise.
50137 * math/w_fmodf.c: Likewise.
50138 * math/w_fmodl.c: Likewise.
50139 * math/w_j0.c: Likewise.
50140 * math/w_j0f.c: Likewise.
50141 * math/w_j0l.c: Likewise.
50142 * math/w_j1.c: Likewise.
50143 * math/w_j1f.c: Likewise.
50144 * math/w_j1l.c: Likewise.
50145 * math/w_jn.c: Likewise.
50146 * math/w_jnf.c: Likewise.
50147 * math/w_log.c: Likewise.
50148 * math/w_logf.c: Likewise.
50149 * math/w_logl.c: Likewise.
50150 * math/w_log10.c: Likewise.
50151 * math/w_log10f.c: Likewise.
50152 * math/w_log10l.c: Likewise.
50153 * math/w_log2.c: Likewise.
50154 * math/w_log2f.c: Likewise.
50155 * math/w_log2l.c: Likewise.
50156 * math/w_pow.c: Likewise.
50157 * math/w_powf.c: Likewise.
50158 * math/w_powl.c: Likewise.
50159 * math/w_remainder.c: Likewise.
50160 * math/w_remainderf.c: Likewise.
50161 * math/w_remainderl.c: Likewise.
50162 * math/w_scalb.c: Likewise.
50163 * math/w_scalbf.c: Likewise.
50164 * math/w_scalbl.c: Likewise.
50165 * math/w_sqrt.c: Likewise.
50166 * math/w_sqrtf.c: Likewise.
50167 * math/w_sqrtl.c: Likewise.
50168 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
50169 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
50171 * math/math_private.h: Declare __kernel_standard_f.
50172 * math/w_cosh.c: Remove cruft and optimize a bit.
50173 * math/w_coshf.c: Likewise.
50174 * math/w_coshl.c: Likewise.
50175 * math/w_exp2.c: Likewise.
50176 * math/w_exp2f.c: Likewise.
50177 * math/w_exp2l.c: Likewise.
50178 * math/w_hypot.c: Likewise.
50179 * math/w_hypotf.c: Likewise.
50180 * math/w_hypotl.c: Likewise.
50181 * math/w_lgamma.c: Likewise.
50182 * math/w_lgamma_r.c: Likewise.
50183 * math/w_lgammaf.c: Likewise.
50184 * math/w_lgammaf_r.c: Likewise.
50185 * math/w_lgammal.c: Likewise.
50186 * math/w_lgammal_r.c: Likewise.
50187 * math/w_sinh.c: Likewise.
50188 * math/w_sinhf.c: Likewise.
50189 * math/w_sinhl.c: Likewise.
50190 * math/w_tgamma.c: Likewise.
50191 * math/w_tgammaf.c: Likewise.
50192 * math/w_tgammal.c: Likewise.
50193 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
50194 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50195 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
50196 Minor optimizations. Pretty printing. Remove cruft.
50197 * sysdeps/i386/fpu/e_acosf.S: Likewise.
50198 * sysdeps/i386/fpu/e_acosh.S: Likewise.
50199 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
50200 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
50201 * sysdeps/i386/fpu/e_acosl.c: Likewise.
50202 * sysdeps/i386/fpu/e_asin.S: Likewise.
50203 * sysdeps/i386/fpu/e_asinf.S: Likewise.
50204 * sysdeps/i386/fpu/e_atan2.S: Likewise.
50205 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
50206 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
50207 * sysdeps/i386/fpu/e_atanh.S: Likewise.
50208 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
50209 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
50210 * sysdeps/i386/fpu/e_exp10.S: Likewise.
50211 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
50212 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
50213 * sysdeps/i386/fpu/e_exp2.S: Likewise.
50214 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
50215 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
50216 * sysdeps/i386/fpu/e_fmod.S: Likewise.
50217 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
50218 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
50219 * sysdeps/i386/fpu/e_hypot.S: Likewise.
50220 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
50221 * sysdeps/i386/fpu/e_log.S: Likewise.
50222 * sysdeps/i386/fpu/e_log10.S: Likewise.
50223 * sysdeps/i386/fpu/e_log10f.S: Likewise.
50224 * sysdeps/i386/fpu/e_log10l.S: Likewise.
50225 * sysdeps/i386/fpu/e_log2.S: Likewise.
50226 * sysdeps/i386/fpu/e_log2f.S: Likewise.
50227 * sysdeps/i386/fpu/e_log2l.S: Likewise.
50228 * sysdeps/i386/fpu/e_logf.S: Likewise.
50229 * sysdeps/i386/fpu/e_logl.S: Likewise.
50230 * sysdeps/i386/fpu/e_pow.S: Likewise.
50231 * sysdeps/i386/fpu/e_powf.S: Likewise.
50232 * sysdeps/i386/fpu/e_powl.S: Likewise.
50233 * sysdeps/i386/fpu/e_remainder.S: Likewise.
50234 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
50235 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
50236 * sysdeps/i386/fpu/e_scalb.S: Likewise.
50237 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
50238 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
50239 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
50240 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
50241 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
50242 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
50243 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50244 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50245 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
50246 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
50247 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
50248 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
50249 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
50250 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50251 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
50252 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
50253 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
50254 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50255 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
50256 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
50257 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50258 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
50259 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
50260 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50261 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50262 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
50263 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
50264 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50265 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50266 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
50267 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
50268 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
50269 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
50270 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
50271 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
50272 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50273 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
50274 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50275 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
50276 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
50277 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
50278 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
50279 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
50280 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
50281 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
50282 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
50283 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
50284 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
50285 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
50286 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50287 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
50288 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
50289 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
50290 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
50291 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
50292 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
50293 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
50294 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
50295 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50296 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
50297 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
50298 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
50299 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
50300 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
50301 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
50302 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
50303 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
50304 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50305 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50306 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
50307 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
50308 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
50309 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
50310 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
50311 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
50312 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
50313 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
50314 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
50315 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
50316 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
50317 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
50318 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
50319 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
50320 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50321 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
50322 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50323 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
50324 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
50325 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50326 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50327 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
50328 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50329 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
50330 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
50331 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
50332 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50333 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
50334 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50335 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
50336 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50337 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
50338 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
50339 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
50340 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
50341 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
50342 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
50343 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
50344 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
50345 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
50346 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
50347 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
50348 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
50349 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50350 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
50351 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
50352 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
50353 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
50354 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
50355 (__isnanf): Likewise.
50356 (__isinf_ns): Likewise.
50357 (__isinf_nsf): Likewise.
50358 (__finite): Likewise.
50359 (__finitef): Likewise.
50360 (__ieee754_sqrt): Define as macro.
50361 (__ieee754_sqrtf): Define as macro.
50362 (__ieee754_sqrtl): Define as macro.
50363 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
50365 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
50366 __FINITE_MATH_ONLY__ consistent.
50367 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
50369 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
50371 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
50374 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
50376 2011-10-09 Ulrich Drepper <drepper@gmail.com>
50378 * po/ja.po: Update from translation team.
50380 2011-10-08 Roland McGrath <roland@hack.frob.com>
50382 * locale/programs/locarchive.c (prepare_address_space): New function.
50383 (create_archive, enlarge_archive, open_archive): Use it.
50385 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
50386 inside [SHARED], where it is used.
50388 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
50390 * nss/getent.c (netgroup_keys): Remove unused variable.
50391 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
50393 2011-10-08 Ulrich Drepper <drepper@gmail.com>
50395 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
50396 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
50397 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
50398 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
50399 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
50400 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
50401 * math/Makefile (libm-calls): Add s_isinf_ns.
50402 * math/divtc3.c: Use __isinf_nsl instead of isinf.
50403 * math/multc3.c: Likewise.
50404 * math/s_casin.c: Likewise.
50405 * math/s_casinf.c: Likewise.
50406 * math/s_casinl.c: Likewise.
50407 * math/s_ccos.c: Likewise.
50408 * math/s_ccosf.c: Likewise.
50409 * math/s_ccosl.c: Likewise.
50410 * math/s_ctan.c: Likewise.
50411 * math/s_ctanf.c: Likewise.
50412 * math/s_ctanh.c: Likewise.
50413 * math/s_ctanhf.c: Likewise.
50414 * math/s_ctanhl.c: Likewise.
50415 * math/s_ctanl.c: Likewise.
50416 * math/w_fmod.c: Likewise.
50417 * math/w_fmodf.c: Likewise.
50418 * math/w_fmodl.c: Likewise.
50419 * math/w_remainder.c: Likewise.
50420 * math/w_remainderf.c: Likewise.
50421 * math/w_remainderl.c: Likewise.
50422 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
50423 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
50424 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
50425 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
50426 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
50427 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
50428 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
50429 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
50431 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
50433 * stdio-common/printf_fphex.c: Likewise.
50434 * stdio-common/printf_size.c: Likewise.
50436 * math/e_exp10.c: Include math_private.h using <...> not "...".
50437 * math/e_exp10f.c: Likewise.
50438 * math/e_exp10l.c: Likewise.
50439 * math/e_exp2l.c: Likewise.
50440 * math/e_j0l.c: Likewise.
50441 * math/e_j1l.c: Likewise.
50442 * math/e_jnl.c: Likewise.
50443 * math/e_lgammal_r.c: Likewise.
50444 * math/e_rem_pio2l.c: Likewise.
50445 * math/e_scalb.c: Likewise.
50446 * math/e_scalbf.c: Likewise.
50447 * math/e_scalbl.c: Likewise.
50448 * math/k_cosl.c: Likewise.
50449 * math/k_sinl.c: Likewise.
50450 * math/k_tanl.c: Likewise.
50451 * math/s_cacoshf.c: Likewise.
50452 * math/s_catan.c: Likewise.
50453 * math/s_catanf.c: Likewise.
50454 * math/s_catanh.c: Likewise.
50455 * math/s_catanhf.c: Likewise.
50456 * math/s_catanhl.c: Likewise.
50457 * math/s_catanl.c: Likewise.
50458 * math/s_ccosh.c: Likewise.
50459 * math/s_ccoshf.c: Likewise.
50460 * math/s_ccoshl.c: Likewise.
50461 * math/s_cexp.c: Likewise.
50462 * math/s_cexpf.c: Likewise.
50463 * math/s_cexpl.c: Likewise.
50464 * math/s_clog.c: Likewise.
50465 * math/s_clog10.c: Likewise.
50466 * math/s_clog10f.c: Likewise.
50467 * math/s_clog10l.c: Likewise.
50468 * math/s_clogf.c: Likewise.
50469 * math/s_clogl.c: Likewise.
50470 * math/s_csin.c: Likewise.
50471 * math/s_csinf.c: Likewise.
50472 * math/s_csinh.c: Likewise.
50473 * math/s_csinhf.c: Likewise.
50474 * math/s_csinhl.c: Likewise.
50475 * math/s_csinl.c: Likewise.
50476 * math/s_csqrt.c: Likewise.
50477 * math/s_csqrtf.c: Likewise.
50478 * math/s_csqrtl.c: Likewise.
50479 * math/s_ctan.c: Likewise.
50480 * math/s_ctanf.c: Likewise.
50481 * math/s_ctanh.c: Likewise.
50482 * math/s_ctanhf.c: Likewise.
50483 * math/s_ctanhl.c: Likewise.
50484 * math/s_ctanl.c: Likewise.
50485 * math/s_ldexp.c: Likewise.
50486 * math/s_ldexpf.c: Likewise.
50487 * math/s_ldexpl.c: Likewise.
50488 * math/s_significand.c: Likewise.
50489 * math/s_significandf.c: Likewise.
50490 * math/s_significandl.c: Likewise.
50491 * math/w_acos.c: Likewise.
50492 * math/w_acosf.c: Likewise.
50493 * math/w_acosh.c: Likewise.
50494 * math/w_acoshf.c: Likewise.
50495 * math/w_acoshl.c: Likewise.
50496 * math/w_acosl.c: Likewise.
50497 * math/w_asin.c: Likewise.
50498 * math/w_asinf.c: Likewise.
50499 * math/w_asinl.c: Likewise.
50500 * math/w_atan2.c: Likewise.
50501 * math/w_atan2f.c: Likewise.
50502 * math/w_atan2l.c: Likewise.
50503 * math/w_atanh.c: Likewise.
50504 * math/w_atanhf.c: Likewise.
50505 * math/w_atanhl.c: Likewise.
50506 * math/w_cosh.c: Likewise.
50507 * math/w_coshf.c: Likewise.
50508 * math/w_coshl.c: Likewise.
50509 * math/w_dremf.c: Likewise.
50510 * math/w_exp10.c: Likewise.
50511 * math/w_exp10f.c: Likewise.
50512 * math/w_exp10l.c: Likewise.
50513 * math/w_exp2.c: Likewise.
50514 * math/w_exp2f.c: Likewise.
50515 * math/w_fmod.c: Likewise.
50516 * math/w_fmodf.c: Likewise.
50517 * math/w_fmodl.c: Likewise.
50518 * math/w_hypot.c: Likewise.
50519 * math/w_hypotf.c: Likewise.
50520 * math/w_hypotl.c: Likewise.
50521 * math/w_j0.c: Likewise.
50522 * math/w_j0f.c: Likewise.
50523 * math/w_j0l.c: Likewise.
50524 * math/w_j1.c: Likewise.
50525 * math/w_j1f.c: Likewise.
50526 * math/w_j1l.c: Likewise.
50527 * math/w_jn.c: Likewise.
50528 * math/w_jnf.c: Likewise.
50529 * math/w_jnl.c: Likewise.
50530 * math/w_lgamma.c: Likewise.
50531 * math/w_lgamma_r.c: Likewise.
50532 * math/w_lgammaf.c: Likewise.
50533 * math/w_lgammaf_r.c: Likewise.
50534 * math/w_lgammal.c: Likewise.
50535 * math/w_lgammal_r.c: Likewise.
50536 * math/w_log.c: Likewise.
50537 * math/w_log10.c: Likewise.
50538 * math/w_log10f.c: Likewise.
50539 * math/w_log10l.c: Likewise.
50540 * math/w_log2.c: Likewise.
50541 * math/w_log2f.c: Likewise.
50542 * math/w_log2l.c: Likewise.
50543 * math/w_logf.c: Likewise.
50544 * math/w_logl.c: Likewise.
50545 * math/w_pow.c: Likewise.
50546 * math/w_powf.c: Likewise.
50547 * math/w_powl.c: Likewise.
50548 * math/w_remainder.c: Likewise.
50549 * math/w_remainderf.c: Likewise.
50550 * math/w_remainderl.c: Likewise.
50551 * math/w_scalb.c: Likewise.
50552 * math/w_scalbf.c: Likewise.
50553 * math/w_scalbl.c: Likewise.
50554 * math/w_sinh.c: Likewise.
50555 * math/w_sinhf.c: Likewise.
50556 * math/w_sinhl.c: Likewise.
50557 * math/w_sqrt.c: Likewise.
50558 * math/w_sqrtf.c: Likewise.
50559 * math/w_sqrtl.c: Likewise.
50560 * math/w_tgamma.c: Likewise.
50561 * math/w_tgammaf.c: Likewise.
50562 * math/w_tgammal.c: Likewise.
50564 * po/ja.po: Update from translation team.
50566 2011-09-29 Andreas Jaeger <aj@suse.de>
50569 * sunrpc/netname.c (netname2host): Fix logic.
50573 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
50575 * math/w_remainder.c (__remainder): Likewise.
50576 * math/w_remainderf.c (__remainderf): Likewise.
50577 * math/libm-test.inc (remainder_test): Add test cases.
50579 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50581 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
50584 2011-10-07 Ulrich Drepper <drepper@gmail.com>
50586 * string/test-memcmp.c: Avoid unncessary #defines.
50587 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
50589 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50591 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
50592 Use new sse2 version for core i3 - i7 as it's faster
50593 than sse42 version.
50594 (bit_Prefer_PMINUB_for_stringop): New.
50595 * sysdeps/x86_64/rawmemchr.S: Update.
50596 Replace with faster SSE2 version.
50597 * sysdeps/x86_64/memrchr.S: New file.
50598 * sysdeps/x86_64/memchr.S: Update.
50599 Replace with faster SSE2 version.
50601 2011-09-12 Marek Polacek <mpolacek@redhat.com>
50603 * elf/dl-load.c (lose): Add cast to avoid warning.
50605 2011-10-07 Ulrich Drepper <drepper@gmail.com>
50607 * po/ca.po: Update from translation team.
50609 * inet/getnetgrent_r.c: Hook up nscd.
50610 * nscd/Makefile (routines): Add nscd_netgroup.
50611 (nscd-modules): Add netgroupcache.
50612 (CFLAGS-netgroupcache.c): Define.
50613 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
50614 (cache_search): Add const to second parameter.
50615 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
50617 (dbs): Add netgrdb entry.
50618 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
50619 (verify_persistent_db): Handle netgrdb.
50620 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
50621 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
50623 (netgroup_response_header): Define.
50624 (innetgroup_response_header): Define.
50625 (datahead): Add netgroup_response_header and innetgroup_response_header
50627 * nscd/nscd.conf: Add entries for netgroup cache.
50628 * nscd/nscd.h (dbtype): Add netgrdb.
50629 (_PATH_NSCD_NETGROUP_DB): Define.
50630 (netgroup_iov_disabled): Declare.
50631 (xmalloc, xcalloc, xrealloc): Move declarations here.
50632 (cache_search): Adjust prototype.
50633 Add netgroup-related prototypes.
50634 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
50635 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
50636 (__nscd_innetgr): Declare.
50637 * nscd/selinux.c (perms): Use access_vector_t as element type and
50638 add netgroup-related initializers.
50639 * nscd/netgroupcache.c: New file.
50640 * nscd/nscd_netgroup.c: New file.
50641 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
50642 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
50643 For four parameters use innetgr.
50644 * nss/nss_files/files-init.c: Add definition and callback for netgr.
50645 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
50646 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
50647 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
50649 * nscd/connections.c (register_traced_file): Don't register file
50650 for disabled databases.
50652 2011-10-06 Ulrich Drepper <drepper@gmail.com>
50654 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
50656 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
50657 from tree and freeing node.
50659 2011-09-25 Jiri Olsa <jolsa@redhat.com>
50661 * nss/nsswitch.c (__nss_database_lookup): Handle
50662 nss_parse_service_list out of memory case.
50664 2011-09-15 Jiri Olsa <jolsa@redhat.com>
50666 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
50667 out of memory case.
50669 2011-10-04 Andreas Schwab <schwab@redhat.com>
50671 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
50672 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
50674 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
50675 elf_machine_rela, elf_machine_lazy_rel.
50676 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
50677 (ELF_DYNAMIC_DO_REL): Likewise.
50678 (ELF_DYNAMIC_DO_RELA): Likewise.
50679 (ELF_DYNAMIC_RELOCATE): Likewise.
50680 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
50681 to ELF_DYNAMIC_DO_REL.
50682 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
50683 (dl_main): In trace mode always set __RTLD_NOIFUNC.
50684 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
50686 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
50687 skip_ifunc, don't call ifunc function if non-zero.
50688 (elf_machine_rela): Likewise.
50689 (elf_machine_lazy_rel): Likewise.
50690 (elf_machine_lazy_rela): Likewise.
50691 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
50692 (elf_machine_lazy_rel): Likewise.
50693 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
50695 (elf_machine_lazy_rel): Likewise.
50696 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50698 (elf_machine_lazy_rel): Likewise.
50699 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
50700 (elf_machine_lazy_rel): Likewise.
50701 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
50702 (elf_machine_lazy_rel): Likewise.
50703 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
50704 (elf_machine_lazy_rel): Likewise.
50705 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
50706 (elf_machine_lazy_rel): Likewise.
50707 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
50708 (elf_machine_lazy_rel): Likewise.
50709 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
50710 (elf_machine_lazy_rel): Likewise.
50712 2011-09-28 Ulrich Drepper <drepper@gmail.com>
50714 * nss/nss_files/files-init.c (_nss_files_init): Use static
50715 initialization for all the *_traced_file variables.
50717 2011-09-28 Andreas Schwab <schwab@redhat.com>
50719 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50721 2011-09-27 Roland McGrath <roland@hack.frob.com>
50724 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
50726 2011-09-27 Andreas Schwab <schwab@redhat.com>
50728 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
50729 Reread the line before reparsing it.
50731 2011-09-26 Andreas Schwab <schwab@redhat.com>
50733 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
50735 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
50736 Maxim Kuvyrkov <maxim@codesourcery.com>
50737 Joseph Myers <joseph@codesourcery.com>
50739 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
50740 if needed for __stack_chk_guard.
50742 2011-09-19 Roland McGrath <roland@hack.frob.com>
50744 * sysdeps/posix/spawni.c (script_execute): Always define it.
50745 It will be optimized away if unused.
50746 (maybe_script_execute): New function.
50747 (__spawni): Call it.
50749 * Makerules: Don't include tls.make.
50750 (config-tls): Always set to thread.
50751 * tls.make.c: File removed.
50753 2011-09-19 Mike Frysinger <vapier@gentoo.org>
50755 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
50756 * config.make.in (CPPFLAGS-config): New substituted variable.
50758 2011-09-15 Ulrich Drepper <drepper@gmail.com>
50760 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
50763 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
50764 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
50766 2011-09-15 Roland McGrath <roland@hack.frob.com>
50768 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
50769 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
50770 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
50771 (CALL_FAIL): Likewise.
50772 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
50773 (CALL_FAIL): Macro removed.
50774 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
50776 2011-09-15 Ulrich Drepper <drepper@gmail.com>
50778 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
50779 for __FINITE_MATH_ONLY__ == 1.
50781 2011-09-15 Andreas Schwab <schwab@redhat.com>
50783 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
50784 __ieee754_sqrt instead of sqrt.
50785 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
50786 __ieee754_sqrtf instead of sqrtf.
50787 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
50788 __floorf instead of floorf.
50789 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
50790 __floorf, __truncf instead of floorf, truncf.
50792 2011-09-14 Ulrich Drepper <drepper@gmail.com>
50794 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
50796 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
50797 __extern_always_inline.
50798 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
50801 2011-09-14 Andreas Schwab <schwab@redhat.com>
50803 * elf/rtld.c (dl_main): Also relocate in dependency order when
50804 doing symbol dependency testing.
50806 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
50808 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50809 Always define `refsym'.
50811 2011-09-13 Andreas Schwab <schwab@redhat.com>
50813 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
50814 (__FD_ELT): Renamed from __FDELT.
50815 * misc/bits/select2.h (__FD_ELT): Likewise.
50816 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
50817 __FD_MASK instead of __FDELT, __FDMASK.
50818 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
50820 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
50823 * elf/Makefile (gen-ldd): Fix pattern.
50825 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
50826 (init_tls): Likewise.
50828 2011-09-12 Ulrich Drepper <drepper@gmail.com>
50830 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
50832 2011-09-12 Andreas Schwab <schwab@redhat.com>
50834 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
50835 `struct cmsghdr *' instead of `void *'.
50836 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
50839 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
50841 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
50843 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
50844 ldd_rewrite_script.
50846 2011-09-11 Ulrich Drepper <drepper@gmail.com>
50848 * configure.in: Remove --with-tls option.
50849 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
50850 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
50851 out in case it is missing.
50852 * sysdeps/ia64/elf/configure.in: Likewise.
50853 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
50854 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
50855 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
50856 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
50857 * sysdeps/sh/elf/configure.in: Likewise.
50858 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
50859 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
50860 * sysdeps/x86_64/elf/configure.in: Likewise.
50861 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
50862 * sysdeps/mach/hurd/tls.h: Likewise.
50865 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
50868 * configure.in: Fix use of AC_INIT.
50870 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
50872 2011-09-10 Ulrich Drepper <drepper@gmail.com>
50874 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
50876 * malloc/hooks.c: Likewise.
50879 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
50880 variables statically.
50881 (narenas): Initialize.
50882 (list_lock): Initialize.
50883 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
50884 initializtion of main_arena and list_lock. Small cleanups.
50885 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
50886 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
50887 Add initializers to main_arena and mp_.
50888 (malloc_state): Remove pagesize member. Change all users to use
50891 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
50892 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
50893 is always initialized.
50895 * malloc/malloc.c: Removed unused configurations and dead code.
50896 * malloc/arena.c: Likewise.
50897 * malloc/hooks.c: Likewise.
50898 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
50900 * include/tls.h: Removed. USE___THREAD must always be defined.
50901 * bits/libc-tsd.h: Don't handle !USE___THREAD.
50902 * elf/dl-libc.c: Likewise.
50903 * elf/dl-tsd.c: Likewise.
50904 * include/errno.h: Likewise.
50905 * include/netdb.h: Likewise.
50906 * include/resolv.h: Likewise.
50907 * inet/herrno-loc.c: Likewise.
50908 * inet/herrno.c: Likewise.
50909 * malloc/arena.c: Likewise.
50910 * malloc/hooks.c: Likewise.
50911 * malloc/malloc.c: Likewise.
50912 * resolv/res-state.c: Likewise.
50913 * resolv/res_libc.c: Likewise.
50914 * sysdeps/i386/dl-machine.h: Likewise.
50915 * sysdeps/ia64/dl-machine.h: Likewise.
50916 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
50917 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
50918 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
50919 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
50920 * sysdeps/sh/dl-machine.h: Likewise.
50921 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
50922 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
50923 * sysdeps/unix/i386/sysdep.S: Likewise.
50924 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
50925 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
50926 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
50927 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
50928 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
50929 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
50930 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
50931 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
50932 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50933 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
50934 * sysdeps/unix/x86_64/sysdep.S: Likewise.
50935 * sysdeps/x86_64/dl-machine.h: Likewise.
50936 * tls.make.c: Likewise.
50938 * configure.in: Remove --with-__thread option. Make tests for
50939 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
50940 tls_model attribute fail if no support is available. Remove
50942 * Makeconfig: Adjust for dropped configure option. All features are
50944 * Makerules: Likewise.
50945 * Versions.def: Likewise.
50946 * argp/argp-fmtstream.c: Likewise.
50947 * argp/argp-fmtstream.h: Likewise.
50948 * argp/argp-help.c: Likewise.
50949 * assert/assert.c: Likewise.
50950 * config.h.in: Likewise.
50951 * config.make.in: Likewise.
50952 * configure: Likewise.
50953 * configure.in: Likewise.
50954 * csu/Versions: Likewise.
50955 * csu/init.c: Likewise.
50956 * elf/tst-audit2.c: Likewise.
50957 * elf/tst-tls10.c: Likewise.
50958 * elf/tst-tls10.h: Likewise.
50959 * elf/tst-tls11.c: Likewise.
50960 * elf/tst-tls12.c: Likewise.
50961 * elf/tst-tls14.c: Likewise.
50962 * elf/tst-tlsmod11.c: Likewise.
50963 * elf/tst-tlsmod12.c: Likewise.
50964 * elf/tst-tlsmod13.c: Likewise.
50965 * elf/tst-tlsmod13a.c: Likewise.
50966 * elf/tst-tlsmod14a.c: Likewise.
50967 * elf/tst-tlsmod15b.c: Likewise.
50968 * elf/tst-tlsmod16a.c: Likewise.
50969 * elf/tst-tlsmod16b.c: Likewise.
50970 * elf/tst-tlsmod7.c: Likewise.
50971 * elf/tst-tlsmod8.c: Likewise.
50972 * elf/tst-tlsmod9.c: Likewise.
50973 * gmon/gmon.c: Likewise.
50974 * grp/fgetgrent_r.c: Likewise.
50975 * grp/putgrent.c: Likewise.
50976 * hurd/fopenport.c: Likewise.
50977 * include/libc-symbols.h: Likewise.
50978 * include/tls.h: Likewise.
50979 * intl/gettextP.h: Likewise.
50980 * intl/loadinfo.h: Likewise.
50981 * locale/global-locale.c: Likewise.
50982 * locale/localeinfo.h: Likewise.
50983 * mach/devstream.c: Likewise.
50984 * malloc/arena.c: Likewise.
50985 * malloc/set-freeres.c: Likewise.
50986 * misc/err.c: Likewise.
50987 * misc/getttyent.c: Likewise.
50988 * misc/mntent_r.c: Likewise.
50989 * posix/getopt.c: Likewise.
50990 * posix/wordexp.c: Likewise.
50991 * pwd/fgetpwent_r.c: Likewise.
50992 * resolv/Versions: Likewise.
50993 * resolv/res_hconf.c: Likewise.
50994 * shadow/fgetspent_r.c: Likewise.
50995 * shadow/putspent.c: Likewise.
50996 * stdio-common/printf_fphex.c: Likewise.
50997 * stdio-common/tmpfile.c: Likewise.
50998 * stdlib/abort.c: Likewise.
50999 * stdlib/fmtmsg.c: Likewise.
51000 * sunrpc/auth_unix.c: Likewise.
51001 * sunrpc/clnt_perr.c: Likewise.
51002 * sunrpc/clnt_tcp.c: Likewise.
51003 * sunrpc/clnt_udp.c: Likewise.
51004 * sunrpc/clnt_unix.c: Likewise.
51005 * sunrpc/openchild.c: Likewise.
51006 * sunrpc/svc_simple.c: Likewise.
51007 * sunrpc/svc_tcp.c: Likewise.
51008 * sunrpc/svc_udp.c: Likewise.
51009 * sunrpc/svc_unix.c: Likewise.
51010 * sunrpc/xdr.c: Likewise.
51011 * sunrpc/xdr_array.c: Likewise.
51012 * sunrpc/xdr_rec.c: Likewise.
51013 * sunrpc/xdr_ref.c: Likewise.
51014 * sunrpc/xdr_stdio.c: Likewise.
51016 2011-09-09 Ulrich Drepper <drepper@gmail.com>
51018 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51020 2011-07-03 Andreas Jaeger <aj@suse.de>
51022 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
51023 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
51024 regenerate with gen-libm-tests.pl.
51026 2010-05-12 Petr Baudis <pasky@suse.cz>
51029 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
51030 around j0() zero points by switching to j1().
51031 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51032 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51033 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
51034 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51036 2011-09-09 Ulrich Drepper <drepper@gmail.com>
51038 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
51040 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
51042 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51043 Patch in part by Pavel Roskin <proski@gnu.org>.
51046 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
51048 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
51049 Free memory block if necessary.
51052 * libio/genops.c (INTDEF): For string streams the _lock pointer can
51053 be NULL. Don't lock in this case.
51055 2011-09-09 Roland McGrath <roland@hack.frob.com>
51057 * elf/elf.h (ELFOSABI_GNU): New macro.
51058 (ELFOSABI_LINUX): Define to that.
51060 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
51062 * string/strncat.c (strncat): Undef the symbol in case it has been
51063 defined in bits/string.h.
51065 2011-09-09 Ulrich Drepper <drepper@gmail.com>
51067 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
51069 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
51072 2011-08-17 Andreas Jaeger <aj@suse.de>
51074 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
51076 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
51077 Ian Lance Taylor <iant@google.com>
51079 * math/libm-test.inc (lround_test): New testcase.
51080 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
51082 2011-09-08 Ulrich Drepper <drepper@gmail.com>
51084 * Makefile: Remove support for automatic cvs check-ins.
51085 * Makerules: Likewise.
51086 * config.make.in: Likewise.
51087 * configure.in: Likewise.
51088 * intl/Makefile: Likewise.
51089 * locale/Makefile: Likewise.
51090 * po/Makefile: Likewise.
51091 * posix/Makefile: Likewise.
51092 * sysdeps/gnu/Makefile: Likewise.
51093 * sysdeps/mach/hurd/Makefile: Likewise.
51094 * sysdeps/sparc/sparc32/Makefile: Likewise.
51097 * posix/Makefile (bug-regex32-ENV): Define.
51098 Patch by John Stanley <jpsinthemix@verizon.net>.
51100 * misc/Makefile (headers): Add bits/select2.h.
51101 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
51102 * misc/bits/select2.h: New file.
51103 * include/bits/select2.h: New file.
51104 * debug/Makefile (routines): Add fdelt_chk.
51105 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
51106 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
51108 * debug/fdelt_chk.c: New file.
51110 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
51111 * wcsmbs/test-wmemcmp.c: Likewise.
51112 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
51113 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
51115 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51117 * string/Makefile (strop-tests): Add memcmp.
51118 * string/test-wmemcmp.c: New file.
51119 * string/test-memcmp.c: Add wmemcmp support.
51121 2011-09-08 Roland McGrath <roland@hack.frob.com>
51124 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
51127 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
51128 garbage value in a __mach_port_mod_refs call in the cases of the
51129 task-self and thread-self ports.
51131 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
51133 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
51135 2011-09-08 Andreas Schwab <schwab@redhat.com>
51137 * elf/dl-load.c (lose): Check for non-null L.
51139 2011-09-07 Ulrich Drepper <drepper@gmail.com>
51141 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
51143 * elf/dl-libc.c (dlerror_run): Pass back error code from
51147 * elf/dl-load.c (lose): Free l_origin if it is valid.
51149 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
51151 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
51152 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
51153 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
51154 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
51155 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
51156 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
51158 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51160 * sysdeps/powerpc/fpu/e_hypot.c: New file.
51161 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
51162 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
51163 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
51164 * sysdeps/powerpc/fpu/k_cosf.c: New file.
51165 * sysdeps/powerpc/fpu/k_sinf.c: New file.
51166 * sysdeps/powerpc/fpu/s_cosf.c: New file.
51167 * sysdeps/powerpc/fpu/s_sinf.c: New file.
51168 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
51169 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
51171 2011-08-15 Alan Modra <amodra@gmail.com>
51174 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
51175 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
51176 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
51177 ppc_mcount to static-only-routines.
51178 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
51180 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
51181 __mcount_internal with usual JUMPTARGET. Remove useless nop.
51183 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
51185 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
51186 for finite and infinity parameters.
51188 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
51190 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
51191 and add nop instructions for throughput optimization.
51192 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51194 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
51196 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
51197 aligned copy for power7 with vector-scalar instructions.
51198 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
51200 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
51202 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
51205 2011-09-07 Andreas Schwab <schwab@redhat.com>
51208 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
51211 2011-09-07 Ulrich Drepper <drepper@gmail.com>
51213 * sysdeps/unix/sysv/linux/x86_64/init-first.c
51214 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
51215 syscall wrapper around clock_gettime in __vdso_clock_gettime.
51216 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
51219 2011-09-06 Ulrich Drepper <drepper@gmail.com>
51221 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
51222 Forgot to demangle the pointer.
51224 * sysdeps/i386/sysdep.h: Define atom_text_section.
51225 * sysdeps/x86_64/sysdep.h: Likewise.
51226 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
51227 section with atom_text_section.
51228 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
51229 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
51230 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
51231 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
51232 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
51234 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
51235 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
51236 already be defined. Change to take two parameters and don't assign
51237 result to variable. Adjust all users.
51238 Define INTERNAL_GETTIME if not already defined.
51239 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
51241 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
51242 HAVE_CLOCK_GETTIME_VSYSCALL.
51243 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
51245 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
51246 gettimeofday vsyscall, just use time.
51248 2011-09-06 Andreas Schwab <schwab@redhat.com>
51250 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
51253 2011-09-06 Ulrich Drepper <drepper@gmail.com>
51255 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
51257 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
51259 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
51260 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
51261 syscall if possible.
51263 2011-09-05 Ulrich Drepper <drepper@gmail.com>
51265 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
51266 e_ident. Don't pass to find_mapsXX.
51267 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
51269 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51271 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51272 strchr-sse2-no-bsf strrchr-sse2-no-bsf
51273 * sysdeps/x86_64/multiarch/strchr.S: Update.
51274 Check bit_slow_BSF bit.
51275 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
51276 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
51277 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
51279 2011-09-05 Ulrich Drepper <drepper@gmail.com>
51282 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
51284 (tryshell): Define.
51285 (__spawni): Change last parameter to be flag. Test
51286 SPAWN_XFLAGS_USE_PATH flag to use path or not.
51287 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
51288 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
51289 * posix/spawni.c: Likewise.
51290 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
51291 * posix/spawnp.c: Likewise. Change normal version to use
51292 SPAWN_XFLAGS_USE_PATH.
51293 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
51294 SPAWN_XFLAGS_TRY_SHELL.
51297 * posix/glob.h: Remove gcc 1.x support.
51300 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
51302 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51304 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51305 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
51307 * sysdeps/i386/i686/multiarch/strchr.S: New file.
51308 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
51309 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
51310 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
51311 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
51312 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
51314 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51316 * sysdeps/x86_64/wcscmp.S: New file.
51318 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
51319 wcscmp-c wcscmp-sse2
51320 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
51321 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
51322 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
51323 * wcsmbs/wcscmp.c: Allow renaming.
51325 2011-09-05 David S. Miller <davem@davemloft.net>
51327 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
51328 stack slot, rather than the struct return pointer slot.
51329 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
51330 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
51331 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
51332 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
51334 2011-09-05 Ulrich Drepper <drepper@gmail.com>
51336 * po/ja.po: Update from translation team.
51339 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
51340 kernel in 64-bit binaries.
51342 2011-09-01 David S. Miller <davem@davemloft.net>
51344 * elf/elf.h (HWCAP_SPARC_*): Move to..
51345 * sysdeps/sparc/sysdep.h: this new file and add new values.
51346 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
51347 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
51348 _DL_HWCAP_COUNT to 24.
51349 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
51351 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
51352 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
51353 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
51354 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
51355 instead of magic constants.
51356 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51358 2011-08-31 David S. Miller <davem@davemloft.net>
51360 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
51361 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
51362 Reimplement to do errno handling inline.
51363 (SYSCALL_ERROR_HANDLER): New macro.
51364 (__SYSCALL_STRING): Do not do errno handling in asm.
51365 (__CLONE_SYSCALL_STRING): Delete.
51366 (__INTERNAL_SYSCALL_STRING): Delete.
51367 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
51368 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
51369 (PSEUDO): Reimplement to do errno handling inline.
51370 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
51371 (SYSCALL_ERROR_HANDLER): New macro.
51372 (__SYSCALL_STRING): Do not do errno handling in asm.
51373 (__CLONE_SYSCALL_STRING): Delete.
51374 (__INTERNAL_SYSCALL_STRING): Delete.
51375 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
51376 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
51378 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
51379 (inline_syscall*): Add 'err' argument.
51380 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
51381 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
51382 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
51383 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
51385 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
51386 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
51388 2011-08-30 Andreas Schwab <schwab@redhat.com>
51390 * elf/rtld.c (dl_main): Relocate objects in dependency order.
51392 2011-08-29 Jiri Olsa <jolsa@redhat.com>
51394 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
51397 2011-08-24 David S. Miller <davem@davemloft.net>
51399 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
51401 2011-08-24 Andreas Schwab <schwab@redhat.com>
51403 * elf/Makefile: Add rules to build and run unload8 test.
51404 * elf/unload8.c: New file.
51405 * elf/unload8mod1.c: New file.
51406 * elf/unload8mod1x.c: New file.
51407 * elf/unload8mod2.c: New file.
51408 * elf/unload8mod3.c: New file.
51410 * elf/dl-close.c (_dl_close_worker): Reset private search list if
51413 2011-08-23 David S. Miller <davem@davemloft.net>
51415 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
51416 subtract stack bias.
51417 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
51418 %sp not %fp in calculations.
51419 (_JMPBUF_UNWINDS_ADJ): Likewise.
51421 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
51422 (aio_suspend): Call it to force an exception region around the
51423 AIO_MISC_WAIT() invocation.
51425 2011-08-23 Andreas Schwab <schwab@redhat.com>
51427 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
51430 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
51432 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
51434 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
51435 and <dl-machine.h>.
51436 (Elf64_FuncDesc): Remove.
51438 2011-08-22 David S. Miller <davem@davemloft.net>
51440 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
51441 sigaltstack check, add missing cfi directives.
51442 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
51443 missing cfi directives, and sigaltstack handling.
51445 2011-08-16 Andreas Schwab <schwab@redhat.com>
51448 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
51449 object is seen twice.
51450 * elf/dl-fini.c (_dl_sort_fini): Likewise.
51452 * elf/Makefile (distribute): Add tst-initorder2.c.
51453 (tests): Add tst-initorder2.
51454 (modules-names): Add tst-initorder2a tst-initorder2b
51455 tst-initorder2c tst-initorder2d. Add rules to build them.
51456 ($(objpfx)tst-initorder2.out): New rule.
51457 * elf/tst-initorder2.c: New file.
51458 * elf/tst-initorder2.exp: New file.
51460 2011-08-22 Andreas Schwab <schwab@redhat.com>
51462 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
51464 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
51465 dependencies back to end of function.
51467 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
51468 $(elfobjdir)/ld.so.
51470 2011-08-21 Ulrich Drepper <drepper@gmail.com>
51472 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
51473 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
51474 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
51475 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
51476 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
51477 of __vdso_gettimeofday.
51478 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
51479 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
51481 (_libc_vdso_platform_setup): Remove initialization of
51482 __vdso_gettimeofday and __vdso_time.
51484 2011-08-20 Ulrich Drepper <drepper@gmail.com>
51486 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
51487 and fgetc_unlocked.
51488 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
51491 * elf/dl-open.c (add_to_global): Report additions to the global scope
51492 for LD_DEBUG=scopes.
51493 (dl_open_worker): Also print scope of newly loaded dependencies.
51494 (_dl_show_scope): Indicate if there is no scope.
51497 * stdio-common/Makefile (tests): Add bug24.
51498 * stdio-common/bug24.c: New file.
51500 2011-08-19 Andreas Jaeger <aj@suse.de>
51503 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
51504 non-existant file when using close-on-exec mode.
51506 2011-08-20 Ulrich Drepper <drepper@gmail.com>
51508 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
51509 the very first instruction.
51511 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
51512 the CFI state in the end.
51513 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
51514 inclusion of dl-trampoline.h.
51515 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
51517 2011-08-19 Andreas Schwab <schwab@redhat.com>
51519 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
51520 expectations for long double.
51522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
51523 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
51525 2011-08-14 David S. Miller <davem@davemloft.net>
51527 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
51528 artificual limit depends upon the system page size.
51530 2011-08-17 Ulrich Drepper <drepper@gmail.com>
51532 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
51533 * resolv/Makefile: Define CFLAGS-libresolv.
51535 2011-08-17 Andreas Schwab <schwab@redhat.com>
51537 * nss/makedb.c (compute_tables): Make variables used in nested
51540 2011-08-17 Ulrich Drepper <drepper@gmail.com>
51542 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
51543 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
51544 if buffer was too small.
51546 * elf/pldd.c (main): Attach to all threads in the process.
51547 Rewrite /proc handling to use *at functions.
51549 2011-08-16 Ulrich Drepper <drepper@gmail.com>
51551 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
51552 specifies first scope to show.
51553 (dl_open_worker): Update callers. Move printing scope of new
51554 object to before the relocation.
51555 * elf/rtld.c (dl_main): Update _dl_show_scope call.
51556 * sysdeps/generic/ldsodefs.h: Update declaration.
51558 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
51559 string for the scope number.
51561 2011-08-14 Ulrich Drepper <drepper@gmail.com>
51563 * nscd/servicescache.c (cache_addserv): Make sure written is always
51566 2011-08-14 Roland McGrath <roland@hack.frob.com>
51568 * sysdeps/i386/i486/bits/atomic.h
51569 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
51570 statement expression, so as to suppress "set but not used" warning.
51571 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
51573 * string/strncat.c (STRNCAT): Use prototype definition.
51575 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
51576 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
51578 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
51579 (localedef-modules): Add localedef.
51580 (locale-modules): Add locale.
51582 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
51583 * elf/rtld.c (dl_main): Invert order of assignment in last change,
51584 to avoid a warning.
51586 2011-08-14 David S. Miller <davem@davemloft.net>
51588 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
51589 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
51591 2011-08-13 Ulrich Drepper <drepper@gmail.com>
51593 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
51594 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
51595 * elf/rtld.c (dl_main): Set l_name of vDSO.
51596 Call _dl_show_scope when DL_DEBUG_SCOPES.
51597 (process_dl_debug): Recognize scopes flag and also set it for all.
51598 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
51599 Declare _dl_show_scope.
51601 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
51602 (do_dlopen): Pass caller_dlopen to dl_open.
51603 (__libc_dlopen_mode): Initialize caller_dlopen.
51605 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
51606 of libc. Make tolower call locale-independent. Optimize a bit by
51607 using isdigit instead of isalnum.
51608 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
51610 2011-08-12 Ulrich Drepper <drepper@gmail.com>
51612 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
51613 was a dependency or dynamically loaded.
51615 2011-08-11 Ulrich Drepper <drepper@gmail.com>
51617 * intl/l10nflist.c: Allow architecture-specific pop function.
51618 * sysdeps/x86_64/l10nflist.c: New file.
51620 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
51623 2011-08-10 Andreas Schwab <schwab@redhat.com>
51625 * include/dirent.h: Add libc_hidden_proto for scandirat and
51626 scandirat64. Don't declare __scandirat64.
51627 * dirent/scandirat.c: Add libc_hidden_def.
51628 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
51629 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
51631 2011-08-10 David S. Miller <davem@davemloft.net>
51633 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
51635 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51636 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51637 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51639 2011-08-09 Ulrich Drepper <drepper@gmail.com>
51641 * Versions.def [libc]: Add GLIBC_2.15.
51642 * dirent/Makefile (routines): Add scandirat and scandirat64.
51643 * dirent/Versions [libc]: Export scandirat and scandirat64 for
51645 * dirent/dirent.h: Declare scandirat and scandirat64.
51646 * dirent/scandirat.c: New file.
51647 * dirent/scandirat64.c: New file.
51648 * sysdeps/wordsize-64/scandirat.c: New file.
51649 * sysdeps/wordsize-64/scandirat64.c: New file.
51650 * dirent/opendir.c: Define opendirat.
51651 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
51653 * dirent/scandir64.c: Adjust for scandir.c change.
51654 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
51655 __scandirat64, and __scandir_cancel_handler.
51656 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
51657 additional parameter and use openat instead of open (outside of ld.so).
51658 Add new __opendir as wrapper around __opendirat.
51659 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
51660 here without requiring old scandirat implementation.
51662 2011-08-08 Ulrich Drepper <drepper@gmail.com>
51664 * dirent/scandir.c (cancel_handler): Renamed to
51665 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
51666 defined. Adjust users.
51667 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
51668 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
51670 2011-08-04 Ulrich Drepper <drepper@gmail.com>
51672 * string/test-string.h (IMPL): Use __STRING to expand name and then
51675 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
51678 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51680 * string/Makefile: Update.
51681 (strop-tests): Append strncat.
51682 * string/test-wcscmp.c: New file.
51683 New comprehensive test for wcscmp.
51684 * string/test-strcmp.c: Update.
51685 (WIDE): New define.
51687 2011-07-22 Andreas Schwab <schwab@redhat.com>
51689 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
51692 2011-07-26 Andreas Schwab <schwab@redhat.com>
51694 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
51695 encoding to ACE if AI_IDN.
51697 2011-08-01 Jakub Jelinek <jakub@redhat.com>
51699 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
51700 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
51702 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51704 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
51705 Fix overflow bug in strncat.
51706 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
51708 * string/test-strncat.c: Update.
51709 Add new tests for checking overflow bugs.
51711 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51713 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51714 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
51715 * sysdeps/i386/i686/multiarch/strcat.S: New file.
51716 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
51717 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
51718 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
51719 * sysdeps/i386/i686/multiarch/strncat.S: New file.
51720 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
51721 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
51723 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
51724 (USE_AS_STRCAT): Define.
51725 Add strcat and strncat support.
51726 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
51728 2011-07-25 Andreas Schwab <schwab@redhat.com>
51730 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
51731 __n bigger than INT_MAX+1.
51732 (__strncmp_g): Likewise.
51734 2011-07-23 Ulrich Drepper <drepper@gmail.com>
51736 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
51737 * libio/stido.h: Likewise.
51739 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
51741 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
51744 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
51745 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51746 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51747 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
51748 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51751 * scripts/test-installation.pl: Don't expect libnss_test1 to be
51754 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
51756 (_dl_x86_64_save_sse): Likewise.
51758 2011-07-22 Ulrich Drepper <drepper@gmail.com>
51760 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
51762 (_dl_x86_64_save_sse): Likewise.
51764 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
51766 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
51768 2011-07-21 Andreas Schwab <schwab@redhat.com>
51770 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
51772 (_dl_x86_64_save_sse): Use correct AVX check.
51774 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51776 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
51777 bug in strncpy/strncat.
51778 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
51780 2011-07-21 Ulrich Drepper <drepper@gmail.com>
51782 * string/tester.c (test_strcat): Add tests for different alignments
51783 of source and destination.
51784 (test_strncat): Likewise.
51786 2011-07-20 Ulrich Drepper <drepper@gmail.com>
51789 * posix/glob.c (glob): Check passed in values before using them in
51790 expressions to avoid some overflows.
51791 (glob_in_dir): Likewise.
51794 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
51795 check for AVX enablement so that we don't crash with old kernels and
51797 * elf/tst-audit4.c: Add same checks here.
51798 * elf/tst-audit6.c: Likewise.
51800 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
51802 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
51804 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
51806 2011-07-20 Ulrich Drepper <drepper@gmail.com>
51808 * po/cs.po: Update from translation team.
51809 * po/bg.po: Likewise.
51811 2011-07-12 Marek Polacek <mpolacek@redhat.com>
51813 * misc/sys/cdefs.h: Add support for const attribute.
51814 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
51815 to gnu_dev_{major,minor,makedev} functions.
51817 2011-07-20 Marek Polacek <mpolacek@redhat.com>
51819 * intl/dcigettext.c (get_output_charset): Add missing bracket.
51821 2011-07-20 Andreas Schwab <schwab@redhat.com>
51823 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
51826 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51828 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
51829 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
51830 register in order to avoid conflicts with the soft frame pointer
51831 being held in r11 when necessary.
51832 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
51833 (INTERNAL_VSYSCALL_NCS): Likewise.
51835 2011-07-14 Marek Polacek <mpolacek@redhat.com>
51837 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
51838 * elf/dl-fini.c (_dl_fini): Adjust caller.
51839 * elf/dl-close.c (_dl_close_worker): Likewise.
51840 * sysdeps/generic/ldsodefs.h: Adjust declaration.
51842 2011-07-15 Marek Polacek <mpolacek@redhat.com>
51844 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
51845 "aux_cache->nlibs < 0".
51847 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
51848 in the reload-count case.
51850 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51852 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51853 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
51854 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
51855 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
51856 * sysdeps/x86_64/multiarch/strcat.S: New file.
51857 * sysdeps/x86_64/multiarch/strncat.S: New file.
51858 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
51859 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
51860 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
51861 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
51862 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
51863 (USE_AS_STRCAT): Define.
51864 Add strcat and strncat support.
51865 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
51866 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
51867 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
51868 * string/strncat.c: Update.
51869 (USE_AS_STRNCAT): Define.
51870 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51871 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
51873 * sysdeps/x86_64/multiarch/init-arch.h
51874 (bit_Prefer_PMINUB_for_stringop): New.
51875 (index_Prefer_PMINUB_for_stringop): Likewise.
51876 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
51877 bit_Prefer_PMINUB_for_stringop.
51879 2011-07-19 Ulrich Drepper <drepper@gmail.com>
51881 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
51883 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
51884 of casting of buffer.
51885 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
51886 buffer32 and buffer64.
51887 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
51888 writes instead of casting of buffer.
51889 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
51891 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
51894 2011-07-19 Andreas Schwab <schwab@redhat.com>
51896 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
51898 2011-07-19 Ulrich Drepper <drepper@gmail.com>
51900 * nscd/nscd.c (termination_handler): Don't do anything for a database
51901 if it has not yet been initialized.
51903 2011-07-18 Ulrich Drepper <drepper@gmail.com>
51905 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
51907 2011-07-15 Marek Polacek <mpolacek@redhat.com>
51909 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
51911 2011-07-18 Ulrich Drepper <drepper@gmail.com>
51913 * po/nl.po: Update from translation team.
51914 * po/sv.po: Likewise.
51916 2011-07-16 Roland McGrath <roland@hack.frob.com>
51918 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
51919 now disallowed by GCC.
51921 * configure.in (use-default-link): Default to yes if a test -shared
51922 link meets our qualifications.
51923 * configure: Regenerated.
51925 * config.make.in (output-format): New variable.
51926 * configure.in: Check for ld --print-output-format support.
51927 * configure: Regenerated.
51928 * Makerules ($(common-objpfx)format.lds)
51929 [$(output-format) != unknown]: Just use $(output-format),
51930 instead of the linker-script munging.
51932 2011-07-14 Roland McGrath <roland@hack.frob.com>
51934 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
51935 of $(common-objpfx)shlib.lds.
51936 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
51938 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
51939 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
51941 * configure.in (-z relro check): Adjust test code to add a large
51942 writable data section after it.
51943 * configure: Regenerated.
51945 2011-07-11 Roland McGrath <roland@hack.frob.com>
51947 * configure.in (-z relro check): Fix test code to make the variable
51949 * configure: Regenerated.
51951 2011-07-11 Ulrich Drepper <drepper@gmail.com>
51953 * nscd/nscd.h (struct traced_file): Define.
51954 (struct database_dyn): Remove inotify_descr, reset_res, and filename
51955 elements. Add traced_files.
51956 (inotify_fd): Declare.
51957 (register_traced_file): Declare.
51958 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
51959 (inotify_fd): Export.
51960 (resolv_conf_descr): Remove.
51961 (nscd_init): Move inotify descriptor creation to main.
51962 Don't register files for notification here.
51963 (register_traced_file): New function.
51964 (invalidate_cache): Don't use reset_res to determine whether to call
51965 res_init, go through the list of registered files.
51966 (main_loop_poll): The inotify descriptors are now stored in the
51967 structures for the traced files.
51968 (main_loop_epoll): Likewise
51969 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
51970 to __nss_disable_nscd.
51971 * nscd/cache.c (prune_cache): There is no single inotify descriptor
51972 for a database anymore. Check the records for all the registered
51974 * nss/Makefile (libnss_files-routines): Add files-init.
51975 (libnss_db-routines): Add db-init.
51976 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
51977 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
51978 * nss/nss_db/db-init.c: New file.
51979 * nss/nss_files/files-init.c: New file.
51980 * nss/nsswitch.c (nss_load_library): New function. Broken out of
51981 __nss_lookup_function.
51982 (__nss_lookup_function): Call nss_load_library.
51983 (nss_load_all_libraries): New function.
51984 (__nss_disable_nscd): Take parameter with callback function for files
51985 to register. Set is_nscd. Load all the DSOs for the NSS modules
51986 used for the cached services.
51987 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
51988 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
51989 options for features to all the files in nscd.
51991 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
51993 2011-07-10 Roland McGrath <roland@hack.frob.com>
51995 * csu/elf-init.c (__libc_csu_init): Comment typo.
51997 2011-07-09 Ulrich Drepper <drepper@gmail.com>
51999 * po/pl.po: Update from translation team.
52000 * po/ja.po: Likewise.
52001 * po/ru.po: Likewise.
52002 * po/ko.po: Likewise.
52003 * po/fr.po: Likewise.
52005 2011-07-09 Roland McGrath <roland@hack.frob.com>
52007 * configure.in (.ctors/.dtors header and trailer check):
52008 Use an empirical test on a built program.
52009 * configure: Regenerated.
52011 * configure.in (-z relro check): Use an empirical test on a built DSO.
52012 Detect, but do not require, on ia64.
52013 * configure: Regenerated.
52015 * configure.in (READELF): Find it with AC_CHECK_TOOL.
52016 Update tests that use readelf to use $READELF instead.
52017 * configure: Regenerated.
52019 2011-07-08 Ulrich Drepper <drepper@gmail.com>
52021 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
52022 if the result is not used.
52024 2011-07-05 Andreas Jaeger <aj@suse.de>
52027 * stdlib/tst-strtod.c: Add testcase.
52029 2011-07-07 Ulrich Drepper <drepper@gmail.com>
52031 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
52032 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
52033 The latter has a higher limit. Take additional parameter to pass to
52035 (__pathconf): Pass file to __statfs_link_max.
52036 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
52038 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
52042 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
52043 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52045 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
52046 (__statfs_filesize_max): Likewise.
52047 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
52049 2011-07-05 Andreas Jaeger <aj@suse.de>
52051 * resolv/res_comp.c (dn_skipname): Remove unused variable.
52053 2011-07-06 Marek Polacek <mpolacek@redhat.com>
52055 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
52057 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
52060 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
52062 * Makefile (strop-tests): Add strncat.
52063 * string/test-strncat.c: New file.
52065 2011-06-30 Marek Polacek <mpolacek@redhat.com>
52067 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
52069 2011-06-21 Andreas Jaeger <aj@suse.de>
52071 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
52072 Copy rule from iconvdata/Makefile.
52074 2011-07-06 Ulrich Drepper <drepper@gmail.com>
52077 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
52078 but no long options are defined, just return 'W'.
52080 2011-06-22 Marek Polacek <mpolacek@redhat.com>
52083 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
52085 2011-07-06 Ulrich Drepper <drepper@gmail.com>
52087 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
52089 (innetgr): Likewise.
52091 2011-07-05 Roland McGrath <roland@hack.frob.com>
52093 * config.make.in (install_root): Default to $(DESTDIR).
52095 2011-07-05 Ulrich Drepper <drepper@gmail.com>
52097 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
52099 2011-07-02 Roland McGrath <roland@hack.frob.com>
52101 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
52103 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
52104 containing directory rather than embedding absolute directory names.
52106 * scripts/check-local-headers.sh: Rewritten using awk.
52107 Match by word, not by line. Print error messages for matches.
52108 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
52110 * Makerules [shlib-lds-flags empty]:
52111 ($(common-objpfx)libc_pic.opts): New target.
52112 ($(common-objpfx)libc_pic.os.clean): New target.
52113 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
52115 * config.make.in (OBJCOPY): New variable.
52116 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
52117 * configure: Regenerated.
52119 * config.make.in (use-default-link): New variable.
52120 * configure.in (use_default_link): Grok --with-default-link to set it.
52121 * configure: Regenerated.
52122 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
52123 (shlib-lds, shlib-lds-flags): Define to empty.
52125 * Makerules (shlib-lds): New variable.
52126 (shlib-lds-flags): New variable.
52127 (build-shlib, build-moduile, build-module-asneeded): Use it.
52128 ($(common-objpfx)libc.so): Use $(shlib-lds).
52129 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
52130 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
52132 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
52133 DT_FLAGS/DT_FLAGS_1 with zero flags.
52135 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
52136 linker script munging.
52138 2011-07-02 Ulrich Drepper <drepper@gmail.com>
52140 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
52142 * crypt/sha512.c (sha512_process_block): Perform total addition using
52143 128-bit if possible.
52144 (__sha512_finish_ctx): Likewise.
52145 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
52147 * crypt/sha256.c (SWAP64): Define.
52148 (sha256_process_block): Perform total addition using 64-bit if
52150 (__sha256_finish_ctx): Likewise.
52152 2011-07-01 Ulrich Drepper <drepper@gmail.com>
52154 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
52155 * nscd/initgrcache.c (addinitgroupsX): Likewise.
52156 * nscd/hstcache.c (cache_addhst): Likewise.
52157 * nscd/grpcache.c (cache_addgr): Likewise.
52158 * nscd/aicache.c (addhstaiX): Likewise
52159 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
52161 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
52163 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
52164 * nscd/initgrcache.c (addinitgroupsX): Likewise.
52165 * nscd/hstcache.c (cache_addhst): Likewise.
52166 * nscd/grpcache.c (cache_addgr): Likewise.
52167 * nscd/aicache.c (addhstaiX): Likewise
52169 2011-07-01 Andreas Schwab <schwab@redhat.com>
52171 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
52172 domain only when needed.
52174 2011-06-30 Andreas Schwab <schwab@redhat.com>
52176 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
52177 is always restored.
52179 2011-06-29 Ulrich Drepper <drepper@gmail.com>
52181 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
52182 are re-adding the entry.
52183 * nscd/servicescache.c (cache_addserv): Likewise.
52185 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
52187 * sysdeps/generic/dl-irel.h: fix protection against multiple
52189 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
52191 2011-06-28 Ulrich Drepper <drepper@gmail.com>
52194 * malloc/memusage.sh: Fix quoting in message.
52195 * debug/xtrace.sh: Likewise.
52197 * configure.in: Remove support for --experimental-malloc option, make
52199 * config.make.in: Likewise.
52200 * malloc/Makefile: Likewise.
52202 2011-06-27 Andreas Schwab <schwab@redhat.com>
52204 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
52205 two-byte characters.
52207 2011-06-27 Roland McGrath <roland@hack.frob.com>
52209 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
52210 AC_CACHE_CHECK invocation.
52211 * configure: Regenerated.
52213 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
52215 2011-06-27 Ulrich Drepper <drepper@gmail.com>
52218 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
52219 bit from old_res_options.
52221 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
52223 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
52224 value type for setfct.
52226 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
52228 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
52229 __gettimeofday instead of gettimeofday.
52231 2011-06-26 Ulrich Drepper <drepper@gmail.com>
52233 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
52235 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
52237 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
52239 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
52242 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
52244 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52245 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
52246 strcpy-sse2-unaligned strncpy-sse2-unaligned
52247 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
52248 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
52249 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
52250 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
52251 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
52252 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
52253 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
52254 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
52255 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
52256 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
52257 (STRCPY): Support SSE2 and SSSE3 versions.
52259 2011-06-24 Ulrich Drepper <drepper@gmail.com>
52262 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
52263 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
52264 kernels which artificially limit size of requests.
52266 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
52268 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52269 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
52270 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
52271 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
52272 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
52273 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
52274 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
52275 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
52276 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
52277 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
52278 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
52279 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
52280 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
52281 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
52282 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
52283 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52284 Enable unaligned load optimization for Intel Core i3, i5 and i7
52286 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
52288 (index_Fast_Unaligned_Load): Define.
52289 (HAS_FAST_UNALIGNED_LOAD): Define.
52291 2011-06-23 Marek Polacek <mpolacek@redhat.com>
52293 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
52295 2011-06-22 Ulrich Drepper <drepper@gmail.com>
52298 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
52299 until it is clear that the information is realy needed.
52300 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
52302 2011-06-22 Andreas Schwab <schwab@redhat.com>
52304 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
52306 2011-06-22 Ulrich Drepper <drepper@gmail.com>
52308 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
52309 /sys/devices/system/cpu/online if it is usable.
52311 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
52312 reading the information from the /proc filesystem to once a second.
52314 2011-06-21 Andreas Jaeger <aj@suse.de>
52316 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
52317 NULL after inclusion of kernel headers.
52319 2011-06-21 Ulrich Drepper <drepper@gmail.com>
52321 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
52322 calls to internal_setent.
52325 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
52326 addresses using gethostbyname4_r ignore IPv4 addresses.
52328 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
52329 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
52331 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
52333 2011-06-20 David S. Miller <davem@davemloft.net>
52335 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
52337 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
52339 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
52340 (elf_irel): Use it.
52341 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
52342 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
52343 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
52344 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
52345 * sysdeps/x86_64/dl-irel.h: Likewise.
52347 * elf/dl-runtime.c: Use elf_ifunc_invoke.
52348 * elf/dl-sym.c: Likewise.
52350 2011-06-15 Ulrich Drepper <drepper@gmail.com>
52352 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
52353 need to dereference resplen2.
52355 2011-06-14 Andreas Schwab <schwab@redhat.com>
52357 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
52359 2011-06-15 Ulrich Drepper <drepper@gmail.com>
52361 * Makeconfig: Define vardbdir and inst_vardbdir.
52362 * nss/Makefile: Add rules to install db-Makefile.
52364 * nss/nss_db/db-XXX.c: Cleanup.
52366 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
52367 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
52369 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
52370 * nss/makedb.c: Implement -g option to specify that value strings
52371 are generated and should not be added to table iterated over for
52373 * nss/nss_db/db-initgroups.c: New file.
52375 * nss/getent.c: Add support for initgroups lookups through getgrouplist
52378 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
52379 (internal_getgrouplist): Adjust to name change.
52380 Update use_initgroups_entry if this is not the first call.
52381 * nss/databases.def: Add initgroups entry.
52383 * nss/makedb.c (compute_tables): Check result of multiple hash table
52384 sizes to minimize maximum chain length.
52386 2011-06-14 Ulrich Drepper <drepper@gmail.com>
52388 * Versions.def: Add entry for libnss_db.
52389 * shlib-versions: Likewise.
52390 * nss/Makefile: Add rules to build libnss_db.
52391 * nss/Versions: Add libnss_db information. Organize libnss_files
52393 * nss/db-Makefile: Add gshadow support. Change rules for the new
52394 makedb progra. Some minor improvements to generate smaller files.
52395 * nss/nss_db/nss_db.h: Move NSS database header data structures to
52397 * nss/makedb.c: ...here.
52398 Improve database format to be smaller and require less memory at
52400 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
52402 * nss/nss_db/db-netgrp.c: Likewise.
52403 * nss/nss_db/db-open.c: Likewise.
52404 * nss/nss_files/flies-XXX.x: Adjust comments.
52405 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
52406 * nss/nss_files/files-grp.c: Likewise.
52407 * nss/nss_files/files-hosts.c: Likewise.
52408 * nss/nss_files/files-network.c: Likewise.
52409 * nss/nss_files/files-proto.c: Likewise.
52410 * nss/nss_files/files-pwd.c: Likewise.
52411 * nss/nss_files/files-rpc.c: Likewise.
52412 * nss/nss_files/files-service.c: Likewise.
52413 * nss/nss_files/files-sgrp.c: Likewise.
52414 * nss/nss_files/files-spwd.c: Likewise.
52415 * nss/nss_db/db-alias.c: Removed.
52416 * nss/nss_db/dummy-db.h: Removed.
52418 2011-06-02 Ulrich Drepper <drepper@gmail.com>
52420 * nss/makedb.c: Rewritten to not use database library.
52421 * nss/Makefile: Update to build new makedb program.
52423 2011-06-14 Andreas Jaeger <aj@suse.de>
52425 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
52426 memset declaration.
52428 2011-06-10 Andreas Schwab <schwab@redhat.com>
52430 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
52433 2011-06-10 Roland McGrath <roland@hack.frob.com>
52435 * Makerules (shlib.lds): Fail if the linker script comes out empty.
52436 * elf/Makefile ($(objpfx)ld.so): Likewise.
52438 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
52439 Don't list ld.so twice in dependencies.
52441 * posix/bug-regex31.c: Include <stdlib.h>.
52443 * nscd/hstcache.c (cache_addhst): Remove unused variable.
52445 * nis/nss_compat/compat-spwd.c
52446 (getspent_next_nss_netgr): Remove unused variable.
52447 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
52449 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
52450 nonmembers" output to use the right array.
52452 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
52454 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
52456 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
52457 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
52458 * catgets/gencat.c (read_input_file): Likewise.
52459 * locale/programs/locarchive.c (enlarge_archive): Likewise.
52461 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
52462 variable definition inside #if's controlling its use.
52464 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
52466 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
52468 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
52470 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
52473 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
52475 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
52476 * configure: Regenerated.
52478 * Makerules: Revert last change.
52479 * elf/Makefile: Likewise.
52481 2011-06-09 Roland McGrath <roland@hack.frob.com>
52483 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
52484 * elf/Makefile ($(objpfx)librtld.os): Likewise.
52485 (reloc-link): Likewise.
52487 2011-06-09 Ulrich Drepper <drepper@gmail.com>
52489 * elf/Makefile: Add rules to build pldd.
52490 * elf/pldd.c: New file.
52491 * elf/pldd-xx.c: New file.
52493 2011-06-07 Ulrich Drepper <drepper@gmail.com>
52495 * version.h: Update for 2.15 development version.
52497 2011-06-07 David S. Miller <davem@davemloft.net>
52499 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
52501 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
52502 elf_machine_lazy_rel): Likewise.
52503 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
52504 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
52505 elf_machine_lazy_rel): Likewise.
52506 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
52507 dl_hwcap via passed in argument.
52508 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
52511 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52513 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
52515 2011-06-06 Roland McGrath <roland@hack.frob.com>
52518 * manual/fdl-1.1.texi: New file, verbatim from:
52519 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
52520 * manual/lgpl-2.1.texi: New file, verbatim from:
52521 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
52522 * manual/Makefile (licenses): New variable, list those new file names.
52524 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
52526 * manual/fdl.texi: File removed.
52527 * manual/lesser.texi: File removed.
52528 * manual/libc.texinfo (Copying, Documentation License):
52529 Use new @include file names, put @appendix directive before @include.
52531 2011-06-04 Jakub Jelinek <jakub@redhat.com>
52534 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
52535 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
52536 (mq_open): Add __NTH.
52538 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
52540 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52541 Assume Intel Core i3/i5/i7 processor if AVX is available.
52543 2011-05-31 Ulrich Drepper <drepper@gmail.com>
52545 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
52548 2011-05-31 Andreas Schwab <schwab@redhat.com>
52550 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
52551 memory. Use alloca_account. Fix memory leak when retrying.
52553 2011-05-31 Ulrich Drepper <drepper@gmail.com>
52555 * version.h (RELEASE): Bump for 2.14 release.
52556 * include/features.h (__GLIBC_MINOR__): Bump to 14.
52558 * config.make.in (RANLIB): Remove entry.
52560 2011-05-30 Ulrich Drepper <drepper@gmail.com>
52562 * po/Makefile (po-sed-cmd): Add ksh to extensions.
52563 (libc.pot): Work around missing support for .ksh extension in xgettext.
52566 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
52567 if both request failed.
52568 (send_dg): In case of server errors clear resplen or *resplen2.
52571 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
52572 when there are multiple maps.
52573 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
52574 (_dl_fini): Remove test here.
52576 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
52578 2011-05-29 Ulrich Drepper <drepper@gmail.com>
52581 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
52582 bit from old_res_options.
52583 (gaih_inet): Likewise.
52586 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
52589 * resolv/res_init.c (res_setoptions): Make the code more compact.
52592 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
52596 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
52598 * malloc/malloc.h: Mark malloc hook variables as deprecated.
52601 * malloc/malloc.h: Declare malloc hook variables as volatile.
52603 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
52607 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
52608 raise in the comment.
52609 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
52610 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
52611 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
52613 2011-05-28 Ulrich Drepper <drepper@gmail.com>
52616 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
52617 grow the buffers more if it already has to be sufficient.
52618 (build_wcs_upper_buffer): Likewise.
52619 * posix/regexec.c (check_matching): Likewise.
52620 (clean_state_log_if_needed): Likewise.
52621 (extend_buffers): Don't enlarge buffers beyond size of the input
52623 Patches mostly by Emil Wojak <emil@wojak.eu>.
52624 * posix/bug-regex32.c: New file.
52625 * posix/Makefile (tests): Add bug-regex32.
52627 * locale/findlocale.c (_nl_find_locale): Return right away if
52628 _nl_explode_name failed.
52629 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
52631 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
52633 * debug/xtrace.sh: Unify messages.
52634 * malloc/memusage.sh: Likewise.
52637 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
52638 time symbol from vDSO. Substitute with vsyscall if not available.
52639 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
52642 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
52643 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
52644 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
52645 Add sendmmsg and internal_sendmmsg.
52646 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
52647 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
52648 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
52650 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
52651 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
52652 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
52654 2011-05-27 Ulrich Drepper <drepper@gmail.com>
52657 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
52658 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
52660 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
52664 * iconvdata/Makefile (tests): Add bug-iconv9.
52665 * iconvdata/bug-iconv9.c: New file.
52667 2011-05-27 Andreas Schwab <schwab@redhat.com>
52670 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
52672 2011-05-25 Jakub Jelinek <jakub@redhat.com>
52674 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
52675 (struct user_regs_struct): Change intcs field back to cs.
52677 2011-05-25 Ulrich Drepper <drepper@gmail.com>
52679 * po/ja.po: Update from translation team.
52681 2011-05-23 Ulrich Drepper <drepper@gmail.com>
52684 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
52685 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
52687 2011-05-20 Andreas Schwab <schwab@redhat.com>
52689 * stdlib/longlong.h: Update from GCC.
52691 2011-05-23 Andreas Schwab <schwab@redhat.com>
52693 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
52695 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
52696 Add parameter name.
52697 (__sysconf): Pass it down.
52699 2011-05-22 Ulrich Drepper <drepper@gmail.com>
52702 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
52704 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
52705 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
52706 add in in __libc_use_alloca calls. Adjust callers.
52707 (glob): Use malloc in some situations.
52709 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
52710 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
52713 2011-05-21 Ulrich Drepper <drepper@gmail.com>
52715 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
52716 and CLOCK_BOOTTIME_ALARM.
52719 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
52722 * string/_strerror.c (__strerror_r): Print negative errors as signed
52726 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
52727 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
52728 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
52730 * configure.in: Fix typo in redirection and correct removal of test
52731 files in two cases.
52734 * locale/setlocale.c (new_composite_name): Fix test to check for
52735 identical name of all categories.
52738 * libio/filedoalloc.c (local_isatty): New function.
52739 (_IO_file_doallocate): Use local_isatty.
52740 * stdio-common/perror.c (perror): In case a new stream is used
52741 forward the stream error.
52742 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
52745 2011-05-20 Ulrich Drepper <drepper@gmail.com>
52748 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
52750 * include/alloca.h (extend_alloca_account): Define.
52753 * posix/regex.h: Fix comments with documentation of user-accessible
52754 fields after compilation and describe correct free'ing of pattern
52755 after re_compile_pattern.
52756 Patch by Reuben Thomas <rrt@sc3d.org>.
52758 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
52760 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
52761 and -mno-altivec to prevent the compiler from using Altivec and/or
52762 VSX instructions when the corresponding registers are not available.
52764 2011-05-19 Andreas Schwab <schwab@redhat.com>
52766 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
52768 2011-05-19 Ulrich Drepper <drepper@gmail.com>
52770 * libio/freopen.c (freopen): Use __dup2, not dup2.
52771 * libio/freopen64.c (freopen64): Likewise.
52773 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
52776 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
52777 * math/Makefile (tests): Add test-powl.
52778 (CFLAGS-test-powl.c): Define.
52779 * math/test-powl.c: New file.
52781 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
52783 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
52785 2011-05-17 Ulrich Drepper <drepper@gmail.com>
52788 * iconvdata/gb18030.c: Update to GB18020-2005.
52790 2011-05-16 Ulrich Drepper <drepper@gmail.com>
52792 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
52793 RE_SYNTAX_POSIX_AWK): Update to match recent development.
52794 Patch by Aharon Robbins <arnold@skeeve.com>.
52797 * stdlib/putenv.c (putenv): Don't always create copy of the variable
52801 * misc/pselect.c (__pselect): Handle timeout value errors hidden
52802 through underflows.
52805 * misc/error.c (error_at_line): Ensure file_name and old_file_name
52806 point to strings before performing equality test for error_one_per_line
52810 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
52813 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
52814 (struct user_fpregs_struct): Avoid __uint*_t types.
52817 * malloc/mtrace.c (tr_where): Add additional parameter to point to
52818 symbol info. Use it instead of calling _dl_addr locally.
52819 (lock_and_info): New function.
52820 (tr_freehook): Call lock_and_info and pass symbol info as additional
52821 parameter to tr_where.
52822 (tr_mallochook): Likewise.
52823 (tr_reallochook): Likewise.
52824 (tr_memalignhook): Likewise.
52826 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
52827 used and couldn't be at all thread-safe.
52829 2011-05-15 Ulrich Drepper <drepper@gmail.com>
52831 * libio/freopen.c (freopen): Don't close old file descriptor
52832 before the new one is opened. Instead dup the new file descriptor
52833 to the old one after the new stream is created.
52834 * libio/freopen64.c (freopen64): Likewise.
52835 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
52836 * libio/fileops.c (_IO_new_file_close_it): Handle new
52837 _IO_FLAGS2_NOCLOSE flag.
52838 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
52839 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
52840 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
52841 _IO_FLAGS2_NOCLOSE flag.
52842 * include/unistd.h: Add hidden_proto for dup3.
52843 Define __have_dup3.
52844 * io/dup3.c: Define hidden symbol.
52845 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
52848 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
52849 when an incomplete long option is used.
52850 * posix/tst-getopt_long1.c: New file.
52851 * posix/Makefile (tests): Add tst-getopt_long1.
52854 * scripts/config.guess: Update from autoconf-2.68.
52855 * scripts/config.sub: Likewise.
52858 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
52860 (has_cpuclock): ...this. New function.
52861 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
52862 macro here based on has_cpuclock code.
52865 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52866 First byte (not low byte) is now always NUL.
52867 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
52869 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52870 Use non-cancelable interfaces.
52873 * locale/iso-639.def: Add entry for Sorani.
52876 * include/stdlib.h: Move include protection to the right place.
52877 Define abort_msg_s. Declare __abort_msg with it.
52878 * stdlib/abort.c (__abort_msg): Adjust type.
52879 * assert/assert.c (__assert_fail_base): New function. Majority
52880 of code from __assert_fail. Allocate memory for __abort_msg with
52882 (__assert_fail): Now call __assert_fail_base.
52883 * assert/assert-perr.c: Remove bulk of implementation. Use
52884 __assert_fail_base.
52885 * include/assert.hL Declare __assert_fail_base.
52886 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
52888 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
52890 2011-05-14 Ulrich Drepper <drepper@gmail.com>
52894 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
52895 until all modules are registered in the DTV.
52896 * elf/Makefile: Add rules to build and run tst-tls19.
52897 * elf/tst-tls19.c: New file.
52898 * elf/tst-tls19mod1.c: New file.
52899 * elf/tst-tls19mod2.c: New file.
52900 * elf/tst-tls19mod3.c: New file.
52901 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
52904 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
52908 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
52909 two-byte sequence errors.
52910 * iconvdata/Makefile (tests): Add bug-iconv8.
52911 * iconvdata/bug-iconv8.c: New file.
52914 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
52917 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
52920 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
52921 (dummy_getcfa): New function.
52922 (init): Get _Unwind_GetCFA address, use dummy if not found.
52923 (backtrace_helper): In recursion check, also check whether CFA changes.
52924 (__backtrace): Completely initialize arg.
52926 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
52927 storing incomplete byte sequence in state object. Avoid testing for
52928 guaranteed too small input if we know there is enough data available.
52930 2011-05-11 Andreas Schwab <schwab@redhat.com>
52932 * Makeconfig (+link-pie): Indent.
52933 * Rules (binaries-pie): Define if $(have-fpie) and
52935 (binaries-shared): Also filter out $(binaries-pie).
52936 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
52937 * nscd/Makefile (others-pie): Add nscd.
52938 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
52939 ($(objpfx)nscd): Remove command override.
52940 * login/Makefile (others-pie): Add pt_chown.
52941 ($(objpfx)pt_chown): Remove command override.
52942 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
52943 remove command overrides.
52945 2011-05-13 Ulrich Drepper <drepper@gmail.com>
52947 * libio/tst_putwc.c: Fix error messages.
52950 * libio/fileops.c (_IO_new_file_close_it): Always flush when
52951 currently writing and seek to current position when not.
52952 * libio/Makefile (tests): Add bug-fclose1.
52953 * libio/bug-fclose1.c: New file.
52955 2011-05-12 Ulrich Drepper <drepper@gmail.com>
52958 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
52959 don't set DF_1_NODELETE here.
52960 (do_lookup_x): When entering new entry test for copy relocation
52961 and if necessary set DF_1_NODELETE flag.
52962 * elf/tst-unique4.cc: New file.
52963 * elf/tst-unique4.h: New file.
52964 * elf/tst-unique4lib.cc: New file.
52965 * elf/Makefile: Add rules to build and run tst-unique4.
52966 Patch by Piotr Bury <pbury@goahead.com>.
52968 2011-05-11 Ulrich Drepper <drepper@gmail.com>
52971 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
52974 * misc/mntent_r.c (addmntent): Flush the stream after the output
52977 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
52978 (is_trusted_path_normalize): Skip initial colon. Append slash
52979 to empty buffer. Duplicate is_trusted_path code but allow
52980 constructed patch to be prefix.
52981 (is_dst): Allow $ORIGIN followed by /.
52982 (_dl_dst_substitute): Correct clearing of check_for_trusted.
52983 Correct testing of result of is_trusted_path_normalize
52984 (decompose_rpath): Fix warning.
52986 2011-05-10 Ulrich Drepper <drepper@gmail.com>
52989 * grp/initgroups.c (internal_getgrouplist): When we found the service
52990 list through the initgroups entry in nsswitch.conf do not always
52991 continue on a successful lookup. Don't always use the
52992 __nss_group_database value if it is set.
52993 * nss/nsswitch.conf (initgroups): Change action for successful db
52994 lookup to continue for compatibility.
52996 2011-05-09 Ulrich Drepper <drepper@gmail.com>
52999 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
53001 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
53003 * iconvdata/tst-tables.sh: Likewise.
53004 * iconvdata/cp770.c: New file.
53005 * iconvdata/cp771.c: New file.
53006 * iconvdata/cp772.c: New file.
53007 * iconvdata/cp773.c: New file.
53008 * iconvdata/cp774.c: New file.
53009 * iconvdata/testdata/CP770: New file.
53010 * iconvdata/testdata/CP770..UTF8: New file.
53011 * iconvdata/testdata/CP771: New file.
53012 * iconvdata/testdata/CP771..UTF8: New file.
53013 * iconvdata/testdata/CP772: New file.
53014 * iconvdata/testdata/CP772..UTF8: New file.
53015 * iconvdata/testdata/CP773: New file.
53016 * iconvdata/testdata/CP773..UTF8: New file.
53017 * iconvdata/testdata/CP774: New file.
53018 * iconvdata/testdata/CP774..UTF8: New file.
53020 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
53022 * iconvdata/gen-8bit-gap.sh: Likewise.
53023 * iconvdata/gen-8bit.sh: Likewise.
53025 * locale/iso-639.def: Add ary entry.
53028 * locale/C-translit.h.in: Add U20A1 transliteration.
53031 * locale/iso-639.def: Add wae entry.
53032 Patch by Kevin Bortis <bortis@translate-wae.ch>.
53035 * locale/programs/localedef.c (construct_output_path): Use ssize_t
53039 * locale/C-translit.h.in: Add entry for U20B9.
53040 Patch by pravin.d.s@gmail.com.
53042 2011-05-08 Ulrich Drepper <drepper@gmail.com>
53045 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
53046 ENAMETOOLONG use generic getcwd.
53047 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
53048 in rtld. Use *stat64.
53049 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
53050 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
53051 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
53052 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
53053 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
53054 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
53055 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
53056 __fstatat64 macros.
53057 * include/dirent.h: Add libc_hidden_proto for rewinddir.
53058 * dirent/rewinddir.c: Add libc_hidden_def.
53059 * sysdeps/mach/hurd/rewinddir.c: Likewise.
53060 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
53062 * include/dirent.h (__alloc_dir): Add flags parameter.
53063 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
53064 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
53066 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
53067 from fdopendir if O_CLOEXEC is already set.
53069 2011-03-15 Alan Modra <amodra@gmail.com>
53071 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
53072 l_tls_firstbyte_offset non-zero. Save padding offset in
53073 l_tls_firstbyte_offset for later use.
53074 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
53075 freeing static tls block.
53077 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
53079 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
53080 where #ifdef was intended. The intent is to prevent ARG_MAX from
53081 being defined by the kernel headers.
53083 2011-05-07 Ulrich Drepper <drepper@gmail.com>
53086 * resolv/resolv.h: Define RES_NOTLDQUERY.
53087 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
53088 no-tld-query and set RES_NOTLDQUERY.
53089 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
53090 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
53091 modern BIND to search name as TLD unless forbidden.
53093 2011-05-07 Petr Baudis <pasky@suse.cz>
53094 Ulrich Drepper <drepper@gmail.com>
53097 * elf/dl-load.c (fillin_rpath): Move trusted path check...
53098 (is_trusted_path): ...to here.
53099 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
53100 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
53101 using is_trusted_path_normalize() in setuid scripts.
53103 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
53105 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
53106 __BEGIN/__END_DECLS.
53108 2011-05-06 Ulrich Drepper <drepper@gmail.com>
53110 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
53111 NSS_STATUS_NOTFOUND if no record was found.
53113 2011-05-05 Andreas Schwab <schwab@redhat.com>
53115 * sunrpc/Makefile (headers): Add rpc/netdb.h.
53116 (headers-not-in-tirpc): Remove rpc/netdb.h
53117 * resolv/netdb.h: Revert last change.
53119 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
53121 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
53122 circular dependency between libgcc.a and libc.a.
53124 2011-05-05 Andreas Schwab <schwab@redhat.com>
53126 * resolv/netdb.h: Don't include <rpc/netdb.h>.
53127 * nis/Makefile: Don't install rpcsvc/*.
53128 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
53129 instead of <rpc/types.h>.
53130 (MAXHOSTNAMELEN): Define.
53132 2011-05-03 Andreas Schwab <schwab@redhat.com>
53134 * elf/ldconfig.c (add_dir): Don't crash on empty path.
53136 2011-04-28 Maciej Babinski <mbabinski@google.com>
53139 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
53140 gethostbyname4_r when IPv6 results are possible.
53142 2011-05-02 Ulrich Drepper <drepper@gmail.com>
53145 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
53146 _PC_PIPE_BUF handling.
53148 2011-04-30 Bruno Haible <bruno@clisp.org>
53151 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
53152 * resolv/netdb.h (getnameinfo): Change type of flags parameter
53154 * inet/getnameinfo.c (getnameinfo): Likewise.
53156 2011-04-29 Ulrich Drepper <drepper@gmail.com>
53158 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
53159 to groups setting in database lookup.
53160 * nss/nsswitch.conf: Add initgroups entry.
53162 2011-04-22 Ulrich Drepper <drepper@gmail.com>
53165 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
53167 Patch by Eric Blake <eblake@redhat.com>.
53169 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
53171 * sunrpc/Makefile (need-export-routines): Add svc_run.
53172 (routines): Remove svc_run.
53173 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
53174 * sunrpc/clnt_perr.c (clnt_perrno): Export.
53175 * sunrpc/svc_run.c (svc_run): Likewise.
53176 * sunrpc/svc_udp.c (svcudp_create): Likewise.
53178 2011-04-21 Ulrich Drepper <drepper@gmail.com>
53180 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
53181 problem in reallocation in last patch.
53183 2011-04-20 Ulrich Drepper <drepper@gmail.com>
53185 * sunrpc/Makefile: Move inclusion of Rules.
53187 2011-04-19 Ulrich Drepper <drepper@gmail.com>
53189 * nss/nss_files/files-initgroups.c: New file.
53190 * nss/Makefile (libnss_files-routines): Add files-initgroups.
53191 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
53192 _nss_files_initgroups_dyn.
53194 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
53196 * elf/elf.h (R_ARM_IRELATIVE): Define.
53198 2011-04-19 Ulrich Drepper <drepper@gmail.com>
53200 * po/ru.po: Update from translation team.
53202 2011-04-17 Ulrich Drepper <drepper@gmail.com>
53204 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
53207 2011-02-06 Mike Frysinger <vapier@gentoo.org>
53210 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
53211 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
53212 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
53213 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
53214 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
53216 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
53218 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
53220 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
53221 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
53222 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53224 2011-04-17 Ulrich Drepper <drepper@gmail.com>
53227 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
53229 * stdlib/bug-getcontext.c: New file.
53230 * stdlib/Makefile: Add rules to build and run bug-getcontext.
53232 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53234 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
53235 instructions into .machine "z9-109".
53236 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
53237 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
53239 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53241 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
53242 between environment variables and auxiliary vector.
53244 2011-04-16 Ulrich Drepper <drepper@gmail.com>
53246 * Makefile: Add rules to build linkobj/libc.so.
53247 * include/libc-symbols.h: Define libc_hidden_nolink.
53248 * include/rpc/auth.h: Mark functions which are to be hidden.
53249 * include/rpc/auth_des.h: Likewise.
53250 * include/rpc/auth_unix.h: Likewise.
53251 * include/rpc/clnt.h: Likewise.
53252 * include/rpc/des_crypt.h: Likewise.
53253 * include/rpc/key_prot.h: Likewise.
53254 * include/rpc/pmap_clnt.h: Likewise.
53255 * include/rpc/pmap_prot.h: Likewise.
53256 * include/rpc/pmap_rmt.h: Likewise.
53257 * include/rpc/rpc_msg.h: Likewise.
53258 * include/rpc/svc.h: Likewise.
53259 * include/rpc/svc_auth.h: Likewise.
53260 * include/rpc/xdr.h: Likewise.
53261 * nis/Makefile: Link all DSOs against linkobj/libc.so.
53262 * nss/Makefile: Likewise.
53263 * sunrpc/Makefile: Don't install headers. Build library with normal
53264 entry points. Don't build rpcinfo. Link RPC tests appropriately.
53265 * sunrpc/auth_des.c: Hide exported symbols by default, export some
53266 for the compat linking library. Remove use of INTDEF/INTUSE.
53267 * sunrpc/auth_none.c: Likewise.
53268 * sunrpc/auth_unix.c: Likewise.
53269 * sunrpc/authdes_prot.c: Likewise.
53270 * sunrpc/authuxprot.c: Likewise.
53271 * sunrpc/clnt_gen.c: Likewise.
53272 * sunrpc/clnt_perr.c: Likewise.
53273 * sunrpc/clnt_raw.c: Likewise.
53274 * sunrpc/clnt_simp.c: Likewise.
53275 * sunrpc/clnt_tcp.c: Likewise.
53276 * sunrpc/clnt_udp.c: Likewise.
53277 * sunrpc/clnt_unix.c: Likewise.
53278 * sunrpc/des_crypt.c: Likewise.
53279 * sunrpc/des_soft.c: Likewise.
53280 * sunrpc/get_myaddr.c: Likewise.
53281 * sunrpc/key_call.c: Likewise.
53282 * sunrpc/key_prot.c: Likewise.
53283 * sunrpc/netname.c: Likewise.
53284 * sunrpc/pm_getmaps.c: Likewise.
53285 * sunrpc/pm_getport.c: Likewise.
53286 * sunrpc/pmap_clnt.c: Likewise.
53287 * sunrpc/pmap_prot.c: Likewise.
53288 * sunrpc/pmap_prot2.c: Likewise.
53289 * sunrpc/pmap_rmt.c: Likewise.
53290 * sunrpc/publickey.c: Likewise.
53291 * sunrpc/rpc_cmsg.c: Likewise.
53292 * sunrpc/rpc_common.c: Likewise.
53293 * sunrpc/rpc_dtable.c: Likewise.
53294 * sunrpc/rpc_prot.c: Likewise.
53295 * sunrpc/rpc_thread.c: Likewise.
53296 * sunrpc/rtime.c: Likewise.
53297 * sunrpc/svc.c: Likewise.
53298 * sunrpc/svc_auth.c: Likewise.
53299 * sunrpc/svc_authux.c: Likewise.
53300 * sunrpc/svc_raw.c: Likewise.
53301 * sunrpc/svc_run.c: Likewise.
53302 * sunrpc/svc_simple.c: Likewise.
53303 * sunrpc/svc_tcp.c: Likewise.
53304 * sunrpc/svc_udp.c: Likewise.
53305 * sunrpc/svc_unix.c: Likewise.
53306 * sunrpc/svcauth_des.c: Likewise.
53307 * sunrpc/xcrypt.c: Likewise.
53308 * sunrpc/xdr.c: Likewise.
53309 * sunrpc/xdr_array.c: Likewise.
53310 * sunrpc/xdr_float.c: Likewise.
53311 * sunrpc/xdr_intXX_t.c: Likewise.
53312 * sunrpc/xdr_mem.c: Likewise.
53313 * sunrpc/xdr_rec.c: Likewise.
53314 * sunrpc/xdr_ref.c: Likewise.
53315 * sunrpc/xdr_sizeof.c: Likewise.
53316 * sunrpc/xdr_stdio.c: Likewise.
53318 2011-04-10 Ulrich Drepper <drepper@gmail.com>
53321 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
53322 * sysdeps/ia64/dl-tls.h: Likewise.
53323 * sysdeps/powerpc/dl-tls.h: Likewise.
53324 * sysdeps/s390/dl-tls.h: Likewise.
53325 * sysdeps/sh/dl-tls.h: Likewise.
53326 * sysdeps/sparc/dl-tls.h: Likewise.
53327 * sysdeps/x86_64/dl-tls.h: Likewise.
53328 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
53330 2011-03-14 Andreas Schwab <schwab@redhat.com>
53332 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
53333 rpath element also skip the following colon.
53334 (expand_dynamic_string_token): Add is_path parameter and pass
53335 down to DL_DST_REQUIRED and _dl_dst_substitute.
53336 (decompose_rpath): Call expand_dynamic_string_token with
53337 non-zero is_path. Ignore empty rpaths.
53338 (_dl_map_object_from_fd): Call expand_dynamic_string_token
53341 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
53343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
53346 2011-04-09 Ulrich Drepper <drepper@gmail.com>
53349 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
53350 Patch by Filipe David Manana <fdmanana@apache.org>.
53352 2011-04-07 Andreas Schwab <schwab@redhat.com>
53354 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
53355 Maintain aligned stack.
53356 (CHECK_RSP): Remove unused macro.
53358 2011-04-03 Ulrich Drepper <drepper@gmail.com>
53360 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
53361 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
53363 2011-04-02 Ulrich Drepper <drepper@gmail.com>
53365 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
53367 * include/features.h: Mention __USE_XOPEN2K8 in comment.
53369 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
53372 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
53373 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
53374 * sysdeps/x86_64/memmove.c: New file.
53375 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
53376 (memcpy): Renamed to ...
53377 (__new_memcpy): This.
53378 (memcpy): Provide GLIBC_2_14 memcpy.
53379 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
53380 (memcpy): Provide GLIBC_2_2_5 memcpy.
53382 2011-04-01 Ulrich Drepper <drepper@gmail.com>
53385 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
53387 2011-03-30 Andreas Schwab <schwab@redhat.com>
53389 * misc/syncfs.c: New file.
53390 * misc/Makefile (routines): Add syncfs.
53391 * posix/unistd.h: Declare syncfs.
53392 * sysdeps/unix/syscalls.list: Add syncfs.
53394 2011-04-01 Andreas Schwab <schwab@redhat.com>
53396 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
53398 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
53399 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53400 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53401 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53402 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53403 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
53404 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53406 2011-04-01 Ulrich Drepper <drepper@gmail.com>
53408 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
53409 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53410 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
53411 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53412 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53413 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53414 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53416 * io/Makefile: Compile fallocate.c, fallocate64.c, and
53417 sync_file_range.c with -fexceptions.
53418 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
53419 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
53420 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
53421 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
53422 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
53423 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
53424 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
53425 sync_file_range as cancellation point
53426 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
53427 now a wrapper around __call_sync_file_range with cancellation handling.
53428 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
53429 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
53430 function name to __call_sync_file_range.
53431 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
53432 Add call_sync_file_range.
53434 2011-04-01 Andreas Schwab <schwab@redhat.com>
53436 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53439 2011-04-01 Ulrich Drepper <drepper@gmail.com>
53441 * iconv/iconv.h: Fix typo in comment.
53442 * io/fcntl.h: Likewise.
53443 * libio/stdio.h: Likewise.
53444 * posix/spawn.h: Likewise.
53445 * posix/unistd.h: Likewise.
53446 * stdlib/stdlib.h: Likewise.
53447 * time/time.h: Likewise.
53448 * wcsmbs/wchar.h: Likewise.
53450 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
53451 open_by_handle): Add.
53452 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
53453 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
53454 Augment a few comments.
53455 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53456 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53457 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53458 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53459 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53460 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
53463 * io/fcntl.h (AT_EMPTY_PATH): Define.
53465 2011-03-30 Ulrich Drepper <drepper@gmail.com>
53467 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
53468 * sysdeps/unix/sysv/linux/bits/time.h: New file.
53469 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
53471 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
53472 * Versions.def: Add GLIBC_2.14.
53473 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
53476 2011-03-22 Ulrich Drepper <drepper@gmail.com>
53478 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
53480 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
53482 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
53485 * string/test-strncmp.c (do_page_test): New function.
53486 (check2): Likewise.
53487 (test_main): Call check2.
53488 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
53490 2011-03-20 Ulrich Drepper <drepper@gmail.com>
53493 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
53494 Handle cache information in CPU leaf 4.
53495 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
53497 2011-03-18 Ulrich Drepper <drepper@gmail.com>
53500 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
53501 character representation.
53502 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
53504 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
53506 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
53507 END(__isnan) to END(__isnanf) to match function entry point/label
53508 EALIGN(__isnanf,...).
53510 2011-03-10 Jakub Jelinek <jakub@redhat.com>
53512 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
53514 2011-03-10 Ulrich Drepper <drepper@gmail.com>
53517 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
53518 copy from the symbol referenced in the relocation to initialize the
53520 Patch by Piotr Bury <pbury@goahead.com>.
53521 * elf/Makefile: Add rules to build and tst-unique3.
53522 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
53523 * elf/tst-unique3.cc: New file.
53524 * elf/tst-unique3.h: New file.
53525 * elf/tst-unique3lib.cc: New file.
53526 * elf/tst-unique3lib2.cc: New file.
53528 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
53530 2011-03-10 Mike Frysinger <vapier@gentoo.org>
53532 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
53533 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
53536 2011-03-06 Ulrich Drepper <drepper@gmail.com>
53538 * elf/dl-load.c (_dl_map_object): If we are looking for the first
53539 to-be-loaded object along a path to loader is ld.so.
53541 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
53542 Ulrich Drepper <drepper@gmail.com>
53544 * sysdeps/x86_64/memset.S: After aligning destination, code
53545 branches to different locations depending on the value of
53546 misalignment, when multiarch is enabled. Fix this.
53548 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
53550 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
53551 Set _x86_64_preferred_memory_instruction for AMD processsors.
53552 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53553 Set bit_Prefer_SSE_for_memop for AMD processors.
53555 2011-03-04 Ulrich Drepper <drepper@gmail.com>
53557 * libio/fmemopen.c (fmemopen): Optimize a bit.
53559 2011-03-03 Andreas Schwab <schwab@redhat.com>
53561 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
53563 2011-03-03 Roland McGrath <roland@redhat.com>
53565 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
53567 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
53569 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
53570 __bzero_ultra1 instead of __memset_ultra1.
53572 2011-02-23 Andreas Schwab <schwab@redhat.com>
53573 Ulrich Drepper <drepper@gmail.com>
53576 * include/link.h (struct link_map): Add l_orig_initfini.
53577 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
53578 returning unsuccessfully.
53579 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
53580 close of a file loaded at startup, restore the original l_initfini
53582 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
53583 list, store the pointer.
53584 * elf/Makefile ($(objpfx)noload-mem): New rule.
53585 (noload-ENV): Define.
53586 (tests): Add $(objpfx)noload-mem.
53587 * elf/noload.c: Include <memcheck.h>.
53588 (main): Call mtrace. Close all opened handles.
53590 2011-02-17 Andreas Schwab <schwab@redhat.com>
53593 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
53594 dependencies are missing.
53596 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
53598 Fix __if_freereq crash: Unlike the generic version which uses free,
53600 * sysdeps/mach/hurd/ifreq.h: New file.
53602 2011-01-27 Petr Baudis <pasky@suse.cz>
53603 Ulrich Drepper <drepper@gmail.com>
53606 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
53607 to extend_alloca().
53608 * stdio-common/bug23.c: New file.
53609 * stdio-common/Makefile (tests): Add bug23.
53611 2010-09-28 Andreas Schwab <schwab@redhat.com>
53612 Ulrich Drepper <drepper@gmail.com>
53615 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
53616 before performing relro protection. At old place add assertion
53617 to make sure nothing changed.
53619 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
53620 Glauber de Oliveira Costa <glommer@gmail.com>
53622 * elf/elf.h: Add new ARM TLS relocs.
53624 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
53626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
53627 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
53629 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
53631 * sysdeps/wordsize-64/tst-writev.c: New file.
53633 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
53635 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
53636 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
53637 insns in _dl_start to prevent a TOC reference before relocs are
53640 2011-02-15 Ulrich Drepper <drepper@gmail.com>
53643 * Makeconfig: Remove RANLIB definition.
53644 * Makerules: Don't use RANLIB.
53645 * aclocal.m4: Remove ranlib test.
53646 * configure.in: No need to check for ranlib.
53647 * elf/rtld-Rules: Don't use RANLIB.
53649 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
53651 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
53653 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
53654 inclusion protection macro.
53656 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
53657 SIGRTMIN and SIGRTMAX and print information in that case only when
53658 SIGRTMIN is defined.
53660 2011-02-11 Jakub Jelinek <jakub@redhat.com>
53662 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
53663 arginfo fn returning -1.
53665 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
53666 and thousands string is zero terminated.
53668 2011-02-03 Andreas Schwab <schwab@redhat.com>
53670 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
53671 sysdeps/unix/sysv/linux/bits/socket.h.
53673 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
53675 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
53676 (__CPU_COUNT): Remove old macros.
53677 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
53678 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
53679 (__CPU_ALLOC, __CPU_FREE): Add macros.
53680 (__sched_cpualloc, __sched_cpufree): Add declarations.
53682 2011-02-05 Ulrich Drepper <drepper@gmail.com>
53684 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
53685 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
53686 * nscd/aicache.c (addhstaiX): Return timeout of added value.
53687 (readdhstai): Return value of addhstaiX call.
53688 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
53689 (addgrbyX): Return value returned by cache_addgr.
53690 (readdgrbyname): Return value returned by addgrbyX.
53691 (readdgrbygid): Likewise.
53692 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
53693 (addpwbyX): Return value returned by cache_addpw.
53694 (readdpwbyname): Return value returned by addhstbyX.
53695 (readdpwbyuid): Likewise.
53696 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
53697 (addservbyX): Return value returned by cache_addserv.
53698 (readdservbyname): Return value returned by addservbyX:
53699 (readdservbyport): Likewise.
53700 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
53701 (addhstbyX): Return value returned by cache_addhst.
53702 (readdhstbyname): Return value returned by addhstbyX.
53703 (readdhstbyaddr): Likewise.
53704 (readdhstbynamev6): Likewise.
53705 (readdhstbyaddrv6): Likewise.
53706 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
53707 (readdinitgroups): Return value returned by addinitgroupsX.
53708 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
53709 (prune_cache): Keep track of timeout value of re-added entries.
53710 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
53711 * nscd/nscd.h: Adjust prototypes of readd* functions.
53713 2011-02-04 Roland McGrath <roland@redhat.com>
53715 * nis/nis_server.c (nis_servstate): Use the right name for 0.
53716 (nis_stats): Likewise.
53717 * nis/nis_modify.c (nis_modify): Likewise.
53718 * nis/nis_remove.c (nis_remove): Likewise.
53719 * nis/nis_add.c (nis_add): Likewise.
53721 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
53723 * posix/fnmatch_loop.c: Add some consts.
53725 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
53727 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
53730 * config.make.in (config-cflags-novzeroupper): Define.
53731 * configure.in: Substitute libc_cv_cc_novzeroupper.
53732 * elf/Makefile (AVX-CFLAGS): Define.
53733 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
53734 (CFLAGS-tst-auditmod4a.c): Likewise.
53735 (CFLAGS-tst-auditmod4b.c): Likewise.
53736 (CFLAGS-tst-auditmod6b.c): Likewise.
53737 (CFLAGS-tst-auditmod6c.c): Likewise.
53738 (CFLAGS-tst-auditmod7b.c): Likewise.
53739 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
53741 2011-02-02 Ulrich Drepper <drepper@gmail.com>
53743 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
53744 function to the callback.
53745 Patch partly by Jiri Olsa <jolsa@redhat.com>.
53747 2011-02-02 Andreas Schwab <schwab@redhat.com>
53749 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
53752 2011-01-19 Ulrich Drepper <drepper@gmail.com>
53755 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
53757 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
53759 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
53762 * elf/Makefile: Add rules to build and run new test.
53763 * elf/tst-initorder.c: New file.
53764 * elf/tst-initorder.exp: New file.
53765 * elf/tst-initordera1.c: New file.
53766 * elf/tst-initordera2.c: New file.
53767 * elf/tst-initordera3.c: New file.
53768 * elf/tst-initordera4.c: New file.
53769 * elf/tst-initorderb1.c: New file.
53770 * elf/tst-initorderb2.c: New file.
53771 * elf/tst-order-a1.c: New file.
53772 * elf/tst-order-a2.c: New file.
53773 * elf/tst-order-a3.c: New file.
53774 * elf/tst-order-a4.c: New file.
53775 * elf/tst-order-b1.c: New file.
53776 * elf/tst-order-b2.c: New file.
53777 * elf/tst-order-main.c: New file.
53778 New test case by George Gensure <werkt0@gmail.com>.
53780 2010-10-01 Andreas Schwab <schwab@redhat.com>
53782 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
53783 decoding ACE if AI_CANONIDN.
53785 2011-01-18 Ulrich Drepper <drepper@gmail.com>
53787 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
53789 2011-01-17 Ulrich Drepper <drepper@gmail.com>
53791 * version.h (RELEASE): Bump for 2.13 release.
53792 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
53794 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
53796 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
53798 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
53799 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
53800 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
53801 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
53802 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
53803 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
53805 * posix/getconf.c: Update copyright year.
53806 * catgets/gencat.c: Likewise.
53807 * csu/version.c: Likewise.
53808 * debug/catchsegv.sh: Likewise.
53809 * debug/xtrace.sh: Likewise.
53810 * elf/ldconfig.c: Likewise.
53811 * elf/ldd.bash.in: Likewise.
53812 * elf/sprof.c (print_version): Likewise.
53813 * iconv/iconv_prog.c: Likewise.
53814 * iconv/iconvconfig.c: Likewise.
53815 * locale/programs/locale.c: Likewise.
53816 * locale/programs/localedef.c: Likewise.
53817 * malloc/memusage.sh: Likewise.
53818 * malloc/mtrace.pl: Likewise.
53819 * nscd/nscd.c (print_version): Likewise.
53820 * nss/getent.c: Likewise.
53822 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
53823 PF_CAIF, and PF_ALG.
53824 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53826 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
53828 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
53829 (modules-names): Use them.
53830 (ifunc-test-modules, ifunc-pie-tests): Define.
53831 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
53832 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
53833 (test-extras): Likewise.
53834 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
53835 $(compile-command.c).
53836 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
53837 (all-built-dso): Define.
53838 (check-textrel.out, check-execstack.out): Depend on it.
53840 * configure.in: Don't override --enable-multi-arch.
53842 2011-01-15 Ulrich Drepper <drepper@gmail.com>
53845 * nscd/hstcache.c (tryagain): Define.
53846 (cache_addhst): Return tryagain not notfound for temporary errors.
53847 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
53850 2011-01-14 Ulrich Drepper <drepper@gmail.com>
53853 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
53854 to make the syscall.
53855 * sysdeps/unix/sysv/linux/setgroups.c: New file.
53858 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
53859 and fall back to matching as normal character if the string ends before
53860 the matching ']' is found. This is what POSIX requires.
53861 * posix/testfnm.c: Adjust test result.
53862 * posix/globtest.sh: Adjust test result. Add new test.
53863 * posix/tst-fnmatch.input: Likewise.
53864 * posix/tst-fnmatch2.c: Add new test.
53866 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
53868 * elf/Makefile (check-execstack): Revert last change. Depend on
53870 (check-execstack.h): New target.
53871 (generated): Add check-execstack.h.
53872 * elf/check-execstack.c: Include "check-execstack.h".
53873 (main): Revert last change.
53874 (handle_file): Return zero if GNU_STACK is absent and
53875 DEFAULT_STACK_PERMS doesn't include PF_X.
53877 2011-01-13 Ulrich Drepper <drepper@gmail.com>
53879 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
53880 in child fails because the descriptor is already closed.
53881 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
53882 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
53883 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
53886 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
53890 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
53891 temporary buffer used to handle multi lookups locally.
53892 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
53894 2011-01-12 Ulrich Drepper <drepper@gmail.com>
53896 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
53899 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
53901 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
53902 alignment for SSE2.
53904 2011-01-12 Ulrich Drepper <drepper@gmail.com>
53907 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
53908 characters. When rounding increased number of integer digits recompute
53910 * stdio-common/tst-grouping.c: New file.
53911 * stdio-common/Makefile: Add rules to build and run tst-grouping.
53913 2011-01-09 Ulrich Drepper <drepper@gmail.com>
53915 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
53916 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
53918 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
53920 * bits/select.h: Likewise.
53922 2011-01-08 Ulrich Drepper <drepper@gmail.com>
53924 * po/ja.po: Update from translation team.
53926 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
53929 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
53930 implementation just like for lxstat, fxstatat, et al.
53932 2010-12-27 Jim Meyering <meyering@redhat.com>
53935 * posix/regexec.c (build_trtable): Return failure indication upon
53936 calloc failure. Otherwise, re_search_internal could infloop on OOM.
53938 2010-12-25 Ulrich Drepper <drepper@gmail.com>
53941 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
53942 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
53943 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
53944 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
53947 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
53950 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
53951 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
53953 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
53955 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
53956 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
53957 script has SORT_BY_INIT_PRIORITY.
53958 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
53959 NO_CTORS_DTORS_SECTIONS is defined.
53960 * elf/soinit.c: Likewise.
53961 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
53962 NO_CTORS_DTORS_SECTIONS is defined.
53963 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
53964 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
53965 * sysdeps/sh/init-first.c: Likewise.
53966 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
53968 2010-12-24 Ulrich Drepper <drepper@gmail.com>
53970 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
53971 always use the slow path.
53973 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
53975 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
53976 similar rule which adds the sysdep directories to the header search in
53977 order to pick up the correct platform stackinfo.h.
53978 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
53979 perform test if it is, otherwise return successfully without testing.
53980 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
53981 DEFAULT_STACK_PERMS define in stackinfo.h.
53982 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
53983 defined in stackinfo.h.
53984 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
53985 DEFAULT_STACK_PERMS defined in stackinfo.h.
53986 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
53987 * sysdeps/ia64/stackinfo.h: Likewise.
53988 * sysdeps/s390/stackinfo.h: Likewise.
53989 * sysdeps/sh/stackinfo.h: Likewise.
53990 * sysdeps/sparc/stackinfo.h: Likewise.
53991 * sysdeps/x86_64/stackinfo.h: Likewise.
53992 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
53993 PF_X for powerpc64. Retain PF_X for powerpc32.
53995 2010-12-19 Ulrich Drepper <drepper@gmail.com>
53997 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
53999 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
54000 GETDENTS_64BIT_ALIGNED.
54002 2010-12-14 Ulrich Drepper <dreper@gmail.com>
54004 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
54006 2010-12-10 Andreas Schwab <schwab@redhat.com>
54008 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
54011 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
54012 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
54014 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
54015 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
54017 2010-12-09 Ulrich Drepper <drepper@gmail.com>
54020 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
54023 2010-12-09 Jakub Jelinek <jakub@redhat.com>
54025 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
54027 2010-12-03 Ulrich Drepper <drepper@gmail.com>
54029 * po/it.po: Update from translation team.
54031 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
54033 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
54036 2010-11-30 Ulrich Drepper <drepper@gmail.com>
54038 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
54040 2010-11-24 Andreas Schwab <schwab@redhat.com>
54042 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
54044 (gaih_getanswer_slice): Likewise.
54046 2010-10-20 Jakub Jelinek <jakub@redhat.com>
54048 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
54050 2010-05-31 Petr Baudis <pasky@suse.cz>
54053 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
54054 silently even in the chroot mode.
54056 2010-11-22 Ulrich Drepper <drepper@gmail.com>
54058 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
54059 last patch a bit. Pretty printing
54061 2010-05-31 Petr Baudis <pasky@suse.cz>
54064 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
54065 initialization of skip_initgroups_dyn.
54067 2010-11-19 Ulrich Drepper <drepper@gmail.com>
54069 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
54070 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
54072 2010-11-16 Ulrich Drepper <drepper@gmail.com>
54074 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
54076 2010-11-11 Andreas Schwab <schwab@redhat.com>
54078 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
54079 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
54080 (tst-fnmatch-ENV): Set MALLOC_TRACE.
54081 ($(objpfx)tst-fnmatch-mem): New rule.
54082 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
54083 * posix/tst-fnmatch.c (main): Call mtrace.
54085 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
54087 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54088 Support Intel processor model 6 and model 0x2c.
54090 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
54092 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
54095 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
54098 * string/test-strncasecmp.c (check_result): New function.
54099 (do_one_test): Use it.
54100 (check1): New function.
54101 (test_main): Use it.
54102 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
54103 Support strcasecmp and strncasecmp.
54105 2010-11-08 Ulrich Drepper <drepper@gmail.com>
54108 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
54109 * sysdeps/x86_64/bits/byteswap.h: Likewise.
54111 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
54113 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
54115 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54117 * sysdeps/x86_64/multiarch/bzero.S: New file.
54118 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
54119 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
54120 * sysdeps/x86_64/multiarch/memset.S: New file.
54121 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
54122 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54123 Set bit_Prefer_SSE_for_memop for Intel processors.
54124 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
54126 (index_Prefer_SSE_for_memop): Define.
54127 (HAS_PREFER_SSE_FOR_MEMOP): Define.
54129 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
54131 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
54132 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
54134 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
54137 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
54138 (__x86_64_raw_data_cache_size_half): Likewise.
54139 (__x86_64_raw_shared_cache_size): Likewise.
54140 (__x86_64_raw_shared_cache_size_half): Likewise.
54142 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
54143 (__x86_64_raw_data_cache_size_half): Likewise.
54144 (__x86_64_raw_shared_cache_size): Likewise.
54145 (__x86_64_raw_shared_cache_size_half): Likewise.
54146 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
54147 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
54148 and __x86_64_raw_shared_cache_size_half. Round
54149 __x86_64_data_cache_size_half, __x86_64_data_cache_size
54150 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
54151 to multiple of 256 bytes.
54153 2010-11-03 Ulrich Drepper <drepper@gmail.com>
54156 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
54157 of inacessible symlinks. Verify result of symlink before returning it.
54158 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
54159 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
54161 2010-10-28 Erich Ritz <erichritz@gmail.com>
54163 * math/math.h (isinf): Fix typo in comment.
54165 2010-11-01 Ulrich Drepper <drepper@gmail.com>
54167 * po/da.po: Update from translation team.
54169 2010-10-26 Ulrich Drepper <drepper@gmail.com>
54171 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
54172 is added to the list.
54174 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54175 Ulrich Drepper <drepper@gmail.com>
54177 * elf/dl-object.c (_dl_new_object): Don't append the new object to
54178 the global list here. Move code to...
54179 (_dl_add_to_namespace_list): ...here. New function.
54180 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
54181 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
54182 * elf/dl-load.c (lose): Don't remove the element from the list.
54183 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
54184 (_dl_map_object): Likewise.
54186 2010-10-25 Ulrich Drepper <drepper@gmail.com>
54189 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
54190 into all bytes of SSE register.
54191 Patch by Richard Li <richardpku@gmail.com>.
54193 2010-10-24 Ulrich Drepper <drepper@gmail.com>
54196 * malloc/malloc.c (_int_free): Fill correct number of bytes when
54199 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
54201 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
54202 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
54203 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
54204 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
54205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
54207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
54209 2010-10-22 Andreas Schwab <schwab@redhat.com>
54211 * include/dlfcn.h (__RTLD_SECURE): Define.
54212 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
54213 mode & __RTLD_SECURE instead.
54214 (open_path): Rename preloaded parameter to secure.
54215 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
54216 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
54217 * elf/dl-deps.c (openaux): Likewise.
54218 * elf/rtld.c (struct map_args): Remove is_preloaded.
54219 (map_doit): Don't use it.
54220 (dl_main): Likewise.
54221 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
54222 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
54224 2010-09-09 Andreas Schwab <schwab@redhat.com>
54226 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
54227 (sysd-rules-targets): Remove duplicates.
54228 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
54229 rtld-%.$o dependency.
54231 2010-10-18 Andreas Schwab <schwab@redhat.com>
54233 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
54234 _dl_map_object do it.
54236 2010-10-19 Ulrich Drepper <drepper@gmail.com>
54238 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
54239 fast fma builtins, define the macros in the C99 standard.
54240 (FP_FAST_FMAF): Likewise.
54241 (FP_FAST_FMAL): Likewise.
54242 * sysdeps/x86_64/bits/mathdef.h: Likewise.
54244 * bits/mathdef.h: Update copyright year.
54245 * sysdeps/powerpc/bits/mathdef.h: Likewise.
54247 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
54249 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
54250 builtins, define the macros in the C99 standard.
54251 (FP_FAST_FMAF): Likewise.
54252 (FP_FAST_FMAL): Likewise.
54253 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
54255 (FP_FAST_FMAF): Likewise.
54257 2010-10-15 Jakub Jelinek <jakub@redhat.com>
54260 * math/libm-test.inc (fma_test): Some new testcases.
54261 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
54262 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
54263 y and infinite z. Do multiplication by C already in long double.
54264 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
54265 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
54266 y and infinite z. Do bitwise or of inexact bit into u.d.
54267 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
54268 * sysdeps/i386/fpu/s_fmaf.S: Removed.
54269 * sysdeps/i386/fpu/s_fma.S: Removed.
54270 * sysdeps/i386/fpu/s_fmal.S: Removed.
54272 2010-10-16 Jakub Jelinek <jakub@redhat.com>
54275 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
54276 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
54277 computation is not scheduled after fetestexcept. Fix value
54278 of minimum denormal long double.
54280 2010-10-14 Jakub Jelinek <jakub@redhat.com>
54283 * math/libm-test.inc (fma_test): Add some more tests.
54284 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
54287 2010-10-15 Andreas Schwab <schwab@redhat.com>
54289 * scripts/data/localplt-s390-linux-gnu.data: New file.
54290 * scripts/data/localplt-s390x-linux-gnu.data: New file.
54292 2010-10-13 Jakub Jelinek <jakub@redhat.com>
54295 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
54296 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
54298 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
54300 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
54301 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
54302 if one of x and y is very large and the other is subnormal.
54303 * sysdeps/s390/fpu/s_fmaf.c: New file.
54304 * sysdeps/s390/fpu/s_fma.c: New file.
54305 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
54306 * sysdeps/powerpc/fpu/s_fma.S: New file.
54307 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
54308 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
54309 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
54311 2010-10-12 Jakub Jelinek <jakub@redhat.com>
54314 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
54316 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
54317 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
54318 * sysdeps/i386/i686/multiarch/s_fma.c: Include
54319 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
54320 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
54321 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
54322 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
54324 2010-10-12 Ulrich Drepper <drepper@redhat.com>
54327 * posix/regcomp.c (parse_branch): One more memory leak plugged.
54328 * posix/bug-regex31.input: Add test case.
54330 2010-10-11 Ulrich Drepper <drepper@gmail.com>
54332 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
54333 * posix/bug-regex31.input: New file.
54336 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
54337 (parse_sub_exp): Fix last change, use postorder.
54339 * posix/bug-regex31.c: New file.
54340 * posix/Makefile: Add rules to build and run bug-regex31.
54342 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
54345 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
54348 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
54349 to have entries in sys_siglist.
54352 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
54355 2010-10-07 Jakub Jelinek <jakub@redhat.com>
54358 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
54359 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
54360 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
54361 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
54362 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
54363 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
54364 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
54365 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
54366 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
54367 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
54368 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
54369 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
54370 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
54371 * math/ftestexcept.c (fetestexcept): Likewise.
54372 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
54373 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
54374 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
54375 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
54376 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
54377 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
54378 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
54380 2010-10-11 Ulrich Drepper <drepper@gmail.com>
54383 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
54386 2010-10-06 Ulrich Drepper <drepper@gmail.com>
54388 * string/bug-strstr1.c: New file.
54389 * string/Makefile: Add rules to build and run bug-strstr1.
54391 2010-10-05 Eric Blake <eblake@redhat.com>
54394 * string/str-two-way.h (two_way_long_needle): Always clear memory
54395 when skipping input due to the shift table.
54397 2010-10-03 Ulrich Drepper <drepper@gmail.com>
54400 * malloc/mcheck.c: Handle large requests.
54403 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
54404 for strncmp and strncasecmp.
54405 * string/stratcliff.c: Add tests for strcmp and strncmp.
54406 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
54408 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
54410 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
54413 2010-09-30 Andreas Jaeger <aj@suse.de>
54415 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
54416 (CGROUP_SUPER_MAGIC): Define.
54417 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54418 Handle btrfs and cgroup file systems.
54419 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
54422 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
54424 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
54425 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
54427 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54430 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
54431 trying to locate the ELF header.
54433 2010-09-27 Andreas Schwab <schwab@redhat.com>
54436 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
54437 Mask out sign-bit copies when constructing f_fsid.
54439 2010-09-24 Petr Baudis <pasky@suse.cz>
54441 * debug/stack_chk_fail_local.c: Add missing licence exception.
54442 * debug/warning-nop.c: Likewise.
54444 2010-09-15 Joseph Myers <joseph@codesourcery.com>
54446 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
54447 implementing getdents64 using getdents syscall, set d_type if
54448 __ASSUME_GETDENTS32_D_TYPE.
54450 2010-09-16 Andreas Schwab <schwab@redhat.com>
54452 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
54453 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
54455 2010-09-21 Ulrich Drepper <drepper@redhat.com>
54458 * posix/unistd.h: Undo change of feature selection for ftruncate from
54461 2010-09-20 Ulrich Drepper <drepper@redhat.com>
54463 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
54466 2010-09-20 Andreas Schwab <schwab@redhat.com>
54468 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
54470 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
54472 2010-09-14 Andreas Schwab <schwab@redhat.com>
54474 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
54475 variables after CHECK_SP call.
54476 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
54478 2010-09-13 Andreas Schwab <schwab@redhat.com>
54479 Ulrich Drepper <drepper@redhat.com>
54481 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
54482 re-relocationg ld.so.
54483 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
54484 _dl_init_paths call.
54485 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
54488 2010-09-14 Ulrich Drepper <drepper@redhat.com>
54490 * resolv/res_init.c (__res_vinit): Count the default server we added.
54492 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
54493 Ulrich Drepper <drepper@redhat.com>
54496 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
54497 (____longjmp_chk): Use %ebx for saving value across system call.
54500 2010-09-06 Andreas Schwab <schwab@redhat.com>
54502 * manual/Makefile: Don't mix pattern rules with normal rules.
54504 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
54506 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
54508 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
54509 * libio/iofopncook.c (_IO_cookie_init): Likewise.
54510 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
54511 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
54512 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
54515 2010-09-04 Ulrich Drepper <drepper@redhat.com>
54518 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
54519 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
54521 2010-09-02 Ulrich Drepper <drepper@redhat.com>
54523 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
54524 * sysdeps/x86_64/addmul_1.S: Likewise.
54525 * sysdeps/x86_64/lshift.S: Likewise.
54526 * sysdeps/x86_64/mul_1.S: Likewise.
54527 * sysdeps/x86_64/rshift.S: Likewise.
54528 * sysdeps/x86_64/sub_n.S: Likewise.
54529 * sysdeps/x86_64/submul_1.S: Likewise.
54531 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
54533 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
54534 Define __sched_param instead of SCHED_* and sched_param when
54535 <bits/sched.h> is included with __need_schedparam defined.
54536 * bits/sched.h [__need_schedparam]
54537 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
54538 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
54539 (__defined_schedparam): Define to 1.
54540 (__sched_param): New structure, identical to sched_param.
54541 (__need_schedparam): Undefine.
54543 2010-08-31 Mike Frysinger <vapier@gentoo.org>
54545 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
54546 (epoll_create1): Declare.
54548 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
54550 2010-08-31 Andreas Schwab <schwab@redhat.com>
54553 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
54554 shifting retval into place.
54556 2010-09-01 Ulrich Drepper <drepper@redhat.com>
54558 * nis/rpcsvc/nis.h: Update copyright notice.
54559 * nis/rpcsvc/nis.x: Likewise.
54560 * nis/rpcsvc/nis_callback.h: Likewise.
54561 * nis/rpcsvc/nis_callback.x: Likewise.
54562 * nis/rpcsvc/nis_object.x: Likewise.
54563 * nis/rpcsvc/nis_tags.h: Likewise.
54564 * nis/rpcsvc/yp.h: Likewise.
54565 * nis/rpcsvc/yp.x: Likewise.
54566 * nis/rpcsvc/ypupd.h: Likewise.
54567 * nis/yp_xdr.c: Likewise.
54568 * nis/ypupdate_xdr.c: Likewise.
54570 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
54571 mainly the body of pmap_getport. Add parameters to specify timeouts.
54572 (pmap_getport): Use __libc_rpc_getport.
54573 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
54574 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
54575 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
54577 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
54579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
54582 2010-08-27 Roland McGrath <roland@redhat.com>
54584 * sysdeps/i386/i686/multiarch/Makefile
54585 (CFLAGS-varshift.c): New variable.
54587 2010-08-27 Ulrich Drepper <drepper@redhat.com>
54589 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
54590 * sysdeps/i386/i686/multiarch/varshift.c: New file.
54592 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
54594 * sysdeps/x86_64/strlen.S: Minimal code improvement.
54596 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
54598 * sysdeps/x86_64/strlen.S: Unroll the loop.
54599 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54600 strlen-sse2 strlen-sse2-bsf.
54601 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
54602 __strlen_no_bsf if bit_Slow_BSF is set.
54603 (__strlen_sse42): Removed.
54604 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
54605 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
54607 2010-08-25 Roland McGrath <roland@redhat.com>
54609 * sysdeps/x86_64/multiarch/varshift.S: File removed.
54610 * sysdeps/x86_64/multiarch/varshift.c: New file.
54611 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
54612 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
54613 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
54614 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
54616 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
54618 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54619 strlen-sse2 strlen-sse2-bsf.
54620 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
54621 __strlen_sse2_bsf if bit_Slow_BSF is unset.
54622 (__strlen_sse2): Removed.
54623 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
54624 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
54625 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
54626 bit_Slow_BSF for Atom.
54627 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
54628 (index_Slow_BSF): Define.
54629 (HAS_SLOW_BSF): Define.
54631 2010-08-25 Ulrich Drepper <drepper@redhat.com>
54634 * resolv/res_init.c (__res_vinit): When no server address at all
54635 is given default to loopback.
54637 2010-08-24 Roland McGrath <roland@redhat.com>
54639 * configure.in: Remove config-name.h generation.
54640 * configure: Regenerated.
54641 * config-name.in: File removed.
54642 * scripts/config-uname.sh: New file.
54643 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
54644 ($(objdir)config-name.h): New target.
54646 * sunrpc/rpc_parse.h: Avoid nested comment.
54648 2010-08-24 Richard Henderson <rth@redhat.com>
54649 Ulrich Drepper <drepper@redhat.com>
54650 H.J. Lu <hongjiu.lu@intel.com>
54652 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
54653 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
54654 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
54655 Replace _mm_srli_si128 with __m128i_shift_right. Replace
54656 _mm_alignr_epi8 with _mm_loadu_si128.
54657 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
54658 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
54659 (__m128i_shift_right): Removed.
54660 * sysdeps/i386/i686/multiarch/varshift.h: New file.
54661 * sysdeps/i386/i686/multiarch/varshift.S: New file.
54662 * sysdeps/x86_64/multiarch/varshift.h: New file.
54663 * sysdeps/x86_64/multiarch/varshift.S: New file.
54665 2010-08-21 Mike Frysinger <vapier@gentoo.org>
54667 * configure.in: Move assembler checks to before sysdep dir checking.
54669 2010-08-20 Petr Baudis <pasky@suse.cz>
54671 * LICENSES: Sync the sunrpc license.
54673 2010-08-19 Ulrich Drepper <drepper@redhat.com>
54675 * sunrpc/auth_des.c: Update copyright notice once again.
54676 * sunrpc/auth_none.c: Likewise.
54677 * sunrpc/auth_unix.c: Likewise.
54678 * sunrpc/authdes_prot.c: Likewise.
54679 * sunrpc/authuxprot.c: Likewise.
54680 * sunrpc/bindrsvprt.c: Likewise.
54681 * sunrpc/clnt_gen.c: Likewise.
54682 * sunrpc/clnt_perr.c: Likewise.
54683 * sunrpc/clnt_raw.c: Likewise.
54684 * sunrpc/clnt_simp.c: Likewise.
54685 * sunrpc/clnt_tcp.c: Likewise.
54686 * sunrpc/clnt_udp.c: Likewise.
54687 * sunrpc/clnt_unix.c: Likewise.
54688 * sunrpc/des_crypt.c: Likewise.
54689 * sunrpc/des_soft.c: Likewise.
54690 * sunrpc/get_myaddr.c: Likewise.
54691 * sunrpc/getrpcport.c: Likewise.
54692 * sunrpc/key_call.c: Likewise.
54693 * sunrpc/key_prot.c: Likewise.
54694 * sunrpc/openchild.c: Likewise.
54695 * sunrpc/pm_getmaps.c: Likewise.
54696 * sunrpc/pm_getport.c: Likewise.
54697 * sunrpc/pmap_clnt.c: Likewise.
54698 * sunrpc/pmap_prot.c: Likewise.
54699 * sunrpc/pmap_prot2.c: Likewise.
54700 * sunrpc/pmap_rmt.c: Likewise.
54701 * sunrpc/rpc/auth.h: Likewise.
54702 * sunrpc/rpc/auth_unix.h: Likewise.
54703 * sunrpc/rpc/clnt.h: Likewise.
54704 * sunrpc/rpc/des_crypt.h: Likewise.
54705 * sunrpc/rpc/key_prot.h: Likewise.
54706 * sunrpc/rpc/netdb.h: Likewise.
54707 * sunrpc/rpc/pmap_clnt.h: Likewise.
54708 * sunrpc/rpc/pmap_prot.h: Likewise.
54709 * sunrpc/rpc/pmap_rmt.h: Likewise.
54710 * sunrpc/rpc/rpc.h: Likewise.
54711 * sunrpc/rpc/rpc_des.h: Likewise.
54712 * sunrpc/rpc/rpc_msg.h: Likewise.
54713 * sunrpc/rpc/svc.h: Likewise.
54714 * sunrpc/rpc/svc_auth.h: Likewise.
54715 * sunrpc/rpc/types.h: Likewise.
54716 * sunrpc/rpc/xdr.h: Likewise.
54717 * sunrpc/rpc_clntout.c: Likewise.
54718 * sunrpc/rpc_cmsg.c: Likewise.
54719 * sunrpc/rpc_common.c: Likewise.
54720 * sunrpc/rpc_cout.c: Likewise.
54721 * sunrpc/rpc_dtable.c: Likewise.
54722 * sunrpc/rpc_hout.c: Likewise.
54723 * sunrpc/rpc_main.c: Likewise.
54724 * sunrpc/rpc_parse.c: Likewise.
54725 * sunrpc/rpc_parse.h: Likewise.
54726 * sunrpc/rpc_prot.c: Likewise.
54727 * sunrpc/rpc_sample.c: Likewise.
54728 * sunrpc/rpc_scan.c: Likewise.
54729 * sunrpc/rpc_scan.h: Likewise.
54730 * sunrpc/rpc_svcout.c: Likewise.
54731 * sunrpc/rpc_tblout.c: Likewise.
54732 * sunrpc/rpc_util.c: Likewise.
54733 * sunrpc/rpc_util.h: Likewise.
54734 * sunrpc/rpcinfo.c: Likewise.
54735 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
54736 * sunrpc/rpcsvc/key_prot.x: Likewise.
54737 * sunrpc/rpcsvc/klm_prot.x: Likewise.
54738 * sunrpc/rpcsvc/mount.x: Likewise.
54739 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
54740 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
54741 * sunrpc/rpcsvc/rex.x: Likewise.
54742 * sunrpc/rpcsvc/rstat.x: Likewise.
54743 * sunrpc/rpcsvc/rusers.x: Likewise.
54744 * sunrpc/rpcsvc/sm_inter.x: Likewise.
54745 * sunrpc/rpcsvc/spray.x: Likewise.
54746 * sunrpc/rpcsvc/yppasswd.x: Likewise.
54747 * sunrpc/rtime.c: Likewise.
54748 * sunrpc/svc.c: Likewise.
54749 * sunrpc/svc_auth.c: Likewise.
54750 * sunrpc/svc_authux.c: Likewise.
54751 * sunrpc/svc_raw.c: Likewise.
54752 * sunrpc/svc_run.c: Likewise.
54753 * sunrpc/svc_simple.c: Likewise.
54754 * sunrpc/svc_tcp.c: Likewise.
54755 * sunrpc/svc_udp.c: Likewise.
54756 * sunrpc/svc_unix.c: Likewise.
54757 * sunrpc/svcauth_des.c: Likewise.
54758 * sunrpc/xcrypt.c: Likewise.
54759 * sunrpc/xdr.c: Likewise.
54760 * sunrpc/xdr_array.c: Likewise.
54761 * sunrpc/xdr_float.c: Likewise.
54762 * sunrpc/xdr_mem.c: Likewise.
54763 * sunrpc/xdr_rec.c: Likewise.
54764 * sunrpc/xdr_ref.c: Likewise.
54765 * sunrpc/xdr_sizeof.c: Likewise.
54766 * sunrpc/xdr_stdio.c: Likewise.
54768 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
54771 2010-08-19 Andreas Schwab <schwab@redhat.com>
54773 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
54775 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
54777 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
54778 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
54779 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
54780 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
54781 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
54782 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
54783 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
54784 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
54785 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
54786 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
54787 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
54788 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
54789 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
54790 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
54792 2010-07-26 Anton Blanchard <anton@samba.org>
54794 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
54795 * malloc/arena.c (heap_trim): Likewise.
54797 2010-08-16 Ulrich Drepper <drepper@redhat.com>
54799 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
54801 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
54802 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
54804 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
54806 * sysdeps/i386/elf/Makefile: New file.
54808 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
54810 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
54811 from fanotify_init.
54812 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
54813 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
54815 2010-08-15 Ulrich Drepper <drepper@redhat.com>
54817 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
54819 * sysdeps/multiarch/strcmp.S: Likewise.
54821 2010-08-14 Ulrich Drepper <drepper@redhat.com>
54823 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
54824 strncase_l-nonascii.
54825 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
54826 Add strncase_l-ssse3.
54827 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
54828 * sysdeps/x86_64/strcmp.S: Likewise.
54829 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
54830 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
54831 * sysdeps/x86_64/strncase.S: New file.
54832 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
54833 * sysdeps/x86_64/strncase_l.S: New file.
54834 * string/Makefile (strop-tests): Add strncasecmp.
54835 * string/test-strncasecmp.c: New file.
54837 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
54840 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
54841 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
54843 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
54845 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
54847 2010-08-12 Ulrich Drepper <drepper@redhat.com>
54849 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
54850 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
54851 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
54853 2010-05-01 Alan Modra <amodra@gmail.com>
54855 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
54856 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
54857 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
54858 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
54859 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
54860 tidying. Don't tail-call __sigjmp_save for static lib.
54861 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
54863 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
54864 (CALL_MCOUNT): Add eh info, and nop after bl.
54865 (TAIL_CALL_SYSCALL_ERROR): New macro.
54866 (PSEUDO_RET): Use it.
54867 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
54868 Correct save location of integer regs and cr.
54869 (_dl_profile_resolve): Correct cr save location. Delete nops
54870 after bl when SHARED. Reduce cfi size a little by better
54871 placement of cfi directives.
54872 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
54873 make a stack frame. Instead use parm save area as a temp.
54874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
54875 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
54876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
54877 Don't make a stack frame for parent, use parm save area.
54878 Increase child stack frame to 112 bytes. Don't save unused reg,
54879 and adjust reg usage. Set up cfi on error recovery and
54880 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
54881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
54882 (__makecontext): Add dummy nop after jump to exit.
54883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
54884 Use correct parm save area and cr save, reduce stack frame.
54885 Correct cfi for possible PSEUDO_RET frame setup.
54886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
54887 Branch to local label emitted by PSEUDO_RET rather than
54890 2010-08-12 Andreas Schwab <schwab@redhat.com>
54893 * locale/programs/locale.c (print_assignment): New function.
54894 (show_locale_vars): Use it.
54896 2010-08-11 Ulrich Drepper <drepper@redhat.com>
54898 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
54900 (struct statfs64): Likewise.
54901 (_STATFS_F_FLAGS): Define.
54902 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
54903 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54904 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
54905 (ST_VALID): Define locally.
54906 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
54907 __statvfs_getflags, use the provided value.
54908 * sysdeps/unix/sysv/linux/kernel-features.h: Define
54909 __ASSUME_STATFS_F_FLAGS.
54911 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
54913 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
54914 Add sys/fanotify.h.
54915 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
54916 fanotify_mask for GLIBC_2.13.
54917 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
54918 fanotify_init and fanotify_mark.
54919 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
54920 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
54922 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
54924 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
54925 prlimit64 for GLIBC_2.13.
54926 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
54928 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
54930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
54931 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
54932 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
54933 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
54934 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
54936 * sysdeps/unix/sysv/linux/prlimit.c: New file.
54939 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
54940 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
54942 * nss/Makefile: Add rules to build and run tst-nss-test1.
54943 * shlib-versions: Add entry for libnss_test1.
54944 * nss/nss_test1.c: New file.
54945 * nss/tst-nss-test1.c: New file.
54947 * nss/nsswitch.c (__nss_database_custom): Define new variable.
54948 (__nss_configure_lookup): Set appropriate entry in
54949 __nss_configure_lookup to true.
54950 * nss/nsswitch.h: Define enum with indeces of databases in
54951 databases and __nss_database_custom arrays. Declare
54952 __nss_database_custom.
54953 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
54954 to avoid using nscd when custom rules are installed.
54955 * nss/getXXbyYY_r.c: Likewise.
54956 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
54958 * nss/nss_files/files-parse.c: Whitespace fixes.
54960 2010-08-09 Ulrich Drepper <drepper@redhat.com>
54963 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
54964 * posix/fnmatch_loop.c: Likewise.
54966 2010-07-17 Andi Kleen <ak@linux.intel.com>
54968 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
54969 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
54970 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
54971 * Versions.def [GLIBC_2.13]: Add.
54973 2010-08-06 Ulrich Drepper <drepper@redhat.com>
54975 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
54976 Also fail if tpwd after pwuid call is NULL.
54978 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
54980 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
54981 when converting to ms.
54983 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
54985 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
54986 EOPNOTSUPP errors with ENOTTY.
54987 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
54988 EOPNOTSUPP errors with ENOTTY.
54990 2010-07-31 Ulrich Drepper <drepper@redhat.com>
54992 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
54993 Add strcasecmp_l-ssse3.
54994 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
54996 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
54997 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
54998 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
55000 2010-07-30 Ulrich Drepper <drepper@redhat.com>
55002 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
55004 * string/Makefile (strop-tests): Add strcasecmp.
55005 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
55006 strcasecmp_l-nonascii.
55007 (gen-as-const-headers): Add locale-defines.sym.
55008 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
55009 * sysdeps/x86_64/strcasecmp.S: New file.
55010 * sysdeps/x86_64/strcasecmp_l.S: New file.
55011 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
55012 * sysdeps/x86_64/locale-defines.sym: New file.
55013 * string/test-strcasecmp.c: New file.
55015 * string/test-strcasestr.c: Test both ends of the range of characters.
55016 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
55018 2010-07-29 Roland McGrath <roland@redhat.com>
55021 * manual/locale.texi (Yes-or-No Questions): Fix example code.
55023 2010-07-27 Ulrich Drepper <drepper@redhat.com>
55025 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
55028 2010-07-27 Andreas Schwab <schwab@redhat.com>
55030 * manual/memory.texi (Malloc Tunable Parameters): Document
55033 2010-07-26 Roland McGrath <roland@redhat.com>
55036 * configure.in (-fgnu89-inline check): Set and substitute
55037 gnu89_inline, not libc_cv_gnu89_inline.
55038 * configure: Regenerated.
55039 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
55041 2010-07-26 Ulrich Drepper <drepper@redhat.com>
55043 * string/test-strnlen.c: New file.
55044 * string/Makefile (strop-tests): Add strnlen.
55045 * string/tester.c (test_strnlen): Add a few more test cases.
55046 * string/tst-strlen.c: Better error reporting.
55048 * sysdeps/x86_64/strnlen.S: New file.
55050 2010-07-24 Ulrich Drepper <drepper@redhat.com>
55052 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
55053 lower-latency instructions.
55055 2010-07-23 Ulrich Drepper <drepper@redhat.com>
55057 * string/test-strcasestr.c: New file.
55058 * string/test-strstr.c: New file.
55059 * string/Makefile (strop-tests): Add strstr and strcasestr.
55060 * string/str-two-way.h: Don't undefine MAX.
55061 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
55063 2010-07-21 Andreas Schwab <schwab@redhat.com>
55065 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55066 strcasestr-nonascii.
55067 (CFLAGS-strcasestr-nonascii.c): Define.
55068 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
55069 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
55070 Remove unused attribute.
55072 2010-07-20 Roland McGrath <roland@redhat.com>
55074 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
55075 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
55076 ld.so.cache was broken. With it, there is no way to disable dsocaps
55077 like LD_HWCAP_MASK can disable hwcaps.
55079 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
55081 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
55083 2010-07-16 Ulrich Drepper <drepper@redhat.com>
55085 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
55086 call in strcasestr.
55087 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
55088 __strcasestr_sse42_nonascii.
55089 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
55090 strcasestr-nonascii.c.
55091 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
55093 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
55095 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
55096 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
55097 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
55098 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
55100 2010-07-09 Ulrich Drepper <drepper@redhat.com>
55102 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
55105 2010-07-06 Andreas Schwab <schwab@redhat.com>
55108 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
55111 2010-07-06 Ulrich Drepper <drepper@redhat.com>
55113 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
55114 _PC_PIPE_BUF using F_GETPIPE_SZ.
55116 2010-07-05 Roland McGrath <roland@redhat.com>
55118 * manual/arith.texi (Rounding Functions): Fix rint description
55119 implicit in round description.
55121 2010-07-02 Ulrich Drepper <drepper@redhat.com>
55123 * elf/Makefile: Fix linking for a few tests to make recent linker
55126 2010-06-30 Andreas Schwab <schwab@redhat.com>
55128 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
55129 $(common-objpfx)libc_nonshared.a.
55131 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
55133 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
55134 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
55135 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
55136 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
55137 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
55138 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
55139 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
55140 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
55141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
55142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
55143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
55144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
55145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
55146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
55147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
55148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
55149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
55150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
55151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
55152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
55153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
55154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
55155 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
55156 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
55157 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
55158 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
55159 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
55160 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
55161 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
55162 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
55163 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
55164 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
55165 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
55166 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
55167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
55168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
55169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
55170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
55171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
55172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
55173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
55174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
55175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
55176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
55177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
55178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
55179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
55180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
55182 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
55184 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
55185 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
55186 * string/memmove.c (memmove): Renamed to ...
55187 (MEMMOVE): ...this. Default to memmove.
55188 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
55189 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
55191 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55192 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
55193 mempcpy-ssse3-back memmove-ssse3-back.
55194 * sysdeps/x86_64/multiarch/bcopy.S: New file .
55195 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
55196 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
55197 * sysdeps/x86_64/multiarch/memcpy.S: New file.
55198 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
55199 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
55200 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
55201 * sysdeps/x86_64/multiarch/memmove.c: New file.
55202 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
55203 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
55204 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
55205 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
55206 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
55207 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
55209 (index_Fast_Copy_Backward): Define.
55210 (HAS_ARCH_FEATURE): Define.
55211 (HAS_FAST_REP_STRING): Define.
55212 (HAS_FAST_COPY_BACKWARD): Define.
55214 2010-06-21 Andreas Schwab <schwab@redhat.com>
55216 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
55217 Restore proper fallback handling.
55219 2010-06-19 Ulrich Drepper <drepper@redhat.com>
55222 * posix/group_member.c (__group_member): Correct checking loop.
55224 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
55225 OOM in getpwuid_r correctly. Return error number when the caller
55226 should return, otherwise -1.
55227 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
55228 call returning > 0 value.
55229 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
55231 2010-06-07 Andreas Schwab <schwab@redhat.com>
55233 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
55234 libc_nonshared.a from targets in modules-names.
55236 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
55238 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
55241 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
55243 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
55244 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
55245 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
55246 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
55248 2010-06-02 Andreas Schwab <schwab@redhat.com>
55250 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
55252 2010-06-14 Ulrich Drepper <drepper@redhat.com>
55254 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
55256 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
55257 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55258 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55259 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55260 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55261 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
55263 2010-06-14 Roland McGrath <roland@redhat.com>
55265 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
55267 2010-06-07 Jakub Jelinek <jakub@redhat.com>
55269 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
55270 __REDIRECT followed by __THROW.
55271 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
55272 * posix/getopt.h (getopt): Likewise.
55274 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
55276 * hurd/lookup-at.c (__file_name_lookup_at): Accept
55277 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
55278 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
55280 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
55281 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
55283 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
55285 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
55287 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
55290 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55291 Properly check family and model.
55293 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
55295 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
55297 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
55299 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
55301 2010-05-21 Ulrich Drepper <drepper@redhat.com>
55303 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
55306 2010-05-19 Andreas Schwab <schwab@redhat.com>
55308 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
55311 2010-05-21 Andreas Schwab <schwab@redhat.com>
55313 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
55314 and internal_recvmmsg.
55315 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
55316 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
55317 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
55318 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
55320 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
55321 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
55322 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
55324 2010-05-20 Andreas Schwab <schwab@redhat.com>
55326 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
55328 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
55330 POWER7 optimizations.
55331 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
55332 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
55334 2010-05-19 Ulrich Drepper <drepper@redhat.com>
55336 * version.h: Update for 2.13 development version.
55338 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
55340 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
55341 exceptions. Return 0.
55343 2010-05-07 Roland McGrath <roland@redhat.com>
55345 * elf/ldconfig.c (main): Add a const.
55347 2010-05-06 Ulrich Drepper <drepper@redhat.com>
55349 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
55350 (args_options): Add no-idn option.
55351 (ahosts_keys_int): Add idn_flags to ai_flags.
55352 (parse_option): Handle 'i' option to clear idn_flags.
55354 * malloc/malloc.c (_int_free): Possible race in the most recently
55355 added check. Only act on the data if no current modification
55358 See ChangeLog.17 for earlier changes.