1 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
4 timespec struct member in syscall macro.
5 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
6 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
7 first timeval struct member in syscall macro.
8 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
10 2015-01-07 Joseph Myers <joseph@codesourcery.com>
13 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
14 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
15 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
16 __feupdateenv and define as weak alias of __feupdateenv. Use
18 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
20 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
21 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
22 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
23 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
25 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
26 __feupdateenv and define as weak alias of __feupdateenv. Use
28 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
30 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
31 __feupdateenv and define as weak alias of __feupdateenv. Use
33 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
35 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
36 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
37 (__feupdateenv): Likewise.
38 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
39 __feupdateenv and define as weak alias of __feupdateenv. Use
41 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
42 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
44 * sysdeps/tile/math_private.h (__feupdateenv): New inline
46 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
48 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
49 __feupdateenv instead of feupdateenv.
50 (default_libc_feupdateenv_test): Likewise.
51 (libc_feresetround_ctx): Likewise.
53 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
58 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
60 * posix/regcomp.c (parse_bracket_exp): Initialize type to
61 COLL_SYM in a couple of places to avoid uninitialized variable
62 wanings on tilegx gcc 4.8.2.
64 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
66 * sysdeps/aarch64/strcpy.S: New file.
67 * sysdeps/aarch64/stpcpy.S: New file.
70 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
72 * sysdeps/aarch64/strrchr.S: New file.
75 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
78 * stdlib/setenv.c: Fix memory leak when setting large,
81 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
84 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
85 and tabs from buffer before parsing fstab entry.
86 * misc/tst-mntent.c (main): Add test for mount entry with
87 trailing spaces and tabs.
89 2015-01-06 Joseph Myers <joseph@codesourcery.com>
92 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
93 * math/fesetround.c (fesetround): Rename to __fesetround and
94 define as weak alias of __fesetround. Use libm_hidden_weak.
95 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
96 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
97 * sysdeps/arm/fesetround.c (fesetround): Likewise.
98 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
99 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
100 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
101 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
102 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
103 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
105 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
106 __fesetround_inline instead of __fesetround.
107 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
108 __fesetround and define as weak alias of __fesetround. Use
109 libm_hidden_weak. Call __fesetround_inline instead of
111 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
112 __fesetround and define as weak alias of __fesetround. Use
114 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
116 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
117 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
118 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
119 * sysdeps/tile/math_private.h (__fesetround): New inline function.
120 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
121 __fesetround and define as weak alias of __fesetround. Use
123 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
124 __fesetround instead of fesetround.
125 (default_libc_feholdexcept_setround): Likewise.
126 (libc_feholdsetround_ctx): Likewise.
127 (libc_feholdsetround_noex_ctx): Likewise.
130 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
131 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
132 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
133 and define as weak alias of __fesetenv. Use libm_hidden_weak.
134 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
135 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
136 define as weak alias of __fesetenv. Use libm_hidden_weak.
137 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
138 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
139 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
140 define as weak alias of __fesetenv. Use libm_hidden_weak.
141 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
142 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
143 define as weak alias of __fesetenv. Use libm_hidden_weak.
144 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
146 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
147 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
149 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
150 define as weak alias of __fesetenv. Use libm_hidden_weak.
151 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
152 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
153 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
154 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
155 and define as weak alias of __fesetenv. Use libm_hidden_weak.
156 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
157 __fesetenv instead of fesetenv.
158 (libc_feresetround_noex_ctx): Likewise.
159 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
160 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
161 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
162 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
163 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
164 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
165 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
166 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
167 (__feupdateenv): Likewise.
168 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
169 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
170 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
171 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
173 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
176 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
177 addresses have been freed.
179 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
181 * resolv/res_init.c (__res_vinit): Improve comments about nserv
184 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
186 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
187 Clean up check_pf allocation pattern. addresses
189 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
191 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
192 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
193 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
194 * nptl/pthread_exit.c (__pthread_exit): Likewise.
195 * nptl/pthread_join.c (pthread_join): Likewise.
196 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
197 * sysdeps/posix/waitid.c (__waitid): Likewise.
198 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
199 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
200 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
201 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
202 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
204 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
205 (__libc_pread64): Likewise.
206 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
207 (__libc_pwrite): Likewise.
208 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
209 (__libc_pwrite64): Likewsie.
210 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
211 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
212 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
213 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
214 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
215 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
216 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
220 (__libc_pread64): Likewise.
221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
224 (__libc_pwrite64): Likewise.
225 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
226 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
227 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
228 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
229 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
230 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
231 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
232 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
233 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
234 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
235 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
236 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
237 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
238 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
239 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
240 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
243 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
245 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
246 (CFLAGS-test-double.c): Likewise.
247 (CFLAGS-test-ldouble.c): Likewise.
248 (CPPFLAGS-test-ifloat.c): Likewise.
249 (CPPFLAGS-test-idouble.c): Likewise.
250 (CPPFLAGS-test-ildoubl.c): Likewise.
251 (CFLAGS-test-test-fenv.c): Remove variable.
252 (CFLAGS-test-misc.c): Likewise.
254 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
257 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
258 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
259 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
260 CLOCKS_PER_SEC == 1000000.
261 * time/clocktest.c (main): Replace %ld with %jd and cast to
264 2015-01-05 Roland McGrath <roland@hack.frob.com>
266 * sysdeps/generic/unwind-resume.h: New file.
267 * sysdeps/gnu/unwind-resume.c: Include it.
268 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
269 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
271 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
272 global rather than static.
273 (_Unwind_Resume): Update user.
274 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
275 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
276 rather than static. Add __attribute__ ((cold)).
277 (_Unwind_Resume, __gcc_personality_v0): Update callers.
278 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
279 * sysdeps/arm/arm-unwind-resume.S: New file.
280 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
281 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
282 * sysdeps/arm/Makefile [$(subdir) = csu]
283 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
284 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
285 Add rt-arm-unwind-resume.
287 (libpthread-sysdep_routines, libpthread-shared-only-routines):
288 Add pt-arm-unwind-resume.
289 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
290 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
292 2015-01-05 Joseph Myers <joseph@codesourcery.com>
295 * include/fenv.h (__feholdexcept): Declare. Use
297 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
298 define as weak alias of __feholdexcept. Use libm_hidden_weak.
299 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
300 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
301 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
302 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
303 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
304 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
305 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
306 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
307 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
308 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
309 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
310 (feholdexcept): Likewise.
311 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
312 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
313 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
314 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
315 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
316 __feholdexcept instead of feholdexcept.
317 (default_libc_feholdexcept_setround): Likewise.
319 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
321 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
322 to avoid using stl/str to align destination.
324 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
326 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
328 2015-01-05 Joseph Myers <joseph@codesourcery.com>
331 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
332 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
333 Define as weak alias not strong alias.
335 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
337 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
341 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
343 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
344 for __vdso_* functions in declarations.
345 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
347 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
348 INTERNAL_VSYSCALL): Use struct return types to check for error.
350 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
351 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
352 function with cast from llround().
353 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
354 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
357 2015-01-05 Joseph Myers <joseph@codesourcery.com>
360 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
361 Define as weak alias not strong alias.
364 * ctype/ctype-c99.c: New file. isblank implementation moved from
366 * ctype/ctype-extn.c: ... here.
367 (__isblank_l): Move to ...
368 * ctype/ctype-c99_l.c: ... here. New file.
369 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
370 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
372 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
373 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
374 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
375 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
376 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
379 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
380 (posix_fadvise64): Define as weak alias not strong alias.
381 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
382 (posix_fallocate64): Likewise.
383 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
385 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
386 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
387 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
388 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
389 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
391 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
394 * NEWS: Mention bug fix.
395 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
396 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
397 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
398 (HOST_STACK_END_ADDR): Likewise.
400 2015-01-02 Joseph Myers <joseph@codesourcery.com>
403 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
404 * math/fegetround.c (fegetround): Rename to __fegetround and
405 define as weak alias of __fegetround. Use libm_hidden_weak.
406 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
407 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
408 * sysdeps/arm/fegetround.c (fegetround): Likewise.
409 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
410 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
411 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
412 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
413 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
414 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
415 Undefine after rather than before function definition; use
416 parentheses around function name in definition.
417 (__fegetround): Also undefine macro after function definition.
418 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
419 __fegetround and define as weak alias of __fegetround. Use
420 libm_hidden_weak. Do not undefine as macro.
421 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
423 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
424 __fegetround and define as weak alias of __fegetround. Use
426 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
427 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
428 * sysdeps/tile/math_private.h (__fegetround): New inline function.
429 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
430 __fegetround and define as weak alias of __fegetround. Use
432 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
433 __fegetround instead of fegetround.
436 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
437 Condition macro definition on [__USE_MISC].
440 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
441 (struct sigaction): Change type of sa_flags field to int.
444 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
445 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
448 * nptl/version.c (banner): Use single year in copyright notice.
450 * NEWS: Update copyright dates.
451 * catgets/gencat.c (print_version): Likewise.
452 * csu/version.c (banner): Likewise.
453 * debug/catchsegv.sh: Likewise.
454 * debug/pcprofiledump.c (print_version): Likewise.
455 * debug/xtrace.sh (do_version): Likewise.
456 * elf/ldconfig.c (print_version): Likewise.
457 * elf/ldd.bash.in: Likewise.
458 * elf/pldd.c (print_version): Likewise.
459 * elf/sotruss.sh: Likewise.
460 * elf/sprof.c (print_version): Likewise.
461 * iconv/iconv_prog.c (print_version): Likewise.
462 * iconv/iconvconfig.c (print_version): Likewise.
463 * locale/programs/locale.c (print_version): Likewise.
464 * locale/programs/localedef.c (print_version): Likewise.
465 * login/programs/pt_chown.c (print_version): Likewise.
466 * malloc/memusage.sh (do_version): Likewise.
467 * malloc/memusagestat.c (print_version): Likewise.
468 * malloc/mtrace.pl: Likewise.
469 * manual/libc.texinfo: Likewise.
470 * nptl/version.c (banner): Likewise.
471 * nscd/nscd.c (print_version): Likewise.
472 * nss/getent.c (print_version): Likewise.
473 * nss/makedb.c (print_version): Likewise.
474 * posix/getconf.c (main): Likewise.
475 * scripts/test-installation.pl: Likewise.
476 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
478 2015-01-02 Will Newton <will.newton@linaro.org>
480 * sysdeps/arm/armv7/configure: Removed.
481 * sysdeps/arm/armv7/configure.ac: Likewise.
483 2015-01-02 Joseph Myers <joseph@codesourcery.com>
485 * All files with FSF copyright notices: Update copyright dates
486 using scripts/update-copyrights.
487 * intl/plural.c: Regenerated.
488 * locale/programs/charmap-kw.h: Likewise.
489 * locale/programs/locfile-kw.h: Likewise.
491 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
493 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
495 2014-12-31 Joseph Myers <joseph@codesourcery.com>
498 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
499 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
500 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
501 and define as weak alias of __fegetenv. Use libm_hidden_weak.
502 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
503 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
504 define as weak alias of __fegetenv. Use libm_hidden_weak.
505 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
506 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
507 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
508 define as weak alias of __fegetenv. Use libm_hidden_weak.
509 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
510 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
511 define as weak alias of __fegetenv. Use libm_hidden_weak.
512 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
514 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
515 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
517 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
518 define as weak alias of __fegetenv. Use libm_hidden_weak.
519 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
520 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
521 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
522 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
523 and define as weak alias of __fegetenv. Use libm_hidden_weak.
524 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
525 __fegetenv instead of fegetenv.
526 (libc_feholdsetround_noex_ctx): Likewise.
528 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
530 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
531 (Elf_MIPS_ABIFlags_v0): New structure.
532 (EF_MIPS_FP64): Define.
533 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
534 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
535 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
536 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
537 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
538 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
539 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
540 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
541 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
542 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
543 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
544 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
545 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
546 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
547 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
548 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
549 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
550 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
551 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
552 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
553 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
554 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
556 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
558 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
559 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
560 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
561 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
562 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
563 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
564 * sysdeps/mips/tst-abi-interlink.c: Likewise.
565 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
566 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
567 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
568 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
569 record the current FP ABI extension.
570 (mips-mode-switch): Define to show if kernel headers support mode
572 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
573 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
574 supported SYSV ABI version to 3.
575 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
578 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
579 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
581 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
583 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
585 2014-12-31 Joseph Myers <joseph@codesourcery.com>
587 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
588 __fegetround and redefine to call __fegetround. Remove condition
589 on [!__NO_MATH_INLINES].
590 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
592 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
593 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
595 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
596 instead of <fenv_libc.h>.
597 (__llrintl): Call fegetround instead of __fegetround.
598 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
599 instead of <fenv_libc.h>.
600 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
601 (__lrintl): Call fegetround instead of __fegetround.
602 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
603 instead of <fenv_libc.h>.
604 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
605 (__rintl): Call fegetround instead of __fegetround.
607 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
609 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
612 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
615 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
616 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
617 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
619 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
621 * sysdeps/i386/tls-macros.h: Include <features.h>.
622 (TLS_LE): Use non-PIC version for GCC >= 5.0.
626 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
627 define for GCC >= 5.0.
629 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
631 * math/test-fenv.c (test_single_exception, set_single_exc,
632 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
633 feexcp_mask_test, feenable_test, fe_single_test): Add
634 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
635 case where they are not used.
636 * math/libm-test.inc: Likewise.
637 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
638 unused in the absence of FP rounding/exception support.
639 * stdio-common/tst-printf-round.c: Likewise.
640 * stdlib/tst-strtod-round.c: Likewise.
641 * stdlib/tst-strtod-underflow.c: Likewise.
643 2014-12-30 Joseph Myers <joseph@codesourcery.com>
646 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
647 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
648 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
649 __feraiseexcept and define as weak alias of __feraiseexcept. Use
651 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
652 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
653 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
655 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
656 __feraiseexcept and define as weak alias of __feraiseexcept. Use
658 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
660 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
661 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
662 __feraiseexcept and define as weak alias of __feraiseexcept. Use
664 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
666 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
667 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
668 (__feraiseexcept): Likewise.
669 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
670 __feraiseexcept and define as weak alias of __feraiseexcept. Use
672 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
673 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
675 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
676 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
678 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
680 (feraiseexcept): Define as weak not strong alias. Use
682 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
683 New inline function. Factored out of ...
684 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
685 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
686 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
688 * math/w_acos.c (__acos): Likewise.
689 * math/w_asin.c (__asin): Likewise.
690 * math/w_ilogb.c (__ilogb): Likewise.
691 * math/w_j0.c (y0): Likewise.
692 * math/w_j1.c (y1): Likewise.
693 * math/w_jn.c (yn): Likewise.
694 * math/w_log.c (__log): Likewise.
695 * math/w_log10.c (__log10): Likewise.
696 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
697 * sysdeps/aarch64/fpu/math_private.h
698 (libc_feupdateenv_test_aarch64): Likewise.
699 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
700 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
701 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
702 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
703 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
704 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
705 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
706 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
707 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
708 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
710 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
713 * io/test-utime.c (main): Replace %ld with %jd and cast to
715 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
716 * nptl/tst-mutex5.c: Include <stdint.h>.
717 (do_test): Replace %ld with %jd and cast to intmax_t.
718 * posix/tst-regex.c (run_test): Likewise.
719 (run_test_backwards): Likewise.
720 * rt/tst-clock.c: Include <stdint.h>.
721 (clock_test): Replace %ld with %jd and cast to intmax_t.
722 * rt/tst-cpuclock1.c: Include <stdint.h>.
723 (do_test): Replace %lu with %ju and cast to uintmax_t.
724 * rt/tst-cpuclock2.c: Include <stdint.h>.
725 (do_test): Replace %lu with %ju and cast to uintmax_t.
726 * rt/tst-mqueue1.c: Include <stdint.h>.
727 (check_attrs): Replace %ld with %jd and cast to intmax_t.
728 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
730 * rt/tst-mqueue4.c (do_test): Likewise.
731 * rt/tst-timer4.c: Include <stdint.h>.
732 (check_ts): Replace %ld with %jd and cast to intmax_t.
734 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
735 and cast to intmax_t.
736 * sysdeps/pthread/tst-timer.c (main): Likewise.
737 * time/clocktest.c (main): Likewise.
738 * time/tst-posixtz.c (do_test): Likewise.
739 * timezone/tst-timezone.c (main): Likewise.
741 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
742 H.J. Lu <hongjiu.lu@intel.com>
744 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
745 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
746 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
747 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
748 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
749 version if bit_Fast_Unaligned_Load is set.
750 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
751 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
752 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
753 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
754 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
755 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
756 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
757 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
758 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
759 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
761 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
762 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
763 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
764 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
766 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
768 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
769 instead of #if to avoid a Wundef warning.
770 * stdlib/tst-limits.c (do_test): Likewise.
772 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
773 parallel other exception macros.
774 (fegetenv): Convert from macro to extern inline so that it applies
775 retroactively to inline functions already seen by the compiler.
776 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
778 * posix/Makefile (before-compile): Use $(objpfx) for
779 posix-conf-vars-def.h.
781 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
783 * posix/getconf.c (main): Use size_t for type of I.
784 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
787 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
788 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
789 * posix/posix-envs.def: Likewise.
790 * sysdeps/posix/sysconf.c: Likewise.
791 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
792 (specs): Remove array.
793 * scripts/gen-posix-conf-vars.awk: Support generation of specs
796 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
797 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
798 (__sysconf): Use CONF_IS_* macros.
800 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
801 ($(objpfx)posix-conf-vars-def.h): New target.
802 * posix/posix-conf-vars.list: New file.
803 * posix/posix-conf-vars.h: New file.
804 * posix/confstr.c: Include posix-conf-vars.h.
805 (confstr): Use CONF_IS_* macros.
806 * posix/posix-envs.def: Include posix-conf-vars.h. Use
808 * scripts/gen-posix-conf-vars.awk: New file.
810 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
812 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
813 fegetround): Add no-op macros to avoid linknamespace issues.
815 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
816 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
818 * sysdeps/unix/sysv/linux/tile/sysdep.h
819 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
820 assembly-specific section to avoid a redefinition warning.
822 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
823 long before casting to pointer to avoid a cast warning.
825 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
827 * sysdeps/tile/tilegx/Implies: New file.
829 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
831 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
833 2014-12-23 Florian Weimer <fweimer@redhat.com>
835 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
837 2014-12-22 Joseph Myers <joseph@codesourcery.com>
839 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
841 * sysdeps/unix/sysv/linux/utimes.c: Do not include
843 (__utimes) [__NR_utimes]: Make code unconditional.
844 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
845 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
846 (__ASSUME_UTIMES): Do not undefine.
847 * sysdeps/unix/sysv/linux/tile/kernel-features.h
848 (__ASSUME_UTIMES): Likewise.
849 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
850 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
851 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
852 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
854 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
856 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
858 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
861 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
862 alias to weak alias for j0l, y0l.
863 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
864 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
867 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
870 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
872 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
873 to zero if not already defined.
875 2014-12-22 Joseph Myers <joseph@codesourcery.com>
878 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
879 (__kernel_standard_f): Remove. Moved to k_standardf.c.
880 (__kernel_standard_l): Remove. Moved to k_standardl.c with
881 (char *) casts added.
882 * sysdeps/ieee754/k_standardf.c: New file.
883 * sysdeps/ieee754/k_standardl.c: Likewise.
884 * math/Makefile (libm-support): Remove k_standard.
885 (libm-calls): Add k_standard.
887 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
889 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
890 Optimize to avoid an unnecessary FPCR read.
892 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
894 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
895 Optimize to reduce FPCR/FPSR accesses.
897 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
899 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
900 Call libc_fetestexcept_aarch64.
902 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
904 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
905 Call libc_fesetround_aarch64.
907 2014-12-22 Joseph Myers <joseph@codesourcery.com>
910 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
911 (__bind): Do not define as weak alias.
912 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
914 (__getsockname): Do not define as weak alias.
916 2014-12-22 Will Newton <will.newton@linaro.org>
918 * manual/install.texi: Document that we require bison 2.7
920 * INSTALL: Regenerate.
921 * configure.ac: Use AC_CHECK_PROG_VER instead of
922 AC_PATH_PROG when checking for bison and check for
923 version 2.7 or above.
924 * configure: Regenerate.
926 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
929 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
930 * sysdeps/tile/ffsll.c (ffsll): To here.
932 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
934 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
936 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
938 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
940 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
941 hidden ___tls_get_addr.
942 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
943 hidden __tls_get_addr.
944 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
945 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
948 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
950 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
953 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
955 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
956 from "call _dl_init@PLT".
957 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
959 2014-12-21 Anders Kaseorg <andersk@mit.edu>
961 * manual/search.texi: (Array Sort Function): Clarify stable sorting
964 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
966 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
968 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
971 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
974 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
976 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
978 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
979 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
980 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
981 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
982 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
984 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
986 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
987 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
988 (PTR_SUBU): Use subu for mips32r6/mips64r6.
989 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
990 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
992 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
994 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
996 * string/strncat.c (STRNCAT): Simplify implementation.
998 2014-12-19 David S. Miller <davem@davemloft.net>
1000 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
1001 access the quad as both a long double and as a series of 4 words.
1003 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
1004 link_map->l_info array access.
1006 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
1008 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
1010 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
1011 * math/atest-exp2.c (TIMEOUT): Likewise.
1012 * math/atest-sincos.c (TIMEOUT): Likewise.
1014 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1016 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
1017 -Wno-error with -fno-builtin-lround.
1019 2014-12-19 Torvald Riegel <triegel@redhat.com>
1021 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
1022 Contains futex constants and functions moved over from ...
1023 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
1024 <lowlevellock-futex.h>.
1025 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
1026 (lll_timedwait_tid): Add comments and parentheses around macro
1029 2014-12-19 Torvald Riegel <triegel@redhat.com>
1031 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
1032 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
1033 (__lll_private_flag): Remove.
1034 (lll_futex_wait): Likewise.
1035 (lll_futex_timed_wait): Likewise.
1036 (lll_futex_wake): Likewise.
1037 (lll_futex_requeue): Likewise.
1038 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
1039 (__lll_timedwait_tid): Spell out argument names.
1040 (lll_timedwait_tid): Add comments and parentheses around macro
1042 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
1043 LLL_SHARED and LLL_PRIVATE usable from assembly code.
1045 2014-12-19 Torvald Riegel <triegel@redhat.com>
1047 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
1048 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
1049 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1050 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
1051 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
1052 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
1053 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
1054 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
1055 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
1056 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
1057 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
1058 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
1059 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
1060 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
1061 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
1062 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
1063 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
1064 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
1065 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
1067 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1069 * sysdeps/x86_64/x32/Makefile: New file.
1071 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1073 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
1074 1L with (mp_limb_t) 1.
1076 2014-12-17 Roland McGrath <roland@hack.frob.com>
1078 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
1079 * nptl/libc_pthread_init.c: ... here.
1080 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
1081 * nptl/register-atfork.c: ... here.
1083 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
1084 Use pthread_sigmask rather than INTERNAL_SYSCALL.
1085 Use assert_perror to check its return value.
1086 (__gai_create_helper_thread): Likewise.
1088 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
1090 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
1092 2014-12-17 Joseph Myers <joseph@codesourcery.com>
1095 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
1097 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
1099 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
1101 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
1103 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
1104 (profil_counter): Likewise.
1105 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
1106 (profil_counter): Likewise.
1107 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
1109 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
1111 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
1112 (profil_counter): Likewise.
1113 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
1115 [!__profil_counter] (profil_counter): Define as weak alias of
1117 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
1118 (profil_counter): Rename to __profil_counter.
1119 [!__profil_counter] (profil_counter): Define as weak alias of
1121 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
1122 (profil_counter): Rename to __profil_counter.
1123 [!__profil_counter] (profil_counter): Define as weak alias of
1125 * sysdeps/posix/profil.c: Update comment referring to
1127 (__profil): Use __profil_counter instead of profil_counter.
1128 * sysdeps/posix/sprofil.c (profil_counter): Rename to
1129 __profil_counter. Use __profil_counter_ushort and
1130 __profil_counter_uint in definitions.
1131 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
1132 instead of profil_counter_uint and profil_counter_ushort.
1135 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
1136 define as weak alias of __inet_makeaddr.
1137 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
1138 as weak alias of __inet_addr.
1139 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
1140 as weak alias of __inet_pton. Use libc_hidden_weak.
1141 * include/arpa/inet.h (__inet_pton): Declare. Use
1143 (inet_makeaddr): Don't use libc_hidden_proto.
1144 (__inet_makeaddr): Declare. Use libc_hidden_proto.
1145 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
1146 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
1147 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
1149 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
1150 (test-xfail-POSIX/time.h/linknamespace): Likewise.
1152 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
1154 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
1156 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
1158 * stdio-common/bug-vfprintf-nargs.c (do_test):
1159 Cast value to intptr_t to avoid format warning
1160 for usage with PRIdPTR printing macro.
1162 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
1164 * libio/tst-widetext.c (do_test):
1165 Use format type %td instead of %Zd for ptrdiff_t
1166 in order to avoid format warning.
1168 2014-12-17 Andreas Schwab <schwab@suse.de>
1170 * nscd/mem.c (gc): Add size_t cast to match printf format.
1172 2014-12-16 Roland McGrath <roland@hack.frob.com>
1174 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
1175 (init): Apply PTR_MANGLE to pointers before storing them.
1176 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
1179 2014-12-16 Joseph Myers <joseph@codesourcery.com>
1182 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
1183 define as weak alias of __memrchr.
1184 (__memrchr): Do not define as strong alias of memrchr.
1185 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
1187 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
1188 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
1189 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
1192 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
1193 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
1194 (if_indextoname): Rename to __if_indextoname and define as weak
1195 alias of __if_indextoname. Use libc_hidden_weak.
1196 (if_freenameindex): Rename to __if_freenameindex and define as
1197 weak alias of __if_freenameindex.
1198 (if_nameindex): Rename to __if_nameindex and define as weak alias
1200 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
1201 __if_nametoindex and define as weak alias of __if_nametoindex.
1202 Use libc_hidden_weak.
1203 (if_freenameindex): Rename to __if_freenameindex and define as
1204 weak alias of __if_freenameindex.
1205 (if_nameindex): Rename to __if_nameindex and define as weak alias
1207 (if_indextoname): Rename to __if_indextoname and define as weak
1208 alias of __if_indextoname. Use libc_hidden_weak.
1209 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
1210 __if_nametoindex and define as weak alias of __if_nametoindex.
1211 Use libc_hidden_weak.
1212 (if_freenameindex): Rename to __if_freenameindex and define as
1213 weak alias of __if_freenameindex. Use libc_hidden_weak.
1214 (if_nameindex_netlink): Use __if_freenameindex instead of
1216 (if_nameindex): Rename to __if_nameindex and define as weak alias
1217 of __if_nameindex. Use libc_hidden_weak.
1218 (if_indextoname): Rename to __if_indextoname and define as weak
1219 alias of __if_indextoname. Use libc_hidden_weak.
1220 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
1222 [!_ISOMAC] (__if_freenameindex): Likewise.
1223 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
1225 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
1227 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
1228 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
1229 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
1230 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
1231 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
1232 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
1233 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
1235 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
1237 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
1238 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
1240 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1242 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
1243 subscript above bounds'
1245 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
1248 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
1250 * libio/tst-fopenloc.c: Use test-skeleton.c.
1252 * stdlib/tst-bsearch.c: Use test-skeleton.c.
1253 (entry): Rename to ITEM.
1254 (do_test, comp): Adjust.
1256 * stdio-common/tst-fseek.c: Use test-skeleton.c.
1258 2014-12-16 Torvald Riegel <triegel@redhat.com>
1260 * string/tester.c: Include <libc-internal.h>.
1261 (test_memset): Ignore -Wmemset-transposed-args.
1263 2014-12-16 Torvald Riegel <triegel@redhat.com>
1265 * misc/tst-mntent2.c (do_test): Fix warning.
1267 2014-12-16 Torvald Riegel <triegel@redhat.com>
1269 * elf/tst-unique4lib.cc(a): Mark as used.
1271 2014-12-16 Florian Weimer <fweimer@redhat.com>
1274 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
1277 2014-12-16 Allan McRae <allan@archlinux.org>
1279 * stdio-common/Makefile (tests): Re-add bug26.
1281 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
1284 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
1287 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
1289 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
1290 (__lll_lock_wait): Likewise.
1291 (__lll_timedlock_wait): Likewise.
1292 (__lll_timedwait_tid): Likewise.
1293 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
1294 (__lll_robust_timedlock_wait): Likewise.
1295 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
1296 (lll_cond_trylock): Likewise.
1297 (__lll_lock): Likewise.
1298 (__lll_robust_lock): Likewise.
1299 (__lll_cond_lock): Likewise.
1300 (lll_robust_cond_lock): Likewise.
1301 (__lll_timedlock): Likewise.
1302 (__lll_robust_timedlock): Likewise.
1303 (__lll_unlock): Likewise.
1304 (__lll_robust_unlock): Likewise.
1305 (lll_wait_tid): Likewise.
1306 (lll_timedwait_tid): Likewise.
1308 2014-12-15 Torvald Riegel <triegel@redhat.com>
1310 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
1312 2014-12-15 Torvald Riegel <triegel@redhat.com>
1314 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
1316 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
1318 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
1319 * stdio-common/tst-sprintf.c: Likewise.
1321 2014-12-15 Torvald Riegel <triegel@redhat.com>
1323 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
1325 2014-12-15 Jeff Law <law@redhat.com>
1328 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
1329 on the heap. (CVE-2012-3406)
1330 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
1331 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
1332 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
1334 2014-12-15 Will Newton <will.newton@linaro.org>
1336 * manual/install.texi: Bump required version of texinfo
1338 * INSTALL: Regenerated.
1339 * configure.ac: Check for makeinfo version 4.7 and above.
1340 * configure: Regenerated.
1342 2014-12-12 Roland McGrath <roland@hack.frob.com>
1344 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
1345 PREFIX, string constant to insert between directory and name.
1346 * sysdeps/posix/shm_open.c: Update caller.
1347 * sysdeps/posix/shm_unlink.c: Likewise.
1348 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
1349 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
1350 (SEM_SHM_PREFIX): New macro.
1351 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
1352 [$(have-thread-library) = no].
1353 * nptl/Makefile (libpthread-routines): Add shm-directory.
1354 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
1355 * sysdeps/nptl/shm-directory.h: New file.
1356 * sysdeps/posix/shm-directory.c
1357 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
1358 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
1359 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
1361 (__where_is_shmfs): Function removed.
1362 (mountpoint, defaultmount, defaultdir, __namedsem_once):
1364 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
1366 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
1368 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
1369 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
1370 unconditional for use inside libpthread.
1371 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
1373 2014-12-12 Roland McGrath <roland@hack.frob.com>
1375 * nptl/pthread_getaffinity.c: New file.
1376 * nptl/pthread_setaffinity.c: New file.
1377 * nptl/pthread_getname.c: New file.
1378 * nptl/pthread_setname.c: New file.
1380 * nptl/pthread_create.c (START_THREAD_DEFN)
1381 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
1383 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1384 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1386 * resolv/res_send.c (send_vc): Disable warning resplen may
1387 be used uninitialized.
1389 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1392 (ATTR_NULL): New define checks ATTR against NULL.
1393 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
1394 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
1396 2014-12-11 James Lemke <jwlemke@codesourcery.com>
1400 (mem2mem_check): Revert my previous change.
1401 (malloc_check_get_size): Revert my previous change.
1402 (mem2chunk_check): Revert my previous change.
1404 2014-12-11 Roland McGrath <roland@hack.frob.com>
1406 * sysdeps/posix/shm-directory.c: New file.
1407 * sysdeps/posix/shm-directory.h: New file.
1408 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
1409 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
1410 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
1411 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
1412 Transmute EPERM to EACCES.
1413 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
1415 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
1416 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
1418 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1420 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
1421 pointer and cast to uintptr_t.
1422 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
1423 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
1424 Add cast to avoid warning.
1425 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
1427 2014-12-11 Joseph Myers <joseph@codesourcery.com>
1429 * nptl/semaphore.h: Move to ...
1430 * sysdeps/pthread/semaphore.h: ... here.
1431 * Makefile (installed-headers): Change nptl/semaphore.h to
1432 sysdeps/pthread/semaphore.h.
1434 2014-12-11 Roland McGrath <roland@hack.frob.com>
1436 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
1437 generated error format strings.
1439 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
1440 -Wformat-extra-args warnings for scanf formats.
1441 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
1442 test of zero-length format (duh).
1443 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
1444 corner-case scanf format test.
1445 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
1446 generated fprintf format string.
1447 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
1448 corner-case sprintf format tests.
1449 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
1450 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
1451 -Wformat-extra-args warnings throughout.
1452 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
1453 (CFLAGS-scanf4.c): Likewise.
1454 (CFLAGS-scanf7.c): Likewise.
1455 (CFLAGS-tst-sprintf.c): Likewise.
1456 (CFLAGS-tst-printf.c): Likewise.
1457 (CFLAGS-tst-printfsz.c): Likewise.
1459 2014-12-11 Joseph Myers <joseph@codesourcery.com>
1461 * include/cpio.h: New file.
1462 * include/fmtmsg.h: Likewise.
1464 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
1465 corresponding format argument to size_t.
1466 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
1468 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
1469 corresponding format argument to size_t.
1470 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
1472 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
1473 corresponding format argument to size_t.
1474 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
1475 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
1476 (CFLAGS-tst-mbswcs2.c): Likewise.
1477 (CFLAGS-tst-mbswcs3.c): Likewise.
1478 (CFLAGS-tst-mbswcs4.c): Likewise.
1479 (CFLAGS-tst-mbswcs5.c): Likewise.
1480 (CFLAGS-tst-trans.c): Likewise
1482 2014-12-11 Roland McGrath <roland@hack.frob.com>
1484 * posix/regexbug1.c (main): Use "%s" format with regerror results,
1485 rather than assuming they won't contain any '%'s.
1487 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
1489 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
1490 inhibit_loop_to_libcall to avoid recursive calls.
1491 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
1492 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
1494 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
1496 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
1499 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
1501 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
1502 integer value instead of boolean.
1504 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
1506 * malloc/malloc.c: Fix powerof2 check.
1508 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1510 * locale/programs/locfile.h (maybe_swap_uint32):
1511 Remove inline and add unused attribute.
1513 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1515 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1516 Truncating assembler expression to a .long expression.
1518 2014-12-11 Andreas Schwab <schwab@suse.de>
1520 * elf/rtld.c (struct map_args): Constify str member.
1521 (do_preload): Constify fname argument.
1523 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1525 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
1526 constants definition.
1528 2014-12-11 Andreas Schwab <schwab@suse.de>
1531 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
1532 FORCE_ELISION instead of DO_ELISION.
1533 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
1535 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
1538 * iconvdata/gconv-modules: Remove duplicate entry.
1540 2014-12-11 Will Newton <will.newton@linaro.org>
1542 Merge gettext 0.19.3 into intl/.
1544 This involves a number of cosmetic changes to comments
1545 and ANSI function definitions and prototypes throughout
1546 all the files. The gettext copyright header is used but
1547 with the date ranges taken from the glibc copy.
1549 * NEWS: Add gettext merge to 2.21.
1550 * intl/bindtextdom.c: Switch to gettext copyright.
1551 Use ANSI definitions and prototypes.
1552 Use gl_* locking primitives rather than __libc_* ones.
1553 Use __builtin_expect rather than __glibc_likely/unlikely.
1554 * intl/dcgettext.c: Switch to gettext copyright.
1555 Use ANSI definitions and prototypes.
1556 * intl/dcigettext.c: Switch to gettext copyright.
1557 Use ANSI definitions and prototypes.
1558 (INTDIV0_RAISES_SIGFPE): New define.
1559 Use gl_* locking primitives rather than __libc_* ones.
1560 Include eval-plural.h instead of plural-eval.c.
1561 Use __builtin_expect rather than __glibc_likely/unlikely.
1562 * intl/dcngettext.c: Switch to gettext copyright.
1563 Use ANSI definitions and prototypes.
1564 * intl/dgettext.c: Likewise.
1565 * intl/dngettext.c: Likewise.
1566 * intl/plural-eval.c: Renamed to...
1567 * intl/eval-plural.h: ...this.
1568 * intl/explodename.c: Switch to gettext copyright.
1569 Use ANSI definitions and prototypes.
1570 (_nl_explode_name): Use strchr instead of __rawmemchr.
1571 * intl/finddomain.c: Switch to gettext copyright.
1572 Use ANSI definitions and prototypes.
1573 Use gl_* locking primitives rather than __libc_* ones.
1574 (_nl_find_domain): Use malloc rather than alloca for
1575 allocation of temporary locale name.
1576 * intl/gettext.c: Switch to gettext copyright.
1577 Use ANSI definitions and prototypes.
1578 * intl/gettextP.h: Switch to gettext copyright.
1579 Use ANSI definitions and prototypes.
1580 Use gl_* locking primitives rather than __libc_* ones.
1581 * intl/gmo.h: Switch to gettext copyright.
1582 (struct sysdep_string): Move struct segment_pair outside of
1584 * intl/hash-string.c: Use ANSI definitions and prototypes.
1585 * intl/hash-string.h: Switch to gettext copyright.
1586 Use ANSI definitions and prototypes.
1587 * intl/l10nflist.c: Switch to gettext copyright.
1588 Use ANSI definitions and prototypes.
1589 (_nl_normalize_codeset): Avoid integer overflow.
1590 * intl/loadinfo.h: Switch to gettext copyright.
1591 Use ANSI definitions and prototypes.
1592 (LIBINTL_DLL_EXPORTED): New define.
1593 (PATH_SEPARATOR): New define.
1594 * intl/loadmsgcat.c: Switch to gettext copyright.
1595 * intl/localealias.c: Switch to gettext copyright.
1596 Use ANSI definitions and prototypes.
1597 (_nl_expand_alias): Use PATH_SEPARATOR.
1598 * intl/ngettext.c: Switch to gettext copyright.
1599 Use ANSI definitions and prototypes.
1600 * intl/plural-exp.c: Likewise.
1601 * intl/plural-exp.h: Switch to gettext copyright.
1602 Use ANSI definitions and prototypes.
1603 (struct expression): Move definition of enum operator outside
1604 of struct definition.
1605 * intl/plural.c: Regenerate.
1606 * intl/plural.y: Switch to gettext copyright.
1607 Use ANSI definitions and prototypes.
1609 * intl/textdomain.c: Switch to gettext copyright.
1610 Use ANSI definitions and prototypes.
1611 Use gl_* locking primitives rather than __libc_* ones.
1613 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
1615 * debug/warning-nop.c: Add used atrribute.
1617 2014-12-10 Joseph Myers <joseph@codesourcery.com>
1619 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
1621 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
1622 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
1623 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
1625 2014-12-10 Joseph Myers <joseph@codesourcery.com>
1626 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1629 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
1630 Undefine after defining function. Define as weak alias of
1631 __wcschr. Use libc_hidden_weak.
1632 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
1633 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
1634 (libc_hidden_def): Also define __GI___wcschr alias.
1635 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
1636 __wcschr and define as weak alias of __wcschr.
1637 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
1639 [!WCSCHR] (DEFAULT_WCSCHR): Define.
1640 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
1641 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
1642 libc_hidden_weak. Do not use libc_hidden_def.
1643 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
1644 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
1645 __GI___wcschr alias.
1646 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
1647 [IS_IN (libc)] (wcschr): Define as macro expanding to
1649 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
1650 [IS_IN (libc)] (__wcschr_power6): Likewise.
1651 [IS_IN (libc)] (__wcschr_power7): Likewise.
1652 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
1654 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
1656 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
1657 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
1658 __wcschr and define as weak alias of __wcschr. Use
1659 libc_hidden_builtin_def.
1660 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
1661 as weak alias of __wcschr. Use libc_hidden_weak.
1662 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
1664 * time/era.c (_nl_init_era_entries): Likewise.
1665 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
1667 (test-xfail-XPG3/time.h/linknamespace): Likewise.
1668 (test-xfail-XPG4/time.h/linknamespace): Likewise.
1670 2014-12-10 Joseph Myers <joseph@codesourcery.com>
1672 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
1673 format for long int variable.
1675 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
1678 * manual/search.texi: (Array Sort Function): Remove claim how to make
1681 2014-12-10 Andreas Schwab <schwab@suse.de>
1684 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
1685 user-controlled locks.
1687 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
1689 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
1692 2014-12-10 Joseph Myers <joseph@codesourcery.com>
1694 * configure.ac (--disable-werror): New configure option.
1695 (enable_werror): New AC_SUBST.
1696 * configure: Regenerated.
1697 * config.make.in (enable-werror): New variable.
1698 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
1700 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
1701 * manual/install.texi (Configuring and compiling): Document
1703 * INSTALL: Regenerated.
1704 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
1705 (CFLAGS-tst-chk2.c): Likewise.
1706 (CFLAGS-tst-chk3.c): Likewise.
1707 (CFLAGS-tst-chk4.cc): Likewise.
1708 (CFLAGS-tst-chk5.cc): Likewise.
1709 (CFLAGS-tst-chk6.cc): Likewise.
1710 (CFLAGS-tst-lfschk1.c): Likewise.
1711 (CFLAGS-tst-lfschk2.c): Likewise.
1712 (CFLAGS-tst-lfschk3.c): Likewise.
1713 (CFLAGS-tst-lfschk4.cc): Likewise.
1714 (CFLAGS-tst-lfschk5.cc): Likewise.
1715 (CFLAGS-tst-lfschk6.cc): Likewise.
1717 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
1718 (main): Disable -Wdeprecated-declarations around calls to
1719 register_printf_function.
1721 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
1722 (do_test): Disable -Wdiv-by-zero around some calls to
1723 fwrite_unlocked and fread_unlocked.
1725 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
1726 (DIAG_POP_NEEDS_COMMENT): Likewise.
1727 (_DIAG_STR1): Likewise.
1728 (_DIAG_STR): Likewise.
1729 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
1730 * stdio-common/bug21.c: Include <libc-internal.h>.
1731 (do_test): Disable -Wformat around call to sscanf.
1732 * stdio-common/scanf14.c: Include <libc-internal.h>.
1733 (main): Disable -Wformat around some calls to scanf functions.
1735 2014-12-09 Torvald Riegel <triegel@redhat.com>
1737 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
1739 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1741 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
1742 stack variable alignment.
1744 2014-12-06 Joseph Myers <joseph@codesourcery.com>
1747 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
1748 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
1749 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
1750 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
1751 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
1752 __getrlimit instead of getrlimit.
1753 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
1754 __gettimeofday instead of gettimeofday.
1755 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1757 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1759 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
1760 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
1762 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
1763 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
1765 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1767 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
1768 for wide-character tests.
1770 2014-12-04 Roland McGrath <roland@hack.frob.com>
1772 * io/openat64.c: #include <libc-internal.h>
1773 (__openat64): Prototypify. Use ignore_value on MODE.
1774 * io/openat.c: Likewise.
1775 * misc/reboot.c: #include <libc-internal.h>
1776 (reboot): Prototypify. Use ignore_value on HOWTO.
1777 * misc/ptrace.c: #include <libc-internal.h>
1778 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
1780 2014-12-04 Joseph Myers <joseph@codesourcery.com>
1782 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
1783 XPG4, UNIX98 and XOPEN2K.
1784 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
1786 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
1788 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1790 * libio/fileops.c: Use ISO C style for function definitions.
1791 * libio/iofopen.c: Likewise.
1792 * libio/wfileops.c: Likewise.
1795 * libio/fileops.c (_IO_new_file_underflow): Unset cached
1797 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
1798 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
1799 (fgets_func): Function pointer to fgets and fgetws.
1800 (do_ftell_test): Add test to verify ftell value after read
1802 (do_test): Set fgets_func.
1804 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
1805 O_TRUNC flag for w and w+ modes.
1806 (do_rewind_test): Likewise.
1807 (do_ftell_test): Likewise.
1808 (do_write_test): Likewise.
1811 * libio/fileops.c (do_ftell): Seek only when there are
1813 * libio/wfileops.c (do_ftell_wide): Likewise.
1814 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
1816 (do_one_test): Call it.
1818 2014-12-03 Joseph Myers <joseph@codesourcery.com>
1820 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
1821 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
1822 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
1824 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
1825 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
1826 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
1828 2014-12-02 Joseph Myers <joseph@codesourcery.com>
1830 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
1832 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
1835 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
1836 as weak alias of __getifaddrs. Use libc_hidden_weak.
1837 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1838 __freeifaddrs. Use libc_hidden_weak.
1839 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
1840 define as weak alias of __getifaddrs. Use libc_hidden_weak.
1841 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1842 __freeifaddrs. Use libc_hidden_weak.
1843 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
1844 __getifaddrs and define as weak alias of __getifaddrs. Use
1846 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1847 __freeifaddrs. Use libc_hidden_weak.
1848 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
1850 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
1851 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
1853 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
1856 * sysdeps/mips/start.S (__start): Use indirect jump to call
1859 2014-12-02 Joseph Myers <joseph@codesourcery.com>
1861 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
1863 * nptl/tst-mutex1.c: Include <stdbool.h>.
1864 [!ATTR] (ATTR_NULL): New macro.
1865 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
1866 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
1867 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
1869 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
1873 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
1874 Change conditional to [__USE_MISC].
1877 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
1879 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
1881 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
1883 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
1885 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
1886 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
1887 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
1888 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
1889 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
1890 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
1891 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
1892 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
1893 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
1895 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
1897 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1899 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1900 Remove strpbrk objects.
1901 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1902 (__libc_ifunc_impl_list): Remove strpbrk implementation.
1903 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
1904 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
1905 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
1906 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
1908 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1909 Remove strcspn objects.
1910 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1911 (__libc_ifunc_impl_list): Remove strcspn implementation.
1912 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
1913 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
1914 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
1915 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
1917 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1918 Remove strspn objetcs.
1919 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1920 (__libc_ifunc_impl_list): Remove strspn implementation.
1921 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
1922 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
1923 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
1924 * sysdeps/powerpc/powerpc64/strspn.S: New file.
1926 2014-12-01 James Lemke <jwlemke@codesourcery.com>
1930 (mem2mem_check): Add a terminator to the chain of checking blocks.
1931 (malloc_check_get_size): Use it here.
1932 (mem2chunk_check): Ditto.
1934 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1936 * sysdeps/powerpc/powerpc64/strtok.S: New file.
1937 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
1939 2014-11-29 Carlos O'Donell <carlos@redhat.com>
1941 * bits/ioctl-types.h: Indent preprocessor directives correctly.
1943 * nptl/nptl-init.c: Include libc-internal.h.
1944 (__pthread_initialize_minimal_internal): Use ROUND_UP.
1946 * elf/ldconfig.c (search_dir): Expand comment.
1948 2014-11-29 Joseph Myers <joseph@codesourcery.com>
1950 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
1952 (linknamespace-symlist-stdlibs-tests): Likewise.
1953 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
1954 instead of $(objpfx)symlist-stdlibs.
1955 (linknamespace-libs-isoc): New variable.
1956 (linknamespace-libs): Use $(linknamespace-libs-isoc).
1957 (linknamespace-libs-ISO): New variable.
1958 (linknamespace-libs-ISO99): Likewise.
1959 (linknamespace-libs-ISO11): Likewise.
1960 (linknamespace-libs-XPG3): Likewise.
1961 (linknamespace-libs-XPG4): Likewise.
1962 (linknamespace-libs-POSIX): Likewise.
1963 (linknamespace-libs-UNIX98): Likewise.
1964 (linknamespace-libs-XOPEN2K): Likewise.
1965 (linknamespace-libs-POSIX2008): Likewise.
1966 (linknamespace-libs-XOPEN2K8): Likewise.
1967 ($(objpfx)symlist-stdlibs): Replace by
1968 $(linknamespace-symlist-stdlibs-tests). Use
1969 $(linknamespace-libs-$*) as set of libraries.
1970 ($(linknamespace-header-tests)): Update dependencies. Use
1971 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
1972 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
1973 * conform/linknamespace.pl: Remove comment about considering
1974 definitions of symbols from irrelevant libraries.
1976 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
1979 * elf/dl-tls.c: Include <atomic.h>.
1980 (oom): Remove #ifdef SHARED/#endif.
1981 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
1982 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
1983 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
1985 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
1986 * nptl/Makefile (tests): Add tst-stack4.
1987 (modules-names): Add tst-stack4mod.
1988 ($(objpfx)tst-stack4): New.
1989 (tst-stack4mod.sos): Likewise.
1990 ($(objpfx)tst-stack4.out): Likewise.
1991 ($(tst-stack4mod.sos)): Likewise.
1993 * nptl/tst-stack4.c: New file.
1994 * nptl/tst-stack4mod.c: Likewise.
1996 2014-11-27 J. Brown <jb999@gmx.de>
1998 * sysdeps/x86/bits/string.h: Add recent CPUs.
2000 2014-11-27 Joseph Myers <joseph@codesourcery.com>
2002 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
2005 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
2008 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
2011 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
2013 * nscd/connections.c: Include libc-internal.h because of macro
2016 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2018 * string/bits/string3.h (__warn_memset_zero_len): Don't
2019 declare for gcc newer than 5.0.
2020 (memset): Don't test for zero-length __LEN for gcc newer than
2023 2014-11-27 Joseph Myers <joseph@codesourcery.com>
2025 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
2026 size_t for %zu format.
2028 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
2029 difference, not %ju.
2031 2014-11-26 Joseph Myers <joseph@codesourcery.com>
2033 * include/libc-internal.h (ignore_value): New macro.
2034 * nscd/connections.c (restart): Wrap calls to setuid and setgid
2037 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
2040 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
2041 pthread_cleanup_push to void *.
2043 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
2048 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
2049 instead of 1L << 52.
2051 * libio/bug-rewind.c (do_test): Check fwscanf return values.
2052 * libio/bug-rewind2.c (do_test): Likewise.
2054 * debug/test-stpcpy_chk-ifunc.c: Remove file.
2055 * debug/test-strcpy_chk-ifunc.c: Likewise.
2056 * wcsmbs/test-wcschr-ifunc.c: Likewise.
2057 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2058 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2059 * wcsmbs/test-wcslen-ifunc.c: Likewise.
2060 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2061 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2062 * Rules [$(multi-arch) = no] (tests): Do not filter out
2064 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
2065 * debug/Makefile (tests-ifunc): Remove variable.
2066 (tests): Do not add $(tests-ifunc).
2067 * wcsmbs/Makefile (tests-ifunc): Remove variable.
2068 (tests): Do not add $(tests-ifunc).
2069 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
2070 [TEST_IFUNC]: Remove conditionals.
2071 * string/test-string.h (TEST_IFUNC): Remove macro.
2072 [TEST_IFUNC]: Remove conditionals.
2074 * string/test-strchr.c [!WIDE] (L): New macro.
2075 [WIDE] (L): Likewise.
2076 (check1): Use CHAR instead of char. Use L on string and character
2079 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
2081 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
2083 * sysdeps/powerpc/bits/atomic.h
2084 (__arch_atomic_exchange_and_add_32_acq): Add definition.
2085 (__arch_atomic_exchange_and_add_32_rel): Likewise.
2086 (atomic_exchange_and_add_acq): Likewise.
2087 (atomic_exchange_and_add_rel): Likewise.
2088 * sysdeps/powerpc/powerpc32/bits/atomic.h
2089 (__arch_atomic_exchange_and_add_64_acq): Add definition.
2090 (__arch_atomic_exchange_and_add_64_rel): Likewise.
2091 * sysdeps/powerpc/powerpc64/bits/atomic.h
2092 (__arch_atomic_exchange_and_add_64_acq): Add definition.
2093 (__arch_atomic_exchange_and_add_64_rel): Likewise.
2095 2014-11-26 Torvald Riegel <triegel@redhat.com>
2097 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
2098 Change synchronization of __sched_fifo_min_prio and
2099 __sched_fifo_max_prio.
2100 * nptl/pthread_mutexattr_getprioceiling.c
2101 (pthread_mutexattr_getprioceiling): Likewise.
2102 * nptl/pthread_mutexattr_setprioceiling.c
2103 (pthread_mutexattr_setprioceiling): Likewise.
2104 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
2105 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
2108 2014-11-26 Joseph Myers <joseph@codesourcery.com>
2110 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
2113 2014-11-25 Joseph Myers <joseph@codesourcery.com>
2115 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
2116 third argument const.
2118 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
2120 fnmatch: work around GCC compiler warning bug with uninit var
2121 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
2122 This works around a bug with x86-64 GCC 4.9.2 and earlier
2123 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
2124 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
2125 used uninitialized in this function [-Wmaybe-uninitialized]".
2127 2014-11-25 Joseph Myers <joseph@codesourcery.com>
2129 * posix/bug-regex31.c (main): Return RES not 0.
2131 2014-11-25 Anton Blanchard <anton@samba.org>
2133 * sysdeps/powerpc/bits/atomic.h
2134 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
2136 2014-11-24 Sterling Augustine <saugustine@google.com>
2138 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
2140 2014-11-24 Ryan Cumming <etaoins@gmail.com>
2143 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
2145 2014-11-24 Joseph Myers <joseph@codesourcery.com>
2148 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
2149 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
2151 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
2152 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
2154 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
2156 * string/strncpy.c (strncpy): Improve performance by using memset.
2158 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
2160 * string/strcpy.c (strcpy):
2161 Improve performance by using strlen and memcpy.
2163 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
2165 * string/strcoll_l.c (get_next_seq): __always_inline.
2166 * string/strcoll_l.c (do_compare): __always_inline.
2168 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2170 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
2172 * include/mqueue.h: Likewise.
2173 * include/stdlib.h: Likewise.
2175 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
2176 (get_null_defines): Adjust.
2177 * sunrpc/Makefile: Adjust comment.
2178 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
2179 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
2180 (CFLAGS-interp.c): Likewise.
2181 (CFLAGS-ldconfig.c): Likewise.
2182 (CPPFLAGS-.os): Likewise.
2183 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2184 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
2185 * extra-modules.mk (extra-modules.mk): Likewise.
2186 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
2187 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
2188 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
2189 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
2190 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
2191 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
2192 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
2193 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
2194 * iconvdata/Makefile (CPPFLAGS): Likewise.
2195 (cpp-srcs-left): Add libof for all iconvdata routines.
2196 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
2197 * include/assert.h: Likewise.
2198 * include/ctype.h: Likewise.
2199 * include/errno.h: Likewise.
2200 * include/libc-symbols.h: Likewise.
2201 * include/math.h: Likewise.
2202 * include/netdb.h: Likewise.
2203 * include/resolv.h: Likewise.
2204 * include/stdio.h: Likewise.
2205 * include/stdlib.h: Likewise.
2206 * include/string.h: Likewise.
2207 * include/sys/stat.h: Likewise.
2208 * include/wctype.h: Likewise.
2209 * intl/l10nflist.c: Likewise.
2210 * libidn/idn-stub.c: Likewise.
2211 * libio/libioP.h: Likewise.
2212 * nptl/libc_multiple_threads.c: Likewise.
2213 * nptl/pthreadP.h: Likewise.
2214 * posix/regex_internal.h: Likewise.
2215 * resolv/res_hconf.c: Likewise.
2216 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
2217 * sysdeps/arm/memmove.S: Likewise.
2218 * sysdeps/arm/sysdep.h: Likewise.
2219 * sysdeps/generic/_itoa.h: Likewise.
2220 * sysdeps/generic/symbol-hacks.h: Likewise.
2221 * sysdeps/gnu/errlist.awk: Likewise.
2222 * sysdeps/gnu/errlist.c: Likewise.
2223 * sysdeps/i386/i586/memcpy.S: Likewise.
2224 * sysdeps/i386/i586/memset.S: Likewise.
2225 * sysdeps/i386/i686/memcpy.S: Likewise.
2226 * sysdeps/i386/i686/memmove.S: Likewise.
2227 * sysdeps/i386/i686/mempcpy.S: Likewise.
2228 * sysdeps/i386/i686/memset.S: Likewise.
2229 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
2230 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2231 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
2232 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
2233 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2234 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2235 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
2236 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2237 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
2238 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
2239 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2240 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2241 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2242 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2243 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2244 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2245 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
2246 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
2247 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
2248 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2249 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2250 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2251 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2252 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2253 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2254 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2255 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
2256 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2257 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
2258 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
2259 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2260 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2261 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2262 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2263 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2264 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
2265 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2266 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2267 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
2268 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
2269 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2270 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2271 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
2272 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
2273 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2274 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2275 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
2276 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
2277 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2278 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
2279 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2280 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
2281 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
2282 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2283 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
2284 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
2285 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2286 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
2287 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
2288 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2289 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
2290 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2291 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
2292 * sysdeps/nptl/bits/libc-lock.h: Likewise.
2293 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
2294 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
2295 * sysdeps/posix/closedir.c: Likewise.
2296 * sysdeps/posix/opendir.c: Likewise.
2297 * sysdeps/posix/readdir.c: Likewise.
2298 * sysdeps/posix/rewinddir.c: Likewise.
2299 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
2300 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
2301 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
2302 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2303 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2304 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
2305 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
2306 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
2307 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
2308 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
2309 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
2310 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
2311 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
2312 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
2313 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
2314 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
2315 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
2316 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
2317 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
2318 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
2319 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
2320 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
2321 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
2322 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
2323 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
2324 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
2325 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
2326 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
2327 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
2328 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
2329 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
2330 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
2331 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
2332 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
2333 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
2334 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
2335 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2336 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2337 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
2338 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
2339 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
2340 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
2341 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
2342 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
2343 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
2344 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
2345 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
2346 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
2347 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
2348 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
2349 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
2350 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
2351 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
2352 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
2353 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
2354 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
2355 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
2356 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
2357 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
2358 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
2359 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
2360 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
2361 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
2362 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
2363 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
2364 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
2365 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
2366 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
2367 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
2368 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
2369 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
2370 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
2371 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
2372 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
2373 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
2374 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
2375 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
2376 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
2377 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
2378 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
2379 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
2380 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
2381 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
2382 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
2383 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
2384 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
2385 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
2386 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
2387 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
2388 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2389 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
2390 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
2391 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
2392 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2393 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2394 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
2395 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2396 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2397 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
2398 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
2399 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2400 * sysdeps/unix/alpha/sysdep.S: Likewise.
2401 * sysdeps/unix/alpha/sysdep.h: Likewise.
2402 * sysdeps/unix/make-syscalls.sh: Likewise.
2403 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2404 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2405 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2406 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
2407 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2408 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
2409 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
2410 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2411 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2412 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
2413 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2414 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2415 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2416 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
2417 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2418 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
2419 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2420 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2421 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
2422 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2423 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
2424 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2425 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2426 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2427 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2428 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2429 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
2431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
2432 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
2433 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2434 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2435 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
2436 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2437 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2438 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2439 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
2440 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2441 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2442 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
2443 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2444 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2445 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2446 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2447 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2448 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2449 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2450 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2451 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2452 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2453 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2454 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2455 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2456 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2457 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2458 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2459 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2460 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2461 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
2462 * sysdeps/x86_64/memcpy.S: Likewise.
2463 * sysdeps/x86_64/memmove.c: Likewise.
2464 * sysdeps/x86_64/memset.S: Likewise.
2465 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
2466 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2467 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
2468 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
2469 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
2470 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2471 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2472 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2473 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2474 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2475 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2476 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2477 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
2478 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2479 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2480 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
2481 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
2482 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2483 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
2484 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2485 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
2486 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2487 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2488 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
2489 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2490 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2491 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2492 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
2493 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
2494 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2495 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
2496 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2497 * sysdeps/x86_64/strcmp.S: Likewise.
2499 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
2501 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
2502 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
2503 * elf/rtld-Rules: Likewise.
2504 * elf/setup-vdso.h: Likewise.
2505 * include/assert.h: Likewise.
2506 * include/bits/stdlib-float.h: Likewise.
2507 * include/errno.h: Likewise.
2508 * include/sys/stat.h: Likewise.
2509 * include/unistd.h: Likewise.
2510 * sysdeps/aarch64/setjmp.S: Likewise.
2511 * sysdeps/alpha/setjmp.S: Likewise.
2512 * sysdeps/arm/__longjmp.S: Likewise.
2513 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
2514 * sysdeps/arm/setjmp.S: Likewise.
2515 * sysdeps/arm/sysdep.h: Likewise.
2516 * sysdeps/generic/_itoa.h: Likewise.
2517 * sysdeps/generic/dl-sysdep.h: Likewise.
2518 * sysdeps/generic/ldsodefs.h: Likewise.
2519 * sysdeps/i386/dl-tls.h: Likewise.
2520 * sysdeps/i386/setjmp.S: Likewise.
2521 * sysdeps/m68k/setjmp.c: Likewise.
2522 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
2523 * sysdeps/mach/hurd/opendir.c: Likewise.
2524 * sysdeps/posix/getcwd.c: Likewise.
2525 * sysdeps/posix/opendir.c: Likewise.
2526 * sysdeps/posix/profil.c: Likewise.
2527 * sysdeps/powerpc/dl-procinfo.h: Likewise.
2528 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2529 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
2530 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2531 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2532 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
2533 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2534 * sysdeps/s390/dl-tls.h: Likewise.
2535 * sysdeps/s390/s390-32/setjmp.S: Likewise.
2536 * sysdeps/s390/s390-64/setjmp.S: Likewise.
2537 * sysdeps/sh/sh3/setjmp.S: Likewise.
2538 * sysdeps/sh/sh4/setjmp.S: Likewise.
2539 * sysdeps/unix/alpha/sysdep.h: Likewise.
2540 * sysdeps/unix/arm/sysdep.S: Likewise.
2541 * sysdeps/unix/i386/sysdep.S: Likewise.
2542 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2543 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2544 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2545 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2546 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2547 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
2548 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2549 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2550 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2551 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
2552 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
2553 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2554 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2557 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2558 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2559 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2560 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2561 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2562 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2563 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2564 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2565 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2566 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2567 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2568 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2569 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2570 * sysdeps/x86_64/setjmp.S: Likewise.
2572 * include/math.h: Use IS_IN instead of IS_IN_libm.
2573 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
2574 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2575 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2576 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
2577 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2578 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2579 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2580 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2581 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2582 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2583 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
2584 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
2585 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
2586 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
2587 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
2588 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
2589 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
2590 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
2591 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
2592 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
2593 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
2594 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
2595 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
2596 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
2597 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
2598 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
2599 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
2600 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
2601 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
2602 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
2603 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
2604 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
2605 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
2608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
2610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
2612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
2614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
2616 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
2617 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
2618 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
2619 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2620 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2621 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2622 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
2623 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
2624 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
2625 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
2626 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
2627 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
2628 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
2629 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2630 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2631 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2632 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2633 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2634 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2635 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2636 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
2637 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
2638 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
2639 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
2640 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
2641 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2642 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
2644 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
2645 * nptl/pthreadP.h: Likewise.
2646 * nptl_db/structs.def: Likewise.
2647 * sysdeps/arm/sysdep.h: Likewise.
2648 * sysdeps/nptl/bits/libc-lock.h: Likewise.
2649 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
2650 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
2651 * sysdeps/unix/alpha/sysdep.h: Likewise.
2652 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2653 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2654 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2655 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2656 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2657 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2658 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2659 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2660 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2661 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2662 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2663 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2664 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2665 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
2667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
2668 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2669 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2670 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2671 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2672 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2673 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2674 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2675 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2676 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
2677 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2679 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
2680 * nptl/pthreadP.h: Likewise.
2681 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2682 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2683 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2684 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2685 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2686 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2687 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2688 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2689 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2690 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2691 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2692 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
2695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
2697 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2698 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2699 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2700 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2701 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2702 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2703 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2704 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2706 * dlfcn/dladdr.c: Use IS_IN.
2707 * dlfcn/dladdr1.c: Likewise.
2708 * dlfcn/dlclose.c: Likewise.
2709 * dlfcn/dlerror.c: Likewise.
2710 * dlfcn/dlinfo.c: Likewise.
2711 * dlfcn/dlmopen.c: Likewise.
2712 * dlfcn/dlopen.c: Likewise.
2713 * dlfcn/dlsym.c: Likewise.
2714 * dlfcn/dlvsym.c: Likewise.
2716 * include/ifaddrs.h: Use IS_IN.
2717 * inet/check_pf.c: Likewise.
2718 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2719 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
2721 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
2723 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
2724 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
2726 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
2727 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
2730 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
2732 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
2733 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2734 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
2735 * include/libc-symbols.h (IS_IN_LIB): New macro.
2736 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
2737 * include/netdb.h: Likewise.
2738 * include/stap-probe.h: Remove all uses of IN_LIB.
2740 * Makeconfig (module-cppflags-real): Define MODULE_NAME
2741 instead of IN_MODULE.
2742 * include/libc-symbols.h (IN_MODULE): Define using
2744 (PASTE_NAME, PASTE_NAME1): New macros.
2745 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
2747 (STAP_PROBE_ASM): Likewise.
2749 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
2751 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
2752 __mach_init in dlopened libc.
2754 2014-11-22 Mike Frysinger <vapier@gentoo.org>
2756 * sysdeps/arm/preconfigure.ac: Delete EABI check.
2757 * sysdeps/arm/preconfigure: Regenerate.
2759 2014-11-21 Roland McGrath <roland@hack.frob.com>
2761 * nptl/pthread_create.c (__pthread_create_2_1): Set
2762 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
2763 when copying values from IATTR into PD.
2765 2014-11-21 Will Newton <will.newton@linaro.org>
2766 Andrew Pinski <andrew.pinski@caviumnetworks.com>
2768 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
2769 Refactor inline-asm. Also add comment.
2771 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
2772 ElfW macro instead of hardcoded Elf64 types.
2773 (la_aarch64_gnu_pltenter): Likewise.
2774 * sysdeps/aarch64/dl-machine.h
2775 (elf_machine_runtime_setup): Use ElfW(Addr).
2777 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
2778 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
2779 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
2780 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
2781 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
2782 (R_AARCH64_TLS_DTPMOD64): Rename to ..
2783 (R_AARCH64_TLS_DTPMOD): This.
2784 (R_AARCH64_TLS_DTPREL64): Rename to ...
2785 (R_AARCH64_TLS_DTPREL): This.
2786 (R_AARCH64_TLS_TPREL64): Rename to ...
2787 (R_AARCH64_TLS_TPREL): This.
2788 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
2789 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
2790 R_AARCH64_TLS_TPREL64.
2791 (elf_machine_rela): Likewise.
2793 2014-11-21 Torvald Riegel <triegel@redhat.com>
2795 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
2796 by setting it to 0. 64b atomics are not supported currently.
2798 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
2801 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
2802 search domain names.
2804 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
2808 * resolv/res_query.c (__libc_res_nquerydomain): Retain
2810 * posix/tst-getaddrinfo5.c: New.
2811 * posix/Makefile (tests): Add it.
2813 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
2817 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
2818 after parsing line but before break_if_match.
2819 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
2820 if there is a protocol mismatch.
2822 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
2824 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
2825 because the potential race is on the user-supplied stream.
2827 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
2829 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
2830 string literal if not passed a buffer.
2831 * manual/job.texi (ctermid): Update reasoning, note deviation
2832 from posix, suggest mtasurace when not passed a buffer, for
2833 future non-preliminary safety notes.
2835 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
2837 * manual/users.texi (cuserid): Fix MT-Safety note for the case
2838 of not passing it a buffer.
2839 Reported by Peng Haitao.
2841 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
2843 * manual/Makefile ($(objpfx)stamp-summary): Require
2844 check-safety.sh to pass.
2845 * manual/check-safety.sh: Wish for verification that every
2846 @deftypefn and @deftypefun is followed by a @safety remark.
2848 2014-11-20 Roland McGrath <roland@hack.frob.com>
2850 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
2852 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
2853 PTHREAD_CANCEL_ASYNCHRONOUS.
2854 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
2857 * nptl/default-sched.h: New file.
2858 * sysdeps/unix/sysv/linux/default-sched.h: New file.
2859 * nptl/pthread_create.c: Include it.
2860 (__pthread_create_2_1): Use collect_default_sched instead of making
2861 Linux syscalls here directly.
2863 2014-11-20 Torvald Riegel <triegel@redhat.com>
2865 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
2866 __pthread_once): Use C11 atomics.
2868 2014-11-20 Torvald Riegel <triegel@redhat.com>
2870 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
2872 2014-11-20 Torvald Riegel <triegel@redhat.com>
2874 * include/atomic.h (__atomic_link_error, __atomic_check_size,
2875 atomic_thread_fence_acquire, atomic_thread_fence_release,
2876 atomic_thread_fence_seq_cst, atomic_load_relaxed,
2877 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
2878 atomic_compare_exchange_weak_relaxed,
2879 atomic_compare_exchange_weak_acquire,
2880 atomic_compare_exchange_weak_release,
2881 atomic_exchange_acquire, atomic_exchange_release,
2882 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
2883 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
2884 atomic_fetch_and_acquire,
2885 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
2887 2014-11-20 Torvald Riegel <triegel@redhat.com>
2889 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
2890 USE_ATOMIC_COMPILER_BUILTINS): Define.
2891 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
2892 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2893 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
2894 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2895 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
2896 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2897 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
2898 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2899 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
2900 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2901 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
2902 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2903 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
2904 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2905 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
2906 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2907 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
2908 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2909 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
2910 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2911 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
2912 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2913 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
2914 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2915 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
2916 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2917 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
2918 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2919 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
2920 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2921 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
2922 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2923 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
2924 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2925 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
2926 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2927 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
2928 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2929 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
2930 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2932 2014-11-19 Roland McGrath <roland@hack.frob.com>
2934 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
2935 the sched_priority value here. It was already checked when the user
2936 called pthread_attr_setschedparam.
2938 * nptl/tst-bad-schedattr.c: New file.
2939 * nptl/Makefile (tests): Add it.
2941 2014-11-19 Carlos O'Donell <carlos@redhat.com>
2942 Florian Weimer <fweimer@redhat.com>
2943 Joseph Myers <joseph@codesourcery.com>
2944 Adam Conrad <adconrad@0c3.net>
2945 Andreas Schwab <schwab@suse.de>
2946 Brooks <bmoses@google.com>
2949 * wordexp-test.c (__dso_handle): Add prototype.
2950 (__register_atfork): Likewise.
2951 (__app_register_atfork): New function.
2952 (registered_forks): New global.
2953 (register_fork): New function.
2954 (test_case): Add 3 new tests for WRDE_CMDSUB.
2955 (main): Call __app_register_atfork.
2956 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
2957 fork count is non-zero fail the test.
2958 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
2960 (parse_dollars): Remove check for WRDE_NOCMD.
2961 (parse_dquote): Likewise.
2963 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2965 * Makeconfig (built-modules): List non-library modules to be
2967 (module-cppflags): Include libc-modules.h for
2968 everything except shlib-versions.v.i.
2970 (before-compile): Add libc-modules.h.
2971 ($(common-objpfx)libc-modules.h,
2972 $(common-objpfx)libc-modules.stmp): New targets.
2973 (common-generated): Add libc-modules.h and libc-modules.stmp.
2974 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
2975 * include/libc-symbols.h: Don't include libc-modules.h.
2976 * include/libc-modules.h: Remove file.
2977 * scripts/gen-libc-modules.awk: New script to generate
2979 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
2980 Depend on libc-modules.stmp.
2982 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
2984 * Makeconfig (in-module): Get value of libof set for the
2986 (CPPFLAGS): Use $(in-module).
2987 * Makerules: Don't suffix routine names for nonlib.
2988 * include/libc-modules.h: New file.
2989 * include/libc-symbols.h: Include libc-modules.h
2990 (IS_IN): New macro to replace IS_IN_* macros.
2991 * elf/Makefile: Set libof-* for each routine.
2992 * elf/rtld-Rules: Likewise.
2993 * extra-modules.mk: Likewise.
2994 * iconv/Makefile: Likewise.
2995 * iconvdata/Makefile: Likewise.
2996 * locale/Makefile: Likewise.
2997 * malloc/Makefile: Likewise.
2998 * nss/Makefile: Likewise.
2999 * sysdeps/gnu/Makefile: Likewise.
3000 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
3001 * sysdeps/unix/sysv/linux/Makefile: Likewise.
3002 * sysdeps/s390/s390-64/Makefile: Likewise.
3003 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
3004 CPPFLAGS for nscd instead of nonlib.
3006 2014-11-18 Roland McGrath <roland@hack.frob.com>
3008 * nptl/createthread.c: New file.
3010 * nptl/createthread.c: Moved ...
3011 * sysdeps/unix/sysv/linux/createthread.c: ... here.
3013 * nptl/createthread.c: Add proper top-line comment.
3014 (do_clone): Folded into ...
3015 (create_thread): ... here. Take new arguments STOPPED_START and
3016 THREAD_RAN. Always set PD->stopped_start to something here. Don't
3017 increment __nptl_threads, do event-reporting logic, do
3018 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
3019 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
3020 resource cleanup if sched_setaffinity or sched_setscheduler fails,
3021 just send SIGCANCEL.
3022 * nptl/pthread_create.c: Forward-declare create_thread before
3023 including createthread.c.
3024 (start_thread): Use new macro START_THREAD_DEFN to replace defining
3025 declaration, and new macro START_THREAD_SELF to replace argument.
3026 Remove return statement.
3027 (report_thread_creation): New function.
3028 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
3029 synchronization logic, and __nptl_nthreads increment here, around
3030 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
3031 PD->parent_cancelhandling here, before create_thread. When
3032 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
3033 __deallocate_stack, and ENOMEM translation here.
3035 2014-11-18 Joseph Myers <joseph@codesourcery.com>
3038 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
3039 (mptwo): Rename to __mptwo.
3040 (__inv): Use __mptwo instead of mptwo.
3041 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
3042 (mptwo): Rename to __mptwo.
3043 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
3044 of mpone and __mptwo instead of mptwo.
3045 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
3047 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3048 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
3049 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
3050 of mpone and __mptwo instead of mptwo.
3051 (__mpranred): Use __mpone instead of mpone.
3052 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
3054 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
3055 (test-xfail-ISO99/math.h/linknamespace): Likewise.
3056 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
3057 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
3058 (test-xfail-ISO11/math.h/linknamespace): Likewise.
3059 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
3060 (test-xfail-XPG3/math.h/linknamespace): Likewise.
3061 (test-xfail-XPG4/math.h/linknamespace): Likewise.
3062 (test-xfail-POSIX/math.h/linknamespace): Likewise.
3063 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
3064 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
3065 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
3066 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
3067 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
3068 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
3069 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
3070 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
3071 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
3072 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
3074 2014-11-18 Tom de Vries <tom@codesoucery.com>
3076 * manual/signal.texi (Primitives Interrupted by Signals): In section,
3077 replace BSD Handler xref with BSD Signal Handling.
3079 2014-11-17 Richard Henderson <rth@redhat.com>
3081 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
3082 (_FP_PACK_RAW_2): Remove.
3083 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
3084 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
3085 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
3086 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
3087 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
3088 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
3089 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
3090 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
3091 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
3092 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
3093 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
3094 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
3095 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
3096 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
3097 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
3098 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
3100 2014-11-14 Roland McGrath <roland@hack.frob.com>
3102 * signal/signal.h [__USE_MISC]
3103 (struct sigvec): Remove type.
3104 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
3105 (sigvec): Remove declaration.
3106 * sysdeps/posix/sigvec.c: Moved ...
3107 * signal/sigvec.c: ... here, replacing old file.
3108 (struct sigvec): New type, copied from old signal.h definition.
3109 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
3110 (__sigvec): Convert definition to prototype.
3111 (sigvec): Replace weak_alias with compat_symbol.
3112 * signal/Versions (libc: GLIBC_2.21): New version set.
3113 * include/signal.h: Remove __sigvec declaration.
3114 * sysdeps/unix/bsd/sigvec.c: Remove file.
3115 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
3116 * manual/signal.texi (BSD Handler): Remove subsection.
3117 Move siginterrupt up to ...
3118 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
3119 (Blocking in BSD): Fold subsection into its parent.
3120 * NEWS: Mention sigvec removal.
3122 2014-11-14 Joseph Myers <joseph@codesourcery.com>
3124 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
3125 (DLA_FMS): Make definition conditional only on [__FMA4__].
3126 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
3129 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
3130 Make definition conditional only on [PROF].
3131 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
3133 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
3134 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
3136 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
3138 * include/signal.h (__sigpause): Move declaration above call to
3140 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
3142 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
3143 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
3145 2014-11-14 David S. Miller <davem@davemloft.net>
3147 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
3148 Define before including <string/memcpy.c> and <string/mempcpy.c>.
3150 2014-11-14 Joseph Myers <joseph@codesourcery.com>
3152 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
3153 * configure: Regenerated.
3154 * manual/install.texi (Tools for Compilation): Document a
3155 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
3156 compiler verified to work.
3157 * INSTALL: Regenerated.
3159 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
3160 redeclare with asm name.
3161 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
3162 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
3163 including <string.h>.
3164 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3165 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
3166 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3167 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
3168 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3169 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
3170 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3172 2014-11-13 Joseph Myers <joseph@codesourcery.com>
3174 * stdlib/strtol.c (__strtol): Use prototype definition.
3177 * stdlib/strtol.c (SYM__): New macro.
3179 (__strtol): Likewise.
3180 (strtol): Rename to __strtol and define as weak alias of
3181 __strtol. Use libc_hidden_weak.
3183 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3185 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
3186 Use numbered labels in inline assembly.
3188 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3190 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
3191 Add setjmp LIBC_PROBE.
3192 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
3194 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
3195 Add longjmp, longjmp_target LIBC_PROBE.
3196 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
3199 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3201 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
3202 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
3203 to get rid of unused variable warning.
3205 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3207 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
3208 Check for unwind_backtrace == NULL only in SHARED case.
3209 (__backchain_backtrace): Compile only in SHARED case.
3210 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
3212 (__backchain_backtrace): Declare as static.
3214 2014-11-12 Roland McGrath <roland@hack.frob.com>
3216 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
3217 (__libc_multiple_threads_ptr): Variable moved ...
3218 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
3220 2014-11-12 Joseph Myers <joseph@codesourcery.com>
3222 * conform/GlibcConform.pm: New file.
3223 * conform/conformtest.pl: Use GlibcConform module.
3224 * conform/linknamespace.pl: New file.
3225 * conform/list-header-symbols.pl: Likewise.
3226 * conform/Makefile (linknamespace-symlists-base): New variable.
3227 (linknamespace-symlists-tests): Likewise.
3228 (linknamespace-header-base): Likewise.
3229 (linknamespace-header-tests): Likewise.
3230 (tests-special): Add new tests.
3231 ($(linknamespace-symlists-tests)): New rule.
3232 (linknamespace-libs): New variable.
3233 ($(objpfx)symlist-stdlibs): New rule.
3234 ($(linknamespace-header-tests)): Likewise.
3235 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
3236 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
3237 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
3238 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
3239 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
3240 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
3241 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
3242 (test-xfail-ISO/math.h/linknamespace): Likewise.
3243 (test-xfail-ISO/signal.h/linknamespace): Likewise.
3244 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
3245 (test-xfail-ISO/time.h/linknamespace): Likewise.
3246 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
3247 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
3248 (test-xfail-ISO99/math.h/linknamespace): Likewise.
3249 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
3250 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
3251 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
3252 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
3253 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
3254 (test-xfail-ISO11/math.h/linknamespace): Likewise.
3255 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
3256 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
3257 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
3258 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
3259 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
3260 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
3261 (test-xfail-XPG3/math.h/linknamespace): Likewise.
3262 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
3263 (test-xfail-XPG3/search.h/linknamespace): Likewise.
3264 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
3265 (test-xfail-XPG3/time.h/linknamespace): Likewise.
3266 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
3267 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
3268 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
3269 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
3270 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
3271 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
3272 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
3273 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
3274 (test-xfail-XPG4/math.h/linknamespace): Likewise.
3275 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
3276 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
3277 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
3278 (test-xfail-XPG4/search.h/linknamespace): Likewise.
3279 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
3280 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
3281 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
3282 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
3283 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
3284 (test-xfail-XPG4/time.h/linknamespace): Likewise.
3285 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
3286 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
3287 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
3288 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
3289 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
3290 (test-xfail-POSIX/math.h/linknamespace): Likewise.
3291 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
3292 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
3293 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
3294 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
3295 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
3296 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
3297 (test-xfail-POSIX/time.h/linknamespace): Likewise.
3298 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
3299 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
3300 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
3301 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
3302 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
3303 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
3304 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
3305 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
3306 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
3307 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
3308 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
3309 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
3310 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
3311 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
3312 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
3313 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
3314 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
3315 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
3316 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
3317 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
3318 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
3319 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
3320 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
3321 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
3322 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
3323 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
3324 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
3325 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
3326 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
3327 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
3328 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
3329 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
3330 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
3331 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
3332 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
3333 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
3334 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
3335 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
3336 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
3337 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
3338 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
3339 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
3340 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
3341 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
3342 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
3343 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
3344 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
3345 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
3346 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
3347 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
3348 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
3349 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
3350 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
3351 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
3352 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
3353 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
3354 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
3355 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
3356 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
3357 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
3358 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
3359 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
3360 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
3361 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
3362 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
3363 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
3364 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
3365 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
3366 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
3367 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
3368 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
3369 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
3370 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
3371 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
3372 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
3373 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
3374 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
3375 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
3376 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
3377 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
3378 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
3379 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
3380 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
3381 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
3382 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
3383 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
3384 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
3385 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
3386 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
3387 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
3388 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
3389 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
3390 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
3391 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
3392 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
3393 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
3394 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
3395 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
3398 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
3402 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
3403 (memmem): Rename to __memmem and define as weak alias of
3404 __memmem. Use libc_hidden_weak.
3405 (__memmem): Use libc_hidden_def.
3406 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
3407 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
3411 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
3412 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
3413 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
3414 and define as weak alias of __fgets_unlocked. Use
3416 (__fgets_unlocked): Use libc_hidden_def.
3417 * include/stdio.h (__fgets_unlocked): Declare. Use
3419 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
3420 __fgets_unlocked instead of fgets_unlocked.
3421 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
3422 (GET_NPROCS_CONF_PARSER): Likewise.
3423 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
3424 (GET_NPROCS_CONF_PARSER): Likewise.
3427 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
3428 weak alias of __wmemset. Use libc_hidden_weak.
3429 (__wmemset): Use libc_hidden_def.
3430 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
3431 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
3435 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
3436 with asm name __mempcpy.
3437 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
3440 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
3441 and define as weak alias of __rawmemchr.
3442 (__rawmemchr): Do not define as strong alias of rawmemchr.
3445 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
3447 (qsort): Call __qsort_r instead of qsort_r.
3448 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
3449 (__qsort_r): Declare. Call libc_hidden_proto.
3450 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
3452 * nscd/gai.c (__qsort_r): Define to qsort_r.
3453 * posix/tst-rfc3484.c (__qsort_r): Likewise.
3454 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
3455 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
3458 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
3459 define as weak alias of __malloc_info.
3462 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
3463 as weak alias of __rewinddir. Don't use libc_hidden_def.
3464 (__rewinddir): Use libc_hidden_def.
3465 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
3466 as weak alias of __rewinddir. Don't use libc_hidden_def.
3467 (__rewinddir): Use libc_hidden_def.
3468 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
3469 weak alias of __rewinddir. Don't use libc_hidden_def.
3470 (__rewinddir): Use libc_hidden_def.
3471 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
3472 (__rewinddir): Use libc_hidden_proto.
3473 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
3475 (__getcwd): Use __rewinddir instead of rewinddir.
3478 * libio/fileno.c (fileno): Rename to __fileno and define as weak
3479 alias of __fileno. Use libc_hidden_weak.
3480 (__fileno): Use libc_hidden_def.
3481 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
3482 * libio/ftello.c (ftello): Rename to __ftello and define as weak
3484 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
3486 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
3487 (__fread_unlocked): Define as strong alias of _IO_fread. Use
3489 (fread_unlocked): Don't use libc_hidden_ver.
3490 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
3491 and define as weak alias of __fread_unlocked. Don't use
3493 (__fread_unlocked): Use libc_hidden_def.
3494 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
3495 (ftello): Don't use libc_hidden_proto.
3496 (__ftello): Declare. Use libc_hidden_proto.
3497 (fread_unlocked): Don't use libc_hidden_proto.
3498 (__fread_unlocked): Declare. Use libc_hidden_proto.
3499 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
3500 and __ftello instead of fileno, fread_unlocked and ftello.
3502 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3504 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
3506 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
3508 (_dl_start_user): Likewise.
3509 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
3511 2014-11-12 Carlos O'Donell <carlos@redhat.com>
3512 Siddhesh Poyarekar <siddhesh@redhat.com>
3514 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
3515 Move argv and envp down instead of moving argc up.
3516 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
3518 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
3521 * test-skeleton.c (main): Return successful if one of
3522 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
3523 * string/tst-strcoll-overflow.c: Define expected status.
3525 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
3528 * locale/iso-639.def: Define Bhili and Tulu language codes.
3530 2014-11-11 Alan Hayward <alan.hayward@arm.com>
3532 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
3534 2014-11-10 Renlin Li <Renlin.Li@arm.com>
3537 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
3539 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
3541 * configure.ac: Updated check of minimal required version to
3543 * manual/install.texi (Tools for Compilation): Updated version
3545 * configure: Regenerated.
3546 * INSTALL: Likewise.
3548 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
3550 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
3553 2014-11-07 Joseph Myers <joseph@codesourcery.com>
3555 * include/sys/wait.h (__libc_waitpid): Remove declaration.
3556 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
3557 (__waitpid): Don't define as alias. Use libc_hidden_def not
3559 (waitpid): Define as alias of __waitpid.
3560 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
3562 (__waitpid): Don't define as alias. Use libc_hidden_def not
3564 (waitpid): Define as alias of __waitpid.
3565 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
3566 __libc_waitpid alias.
3567 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
3568 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
3570 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
3571 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
3572 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
3574 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
3576 (__waitpid): Don't define as alias. Use libc_hidden_def not
3578 (waitpid): Define as alias of __waitpid.
3580 2014-11-06 Carlos O'Donell <carlos@redhat.com>
3582 * manual/llio.texi: Add comment that write safety has been
3585 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
3586 (localplt-build-dso): Add elf/ld.so.
3587 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
3588 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
3590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
3591 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
3592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
3594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3596 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
3597 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
3598 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
3599 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
3600 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
3601 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
3602 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
3603 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
3604 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
3605 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
3606 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
3608 2014-11-05 Joseph Myers <joseph@codesourcery.com>
3611 * include/libc-symbols.h (INTUSE): Remove macro.
3613 (INTVARDEF): Likewise.
3614 (_INTVARDEF): Likewise.
3615 (INTDEF2): Likewise.
3616 (INTVARDEF2): Likewise.
3617 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
3618 rtld_hidden_def instead of INTVARDEF.
3619 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
3620 (_dl_starting_up_internal): Remove declaration.
3621 (_dl_starting_up): Use rtld_hidden_proto.
3622 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
3624 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
3625 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
3627 * elf/dl-writev.h (_dl_writev): Likewise.
3628 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
3629 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
3630 _dl_starting_up_internal.
3632 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3634 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
3637 2014-11-05 Will Newton <will.newton@linaro.org>
3639 * benchtests/Makefile: (bench-malloc): Add malloc thread
3640 scalability benchmark.
3641 * benchtests/bench-malloc-threads.c: New file.
3643 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
3645 * sysdeps/aarch64/strchrnul.S: New file.
3647 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3649 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
3651 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
3653 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
3655 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
3657 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
3659 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
3662 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
3664 * catgets/test-gencat.c: Use test-skeleton.c.
3665 * catgets/tst-catgets.c: Likewise.
3666 * csu/tst-empty.c: Likewise.
3667 * elf/tst-audit2.c: Likewise.
3668 * elf/tst-global1.c: Likewise.
3669 * elf/tst-pathopt.c: Likewise.
3670 * elf/tst-piemod1.c: Likewise.
3671 * elf/tst-tls10.c: Likewise.
3672 * elf/tst-tls11.c: Likewise.
3673 * elf/tst-tls12.c: Likewise.
3674 * gnulib/tst-gcc.c: Likewise.
3675 * iconvdata/tst-e2big.c: Likewise.
3676 * iconvdata/tst-loading.c: Likewise.
3677 * iconv/tst-iconv1.c: Likewise.
3678 * iconv/tst-iconv2.c: Likewise.
3679 * inet/test-inet6_opt.c: Likewise.
3680 * inet/tst-gethnm.c: Likewise.
3681 * inet/tst-network.c: Likewise.
3682 * inet/tst-ntoa.c: Likewise.
3683 * intl/tst-codeset.c: Likewise.
3684 * intl/tst-gettext2.c: Likewise.
3685 * intl/tst-gettext3.c: Likewise.
3686 * intl/tst-ngettext.c: Likewise.
3687 * intl/tst-translit.c: Likewise.
3688 * io/test-stat.c: Likewise.
3689 * libio/test-fmemopen.c: Likewise.
3690 * libio/tst-freopen.c: Likewise.
3691 * libio/tst-sscanf.c: Likewise.
3692 * libio/tst-ungetwc1.c: Likewise.
3693 * libio/tst-ungetwc2.c: Likewise.
3694 * libio/tst-widetext.c: Likewise.
3695 * localedata/tst-ctype.c: Likewise.
3696 * localedata/tst-digits.c: Likewise.
3697 * localedata/tst-leaks.c: Likewise.
3698 * localedata/tst-mbswcs1.c: Likewise.
3699 * localedata/tst-mbswcs2.c: Likewise.
3700 * localedata/tst-mbswcs3.c: Likewise.
3701 * localedata/tst-mbswcs4.c: Likewise.
3702 * localedata/tst-mbswcs5.c: Likewise.
3703 * localedata/tst-setlocale.c: Likewise.
3704 * localedata/tst-trans.c: Likewise.
3705 * localedata/tst-wctype.c: Likewise.
3706 * localedata/tst-xlocale1.c: Likewise.
3707 * login/tst-grantpt.c: Likewise.
3708 * malloc/tst-calloc.c: Likewise.
3709 * malloc/tst-malloc.c: Likewise.
3710 * malloc/tst-mallocstate.c: Likewise.
3711 * malloc/tst-mcheck.c: Likewise.
3712 * malloc/tst-mtrace.c: Likewise.
3713 * malloc/tst-obstack.c: Likewise.
3714 * math/atest-exp2.c: Likewise.
3715 * math/atest-exp.c: Likewise.
3716 * math/atest-sincos.c: Likewise.
3717 * math/test-matherr.c: Likewise.
3718 * math/test-misc.c: Likewise.
3719 * math/test-powl.c: Likewise.
3720 * math/tst-definitions.c: Likewise.
3721 * misc/tst-dirname.c: Likewise.
3722 * misc/tst-efgcvt.c: Likewise.
3723 * misc/tst-fdset.c: Likewise.
3724 * misc/tst-hsearch.c: Likewise.
3725 * misc/tst-mntent2.c: Likewise.
3726 * nptl/tst-sem7.c: Likewise.
3727 * nptl/tst-sem8.c: Likewise.
3728 * nptl/tst-sem9.c: Likewise.
3729 * nss/test-netdb.c: Likewise.
3730 * posix/tst-fnmatch.c: Likewise.
3731 * posix/tst-getlogin.c: Likewise.
3732 * posix/tst-gnuglob.c: Likewise.
3733 * posix/tst-mmap.c: Likewise.
3734 * pwd/tst-getpw.c: Likewise.
3735 * resolv/tst-inet_ntop.c: Likewise.
3736 * rt/tst-timer.c: Likewise.
3737 * stdio-common/test-fseek.c: Likewise.
3738 * stdio-common/test-popen.c: Likewise.
3739 * stdio-common/test-vfprintf.c: Likewise.
3740 * stdio-common/tst-cookie.c: Likewise.
3741 * stdio-common/tst-fileno.c: Likewise.
3742 * stdio-common/tst-gets.c: Likewise.
3743 * stdio-common/tst-obprintf.c: Likewise.
3744 * stdio-common/tst-perror.c: Likewise.
3745 * stdio-common/tst-sprintf2.c: Likewise.
3746 * stdio-common/tst-sprintf3.c: Likewise.
3747 * stdio-common/tst-sprintf.c: Likewise.
3748 * stdio-common/tst-swprintf.c: Likewise.
3749 * stdio-common/tst-tmpnam.c: Likewise.
3750 * stdio-common/tst-unbputc.c: Likewise.
3751 * stdio-common/tst-wc-printf.c: Likewise.
3752 * stdlib/tst-environ.c: Likewise.
3753 * stdlib/tst-fmtmsg.c: Likewise.
3754 * stdlib/tst-limits.c: Likewise.
3755 * stdlib/tst-rand48-2.c: Likewise.
3756 * stdlib/tst-rand48.c: Likewise.
3757 * stdlib/tst-random2.c: Likewise.
3758 * stdlib/tst-random.c: Likewise.
3759 * stdlib/tst-strtol.c: Likewise.
3760 * stdlib/tst-strtoll.c: Likewise.
3761 * stdlib/tst-tls-atexit.c: Likewise.
3762 * stdlib/tst-xpg-basename.c: Likewise.
3763 * string/test-ffs.c: Likewise.
3764 * string/tst-bswap.c: Likewise.
3765 * string/tst-inlcall.c: Likewise.
3766 * string/tst-strtok.c: Likewise.
3767 * string/tst-strxfrm.c: Likewise.
3768 * sysdeps/x86_64/tst-audit10.c: Likewise.
3769 * sysdeps/x86_64/tst-audit3.c: Likewise.
3770 * sysdeps/x86_64/tst-audit4.c: Likewise.
3771 * sysdeps/x86_64/tst-audit5.c: Likewise.
3772 * time/tst-ftime_l.c: Likewise.
3773 * time/tst-getdate.c: Likewise.
3774 * time/tst-mktime3.c: Likewise.
3775 * time/tst-mktime.c: Likewise.
3776 * time/tst-posixtz.c: Likewise.
3777 * time/tst-strptime2.c: Likewise.
3778 * time/tst-strptime3.c: Likewise.
3779 * wcsmbs/tst-btowc.c: Likewise.
3780 * wcsmbs/tst-mbrtowc.c: Likewise.
3781 * wcsmbs/tst-mbsrtowcs.c: Likewise.
3782 * wcsmbs/tst-wchar-h.c: Likewise.
3783 * wcsmbs/tst-wcpncpy.c: Likewise.
3784 * wcsmbs/tst-wcrtomb.c: Likewise.
3785 * wcsmbs/tst-wcsnlen.c: Likewise.
3786 * wcsmbs/tst-wcstof.c: Likewise.
3788 2014-11-04 Joseph Myers <joseph@codesourcery.com>
3791 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
3793 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
3795 (_dl_mcount): Use rtld_hidden_proto.
3796 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
3798 * elf/rtld.c (_rtld_global_ro): Likewise.
3801 * elf/dl-init.c (_dl_init): Don't use INTDEF.
3802 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
3803 of _dl_init_internal.
3804 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
3805 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
3806 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
3807 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
3808 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
3809 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
3810 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
3811 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
3812 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
3813 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
3814 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
3815 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
3816 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3817 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3818 * sysdeps/tile/dl-start.S (_start): Likewise.
3819 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
3820 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
3823 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
3824 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
3825 (rtld_progname): Make macro definition unconditional.
3826 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
3828 (dlmopen_doit): Do not use INTUSE with _dl_argv.
3829 (dl_main): Likewise.
3830 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
3831 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
3832 instead of _dl_argv_internal.
3833 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3834 __GI__dl_argv instead of INTUSE(_dl_argv).
3835 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
3836 __GI__dl_argv instead of _dl_argv_internal.
3838 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
3839 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
3841 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
3842 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
3844 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
3845 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
3847 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
3848 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
3850 2014-11-04 Andreas Schwab <schwab@suse.de>
3852 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
3854 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3856 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
3857 mtvsrd instruction in binary form.
3859 2014-11-03 Andreas Schwab <schwab@suse.de>
3862 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
3863 for less than MB_LEN_MAX use a local buffer of that size.
3864 * libio/tst-fputws.c: New file.
3865 * libio/Makefile (tests): Add tst-fputws.
3867 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
3869 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
3870 the size of the fpu_fr.fpu_dregs[] array.
3872 2014-11-01 Joseph Myers <joseph@codesourcery.com>
3874 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
3875 (__nanosleep): Do not define as alias.
3876 (nanosleep): Define as alias of __nanosleep.
3877 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
3878 __libc_nanosleep name.
3880 2014-10-31 Joseph Myers <joseph@codesourcery.com>
3882 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
3883 install.texi in comment.
3885 2014-10-31 Torvald Riegel <triegel@redhat.com>
3887 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
3888 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
3889 ... add here and use lwsync or sync ...
3890 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
3891 ... and add here using lwsync.
3893 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
3895 * elf/dl-machine-reject-phdr.h: New file.
3896 * elf/dl-load.c: #include that.
3897 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
3898 if that returned true.
3900 2014-10-31 Roland McGrath <roland@hack.frob.com>
3903 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
3904 gen-as-const-headers chunk. Add a big scare comment after the last
3905 safe place to touch before-compile.
3907 2014-10-31 Joseph Myers <joseph@codesourcery.com>
3909 * manual/install.texi (Tools for Compilation): Update autoconf
3910 version requirements.
3911 * INSTALL: Regenerated.
3913 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
3914 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
3915 (__libc_pselect): Likewise.
3918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
3919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3923 2014-10-31 Torvald Riegel <triegel@redhat.com>
3925 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
3926 correct barrier instruction.
3927 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
3929 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
3932 2014-10-30 Roland McGrath <roland@hack.frob.com>
3934 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
3935 after defining inlines. Instead, just use parens to defeat macro
3936 expansion of __isctype in its declaration.
3938 2014-10-30 Joseph Myers <joseph@codesourcery.com>
3940 * include/sys/uio.h (__libc_readv): Remove declaration.
3941 (__libc_writev): Likewise.
3942 * misc/readv.c (__libc_readv): Rename to __readv.
3943 (__readv): Do not define as alias.
3944 (readv): Define as alias of __readv.
3945 * misc/writev.c (__libc_writev): Rename to __writev.
3946 (__writev): Do not define as alias.
3947 (writev): Define as alias of __writev.
3948 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
3949 (__readv): Do not define as alias.
3950 (readv): Define unconditionally as alias of __readv.
3951 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
3952 (__writev): Do not define as alias.
3953 (writev): Define unconditionally as alias of __writev.
3954 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
3956 (writev): Do not define __libc_writev name.
3958 2014-10-30 Roland McGrath <roland@hack.frob.com>
3960 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
3961 (convert_charseq): New function, broken out of ...
3962 (use_from_charmap): ... here. Call it.
3963 (use_to_charmap): Use convert_charseq and free instead of duplicating
3964 its code with a variable-length stack struct.
3966 2014-10-30 Joseph Myers <joseph@codesourcery.com>
3968 * include/fcntl.h (__libc_creat): Remove declaration.
3969 * io/creat.c (__libc_creat): Rename to creat.
3970 (creat): Do not define as alias.
3971 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
3972 of creat instead of __libc_creat.
3973 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
3975 (creat): Do not define as alias.
3976 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
3978 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
3980 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
3983 2014-10-29 Carlos O'Donell <carlos@redhat.com>
3985 * manual/llio.texi: Add comments discussing why write() may be
3986 considered MT-unsafe on Linux.
3988 2014-10-28 Carlos O'Donell <carlos@redhat.com>
3990 * dl-load.c (local_strdup): Remove.
3991 (expand_dynamic_string_token): Use __strdup.
3992 (decompose_rpath): Likewise.
3993 (_dl_map_object): Likewise.
3995 2014-10-28 Joseph Myers <joseph@codesourcery.com>
3998 * sysdeps/generic/unwind-dw2-fde.c
3999 (__register_frame_info_bases_internal): Do not declare.
4000 (__register_frame_info_table_bases_internal): Likewise.
4001 (__deregister_frame_info_bases_internal): Likewise.
4002 (__register_frame_info_bases): Declare and use hidden_proto before
4003 definition. Use hidden_def instead of INTDEF.
4004 (__register_frame_info_table_bases): Likewise.
4005 (__deregister_frame_info_bases): Likewise.
4006 (__register_frame_info): Do not use INTUSE.
4007 (__register_frame): Likewise.
4008 (__register_frame_info_table): Likewise.
4009 (__register_frame_table): Likewise.
4010 (__deregister_frame_info): Likewise.
4011 (__deregister_frame): Likewise.
4013 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
4015 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4016 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
4018 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
4020 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
4023 2014-10-27 Joseph Myers <joseph@codesourcery.com>
4026 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
4027 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
4028 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
4029 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
4030 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
4031 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
4032 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
4033 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
4034 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
4035 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
4036 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
4037 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
4038 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
4040 (setfsuid): Likewise.
4041 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
4042 (setfsuid): Likewise.
4043 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
4044 (setfsuid): Likewise.
4045 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
4047 (setfsuid): Likewise.
4048 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
4049 (setfsuid): Likewise.
4050 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
4052 (setfsuid): Likewise.
4054 2014-10-27 Andreas Schwab <schwab@suse.de>
4057 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
4058 check for Slow_SSE4_2 feature bit.
4059 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
4060 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
4061 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
4062 Likewise. Fix check for Fast_Unaligned_Load feature bit.
4064 2014-10-24 Roland McGrath <roland@hack.frob.com>
4066 * configure.ac: Validate compiler version with a empirical test of
4067 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
4069 * configure: Regenerated.
4071 * inet/htons.c (htons): Prototypify.
4072 * inet/htonl.c (htonl): Likewise.
4074 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4076 * string/strncat.c (strncat): Improve performance by using strlen.
4078 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4080 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
4082 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4084 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
4085 Call libc_fetestexcept_aarch64.
4087 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4089 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
4090 Call libc_feholdexcept_aarch64.
4092 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4094 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
4095 Call get_rounding_mode.
4097 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4099 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
4102 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4104 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
4107 2014-10-24 Joseph Myers <joseph@codesourcery.com>
4110 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
4111 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
4112 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
4113 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
4114 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
4115 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
4116 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
4117 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
4118 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
4119 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
4120 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
4121 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
4122 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
4123 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
4124 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
4125 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
4126 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
4127 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
4128 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
4129 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
4130 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
4131 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
4132 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
4133 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
4134 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
4135 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
4136 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
4137 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
4138 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
4139 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
4140 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
4141 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
4142 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
4143 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
4144 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
4145 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
4146 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
4147 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
4148 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
4149 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
4150 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
4152 (geteuid): Likewise.
4155 (getresgid): Likewise.
4156 (getresuid): Likewise.
4157 (getgroups): Likewise.
4158 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
4159 (geteuid): Likewise.
4162 (getresgid): Likewise.
4163 (getresuid): Likewise.
4164 (getgroups): Likewise.
4165 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
4166 (geteuid): Likewise.
4169 (getresgid): Likewise.
4170 (getresuid): Likewise.
4171 (getgroups): Likewise.
4172 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
4174 (geteuid): Likewise.
4177 (getresgid): Likewise.
4178 (getresuid): Likewise.
4179 (getgroups): Likewise.
4180 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
4181 (geteuid): Likewise.
4184 (getresgid): Likewise.
4185 (getresuid): Likewise.
4186 (getgroups): Likewise.
4187 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
4189 (geteuid): Likewise.
4192 (getgroups): Likewise.
4195 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
4196 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
4197 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
4198 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
4199 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
4200 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
4201 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
4202 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
4203 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
4204 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
4205 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
4206 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
4207 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
4209 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
4212 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
4216 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
4219 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
4224 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4226 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
4229 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4231 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
4234 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4236 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
4237 Remove unused include.
4239 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4241 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
4242 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
4243 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
4244 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
4246 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
4247 Helge Deller <deller@gmx.de>
4250 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
4251 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
4252 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
4254 2014-10-23 Joseph Myers <joseph@codesourcery.com>
4257 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
4258 Remove macro definition.
4259 (__ashrdi3_v_glibc20): Likewise.
4260 (__lshrdi3_v_glibc20): Likewise.
4261 (__cmpdi2_v_glibc20): Likewise.
4262 (__ucmpdi2_v_glibc20): Likewise.
4263 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
4264 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
4265 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
4266 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
4267 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
4268 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
4270 2014-10-22 Roland McGrath <roland@hack.frob.com>
4272 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
4273 old GNU extension [0] syntax.
4274 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
4275 alloca rather than an array member with variable length.
4276 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
4277 * nscd/nscd.c (invalidate_db): New function, broken out of ...
4278 (parse_opt): ... here. Likewise use alloca there.
4279 Validate the -i argument before checking for rootness.
4280 (send_shutdown): New function, broken out of ...
4281 (parse_opt): ... here.
4283 2014-10-22 Roland McGrath <roland@hack.frob.com>
4285 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
4286 macro to get at the _rt_local_ro field.
4287 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
4288 ([PIC] case) or _dl_hwcap ([!PIC] case).
4289 * sysdeps/arm/setjmp.S: Likewise.
4291 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
4292 * sysdeps/arm/configure.ac: New check to define it.
4293 * sysdeps/arm/configure: Regenerated.
4294 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
4295 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
4296 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
4297 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
4298 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
4299 Use move/movt pair instead of a load.
4300 (LDST_GLOBAL): Macro removed.
4301 (LDR_GLOBAL): New macro replaces it.
4302 (LDR_HIDDEN): New macro.
4303 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
4304 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
4306 * setjmp/tst-setjmp-static.c: New file.
4307 * setjmp/Makefile (tests): Add it.
4308 (tests-static): New variable.
4310 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
4313 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
4315 2014-10-21 Joseph Myers <joseph@codesourcery.com>
4318 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
4320 2014-10-21 Roland McGrath <roland@hack.frob.com>
4322 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
4324 2014-10-20 Roland McGrath <roland@hack.frob.com>
4326 * io/fts.c (dirent_not_directory): New function.
4327 (fts_build): Call it.
4329 2014-10-20 Roland McGrath <roland@hack.frob.com>
4331 * nptl/version.c (__nptl_main): Use normal __write rather than
4333 (banner): Update copyright years.
4335 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
4337 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
4338 * nptl/pthread_cond_timedwait.c: Likewise.
4339 * nptl/pthread_mutex_timedlock.c: Likewise.
4340 * nptl/sem_timedwait.c: Likewise.
4342 * sysdeps/nptl/bits/libc-lock.h
4343 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
4344 (__libc_lock_init_recursive): Return void, not 0.
4345 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
4346 (__libc_rwlock_init): Likewise.
4347 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
4349 2014-10-20 Torvald Riegel <triegel@redhat.com>
4352 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
4353 (__pthread_once_slow): ... here.
4354 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
4355 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
4357 2014-10-20 Torvald Riegel <triegel@redhat.com>
4360 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
4361 __PTHREAD_ONCE_FORK_GEN_INCR): New.
4362 * sysdeps/nptl/fork.c (__libc_fork): Use them.
4363 * nptl/pthread_once.c (__pthread_once): Likewise.
4366 2014-10-20 Joseph Myers <joseph@codesourcery.com>
4369 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
4371 (writev): Use __libc_writev as strong name.
4372 * sysdeps/unix/sysv/linux/readv.c: Remove file.
4373 * sysdeps/unix/sysv/linux/writev.c: Likewise.
4375 2014-10-17 Roland McGrath <roland@hack.frob.com>
4377 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
4379 * sysdeps/i386/nptl/tls.h
4380 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
4381 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
4383 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
4384 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
4385 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
4386 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
4387 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
4388 Call CHECK_THREAD_SYSINFO instead of doing an assert.
4390 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
4391 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
4393 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
4395 (__pthread_mutex_init): ... here. Call it.
4396 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
4397 Conditionalize PI cases on [__NR_futex].
4398 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
4399 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
4400 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4402 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
4403 conditional on [SIGSETXID].
4404 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
4405 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
4406 is defined. Likewise for SIGSETXID.
4407 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
4408 Conditionalize definitions on [SIGSETXID].
4409 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
4410 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
4411 unblocking on [SIGCANCEL].
4413 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
4414 [__NR_set_robust_list].
4416 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4418 * string/strcoll_l.c (get_next_seq): Fix up formatting.
4419 (do_compare): Likewise.
4421 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
4424 * string/strcoll_l.c: Don't include stdio.h.
4425 (coll_seq): Remove members idxarr and rulearr.
4426 (get_next_seq_cached): Remove function.
4427 (get_next_seq): Likewise.
4428 (get_next_seq_nocache): Rename to get_next_seq.
4429 (do_compare): Remove function.
4430 (do_compare_nocache): Rename to do_compare.
4431 (STRCOLL): Remove weight and rules cache.
4433 2014-10-16 Roland McGrath <roland@hack.frob.com>
4435 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
4436 * sysdeps/arm/sfp-machine.h: ... to here.
4437 * sysdeps/arm/Implies: Remove arm/soft-fp.
4439 2014-10-14 Joseph Myers <joseph@codesourcery.com>
4441 * conform/data/sys/utsname.h-data (*_t): Allow.
4442 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
4443 [POSIX] (WEXITED): Do not expect constant.
4444 [POSIX] (WSTOPPED): Likewise.
4445 [POSIX] (WNOHANG): Likewise.
4446 [POSIX] (WNOWAIT): Likewise.
4447 [POSIX] (siginfo_t): Do not expect type or elements.
4448 [POSIX] (pid_t): Do not expect type.
4449 [POSIX] (signal.h): Do not allow header.
4450 [POSIX] (sys/resource.h): Likewise.
4451 [POSIX] (si_*): Do not allow pattern.
4452 [POSIX] (W*): Likewise.
4453 [POSIX] (P_*): Likewise.
4454 [POSIX] (BUS_*): Likewise.
4455 [POSIX] (CLD_*): Likewise.
4456 [POSIX] (FPE_*): Likewise.
4457 [POSIX] (ILL_*): Likewise.
4458 [POSIX] (POLL_*): Likewise.
4459 [POSIX] (SEGV_*): Likewise.
4460 [POSIX] (SI_*): Likewise.
4461 [POSIX] (TRAP_*): Likewise.
4462 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
4465 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
4468 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
4469 infinite loop when __recvmsg returns 0.
4471 2014-10-10 Joseph Myers <joseph@codesourcery.com>
4473 * CANCEL-FCT-WAIVE: Remove file.
4474 * CANCEL-FILE-WAIVE: Likewise.
4477 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
4478 instead of INTVARDEF.
4479 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
4480 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
4481 rtld_hidden_data_def instead of INTVARDEF.
4482 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
4483 * elf/dl-deps.c (expand_dst): Likewise.
4484 * elf/dl-load.c (_dl_dst_count): Likewise.
4485 (_dl_dst_substitute): Likewise.
4486 (decompose_rpath): Likewise.
4487 (_dl_init_paths): Likewise.
4488 (open_path): Likewise.
4489 (_dl_map_object): Likewise.
4490 * elf/rtld.c (dl_main): Likewise.
4491 (process_dl_audit): Likewise.
4492 (process_envvars): Likewise.
4493 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
4495 (__libc_enable_secure): Use rtld_hidden_proto.
4497 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4500 (add_path): New function broken out of _dl_rtld_di_serinfo.
4501 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
4503 2014-10-09 Joseph Myers <joseph@codesourcery.com>
4505 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
4506 parentheses around macro arguments.
4507 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
4508 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
4509 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
4510 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
4511 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
4512 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
4513 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
4514 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
4515 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
4516 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
4517 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
4518 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
4519 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
4520 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
4521 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
4522 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
4523 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
4524 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
4525 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
4526 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
4527 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
4528 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
4529 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
4530 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
4531 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
4532 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
4533 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
4534 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
4535 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
4536 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
4537 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
4538 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
4539 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
4540 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
4541 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
4542 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
4544 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
4545 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
4546 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
4547 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
4548 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
4549 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
4550 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
4551 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
4552 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
4553 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
4554 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
4555 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
4556 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
4557 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
4558 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
4559 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
4560 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
4561 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
4562 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
4563 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
4564 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
4565 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
4566 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
4567 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
4568 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
4569 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
4570 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
4571 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
4572 (_FP_FRAC_SRS_1): Likewise.
4573 (_FP_FRAC_CLZ_1): Likewise.
4574 (_FP_MUL_MEAT_1_imm): Likewise.
4575 (_FP_MUL_MEAT_1_wide): Likewise.
4576 (_FP_MUL_MEAT_1_hard): Likewise.
4577 (_FP_SQRT_MEAT_1): Likewise.
4578 (_FP_FRAC_ASSEMBLE_1): Likewise.
4579 (_FP_FRAC_DISASSEMBLE_1): Likewise.
4580 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
4581 (__FP_CLZ_2): Likewise.
4582 (_FP_MUL_MEAT_2_wide): Likewise.
4583 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
4584 (_FP_MUL_MEAT_2_gmp): Likewise.
4585 (_FP_MUL_MEAT_2_120_240_double): Likewise.
4586 (_FP_SQRT_MEAT_2): Likewise.
4587 (_FP_FRAC_ASSEMBLE_2): Likewise.
4588 (_FP_FRAC_DISASSEMBLE_2): Likewise.
4589 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
4590 (_FP_FRAC_CLZ_4): Likewise.
4591 (_FP_MUL_MEAT_4_wide): Likewise.
4592 (_FP_MUL_MEAT_4_gmp): Likewise.
4593 (_FP_SQRT_MEAT_4): Likewise.
4594 (_FP_FRAC_ASSEMBLE_4): Likewise.
4595 (_FP_FRAC_DISASSEMBLE_4): Likewise.
4596 * soft-fp/op-common.h (_FP_CMP): Likewise.
4597 (_FP_CMP_EQ): Likewise.
4598 (_FP_CMP_UNORD): Likewise.
4599 (_FP_TO_INT): Likewise.
4600 (_FP_FROM_INT): Likewise.
4601 [!__FP_CLZ] (__FP_CLZ): Likewise.
4602 (_FP_DIV_HELP_imm): Likewise.
4603 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
4605 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
4606 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
4607 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
4608 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
4609 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
4610 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
4611 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
4612 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
4613 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
4614 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
4615 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
4616 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
4617 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
4618 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
4619 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
4620 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
4621 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
4622 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
4623 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
4624 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
4625 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
4626 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
4627 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
4628 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
4629 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
4630 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
4631 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
4632 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
4633 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
4634 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
4635 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
4636 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
4637 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
4638 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
4639 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
4640 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
4641 (FP_UNPACK_RAW_SP): Likewise.
4642 (FP_PACK_RAW_S): Likewise.
4643 (FP_PACK_RAW_SP): Likewise.
4644 (FP_UNPACK_S): Likewise.
4645 (FP_UNPACK_SP): Likewise.
4646 (FP_UNPACK_SEMIRAW_S): Likewise.
4647 (FP_UNPACK_SEMIRAW_SP): Likewise.
4648 (FP_PACK_S): Likewise.
4649 (FP_PACK_SP): Likewise.
4650 (FP_PACK_SEMIRAW_S): Likewise.
4651 (FP_PACK_SEMIRAW_SP): Likewise.
4652 (_FP_SQRT_MEAT_S): Likewise.
4653 (FP_CMP_S): Likewise.
4654 (FP_CMP_EQ_S): Likewise.
4655 (FP_CMP_UNORD_S): Likewise.
4656 (FP_TO_INT_S): Likewise.
4657 (FP_FROM_INT_S): Likewise.
4659 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
4661 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
4662 (FP_EX_INVALID_IMZ): Likewise.
4663 (FP_EX_INVALID_IMZ_FMA): Likewise.
4664 (FP_EX_INVALID_ISI): Likewise.
4665 (FP_EX_INVALID_ZDZ): Likewise.
4666 (FP_EX_INVALID_IDI): Likewise.
4667 (FP_EX_INVALID_SQRT): Likewise.
4668 (FP_EX_INVALID_CVI): Likewise.
4669 (FP_EX_INVALID_VC): Likewise.
4670 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
4671 "invalid" exceptions.
4672 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
4673 (_FP_ADD_INTERNAL): Likewise.
4674 (_FP_MUL): Likewise.
4675 (_FP_FMA): Likewise.
4676 (_FP_DIV): Likewise.
4677 (_FP_CMP_CHECK_NAN): Likewise.
4678 (_FP_SQRT): Likewise.
4679 (_FP_TO_INT): Likewise.
4680 (FP_EXTEND): Likewise.
4682 2014-10-09 Allan McRae <allan@archlinux.org>
4684 * po/fr.po: Update French translation from translation project.
4686 2014-10-09 Joseph Myers <joseph@codesourcery.com>
4689 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
4691 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
4692 (__cxa_atexit): Use libc_hidden_proto.
4693 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
4696 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
4698 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
4699 [!_ISOMAC] (__iswspace_l_internal): Likewise.
4700 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
4701 [!_ISOMAC] (__iswctype_internal): Likewise.
4702 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
4703 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
4705 (fcntl): Remove __fcntl_internal alias.
4706 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
4707 __connect_internal alias.
4708 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
4711 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
4712 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
4714 (_FP_CHECK_FLUSH_ZERO): New macro.
4715 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
4716 (_FP_CMP): Likewise.
4717 (_FP_CMP_EQ): Likewise.
4718 (_FP_TO_INT): Do not set inexact for subnormal arguments if
4720 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
4721 (FP_TRUNC): Likewise.
4723 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
4724 treated as invalid conversion, not as normal exponent.
4726 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
4727 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
4728 (_FP_CMP_EQ): Likewise.
4729 (_FP_CMP_UNORD): Likewise.
4730 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
4731 (FP_CMP_EQ_D): Likewise.
4732 (FP_CMP_UNORD_D): Likewise.
4733 * soft-fp/extended.h (FP_CMP_E): Likewise.
4734 (FP_CMP_EQ_E): Likewise.
4735 (FP_CMP_UNORD_E): Likewise.
4736 * soft-fp/quad.h (FP_CMP_Q): Likewise.
4737 (FP_CMP_EQ_Q): Likewise.
4738 (FP_CMP_UNORD_Q): Likewise.
4739 * soft-fp/single.h (FP_CMP_S): Likewise.
4740 (FP_CMP_EQ_S): Likewise.
4741 (FP_CMP_UNORD_S): Likewise.
4742 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
4743 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
4744 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
4745 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
4746 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
4747 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
4748 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
4749 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
4750 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
4751 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
4752 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
4753 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
4754 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
4756 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
4758 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
4759 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
4761 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
4763 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
4764 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
4765 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
4766 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
4768 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
4770 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
4771 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
4773 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
4775 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
4776 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
4777 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
4778 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
4781 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
4782 a subnormal result, set the underflow exception if trapping on
4783 underflow is enabled.
4784 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
4785 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
4786 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
4788 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
4789 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
4790 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
4791 * soft-fp/extendxftf2.c (__extendxftf2): Use
4792 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
4794 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
4795 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
4796 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4797 FP_HANDLE_EXCEPTIONS.
4798 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
4799 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4800 FP_HANDLE_EXCEPTIONS.
4801 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
4802 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4803 FP_HANDLE_EXCEPTIONS.
4804 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
4805 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4806 FP_HANDLE_EXCEPTIONS.
4808 2014-10-08 Joseph Myers <joseph@codesourcery.com>
4811 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
4812 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
4814 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
4815 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
4817 (__adjtimex): Define using libc_hidden_ver.
4818 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
4820 (ntp_gettime): Call __adjtimex directly.
4821 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
4823 (ntp_gettimex): Call __adjtimex directly.
4824 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
4825 __adjtimex_internal alias.
4827 2014-10-08 Roland McGrath <roland@hack.frob.com>
4830 * nscd/nscd.c (more_help): Rewrite list of tables collection
4831 using xstrdup and asprintf.
4833 * nscd/nscd_conf.c: Remove local xstrdup declaration.
4835 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4836 Roland McGrath <roland@hack.frob.com>
4838 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
4839 (do_lookup_unique): ... local function 'enter' here; update callers.
4841 2014-10-06 Joseph Myers <joseph@codesourcery.com>
4843 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
4844 compat_symbol calls on [SHARED].
4845 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
4846 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
4848 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4849 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
4850 (oldsetrlimit): Remove.
4851 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
4853 (lchown): New syscall entry.
4854 (oldsetrlimit): Remove.
4855 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4856 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
4857 (oldsetrlimit): Remove.
4858 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4861 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
4862 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
4863 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
4864 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
4865 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
4866 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
4868 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
4870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
4873 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4875 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
4876 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
4877 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
4878 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
4879 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
4881 (__old_sem_post): Likewise.
4883 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
4885 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
4886 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
4887 HAVE_CLOCK_GETTIME_VSYSCALL macros.
4888 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
4889 Use INLINE_VSYSCALL macro.
4890 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
4891 __vdso_clock_gettime.
4892 * sysdeps/unix/sysv/linux/tile/init-first.c
4893 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
4894 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
4895 __vdso_clock_gettime.
4897 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
4898 to set up frame more cleanly.
4900 * sysdeps/tile/memcmp.c: New file.
4902 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
4904 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
4905 * sysdeps/tile/tilegx/strcasestr.c: New file.
4906 * sysdeps/tile/tilegx/strnlen.c: New file.
4907 * sysdeps/tile/tilegx/strstr.c: New file.
4909 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
4911 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
4913 * nptl/tst-setuid3.c: Write errors to stdout.
4915 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4918 (preload): New functions broken out of _dl_map_object_deps.
4919 (_dl_map_object_deps): Remove a nested function. Update call sites.
4921 2014-10-01 Joseph Myers <joseph@codesourcery.com>
4924 * sysdeps/unix/sysv/linux/execve.c: Remove file.
4925 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
4927 2014-10-01 Steve Ellcey <sellcey@mips.com>
4929 * sysdeps/mips/strcmp.S: New.
4931 2014-09-30 Joseph Myers <joseph@codesourcery.com>
4934 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
4936 (mkdirat): Likewise.
4937 (readlinkat): Likewise.
4938 (renameat): Likewise.
4939 (symlinkat): Likewise.
4940 (unlinkat): Likewise.
4941 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
4942 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
4943 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
4944 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
4945 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
4946 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
4947 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
4949 2014-09-30 Will Newton <will.newton@linaro.org>
4951 * math/math.h: Define long double math functions if
4952 _LIBC_TEST is defined.
4953 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
4955 * localedata/Makefile: Move assignment to tests-special
4956 into an ifdef testing run-built-tests.
4957 * timezone/Makefile: Likewise.
4959 2014-09-29 Joseph Myers <joseph@codesourcery.com>
4961 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
4962 with $(BASH) not $(SHELL).
4964 2014-09-29 Carlos O'Donell <carlos@redhat.com>
4965 Matthew LeGendre <legendre1@llnl.gov>
4968 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
4971 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4973 * stdio-common/printf_fp.c
4974 (hack_digit): New function, broken out of ...
4975 (__printf_fp): ... local function here. Update call sites.
4976 hack_digit now takes an additional parameter that is a pointer
4977 to a struct of the referenced locals. Those locals moved inside
4978 the struct and references updated.
4980 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
4982 * aclocal.m4: Require autoconf 2.69.
4983 * configure: Regenerated.
4984 * sysdeps/aarch64/configure: Likewise.
4985 * sysdeps/alpha/configure: Likewise.
4986 * sysdeps/arm/armv7/configure: Likewise.
4987 * sysdeps/arm/configure: Likewise.
4988 * sysdeps/ia64/configure: Likewise.
4989 * sysdeps/mach/configure: Likewise.
4990 * sysdeps/mips/configure: Likewise.
4991 * sysdeps/s390/configure: Likewise.
4992 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
4993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
4995 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
4997 * sysdeps/ia64/configure.ac: Likewise.
4999 2014-09-26 Joseph Myers <joseph@codesourcery.com>
5001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
5002 specify symbol version for ld.so. Do not include entry for
5004 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5005 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
5006 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5009 * Makeconfig [$(build-shared) = yes]
5010 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
5012 [$(build-shared) = yes && $(soversions.mk-done) = t]
5013 ($(common-objpfx)gnu/lib-names.h): Remove rule.
5014 [$(build-shared) = yes && $(soversions.mk-done) = t]
5015 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
5017 [$(build-shared) = yes && $(soversions.mk-done) = t]
5018 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
5020 [$(build-shared) = yes && $(soversions.mk-done) = t]
5021 (common-generated): Don't append gnu/lib-names.h and
5022 gnu/lib-names.stmp here.
5023 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
5024 (lib-names-h-abi): New variable.
5025 [$(build-shared) = yes && $(soversions.mk-done) = t]
5026 (lib-names-stmp-abi): Likewise.
5027 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5028 abi-variants] (before-compile): Append
5029 $(common-objpfx)$(lib-names-h-abi).
5030 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5031 abi-variants] (common-generated): Append gnu/lib-names.h.
5032 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5033 abi-variants] (install-others-nosubdir): Depend on
5034 $(inst_includedir)/$(lib-names-h-abi).
5035 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5036 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
5037 [$(build-shared) = yes && $(soversions.mk-done) = t]
5038 ($(common-objpfx)$(lib-names-h-abi)): New rule.
5039 [$(build-shared) = yes && $(soversions.mk-done) = t]
5040 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
5041 [$(build-shared) = yes && $(soversions.mk-done) = t]
5042 (common-generated): Append $(lib-names-h-abi) and
5043 $(lib-names-stmp-abi).
5044 * scripts/lib-names.awk: Do not handle multi being set.
5045 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
5047 (abi-lp64_be-ld-soname): Likewise.
5048 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
5050 (abi-hard-ld-soname): Likewise.
5051 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
5052 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
5054 (abi-o32_hard-ld-soname): Likewise.
5055 (abi-o32_soft_2008-ld-soname): Likewise.
5056 (abi-o32_hard_2008-ld-soname): Likewise.
5057 (abi-n32_soft-ld-soname): Likewise.
5058 (abi-n32_hard-ld-soname): Likewise.
5059 (abi-n32_soft_2008-ld-soname): Likewise.
5060 (abi-n32_hard_2008-ld-soname): Likewise.
5061 (abi-n64_soft-ld-soname): Likewise.
5062 (abi-n64_hard-ld-soname): Likewise.
5063 (abi-n64_soft_2008-ld-soname): Likewise.
5064 (abi-n64_hard_2008-ld-soname): Likewise.
5065 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
5067 (abi-64-v2-ld-soname): Likewise.
5068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
5070 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
5072 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
5074 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
5076 (abi-64-ld-soname): Likewise.
5077 (abi-x32-ld-soname): Likewise.
5078 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
5080 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5082 2014-09-23 Joseph Myers <joseph@codesourcery.com>
5085 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
5086 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
5087 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
5088 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
5089 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
5090 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
5091 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
5092 syscall entry for GLIBC_2.2 symbol version.
5093 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
5095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
5096 (setrlimit): Likewise.
5097 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
5100 2014-09-23 Will Newton <will.newton@linaro.org>
5102 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
5103 _LINUX_ARM_SYSDEP_H include guard too.
5104 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
5107 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
5109 * sysdeps/unix/sysv/linux/eventfd.c:
5110 Make first argument unsigned.
5111 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
5112 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
5114 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
5116 * socket/recvmmsg.c (recvmmsg): Drop const argument.
5117 * socket/sys/socket.h: Likewise
5118 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
5120 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5122 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
5124 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
5126 * time/tst-ftime.c: New test.
5127 * time/Makefile (tests): Add tst-ftime.
5129 2014-09-17 Joseph Myers <joseph@codesourcery.com>
5131 * soft-fp/extended.h: Fix comment formatting.
5132 * soft-fp/op-1.h: Likewise.
5133 * soft-fp/op-2.h: Likewise.
5134 * soft-fp/op-4.h: Likewise.
5135 * soft-fp/op-8.h: Likewise.
5136 * soft-fp/op-common.h: Likewise.
5137 * soft-fp/soft-fp.h: Likewise.
5139 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
5141 2014-09-16 Joseph Myers <joseph@codesourcery.com>
5144 * Makeconfig (soversions-default-setname): Remove variable.
5145 ($(common-objpfx)soversions.i): Don't pass default_setname to
5147 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
5148 oldest_abi to abi-versions.awk.
5149 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
5150 * config.make.in (oldest-abi): Remove variable.
5151 * configure.ac (--enable-oldest-abi): Remove configure option.
5152 * configure: Regenerated.
5153 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
5155 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
5156 * scripts/soversions.awk: Do not handle default_setname variable.
5157 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
5159 * sysdeps/mach/hurd/configure: Regenerated.
5160 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
5162 * sysdeps/unix/sysv/linux/configure: Regenerated.
5164 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5166 * elf/Makefile (CFLAGS-interp.c): Remove.
5167 ($(elf-objpfx)runtime-linker.h): Generate header with linker
5169 * elf/interp.c: Include generated runtime-linker.h
5171 * Makerules (lib%.so): Don't include $(+interp) in
5173 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
5174 * dlfcn/eval.c: Remove file.
5176 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
5180 * misc/sys/cdefs.h: Define __extern_always_inline for clang
5184 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
5186 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5187 Jakub Jelinek <jakub@redhat.com>
5190 * libio/stdio.h: Check definition of __fortify_function
5191 instead of __extern_always_inline to include bits/stdio2.h.
5192 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
5193 check if __extern_always_inline is defined.
5194 [__USE_MISC || __USE_XOPEN]: Likewise.
5195 [__USE_ISOC99] Likewise.
5196 * misc/sys/cdefs.h (__fortify_function): Define only if
5197 __extern_always_inline is defined.
5198 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
5199 __extern_always_inline and __extern_inline only for g++-4.3
5200 and newer or a compatible gcc.
5202 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
5205 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
5206 last change to handle zero prefix length.
5208 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5210 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
5213 * posix/getconf.c (vars): Add _POSIX_IPV6 and
5216 2014-09-13 Allan McRae <allan@archlinux.org>
5218 * po/ru.po: Update Russian translation from translation project.
5220 2014-09-12 Roland McGrath <roland@hack.frob.com>
5222 * locale/programs/locale.c (show_locale_vars): Inline local function
5223 into its sole call site. Clean up some style nits.
5224 (print_item): New function, broken out of ...
5225 (show_info): ... local function here. Clean up style nits.
5227 * locale/programs/ld-ctype.c (set_one_default): New function, broken
5229 (set_class_defaults): ... local function set_default here.
5230 Define set_default as a macro locally to pass constant parameters.
5231 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
5232 rather than a shared local.
5234 * stdlib/rpmatch.c (try): New function, broken out of ...
5235 (rpmatch): ... local function here. Also, prototypify definition.
5237 2014-09-12 Joseph Myers <joseph@codesourcery.com>
5239 * scripts/soversions.awk: Do not handle configuration names.
5240 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
5241 vendor and os variables to soversions.awk.
5242 * configure.ac: Do not modify gnu-* host_os.
5243 * configure: Regenerated
5244 * shlib-versions: Remove first column with configuration names.
5245 * nptl/shlib-versions: Likewise.
5246 * nptl_db/shlib-versions: Likewise.
5247 * sysdeps/hppa/shlib-versions: Likewise.
5248 * sysdeps/m68k/shlib-versions: Likewise.
5249 * sysdeps/mach/hurd/shlib-versions: Likewise.
5250 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
5251 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
5252 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
5253 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
5254 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
5255 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
5256 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
5257 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
5258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
5260 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5261 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
5262 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
5263 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
5264 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
5265 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
5266 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
5267 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5270 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
5271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
5273 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
5274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
5275 Condition symbol version definitions on [HAVE_ELFV2_ABI].
5277 * shlib-versions: Remove OS-specific entries. Moved to files in
5279 * sysdeps/mach/hurd/shlib-versions: New file.
5280 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
5282 * nptl/shlib-versions: Remove architecture-specific entries.
5283 Moved to files in sysdeps.
5284 * shlib-versions: Likewise.
5285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
5287 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5288 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
5289 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
5290 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
5292 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
5293 (UDP_NO_CHECK6_RX): Likewise.
5295 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5297 * sysdeps/posix/sysconf.c (__sysconf): Spell
5298 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
5300 2014-08-12 Florian Weimer <fweimer@redhat.com>
5302 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
5304 * iconv/Versions (__gconv_transliterate): Export for use from
5306 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
5307 (struct __gconv_trans_data, __gconv_trans_fct,
5308 __gconv_trans_context_fct, __gconv_trans_query_fct,
5309 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
5311 (struct __gconv_step_data): Remove __trans member.
5312 (__gconv_transliterate): Declaration moved from gconv_int.h. No
5313 longer hidden. Remove unused trans_data argument.
5314 * iconv/gconv_int.h (struct trans_struct): Remove definition.
5315 (__gconv_translit_find): Remove declaration.
5316 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
5318 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
5319 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
5320 trans_data argument. Add hidden definition.
5321 (__gconv_translit_find): Remove.
5322 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
5323 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
5324 * iconv/skeleton.c: Remove transliteration initialization.
5325 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
5326 __gconv_step_data initialization.
5327 * libio/iofwide.c (__libio_translit_): Remove.
5328 (_IO_fwide): Adjust struct __gconv_step_data initialization.
5329 * wcsmbs/btowc.c (__btowc): Likewise.
5330 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5331 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
5332 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
5333 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
5334 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
5335 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
5336 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
5337 * wcsmbs/wctob.c (wctob): Likewise.
5339 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5342 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
5343 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
5345 * sysdeps/x86/Makefile: Adjust.
5347 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5348 Roland McGrath <roland@hack.frob.com>
5350 * locale/weight.h: Add include guard.
5351 (findidx): Make static rather than auto; take new parameters
5352 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
5353 * locale/weightwc.h: Likewise.
5354 * posix/fnmatch_loop.c
5355 (FCT): Change type of EXTRA from int32_t to wint_t.
5356 Don't include either header inside the function.
5357 Call FINDIDX rather than findidx, and pass new arguments.
5358 #undef FINDIDX at the end of the file.
5359 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
5360 FINDIDX before including fnmatch_loop.c for the non-wide version.
5361 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
5362 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
5363 for the wide version.
5364 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
5365 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
5366 Pass new arguments to findidx.
5367 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
5368 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
5369 Don't #include it inside the function. Pass new arguments to findidx.
5370 * posix/regex_internal.h
5371 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
5372 (re_string_elem_size_at): Don't #include it inside the function.
5373 Pass new arguments to findidx.
5374 * string/strcoll_l.c: #include WEIGHT_H at top level.
5375 (get_next_seq): Don't #include it inside the function.
5376 Pass new arguments to findidx.
5377 (get_next_seq_nocache): Likewise.
5378 * string/strxfrm_l.c: #include WEIGHT_H at top level.
5379 (STRXFRM): Don't #include it inside the function.
5380 Pass new arguments to findidx.
5382 2014-09-11 Florian Weimer <fweimer@redhat.com>
5385 * malloc/malloc.c (unlink): Turn asserts into a call to
5388 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
5391 * libio/wfileops (do_ftell_wide): Free OUT.
5393 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
5395 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
5397 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5400 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
5401 group if the current group is empty.
5403 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5405 * benchtests/bench-memset.c (test_main): Add more test from size
5406 from 32 to 512 bytes.
5407 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5408 Add POWER8 memset object.
5409 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5410 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
5411 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
5413 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
5415 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
5416 multiarch POWER8 memset optimization.
5417 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
5418 POWER8 memset optimization.
5420 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5421 Remove bzero multiarch objects.
5422 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
5423 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
5424 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
5425 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
5427 [__bzero]: Redefine to specific name.
5428 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
5429 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
5430 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
5432 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5433 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
5435 2014-09-10 Florian Weimer <fweimer@redhat.com>
5437 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
5438 warnings into errors.
5440 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
5441 __cxa_thread_atexit_impl prototype.
5443 2014-09-09 Steve Ellcey <sellcey@mips.com>
5445 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
5446 Fix capitalization of error message.
5448 2014-09-09 Steve Ellcey <sellcey@mips.com>
5450 * sysdeps/mips/preconfigure: Modify ABI tests.
5452 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
5454 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
5456 2014-09-07 Roland McGrath <roland@hack.frob.com>
5457 Carlos O'Donell <carlos@systemhalted.org>
5459 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
5460 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
5461 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
5462 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
5463 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
5464 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
5465 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
5466 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
5467 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
5468 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
5469 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
5470 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
5471 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
5472 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
5473 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
5474 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
5475 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
5476 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
5477 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
5478 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
5479 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
5480 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
5481 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
5482 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
5483 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
5484 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
5485 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
5486 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
5487 Deconditionalize the code that was previously under [RESET_PID].
5488 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
5489 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
5490 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
5491 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
5494 2014-09-08 Allan McRae <allan@archlinux.org>
5496 * version.h (RELEASE): Set to "development".
5497 (VERSION): Set to "2.20.90"
5499 2014-09-07 Allan McRae <allan@archlinux.org
5501 * version.h (RELEASE): Set to "stable".
5502 (VERSION): Set to "2.20"
5503 * include/features.h (__GLIBC_MINOR__): Set to 20.
5505 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
5508 * po/ko.po: Update Korean translation from translation project.
5510 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
5513 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
5514 macro for handling signed relocations.
5516 2014-09-03 Florian Weimer <fweimer@redhat.com>
5519 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
5520 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
5522 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
5523 * iconvdata/ibm935.c (BODY): Likewise.
5524 * iconvdata/ibm937.c (BODY): Likewise.
5525 * iconvdata/ibm939.c (BODY): Likewise.
5526 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
5528 * iconvdata/Makefile (iconv-test.out): Pass module list to test
5530 * iconvdata/run-iconv-test.sh: New test loop for checking for
5533 2014-09-02 Khem Raj <raj.khem@gmail.com>
5535 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
5538 2014-09-01 Allan McRae <allan@archlinux.org>
5540 * po/eo.po: Update Esperanto translation from translation project.
5542 * po/ca.po: Update Catalan translation from translation project.
5544 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
5546 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
5549 2014-08-27 Mark Wielaard <mjw@redhat.com>
5552 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
5553 to call set_thread_area instead of hand written asm.
5554 (__NR_set_thread_area): Removed define.
5555 (TLS_FLAG_WRITABLE): Likewise.
5556 (__ASSUME_SET_THREAD_AREA): Remove check.
5557 (TLS_EBX_ARG): Remove define.
5558 (TLS_LOAD_EBX): Likewise.
5560 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
5562 Simplify atomicity of socket creation in bind.
5564 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
5565 looking up the name after linking the file.
5567 2014-08-27 Allan McRae <allan@archlinux.org>
5569 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5571 2014-08-26 Florian Weimer <fweimer@redhat.com>
5574 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
5575 trans_compare, open_translit, __gconv_translit_find):
5576 Remove module loading code.
5578 2014-08-26 Allan McRae <allan@archlinux.org>
5580 * po/vi.po: Update Vietnamese translation from translation project.
5582 * po/uk.po: Update Ukrainian translation from translation project.
5584 * po/fr.po: Update French translation from translation project.
5586 * po/ru.po: Update Russian translation from translation project.
5588 * po/pl.po: Update Polish translation from translation project.
5590 * po/cs.po: Update Czech translation from translation project.
5592 * po/de.po: Update German translation from translation project.
5594 * po/bg.po: Update Bulgarian translation from translation project.
5596 * po/sv.po: Update Sweedish translation from translation project.
5598 * po/nl.po: Update Dutch translation from translation project.
5600 * po/es.po: Update Spanish translation from translation project.
5602 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5604 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
5606 * catgets/Makefile (CPPFLAGS-gencat): Remove.
5607 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
5608 (CPPFLAGS-iconvconfig): Likewise.
5609 * timezone/Makefile (CPPFLAGS-zic): Likewise.
5611 * include/libc-symbols.h: Remove unnecessary check for
5613 * nptl/pthreadP.h: Likewise.
5614 * sysdeps/aarch64/setjmp.S: Likewise.
5615 * sysdeps/alpha/setjmp.S: Likewise.
5616 * sysdeps/arm/sysdep.h: Likewise.
5617 * sysdeps/i386/setjmp.S: Likewise.
5618 * sysdeps/m68k/setjmp.c: Likewise.
5619 * sysdeps/posix/getcwd.c: Likewise.
5620 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5621 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
5622 * sysdeps/s390/s390-32/setjmp.S: Likewise.
5623 * sysdeps/s390/s390-64/setjmp.S: Likewise.
5624 * sysdeps/sh/sh3/setjmp.S: Likewise.
5625 * sysdeps/sh/sh4/setjmp.S: Likewise.
5626 * sysdeps/unix/alpha/sysdep.h: Likewise.
5627 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5628 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5629 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
5630 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5633 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5634 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5635 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5636 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5637 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5638 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5639 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5640 * sysdeps/x86_64/setjmp.S: Likewise.
5642 2014-08-13 Joseph Myers <joseph@codesourcery.com>
5645 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
5647 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
5648 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
5650 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5652 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
5655 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
5656 and __x86_64__ when disabling x87 inline functions.
5658 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
5661 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
5662 asm statement with __cpuid_count.
5664 2014-08-12 Mike Frysinger <vapier@gentoo.org>
5666 * configure.ac: Change __ehdr_start code to dereference the struct.
5667 Run readelf on the output to look for relocations.
5668 * configure: Regenerated.
5670 2014-08-12 Joseph Myers <joseph@codesourcery.com>
5673 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
5675 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
5677 2014-08-12 Roland McGrath <roland@hack.frob.com>
5679 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
5681 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
5684 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
5685 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
5687 2014-08-12 Sean Anderson <seanga2@gmail.com>
5689 * malloc/malloc.c: Fix typo in comment.
5691 2014-08-09 Allan McRae <allan@archlinux.org>
5693 * Regenerate libc.po.
5695 2014-08-08 Mike Frysinger <vapier@gentoo.org>
5697 * intl/tst-gettext2.sh: Check every lang file for creation.
5699 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
5701 * sysdeps/aarch64/fpu/math_private.h
5702 (libc_feholdsetround_noex_aarch64_ctx): New function.
5704 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
5706 * sysdeps/arm/armv6/strcpy.S (strcpy):
5707 Fix performance issue in misaligned cases.
5709 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5711 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
5712 Move definition from termios.h.
5713 (struct termio): Likewise.
5714 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5715 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
5716 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
5717 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
5719 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
5720 Move definition to ioctl-types.h
5721 (struct termio): Likewise.
5722 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5723 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
5724 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
5725 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
5728 2014-08-05 Richard Henderson <rth@redhat.com>
5730 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
5732 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
5734 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5735 Use __feraiseexcept.
5736 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
5737 Protect libm symbols with IS_IN_libm.
5739 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
5741 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
5743 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
5745 2014-08-04 Will Newton <will.newton@linaro.org>
5747 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
5750 2014-08-04 Mike Frysinger <vapier@gentoo.org>
5752 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
5753 variants for each function.
5755 2014-08-04 Roland McGrath <roland@hack.frob.com>
5757 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
5759 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
5760 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
5762 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
5763 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
5764 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
5765 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
5766 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
5767 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
5768 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
5769 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
5770 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
5771 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
5772 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
5773 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
5774 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
5775 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
5776 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
5777 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
5778 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
5779 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
5780 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
5781 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
5782 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
5783 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
5784 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
5785 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
5786 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
5787 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
5788 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
5789 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
5790 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
5791 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
5792 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
5793 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
5794 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
5795 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
5796 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
5797 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
5798 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
5799 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
5800 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
5801 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
5802 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
5803 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
5804 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
5805 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
5806 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
5807 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
5808 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
5809 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
5810 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
5811 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
5812 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
5813 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
5814 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
5816 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
5817 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
5819 2014-08-04 Roland McGrath <roland@hack.frob.com>
5821 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
5822 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
5823 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
5824 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
5825 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
5826 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
5828 2014-08-04 Roland McGrath <roland@hack.frob.com>
5830 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
5831 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
5832 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5833 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
5835 2014-08-04 Roland McGrath <roland@hack.frob.com>
5837 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
5838 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
5839 (__libc_vfork): Define function under this name.
5840 (__vfork): Define as an alias.
5841 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
5842 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
5844 2014-08-04 Roland McGrath <roland@hack.frob.com>
5846 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
5847 that was previously under [RESET_PID].
5848 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
5850 2014-08-04 Andreas Schwab <schwab@suse.de>
5852 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
5854 2014-08-03 Mike Frysinger <vapier@gentoo.org>
5856 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
5859 2014-08-01 Roland McGrath <roland@hack.frob.com>
5861 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
5863 2014-08-01 Richard Henderon <rth@redhat.com>
5865 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
5866 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
5867 typo in exact zero test.
5868 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5869 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5870 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5872 2014-08-01 Roland McGrath <roland@hack.frob.com>
5874 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
5875 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
5876 * sysdeps/arm/sysdep.h: ... here.
5877 [!__ASSEMBLER__]: Include <stdint.h>.
5879 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5881 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
5882 (HAVE_WCTYPE_H): Likewise.
5883 (HAVE_ISWCTYPE): Likewise.
5884 (ENABLE_NLS): Likewise.
5885 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
5886 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
5888 * posix/regex_internal.c: Check if DEBUG is defined and is
5891 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
5892 (HAVE_MBSRTOWCS): Likewise.
5893 * posix/fnmatch.c: Include string.h unconditionally.
5895 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
5897 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
5900 2014-07-31 Roland McGrath <roland@hack.frob.com>
5902 * sysdeps/generic/safe-fatal.h: New file.
5903 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
5904 * nptl/forward.c: Include it.
5905 (__pthread_unwind): Use __safe_fatal as default action, rather
5906 than a bogus use of INTERNAL_SYSCALL that could never work.
5908 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
5909 * configure.ac (libc_cv_builtin_trap): New test.
5910 * configure: Regenerated.
5911 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
5912 (ABORT_INSTRUCTION): Define using __builtin_trap.
5914 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
5915 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
5916 * sysdeps/nptl/nptl-signals.h: New file.
5917 * nptl/pthreadP.h: Include <nptl-signals.h>.
5919 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
5921 * sysdeps/s390/s390-64/utf16-utf32-z9.c
5922 (ONE_DIRECTION): Define.
5923 * sysdeps/s390/s390-64/utf8-utf16-z9.c
5924 (ONE_DIRECTION): Define.
5925 * sysdeps/s390/s390-64/utf8-utf32-z9.c
5926 (ONE_DIRECTION): Define.
5928 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
5930 * sysdeps/s390/Makefile: Delete file.
5931 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
5932 * sysdeps/s390/__longjmp.c: Delete file.
5933 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
5934 Remove fields __flags and __reserved.
5935 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
5937 * sysdeps/s390/rtld-__longjmp.c: Delete file.
5938 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
5939 * sysdeps/s390/rtld-setjmp.S: Likewise.
5940 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
5941 * sysdeps/s390/s390-32/__longjmp.c: ... here.
5942 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
5943 * sysdeps/s390/s390-32/setjmp.S: ... here.
5945 (__sigsetjmp): Remove setting __flags field.
5946 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
5947 * sysdeps/s390/s390-64/__longjmp.c: ... here.
5948 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
5949 * sysdeps/s390/s390-64/setjmp.S: ... here.
5951 (__sigsetjmp): Remove setting __flags field.
5952 * sysdeps/s390/setjmp.S: Delete file.
5953 * sysdeps/s390/sigjmp.c: Likewise.
5954 * sysdeps/s390/v1-longjmp.c: Likewise.
5955 * sysdeps/s390/v1-setjmp.h: Likewise.
5956 * sysdeps/s390/v1-sigjmp.c: Likewise.
5957 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
5958 Remove v1-longjmp_chk.
5959 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
5960 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
5961 Include debug/longjmp_chk.c and add versioning.
5962 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
5963 Include nptl/pt-longjmp.c and add versioning.
5964 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
5965 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
5966 Include __longjmp.c.
5967 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5969 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
5970 (__getcontext): Remove setting __flags field.
5972 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5973 Don't restore upper high grps.
5974 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
5976 (__swapcontext): Remove setting uc_flags field.
5977 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
5979 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5980 Include __longjmp.c.
5981 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5983 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
5984 (__getcontext): Remove setting __flags field.
5986 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
5987 (__swapcontext): Remove setting uc_flags field.
5988 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
5989 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
5990 Remove fields uc_high_gprs and __reserved.
5991 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
5992 New file with reverted content.
5993 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
5994 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
5996 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
5999 2014-07-31 Andreas Schwab <schwab@suse.de>
6001 * config.h.in (HAVE_IFUNC): Define to 0.
6002 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
6005 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
6007 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6008 memmove-avx-unaligned, memcpy-avx-unaligned and
6009 mempcpy-avx-unaligned.
6010 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6011 Add tests for AVX memcpy functions.
6012 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
6013 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
6015 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
6016 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
6018 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
6019 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
6021 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
6022 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
6023 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
6025 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6028 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
6031 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
6034 * manual/llio.texi: Add section about open file description locks.
6035 * manual/examples/ofdlocks.c: Example of open file description
6037 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
6038 F_OFD_SETLK, and F_OFD_SETLKW.
6040 2014-07-23 Allan McRae <allan@archlinux.org>
6042 * po/es.po: Update Spanish translation from translation project.
6044 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
6046 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
6048 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
6051 * sysdeps/arm/dl-machine.h (elf_machine_rela)
6052 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
6053 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
6055 2014-07-17 Joseph Myers <joseph@codesourcery.com>
6058 * math/fesetenv.c (__fesetenv)
6059 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
6060 * math/feupdateenv.c (__feupdateenv)
6061 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
6063 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
6064 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6065 (__ASSUME_SOCKETCALL): Do not define.
6067 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
6068 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
6069 (__ASSUME_SOCKETCALL): Do not define.
6070 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
6071 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
6072 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6073 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
6074 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6075 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
6076 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6077 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6079 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
6080 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
6081 (__ASSUME_SOCKETCALL): Do not define.
6082 (__ASSUME_IPC64): Define unconditionally.
6083 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
6084 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6085 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
6086 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6087 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
6088 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6089 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
6092 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
6093 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
6094 (__ASSUME_SOCKETCALL): Do not define.
6095 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
6096 (__ASSUME_FUTEX_LOCK_PI): Likewise.
6097 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6098 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
6099 (__ASSUME_REQUEUE_PI): Define unconditionally.
6100 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
6101 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
6102 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6103 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
6104 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6105 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6107 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
6108 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
6109 (__ASSUME_SOCKETCALL): Do not define.
6110 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
6111 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6112 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6113 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
6114 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6115 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6117 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
6118 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
6119 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6120 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
6121 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6122 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
6123 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6124 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
6125 (__ASSUME_GETCPU_SYSCALL): Likewise.
6127 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
6128 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
6129 cases for individual architectures.
6130 * sysdeps/gnu/configure: Regenerated.
6131 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
6132 LIBC_SLIBDIR_RTLDDIR.
6133 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
6134 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
6135 LIBC_SLIBDIR_RTLDDIR.
6136 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
6137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
6138 LIBC_SLIBDIR_RTLDDIR.
6139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
6141 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
6142 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
6144 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
6145 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
6147 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
6148 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
6149 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
6150 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
6152 * sysdeps/aarch64/shlib-versions: Move to ...
6153 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
6154 * sysdeps/alpha/shlib-versions: Move to ...
6155 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
6156 * sysdeps/arm/shlib-versions: Move to ...
6157 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
6158 * sysdeps/hppa/shlib-versions: Move all contents except for
6159 libgcc_s entry to ...
6160 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
6162 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
6163 * sysdeps/ia64/shlib-versions: Move to ...
6164 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
6166 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
6167 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
6168 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
6169 * sysdeps/microblaze/shlib-versions: Move to ...
6170 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
6171 * sysdeps/mips/shlib-versions: Move to ...
6172 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
6174 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
6175 * sysdeps/tile/shlib-versions: Move to ...
6176 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
6177 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
6179 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
6180 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
6182 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
6184 2014-07-17 Will Newton <will.newton@linaro.org>
6186 * sysdeps/arm/bits/atomic.h
6187 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
6188 (__arch_compare_and_exchange_bool_16_int): Likewise.
6189 (__arch_compare_and_exchange_bool_64_int): Likewise.
6191 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
6192 into an #else block.
6194 2014-07-16 Roland McGrath <roland@hack.frob.com>
6196 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
6197 just Linux configurations. Test empirically that the compiler sets
6198 __ARM_EABI__, rather than using the tuple to decide.
6199 * sysdeps/arm/preconfigure: Regenerated.
6200 * sysdeps/unix/sysv/linux/arm/configure: File removed.
6201 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
6202 contents appended ...
6203 * sysdeps/arm/configure.ac: ... here.
6204 * sysdeps/arm/configure: Regenerated.
6206 2014-07-15 Roland McGrath <roland@hack.frob.com>
6208 * nptl/pthread_kill.c: New file.
6209 * nptl/pthread_sigmask.c: New file.
6210 * nptl/pthread_sigqueue.c: New file.
6212 * sysdeps/nptl/lowlevellock.h: New file.
6213 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
6214 * sysdeps/nptl/lowlevellock-futex.h: New file.
6216 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
6217 Remove dead declarations.
6219 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
6221 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
6222 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
6224 * sysdeps/x86_64/configure.ac: Likewise.
6225 * sysdeps/i386/configure: Regenerated.
6226 * sysdeps/x86_64/configure: Likewise.
6227 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6228 memset-avx2 only if config-cflags-avx2 is yes.
6229 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6230 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
6232 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
6233 only if HAVE_AVX2_SUPPORT is defined.
6234 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6236 2014-07-14 Alan Modra <amodra@gmail.com>
6239 * elf/elf.h (DT_PPC64_NUM): Correct value.
6240 * NEWS: Add to fixed bug list.
6242 2014-07-13 Jim Meyering <meyering@fb.com>
6245 regex: don't deref NULL upon heap allocation failure
6246 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
6247 failure in one more place.
6248 To trigger the segfault, configure grep -with-included-regex,
6249 build it, and run these commands:
6250 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
6252 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
6254 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
6256 2014-07-11 Richard Henderson <rth@redhat.com>
6258 * sysdeps/aarch64/libm-test-ulps: Update.
6260 2014-07-10 Florian Weimer <fweimer@redhat.com>
6263 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
6264 * nptl/allocatestack.c (__nptl_setxid_error): New function.
6265 (__nptl_setxid): Initialize error member. Call
6266 __nptl_setxid_error.
6267 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
6268 * nptl/descr.h (struct xid_command): Add error member.
6269 * nptl/tst-setuid3.c: New file.
6270 * nptl/Makefile (tests): Add it.
6272 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6274 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
6276 (__lll_trylock): Use __lll_base_trylock.
6277 (__lll_cond_trylock): Likewise.
6279 2014-07-10 Roland McGrath <roland@hack.frob.com>
6281 * nptl/pthread_create.c (start_thread): Use atomic_or and
6282 lll_futex_wake directly rather than lll_robust_dead.
6283 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
6284 (lll_robust_dead): Macro removed.
6285 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
6286 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
6287 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
6288 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6289 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6290 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
6291 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
6292 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6293 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
6294 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6295 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6296 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6297 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6298 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6299 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6301 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
6302 Use atomic_compare_and_exchange_val_acq directly rather than
6304 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
6305 (__lll_robust_trylock, lll_robust_trylock): Removed.
6306 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
6307 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
6308 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6309 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6310 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
6311 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
6312 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6313 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
6314 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6315 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6316 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6317 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6318 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6319 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6321 2014-07-02 Florian Weimer <fweimer@redhat.com>
6323 * manual/locale.texi (Locale Names): New section documenting
6324 locale name syntax. Adjust menu and node chaining accordingly.
6325 (Choosing Locale): Reference Locale Names, Locale Categories.
6326 Mention setting LC_ALL=C. Reflect that name syntax is now
6328 (Locale Categories): New section title. Reference Locale Names.
6329 LC_ALL is an environment variable, but not a category.
6330 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
6331 description, now in Locale Name. Reference that section. Locale
6332 name syntax is now documented.
6334 2014-07-02 Florian Weimer <fweimer@redhat.com>
6337 * locale/findlocale.c (name_present, valid_locale_name): New
6339 (_nl_find_locale): Use the loc_name variable to store name
6340 candidates. Call name_present and valid_locale_name to check and
6341 validate locale names. Return an error if the locale is invalid.
6343 2014-07-02 Florian Weimer <fweimer@redhat.com>
6345 * locale/setlocale.c (setlocale): Use strdup for allocating
6346 composite name copy.
6348 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6350 Sync up with gnulib.
6351 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
6352 [!_LIBC && ENABLE_NLS]: Include gettext.h.
6353 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
6354 and _GL_ARG_NONNULL.
6355 [USE_UNLOCKED_IO]: Include unlocked-io.h.
6356 [!_LIBC]: Include code for Windows and Cygwin.
6357 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
6358 Include prototype for int strerror_r.
6359 [!_LIBC] (is_open): New function.
6360 (flush_stdout): New function.
6361 (print_errno_message): Use it.
6363 (error_at_line): Likewise.
6364 (error_tail) Add function attribute macros. Use
6367 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
6369 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
6371 * io/ftw.c: Include sys/param.h unconditionally.
6373 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
6376 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
6378 (freecache): New function to free CACHE on exit.
6380 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
6383 2014-07-09 David S. Miller <davem@davemloft.net>
6385 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6387 * sysdeps/sparc/nptl/internaltypes.h: Delete.
6388 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
6389 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
6390 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
6391 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
6392 * sysdeps/sparc/nptl/sem_init.c: Likewise.
6393 * sysdeps/sparc/nptl/sem_post.c: Likewise.
6394 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
6395 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
6396 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
6397 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
6398 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
6399 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
6401 2014-07-09 Andreas Schwab <schwab@suse.de>
6403 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
6405 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
6406 (do_test): Likewise.
6408 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6410 2014-07-09 Will Newton <will.newton@linaro.org>
6412 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
6413 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
6414 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
6415 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
6416 * sysdeps/hppa/start.S (_start): Likewise.
6418 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
6420 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
6422 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
6425 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6427 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
6428 after checking that it is non-NULL.
6430 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
6432 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6434 * sysdeps/powerpc/memmove.c: Remove file.
6435 * sysdeps/powerpc/powerpc32/power4/memcopy.h
6436 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
6437 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
6438 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
6439 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
6440 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
6441 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
6442 string memmove instead of removed powerpc one.
6444 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6445 [weak_alias]: Fix compiler warning due trailing data.
6446 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
6447 [weak_alias]: Likewise.
6448 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
6449 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
6451 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6452 (__libc_ifunc_impl_list): Add memmove functions.
6454 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6456 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
6458 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
6460 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
6462 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
6464 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
6466 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
6468 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
6470 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
6472 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
6474 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
6476 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
6478 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
6480 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
6482 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
6484 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
6486 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
6488 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
6491 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6493 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
6494 to avoid alignment traps in non-cacheable memory.
6495 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
6497 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
6499 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
6500 file: multiarch power7 memmove.
6501 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
6502 multiarch default memmove.
6503 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
6504 multiarch memove for powerpc32/power4.
6506 * string/bcopy.c: Use full path to include memmove.c.
6507 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
6509 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
6510 bcopy for powerpc64.
6511 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
6512 bcopy for powerpc64.
6513 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
6514 and memmove implementations.
6515 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
6516 optimized multiarch memmove for POWER7/powerpc64.
6517 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
6518 default multiarch memmove for powerpc64.
6519 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
6520 multiarch for powerpc64.
6521 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
6522 for POWER7/powerpc64.
6523 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
6524 memmove for POWER7/powerpc64.
6526 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
6529 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
6530 __ELF_NATIVE_CLASS equal to 64.
6532 2014-07-07 Roland McGrath <roland@hack.frob.com>
6534 * sysdeps/nptl/lowlevellock.h: File removed.
6536 * NEWS: NPTL is no longer an add-on!
6537 * nptl/internaltypes.h: Moved ...
6538 * sysdeps/nptl/internaltypes.h: ... here.
6539 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
6540 * sysdeps/nptl/fork.c: Likewise.
6541 * sysdeps/nptl/gai_misc.h: Likewise.
6542 * sysdeps/nptl/librt-cancellation.c: Likewise.
6543 * sysdeps/nptl/jmp-unwind.c: Likewise.
6544 * sysdeps/nptl/setxid.h: Likewise.
6545 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
6546 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
6547 * sysdeps/unix/sysv/linux/arm/Implies: New file.
6548 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
6549 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
6550 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
6551 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
6552 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
6553 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
6554 * sysdeps/unix/sysv/linux/mips/Implies: New file.
6555 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
6556 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
6557 * sysdeps/unix/sysv/linux/sh/Implies: New file.
6558 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
6559 * sysdeps/unix/sysv/linux/tile/Implies: New file.
6560 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
6561 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
6562 * nptl/Makeconfig: Moved ...
6563 * sysdeps/nptl/Makeconfig: ... here.
6564 * nptl/configure: File removed.
6565 * nptl/ANNOUNCE: File removed.
6566 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
6567 * sysdeps/unix/sysv/linux/configure: Regenerated.
6569 * nptl/Makefile (routines): Add libc_pthread_init,
6570 libc_multiple_threads, register-atfork and unregister-atfork.
6571 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
6572 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
6573 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
6574 pthread-pi-defines.sym, structsem.sym.
6575 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
6576 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
6577 [$(subdir) = nptl] (tests): Add tst-setgetname.
6578 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
6579 * sysdeps/unix/sysv/linux/sigaction.c: Just include
6580 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
6581 [!LIBC_SIGACTION]: Remove aliases.
6582 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
6583 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
6584 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6585 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
6586 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
6587 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
6588 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6589 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6590 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
6591 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
6592 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
6593 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
6594 __libc_allocate_rtsig_private.
6595 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
6596 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
6597 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
6598 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
6599 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
6600 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
6601 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
6602 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
6603 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
6604 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
6605 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
6606 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
6607 * nptl/internaltypes.h: ... here.
6608 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
6609 * sysdeps/nptl/jmp-unwind.c: ... here.
6610 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
6611 * nptl/libc-lowlevellock.c: ... here.
6612 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
6613 * nptl/libc_multiple_threads.c: ... here.
6614 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
6615 * nptl/libc_pthread_init.c: ... here.
6616 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
6617 * nptl/lowlevelbarrier.sym: ... here.
6618 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
6619 * nptl/lowlevelcond.sym: ... here.
6620 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
6621 * nptl/lowlevellock.c: ... here.
6622 * nptl/lowlevellock.h: Moved ...
6623 * sysdeps/nptl/lowlevellock.h: ... here.
6624 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
6625 * nptl/lowlevelrobustlock.c: ... here.
6626 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
6627 * nptl/lowlevelrobustlock.sym: ... here.
6628 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
6629 * nptl/lowlevelrwlock.sym: ... here.
6630 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
6631 * nptl/pt-fork.c: ... here.
6632 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
6633 * nptl/pthread-pi-defines.sym: ... here.
6634 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
6635 * nptl/pthread_attr_getaffinity.c: ... here.
6636 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
6637 * nptl/pthread_attr_setaffinity.c: ... here.
6638 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
6639 * nptl/pthread_mutex_cond_lock.c: ... here.
6640 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6642 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
6643 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
6644 * nptl/pthread_once.c: ... here, replacing old file.
6645 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
6646 * nptl/pthread_yield.c: ... here.
6647 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
6648 * nptl/register-atfork.c: ... here.
6649 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
6650 * nptl/sem_post.c: ... here.
6651 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
6652 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
6653 * nptl/sem_timedwait.c: ... here.
6654 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
6655 * nptl/sem_trywait.c: ... here.
6656 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
6657 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
6658 * nptl/sem_wait.c: ... here.
6659 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
6660 * nptl/structsem.sym: ... here.
6661 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
6662 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
6663 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
6664 * nptl/unregister-atfork.c: ... here.
6665 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
6666 * nptl/unwindbuf.sym: ... here.
6667 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
6668 * sysdeps/nptl/fork.c: ... here.
6669 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
6670 * sysdeps/nptl/fork.h: ... here.
6671 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
6672 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
6673 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
6674 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
6675 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
6676 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
6677 * sysdeps/unix/sysv/linux/getpid.c: ... here.
6678 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
6679 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
6680 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
6681 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
6682 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
6683 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
6684 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
6685 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
6686 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
6687 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
6688 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
6689 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
6690 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
6691 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
6692 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
6693 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
6694 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
6695 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
6696 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
6697 * sysdeps/unix/sysv/linux/raise.c: ... here.
6698 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
6699 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
6700 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
6701 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
6702 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
6703 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
6704 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
6705 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
6706 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
6707 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
6708 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
6709 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
6710 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
6711 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
6712 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
6714 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6716 * sysdeps/generic/memcopy.h: Add comment for
6717 MEMCPY_OK_FOR_FWD_MEMMOVE.
6719 2014-07-04 Will Newton <will.newton@linaro.org>
6721 * string/memchr.c: Merge from gnulib.
6722 [_LIBC]: Remove conditionals.
6723 (__ptr_t): Remove define.
6724 (LONG_MAX_32_BITS): Likewise.
6725 (LONG_MAX): Likewise.
6726 (MEMCHR): Use ANSI prototype and optimize algorithm.
6728 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
6730 2014-07-03 Roland McGrath <roland@hack.frob.com>
6732 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
6733 (lll_futex_timed_wait_bitset): Fix syscall argument count.
6735 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
6736 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
6737 in a bare environment with no <stdlib.h> installed.
6738 * sysdeps/nptl/configure: Regenerated.
6740 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
6742 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
6743 AC_EGREP_CPP for kernel header checks, so they only succeed if
6744 including <linux/version.h> actually works right.
6745 * sysdeps/unix/sysv/linux/configure: Regenerated.
6747 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
6748 value so it's not diagnosed as unused.
6750 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
6751 thing) with "ifeq ($(subdir),rt)".
6753 2014-07-03 Richard Henderson <rth@redhat.com>
6755 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
6756 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
6757 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
6759 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
6760 (math_force_eval): New.
6762 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
6763 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
6765 * sysdeps/alpha/fpu/s_round.c: Remove file.
6766 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
6768 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
6769 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
6770 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
6771 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
6772 (_dl_start, print_statistics): Likewise.
6773 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
6774 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
6776 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6777 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6778 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6779 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6780 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6781 (HP_SMALL_TIMING_AVAIL): Define.
6782 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6783 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
6784 (HP_SMALL_TIMING_AVAIL): Define.
6785 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6786 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6788 * sysdeps/aarch64/hp-timing.h: New file.
6790 * sysdeps/generic/hp-timing.h: Remove dead comment.
6791 * sysdeps/generic/hp-timing-common.h: New file.
6792 * sysdeps/alpha/hp-timing.h: Include it.
6793 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
6794 * sysdeps/i386/i686/hp-timing.h: Likewise.
6795 * sysdeps/ia64/hp-timing.h: Likewise.
6796 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6797 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6798 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
6799 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
6800 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
6801 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
6804 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
6805 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
6806 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
6807 * elf/rtld.c (_dl_start_final): Likewise.
6808 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
6809 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6810 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6811 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6812 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6813 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6814 (HP_TIMING_DIFF_INIT): Remove.
6815 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6816 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
6817 (HP_TIMING_DIFF_INIT): Remove.
6818 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6819 * sysdeps/i386/i686/hp-timing.c: Remove file.
6820 * sysdeps/x86_64/hp-timing.c: Remove file.
6821 * sysdeps/ia64/hp-timing.c: Remove file.
6822 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
6823 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
6824 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
6825 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
6827 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
6828 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
6829 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
6830 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6831 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6832 (HP_TIMING_ACCUM): Remove.
6833 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6834 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
6835 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6837 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
6838 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
6839 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
6840 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
6841 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
6842 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
6843 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
6844 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
6846 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
6848 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
6850 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
6852 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6854 Sync up with gettext.
6855 * intl/loadmsgcat.c: Define O_BINARY if not defined.
6856 [_MSC_VER]: Include malloc.h
6857 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
6858 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
6859 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
6860 TEMP_FAILURE_RETRY. Cast return of alloca.
6861 [!_LIBC] Call gl_rwlock_init.
6862 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
6864 2014-07-02 Roland McGrath <roland@hack.frob.com>
6866 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
6867 before checking its value.
6869 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6871 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
6873 * debug/memcpy_chk.c: Don't include pagecopy.h.
6874 * debug/mempcpy_chk.c: Likewise.
6875 * string/memcpy.c: Likewise.
6876 * string/memmove.c: Likewise.
6877 * sysdeps/powerpc/memmove.c: Likewise.
6878 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
6879 definition of PAGE_COPY_FWD_MAYBE here...
6880 * sysdeps/generic/pagecopy.h: ... from here.
6881 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
6883 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6884 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6886 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
6887 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
6889 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6890 (__libc_ifunc_impl_list): Likewise.
6891 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
6892 multiarch strcat for PPC64.
6893 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
6894 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
6896 2014-07-02 Roland McGrath <roland@hack.frob.com>
6898 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
6900 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6902 * intl/loadmsgcat.c: Remove declaration of
6903 get_sysdep_segment_value.
6904 (get_sysdep_segment_value): Use ISO C style.
6905 (_nl_load_domain): Use ISO C style. Get rid of redundant
6906 semicolon. Fix typo and formatting in comment.
6907 (_nl_unload_domain): Use ISO C style.
6909 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
6911 2014-07-02 Will Newton <will.newton@linaro.org>
6913 * malloc/obstack.c: Merge from gnulib master.
6914 [HAVE_CONFIG_H]: Remove conditional code.
6915 [!_LIBC]: Include config.h.
6916 [!ELIDE_CODE]: Don't include inttypes.h, include
6917 stdint.h unconditionally.
6918 (print_and_abort): Mark as _Noreturn.
6919 (_obstack_allocated_p): Mark as __attribute_pure__.
6920 (obstack_free): Rename to __obstack_free.
6921 [!__attribute__]: Remove conditional code.
6922 * malloc/obstack.h: Merge from gnulib master.
6923 [__cplusplus]: Move conditional down.
6924 [!__attribute_pure__]: Define __attribute_pure__ here
6925 if it is not already defined.
6926 (_obstack_memory_used): Mark as __attribute_pure__.
6927 [!__obstack_free]: Define as obstack_free.
6928 [__GNUC__]: Remove check for ancient NeXT gcc.
6930 2014-07-02 Will Newton <will.newton@linaro.org>
6931 Paul Eggert <eggert@cs.ucla.edu>
6933 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
6935 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6937 * resolv/gethnamaddr.c: Add comment warning that the file is
6940 2014-07-01 Carlos O'Donell <carlos@redhat.com>
6942 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
6945 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
6946 entry for aio_cancel and aio_cancel64.
6947 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
6948 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
6949 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
6950 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
6951 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
6952 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
6953 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
6954 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
6955 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
6956 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
6957 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
6958 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
6959 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
6961 2014-07-01 Roland McGrath <roland@hack.frob.com>
6963 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
6964 * nptl/pthread_mutex_lock.c: Likewise.
6965 * nptl/pthread_mutex_timedlock.c: Likewise.
6966 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
6968 2014-07-01 Richard henderson <rth@redhat.com>
6970 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
6971 (__isnan, __isnanl): Remove.
6972 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
6974 * sysdeps/alpha/fpu/libm-test-ulps: Update.
6976 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
6978 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6980 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6982 * resolv/nss_dns/dns-host.c (getanswer_r)
6983 [MULTI_PTRS_ARE_ALIASES]: Remove code.
6985 2014-07-01 Joseph Myers <joseph@codesourcery.com>
6987 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6988 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
6990 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
6991 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
6993 2014-07-01 Roland McGrath <roland@hack.frob.com>
6995 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
6996 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
6998 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
6999 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
7001 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
7002 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
7004 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
7005 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
7007 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
7008 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
7009 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
7010 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
7012 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
7013 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
7014 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
7015 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
7016 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
7018 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
7020 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
7021 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
7022 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
7023 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
7024 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
7025 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
7026 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
7027 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
7028 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
7029 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
7030 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
7031 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
7032 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
7033 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
7034 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
7035 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
7036 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
7037 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
7038 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
7039 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
7041 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
7042 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
7043 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
7044 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
7045 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
7046 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
7047 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
7048 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
7050 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
7052 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
7053 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
7054 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
7057 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7059 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7061 2014-06-30 Joseph Myers <joseph@codesourcery.com>
7063 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
7064 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7066 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7068 * sysdeps/arm/libm-test-ulps: Regenerated.
7070 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
7071 Roland McGrath <roland@hack.frob.com>
7073 * test-skeleton.c (signal_handler): Kill the whole process group
7074 before killing the child individually.
7075 (main): Report any failure on `setpgid'.
7077 2014-06-30 Roland McGrath <roland@hack.frob.com>
7079 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
7080 from _TLS_H to _ARM_NPTL_TLS_H.
7081 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
7082 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
7084 2014-06-30 Joseph Myers <joseph@codesourcery.com>
7087 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
7088 (__expm1l): Return argument unchanged when small but not
7091 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
7093 (_FP_UNPACK_RAW_1_P): Likewise.
7094 (_FP_PACK_RAW_1): Likewise.
7095 (_FP_PACK_RAW_1_P): Likewise.
7096 (_FP_MUL_MEAT_1_wide): Likewise.
7097 (_FP_MUL_MEAT_DW_1_hard): Likewise.
7098 (_FP_MUL_MEAT_1_hard): Likewise.
7099 (_FP_DIV_MEAT_1_imm): Likewise.
7100 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
7101 (_FP_DIV_MEAT_1_udiv): Likewise.
7102 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
7103 (_FP_UNPACK_RAW_2): Likewise.
7104 (_FP_UNPACK_RAW_2_P): Likewise.
7105 (_FP_PACK_RAW_2): Likewise.
7106 (_FP_PACK_RAW_2_P): Likewise.
7107 (_FP_MUL_MEAT_DW_2_wide): Likewise.
7108 (_FP_MUL_MEAT_2_wide): Likewise.
7109 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
7110 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
7111 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
7112 (_FP_MUL_MEAT_2_gmp): Likewise.
7113 (_FP_DIV_MEAT_2_udiv): Likewise.
7114 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
7115 (_FP_FRAC_SRL_4): Likewise.
7116 (_FP_FRAC_SRST_4): Likewise.
7117 (_FP_FRAC_SRS_4): Likewise.
7118 (_FP_UNPACK_RAW_4): Likewise.
7119 (_FP_UNPACK_RAW_4_P): Likewise.
7120 (_FP_PACK_RAW_4): Likewise.
7121 (_FP_PACK_RAW_4_P): Likewise.
7122 (_FP_MUL_MEAT_DW_4_wide): Likewise.
7123 (_FP_MUL_MEAT_4_wide): Likewise.
7124 (_FP_MUL_MEAT_4_gmp): Likewise.
7125 (umul_ppppmnnn): Likewise.
7126 (_FP_DIV_MEAT_4_udiv): Likewise.
7127 (__FP_FRAC_ADD_4): Likewise.
7128 (__FP_FRAC_SUB_3): Likewise.
7129 (__FP_FRAC_SUB_4): Likewise.
7130 (__FP_FRAC_DEC_3): Likewise.
7131 (__FP_FRAC_DEC_4): Likewise.
7132 (__FP_FRAC_ADDI_4): Likewise.
7133 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
7134 (_FP_FRAC_SRL_8): Likewise.
7135 (_FP_FRAC_SRS_8): Likewise.
7137 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
7139 (FP_UNPACK_RAW_EP): Likewise.
7140 (FP_PACK_RAW_E): Likewise.
7141 (FP_PACK_RAW_EP): Likewise.
7142 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
7143 (_FP_ISSIGNAN): Likewise.
7144 (_FP_ADD_INTERNAL): Likewise.
7145 (_FP_FMA): Likewise.
7146 (_FP_CMP): Likewise.
7147 (_FP_SQRT): Likewise.
7148 (_FP_TO_INT): Likewise.
7149 (_FP_FROM_INT): Likewise.
7150 (FP_EXTEND): Likewise.
7151 (_FP_DIV_MEAT_N_loop): Likewise.
7153 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
7155 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
7158 2014-06-29 Joseph Myers <joseph@codesourcery.com>
7161 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
7162 result with correct sign in case of exponents that produce
7163 overflow except for X very close to 1.
7165 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
7167 mktime: merge #if/#ifdef usage from glibc
7168 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
7169 as that works with both Glibc's and Gnulib's style.
7170 See thread starting at Siddhesh Poyarekar's bug report at:
7171 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
7173 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7175 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
7176 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
7177 * sysdeps/tile/tilegx/memmove.c: Remove file.
7179 2014-06-27 Joseph Myers <joseph@codesourcery.com>
7181 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
7182 abi-name definition.
7183 * scripts/soversions.awk: Do not handle or generate ABI lines.
7184 * shlib-versions: Remove ABI entries.
7185 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
7186 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
7188 2014-06-27 Roland McGrath <roland@hack.frob.com>
7190 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
7191 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
7192 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
7193 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
7194 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
7195 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
7196 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
7198 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
7200 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
7201 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
7202 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
7203 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
7204 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
7205 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
7206 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
7207 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
7208 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
7209 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
7210 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
7211 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
7212 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
7214 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
7215 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
7216 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
7217 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
7218 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
7219 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
7221 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
7222 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
7224 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
7225 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
7226 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
7227 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
7229 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
7230 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
7231 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
7232 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
7233 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
7234 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
7235 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
7236 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
7238 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
7239 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
7240 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
7241 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
7243 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
7244 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
7246 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
7247 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
7248 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
7249 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
7251 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
7253 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
7254 Identical file removed.
7255 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
7257 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
7258 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
7259 Identical file removed.
7260 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
7261 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
7262 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
7264 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
7265 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
7266 Identical file removed.
7267 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
7268 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
7269 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
7270 Identical file removed.
7271 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
7272 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
7273 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
7274 Identical file removed.
7275 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
7276 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
7277 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
7278 Identical file removed.
7279 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
7281 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
7282 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
7283 Identical file removed.
7284 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
7286 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
7287 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
7288 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
7289 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
7290 Identical file removed.
7291 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
7293 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
7295 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
7296 Identical file removed.
7297 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
7299 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
7300 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
7301 Identical file removed.
7302 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
7304 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
7305 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
7306 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
7307 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
7308 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
7309 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
7311 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
7312 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
7313 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
7315 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
7316 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
7317 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
7318 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
7319 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
7321 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
7324 * nscd/nscd.c (monitor_child): Return exit status of child
7325 instead of return value from wait syscall.
7327 2014-06-27 Joseph Myers <joseph@codesourcery.com>
7329 * configure.ac (libc_commonpagesize): Remove variable.
7330 (libc_relro_required): Likewise.
7331 (libc_cv_z_relro): Remove configure test.
7332 * configure: Regenerated.
7333 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
7335 (libc_relro_required): Likewise.
7336 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
7337 (libc_relro_required): Likewise.
7338 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
7339 (libc_relro_required): Likewise.
7340 * sysdeps/arm/preconfigure: Regenerated.
7341 * sysdeps/ia64/preconfigure: Remove file.
7342 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
7344 (libc_relro_required): Likewise.
7348 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
7349 (__ieee754_yn): Set FE_TONEAREST mode internally and then
7350 recompute overflowing results in original rounding mode.
7351 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
7352 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
7353 recompute overflowing results in original rounding mode.
7354 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
7355 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7356 recompute overflowing results in original rounding mode.
7357 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
7358 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7359 recompute overflowing results in original rounding mode.
7360 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
7361 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7362 recompute overflowing results in original rounding mode.
7363 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
7364 (libc_feholdsetround_ctx): New macro.
7365 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
7366 * sysdeps/i386/fpu/libm-test-ulps: Update.
7367 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
7369 2014-06-26 Joseph Myers <joseph@codesourcery.com>
7371 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
7372 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
7373 corresponding .cpsetup call.
7375 2014-06-26 Roland McGrath <roland@hack.frob.com>
7377 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
7378 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
7379 * sysdeps/arm/Makefile [$(subdir) = csu]
7380 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
7381 (static-only-routines): Add aeabi_read_tp here.
7382 (shared-only-routines): Add libc-aeabi_read_tp here.
7383 (CFLAGS-libc-start.c): Add -fexceptions here.
7384 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
7385 (sysdep_routines, static-only-routines, shared-only-routines):
7386 Don't add to these here.
7387 (CFLAGS-libc-start.c): Likewise.
7389 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
7390 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
7391 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
7392 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
7393 * sysdeps/arm/Makefile [$(subdir) = rt]
7394 (librt-sysdep_routines, librt-shared-only-routines):
7395 Append rt-aeabi_unwind_cpp_pr1 here.
7396 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
7397 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
7398 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
7399 (libpthread-sysdep_routines, libpthread-shared-only-routines):
7400 Append nptl-aeabi_unwind_cpp_pr1 here.
7401 (tests): Filter out tst-cleanupx4 here.
7402 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
7403 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
7404 Don't do those here.
7406 2014-06-26 Joseph Myers <joseph@codesourcery.com>
7408 * scripts/list-sources.sh: Do not handle ports specially.
7410 2014-06-26 Roland McGrath <roland@hack.frob.com>
7412 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
7413 * sysdeps/arm/feupdateenv.c: Likewise.
7415 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
7417 2014-06-26 Joseph Myers <joseph@codesourcery.com>
7419 * manual/texinfo.tex: Update to version 2014-05-05.10 with
7420 trailing whitespace removed.
7421 * scripts/config.guess: Update to version 2014-03-23.
7422 * scripts/config.sub: Update to version 2014-05-01
7423 * scripts/install-sh: Update to version 2013-12-25.23.
7424 * scripts/move-if-change: Update from gnulib.
7426 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7428 * debug/memmove_chk.c: Remove pagecopy.h include.
7430 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
7432 * time/mktime.c (leapyear): Remove inline keyword. The code is now
7433 identical to gnulib mktime.
7435 2014-06-26 Joseph Myers <joseph@codesourcery.com>
7437 * configure.ac: Do not test for machine being rs6000. Do not test
7439 * configure: Regenerated.
7441 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
7443 * configure: Regenerated.
7444 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
7445 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
7446 Remove configure test.
7447 * sysdeps/arm/configure: Regenerated.
7448 * sysdeps/nptl/configure.ac: Do not check
7449 libc_cv_asm_cfi_directives.
7450 * sysdeps/nptl/configure: Regenerated.
7451 * sysdeps/x86_64/nptl/configure.ac: Remove file.
7452 * sysdeps/x86_64/nptl/configure: Remove generated file.
7453 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
7455 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
7457 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7459 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
7460 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
7461 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
7464 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
7465 instead of whether it is defined.
7466 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
7467 * sysdeps/hppa/dl-machine.h: Likewise.
7468 * sysdeps/ia64/dl-machine.h: Likewise.
7469 * sysdeps/m68k/dl-machine.h: Likewise.
7470 * sysdeps/microblaze/dl-machine.h: Likewise.
7471 * sysdeps/mips/dl-machine.: Likewise.
7472 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7473 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7474 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7475 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7476 * sysdeps/sh/dl-machine.h: Likewise.
7477 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7478 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7479 * sysdeps/tile/dl-machine.h: Likewise.
7480 * sysdeps/x86_64/dl-machine.h: Likewise.
7482 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
7484 (verify_persistent_db): Likewise.
7486 2014-06-26 Roland McGrath <roland@hack.frob.com>
7488 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
7489 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
7490 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
7491 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
7492 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7494 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
7496 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
7497 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
7498 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
7499 Identical file removed.
7500 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
7501 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
7502 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
7503 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
7504 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
7505 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
7506 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
7507 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
7508 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
7509 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
7510 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7512 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
7513 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
7514 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
7515 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
7516 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
7517 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7519 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
7520 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
7521 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
7522 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
7523 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
7524 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
7525 Identical file removed.
7526 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
7527 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
7528 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
7529 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
7530 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7532 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
7534 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
7535 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
7536 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
7537 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
7538 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
7539 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
7540 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
7541 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
7542 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
7543 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
7544 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7546 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
7547 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
7549 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
7550 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
7551 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
7552 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7554 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
7555 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
7556 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
7558 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
7560 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
7561 * sysdeps/unix/sysv/linux/s390/Versions
7562 (libpthread: GLIBC_2.19): New version set.
7563 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
7564 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
7565 (librt: GLIBC_2.3.3): New version set.
7566 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
7567 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
7568 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
7569 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
7570 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
7571 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
7572 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
7573 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
7574 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
7575 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
7576 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
7577 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
7578 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
7579 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
7580 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
7581 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
7582 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
7583 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
7584 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
7585 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
7586 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
7587 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
7588 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
7589 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
7590 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
7591 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
7592 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
7593 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
7594 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
7595 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
7596 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
7597 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
7598 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
7599 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
7600 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
7601 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
7602 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
7603 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
7604 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
7605 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
7606 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
7607 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
7608 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
7609 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
7610 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
7612 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
7613 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
7614 (__libc_vfork): Define the function under this name.
7615 [!NOT_IN_libc] (__vfork): Make this an alias.
7616 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
7617 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
7618 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
7619 (__libc_vfork): Define the function under this name.
7620 [!NOT_IN_libc] (__vfork): Make this an alias.
7621 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
7622 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
7623 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
7624 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
7625 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
7626 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7628 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
7629 code that was previously under [RESET_PID].
7630 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
7631 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
7632 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
7634 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
7635 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
7636 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
7637 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
7638 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
7639 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
7640 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
7641 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
7642 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
7643 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
7644 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
7646 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
7647 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
7648 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
7649 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
7650 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
7651 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
7652 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
7653 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
7654 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
7655 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
7656 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
7657 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
7658 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
7659 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
7660 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
7661 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
7662 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
7663 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
7664 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
7665 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
7666 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
7667 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
7668 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
7669 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
7670 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
7671 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
7672 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
7673 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
7674 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
7676 2014-06-25 Roland McGrath <roland@hack.frob.com>
7678 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
7679 that was previously under [RESET_PID].
7680 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
7682 2014-06-25 Joseph Myers <joseph@codesourcery.com>
7684 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
7685 not undefine and redefine.
7686 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
7687 [O_CLOEXEC]: Make code unconditional.
7688 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
7689 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
7690 <kernel-features.h>.
7691 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
7692 conditional variable definition.
7693 (shm_open) [O_CLOEXEC]: Make code unconditional.
7694 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
7697 * configure.ac (USE_REGPARMS): Don't define here.
7698 * configure: Regenerated.
7699 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
7700 * sysdeps/i386/configure: Regenerated.
7702 * nptl/createthread.c: Don't include kernel-features.h.
7703 * nptl/pthread_cancel.c: Likewise.
7704 * nptl/pthread_condattr_setclock.c: Likewise.
7705 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
7706 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
7707 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
7708 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
7709 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
7710 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
7711 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
7712 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
7713 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
7714 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
7715 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
7716 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
7717 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
7718 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
7719 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
7720 * nscd/gai.c: Likewise.
7721 * nss/nss_db/db-open.c: Likewise.
7722 * sysdeps/generic/ldsodefs.h: Likewise.
7723 * sysdeps/sh/nptl/tls.h: Likewise.
7724 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
7725 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
7726 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
7727 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
7728 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
7729 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
7730 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
7731 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7732 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7733 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
7734 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
7735 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7736 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
7737 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
7738 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
7739 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
7740 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
7741 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
7742 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
7743 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
7744 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
7745 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
7746 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
7747 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
7748 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
7749 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
7750 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
7751 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
7752 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
7753 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
7754 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
7755 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
7756 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
7757 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7758 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
7759 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7760 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
7761 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
7762 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
7763 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
7764 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
7765 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
7766 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
7767 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7768 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
7769 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
7770 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
7771 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
7772 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
7773 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
7774 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
7775 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
7776 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
7777 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
7778 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
7779 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
7780 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7781 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
7782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
7784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
7785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
7786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
7787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
7788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
7789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
7790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
7793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
7794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
7795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
7796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
7797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
7798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
7802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
7803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
7804 * sysdeps/unix/sysv/linux/pread.c: Likewise.
7805 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
7806 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
7807 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
7808 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
7809 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
7810 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
7811 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
7812 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
7813 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
7814 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
7815 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
7816 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
7817 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
7818 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
7819 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
7820 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7821 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
7822 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
7823 * sysdeps/unix/sysv/linux/system.c: Likewise.
7824 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
7825 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
7826 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7827 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7828 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7829 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7830 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
7832 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
7833 * configure: Regenerated.
7834 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
7836 * configure.ac (base_machine): Do not set specially for particular
7838 * configure: Regenerated.
7839 * sysdeps/powerpc/preconfigure: Move machine and base_machine
7840 settings from configure.ac.
7841 * sysdeps/i386/preconfigure: New file.
7842 * sysdeps/s390/preconfigure: Likewise.
7843 * sysdeps/sh/preconfigure: Likewise.
7844 * sysdeps/sparc/preconfigure: Likewise.
7846 2014-06-25 Roland McGrath <roland@hack.frob.com>
7848 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
7849 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
7850 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
7851 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
7852 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
7853 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
7854 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
7855 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
7856 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
7857 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
7858 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
7859 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
7860 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
7861 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
7862 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
7863 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
7864 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
7865 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
7866 * sysdeps/sparc/sparc64/Makefile: ... appended here.
7868 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
7869 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
7870 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
7871 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
7872 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
7873 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
7874 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
7875 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
7876 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
7877 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
7878 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
7879 * sysdeps/sparc/sparc32/sem_post.c: ... here.
7880 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
7881 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
7882 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
7883 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
7884 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
7885 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
7886 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
7887 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
7888 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
7889 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
7890 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
7891 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
7892 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
7893 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
7894 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
7895 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
7896 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
7897 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
7898 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
7899 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
7900 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
7901 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
7902 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
7903 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
7904 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
7905 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
7907 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
7908 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
7909 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
7910 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
7911 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7913 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
7915 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
7916 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
7917 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
7918 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
7919 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
7921 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
7922 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
7923 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
7924 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
7925 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
7926 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
7927 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
7928 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7930 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
7931 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7933 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
7934 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
7935 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
7936 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7938 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
7939 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
7940 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
7941 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
7942 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
7943 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
7944 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
7945 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
7946 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
7947 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7949 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
7951 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
7952 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
7953 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
7954 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
7955 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
7957 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
7958 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
7959 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
7960 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
7961 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
7962 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
7963 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
7964 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7966 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
7967 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7969 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
7970 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
7971 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
7972 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7974 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
7975 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
7976 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
7977 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
7978 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
7980 2014-06-25 Joseph Myers <joseph@codesourcery.com>
7982 * timezone/checktab.awk: Update from tzcode 2014e.
7983 * timezone/private.h: Likewise.
7984 * timezone/tzfile.h: Likewise.
7985 * timezone/zdump.c: Likewise.
7986 * timezone/zic.c: Likewise.
7988 * sysdeps/unix/sysv/linux/kernel-features.h
7989 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
7990 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
7991 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
7992 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
7993 Remove conditional code.
7995 2014-06-25 Will Newton <will.newton@linaro.org>
7997 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
7998 (_dl_arm_cap_flags): Add HWCAP2 values.
7999 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
8000 (_DL_HWCAP_COUNT): Increase to 37.
8001 (_DL_HWCAP_LAST): New define.
8002 (_DL_HWCAP2_LAST): New define.
8003 (_dl_procinfo): Add support for printing
8005 (_dl_string_hwcap): Use _dl_hwcap_string.
8007 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8009 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8011 2014-06-25 Joseph Myers <joseph@codesourcery.com>
8013 * README: Do not mention ports directory.
8015 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
8017 * sysdeps/unix/sysv/linux/futimes.c: Do not include
8018 <kernel-features.h>.
8019 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
8020 conditional variable definition.
8021 (__futimes): Update comment.
8022 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
8023 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
8026 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
8027 arguments close to 0.
8028 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
8030 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
8032 * math/auto-libm-test-in: Add more tests of exp10.
8033 * math/auto-libm-test-out: Regenerated.
8034 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8036 * sysdeps/unix/sysv/linux/kernel-features.h
8037 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
8038 * sysdeps/unix/sysv/linux/readv.c: Do not include
8039 <kernel-features.h>.
8040 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
8041 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
8042 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
8044 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
8046 * sysdeps/unix/sysv/linux/writev.c: Do not include
8047 <kernel-features.h>.
8048 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
8049 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
8050 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
8052 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
8055 2014-06-25 Will Newton <will.newton@linaro.org>
8057 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
8058 comment changes throughout the file. Remove checks
8059 for HAVE_*_H definitions that are not required.
8060 (__gen_tempname): Call abort if an unknown kind value is
8063 2014-06-25 Andreas Schwab <schwab@suse.de>
8066 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
8067 scalbln, scalblnf, scalblnl in libc.
8069 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8072 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
8073 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
8074 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
8076 2014-06-24 Roland McGrath <roland@hack.frob.com>
8078 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
8079 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
8080 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
8081 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
8083 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
8084 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
8086 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
8087 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
8088 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
8089 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
8090 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
8091 * sysdeps/x86/bits/pthreadtypes.h: ... here.
8092 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
8093 * sysdeps/x86/bits/semaphore.h: ... here.
8094 * sysdeps/x86/nptl/elide.h: Moved ...
8095 * sysdeps/x86/elide.h: ... here.
8096 * sysdeps/x86_64/nptl/Implies: File removed.
8097 * sysdeps/i386/nptl/Implies: File removed.
8099 2014-06-24 Joseph Myers <joseph@codesourcery.com>
8102 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
8103 return the argument for normal arguments with exponent below -64.
8104 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
8106 * math/auto-libm-test-in: Add another test of expm1.
8107 * math/auto-libm-test-out: Regenerated.
8110 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
8111 calling __erfcl for arguments at least 16.
8112 * math/auto-libm-test-in: Add more tests of erf.
8113 * math/auto-libm-test-out: Regenerated.
8115 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
8116 individual architectures.
8117 * sysdeps/unix/sysv/linux/configure: Regenerated.
8118 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
8119 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
8120 * sysdeps/unix/sysv/linux/powerpc/configure.ac
8121 (ldd_rewrite_script): Define variable.
8122 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
8123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
8125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
8127 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
8128 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
8129 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
8130 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
8131 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
8132 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
8133 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
8134 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
8136 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8139 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
8140 Rename member __data.d to __data.__elision_data.
8142 2014-06-24 Wilco <wdijkstr@arm.com>
8144 * NEWS: Add 16918 to fixed bug list.
8146 2014-06-24 Wilco <wdijkstr@arm.com>
8148 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
8150 2014-06-24 Wilco <wdijkstr@arm.com>
8152 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
8153 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
8154 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
8155 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
8156 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
8157 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
8158 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
8161 2014-06-24 Wilco <wdijkstr@arm.com>
8163 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
8165 2014-06-24 Wilco <wdijkstr@arm.com>
8167 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
8168 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
8169 * sysdeps/arm/fesetround.c (fesetround): Remove space.
8170 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
8172 2014-06-24 Wilco <wdijkstr@arm.com>
8175 * sysdeps/arm/feupdateenv.c (feupdateenv):
8176 Rewrite to reduce FPSCR accesses and fix return value.
8178 2014-06-24 Wilco <wdijkstr@arm.com>
8180 * sysdeps/arm/fclrexcpt.c (feclearexcept):
8181 Optimize to avoid unnecessary FPSCR writes.
8182 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
8183 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
8184 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
8185 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
8187 2014-06-24 Wilco <wdijkstr@arm.com>
8189 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
8190 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
8191 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
8192 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
8193 Call libc_fetestexcept_vfp.
8194 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
8195 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
8196 __SOFTFP__ ifdef so that they can be built for softfp.
8198 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8200 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
8201 argument type signed char.
8203 * Makerules (check-abi): Dump diff of symlist if the test
8206 2014-06-23 Roland McGrath <roland@hack.frob.com>
8208 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
8211 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
8212 Remove unused variable ST.
8214 2014-06-23 Joseph Myers <joseph@codesourcery.com>
8218 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
8219 small arguments before calling __expm1.
8220 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
8221 small arguments before calling __expm1f.
8222 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
8223 small arguments before calling __expm1l.
8224 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
8226 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
8227 * math/auto-libm-test-in: Add more cosh tests. Do not allow
8228 spurious underflow for some cosh tests.
8229 * math/auto-libm-test-out: Regenerated.
8230 * sysdeps/i386/fpu/libm-test-ulps: Update.
8233 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
8234 (__ieee754_y1): Set errno if return value overflows.
8235 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
8236 (__ieee754_y1f): Set errno if return value overflows.
8237 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
8238 (__ieee754_y1l): Set errno if return value overflows.
8239 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
8240 (__ieee754_y1l): Set errno if return value overflows.
8241 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
8242 * math/auto-libm-test-out: Regenerated.
8244 * math/gen-auto-libm-tests.c: Document use of
8245 ignore-zero-inf-sign.
8246 (input_flag_type): Add value flag_ignore_zero_inf_sign.
8247 (input_flags): Add ignore-zero-inf-sign.
8248 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
8249 * math/gen-libm-test.pl (generate_testfile): Handle
8250 ignore-zero-inf-sign.
8251 * math/auto-libm-test-in: Mark some cpow tests with
8252 ignore-zero-inf-sign and some with xfail-rounding.
8253 * math/auto-libm-test-out: Regenerated.
8254 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
8255 * sysdeps/i386/fpu/libm-test-ulps: Update.
8256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8259 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
8260 overflowing or underflowing operations take place with sign of
8262 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8263 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8264 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
8265 (__ieee754_pow): Recompute overflowing and underflowing results in
8266 original rounding mode.
8267 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
8268 (__powl_helper): Allow negative argument X and scale negated value
8269 as needed. Avoid passing value outside [-1, 1] to f2xm1.
8270 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
8271 overflowing or underflowing operations take place with sign of
8273 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
8275 * math/auto-libm-test-in: Add more tests of pow.
8276 * math/auto-libm-test-out: Regenerated.
8277 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
8278 (pow_tonearest_test_data): Remove.
8279 (pow_test_tonearest): Likewise.
8280 (pow_towardzero_test_data): Likewise.
8281 (pow_test_towardzero): Likewise.
8282 (pow_downward_test_data): Likewise.
8283 (pow_test_downward): Likewise.
8284 (pow_upward_test_data): Likewise.
8285 (pow_test_upward): Likewise.
8286 (main): Don't call removed functions.
8287 * sysdeps/i386/fpu/libm-test-ulps: Update.
8288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8290 2014-06-23 Roland McGrath <roland@hack.frob.com>
8292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
8294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
8295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
8298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
8300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
8301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
8303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
8304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
8306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
8308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
8310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
8312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
8314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
8316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
8318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
8322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
8324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
8326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
8328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
8330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
8331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
8333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
8335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
8337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
8338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
8340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
8341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
8343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
8344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
8346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
8347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
8349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
8350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
8352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
8353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
8355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
8356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
8357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
8359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
8361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
8362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
8364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
8368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
8374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
8376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
8377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
8380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
8381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
8382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
8386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
8388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
8390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
8393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
8395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
8396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
8399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
8402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
8404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
8406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
8408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
8409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
8411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
8412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
8414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
8415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
8417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
8418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
8419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
8420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
8422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
8423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
8425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
8426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
8428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
8430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
8434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
8436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
8438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
8440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
8441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
8443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
8444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
8446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
8447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
8449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
8451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
8453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
8455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
8457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
8459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
8461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
8462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
8464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
8466 2014-06-23 Will Newton <will.newton@linaro.org>
8467 Wilco <wdijkstr@arm.com>
8469 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
8470 implementation. Include get-rounding-mode.h.
8471 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
8472 [!libc_feholdsetround_noex_ctx]: Define
8473 libc_feholdsetround_noex_ctx.
8474 [!libc_feholdsetround_noexf_ctx]: Define
8475 libc_feholdsetround_noexf_ctx.
8476 [!libc_feholdsetround_noexl_ctx]: Define
8477 libc_feholdsetround_noexl_ctx.
8478 (libc_feholdsetround_ctx): New function.
8479 (libc_feresetround_ctx): New function.
8480 (libc_feholdsetround_noex_ctx): New function.
8481 (libc_feresetround_noex_ctx): New function.
8483 2014-06-23 Roland McGrath <roland@hack.frob.com>
8485 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
8486 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
8487 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
8488 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
8489 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
8490 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
8492 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
8493 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
8494 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
8495 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
8496 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
8497 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
8498 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
8499 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
8500 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
8501 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
8502 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
8504 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
8506 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
8507 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
8508 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
8509 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
8510 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
8512 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
8513 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
8514 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
8515 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
8516 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
8517 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
8518 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
8519 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
8521 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
8522 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
8524 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
8525 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
8526 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
8527 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
8529 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
8530 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
8531 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
8532 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
8533 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
8534 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
8535 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
8536 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
8537 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
8538 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
8540 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
8542 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
8543 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
8544 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
8545 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
8546 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
8547 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
8548 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
8549 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
8550 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
8551 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
8552 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
8553 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
8554 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
8556 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
8557 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
8558 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
8559 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
8560 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
8561 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
8563 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
8564 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
8565 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
8566 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
8567 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
8569 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
8570 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
8571 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
8572 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
8573 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
8574 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
8575 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
8576 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
8577 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
8578 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
8579 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
8580 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
8581 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
8582 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
8583 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
8584 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
8585 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
8586 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
8587 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
8588 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
8589 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
8590 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
8591 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
8592 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
8593 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
8594 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
8595 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
8596 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
8598 2014-06-23 Joseph Myers <joseph@codesourcery.com>
8600 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
8601 (FALLOC_FL_COLLAPSE_RANGE): New macro.
8602 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
8603 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
8604 (IPV6_PMTUDISC_INTERFACE): Likewise.
8605 (IPV6_PMTUDISC_OMIT): Likewise.
8607 2014-06-23 Andreas Schwab <schwab@suse.de>
8609 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
8610 Remove unused errout label.
8612 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8614 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
8615 macro: hardware supports Vector Crypto instructions.
8617 2014-06-23 Will Newton <will.newton@linaro.org>
8619 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
8620 rather than __builtin_expect.
8622 * elf/dl-lookup.c (undefined_msg): Remove variable.
8623 (_dl_lookup_symbol_x): Replace undefined_msg with string
8626 * elf/dl-lookup.c (do_lookup_unique): New function.
8627 (do_lookup_x): Move STB_GNU_UNIQUE handling code
8628 to a separate function.
8630 2014-06-23 Andreas Schwab <schwab@suse.de>
8633 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
8634 before reading the next line.
8636 2014-06-23 Will Newton <will.newton@linaro.org>
8638 * test-skeleton.c (signal_handler): Use printf and %m
8639 rather than perror. Use printf rather than fprintf to
8640 stderr. Use puts rather than fputs to stderr.
8643 2014-06-22 Ludovic Courtès <ludo@gnu.org>
8645 * nscd/nscd.c (thread_info_t): Remove typedef.
8646 (thread_info): Remove variable.
8648 2014-06-21 Allan McRae <allan@archlinux.org>
8650 * NEWS: Mention CVE-2014-4043.
8652 2014-06-20 Roland McGrath <roland@hack.frob.com>
8654 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
8655 * nptl/smp.h: ... here.
8657 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
8659 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
8660 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
8661 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
8662 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
8664 * nptl/allocatestack.c: Include <stack-aliasing.h>.
8665 * nptl/stack-aliasing.h: New file.
8666 * sysdeps/i386/i686/stack-aliasing.h: New file.
8667 * sysdeps/i386/i686/nptl/Makefile: File removed.
8668 * sysdeps/x86_64/stack-aliasing.h: New file.
8669 * sysdeps/x86_64/nptl/Makefile
8670 (CFLAGS-pthread_create.c): Variable removed.
8672 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
8673 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
8675 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
8676 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
8679 2014-06-21 Joseph Myers <joseph@codesourcery.com>
8681 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8682 (__ASSUME_SIGFRAME_V2): Remove macro.
8683 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
8684 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
8685 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
8686 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
8687 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
8688 Declare as function. Remove conditional macro definitions.
8689 (__default_rt_sa_restorer): Likewise.
8690 (__default_sa_restorer_v1): Remove declaration.
8691 (__default_sa_restorer_v2): Likewise.
8692 (__default_rt_sa_restorer_v1): Likewise.
8693 (__default_rt_sa_restorer_v2): Likewise.
8694 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
8695 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
8696 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
8698 2014-06-20 Roland McGrath <roland@hack.frob.com>
8700 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
8701 (libpthread-routines): Add sysdep.
8702 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
8703 * sysdeps/unix/sysv/linux/sparc/Versions
8704 (libpthread: GLIBC_2.3.3): New version set.
8705 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
8706 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
8707 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
8708 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
8709 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
8710 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
8712 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
8713 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
8714 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
8715 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
8716 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
8717 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
8718 * sysdeps/sparc/nptl/sem_init.c: ... here.
8719 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
8720 * sysdeps/sparc/nptl/sem_post.c: ... here.
8721 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
8722 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
8723 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
8724 * sysdeps/sparc/nptl/sem_wait.c: ... here.
8725 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
8726 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
8727 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
8728 (libpthread-routines): Add cpu_relax.
8729 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
8731 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
8732 (librt: GLIBC_2.3.3): New version set.
8733 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
8734 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
8735 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
8736 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
8737 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
8738 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
8739 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
8740 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
8742 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
8743 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
8744 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
8745 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
8746 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
8747 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
8748 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
8749 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
8750 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
8751 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
8753 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
8755 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
8757 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
8759 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
8761 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
8763 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
8765 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
8767 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
8769 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
8771 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
8773 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
8775 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
8776 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
8777 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
8778 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
8779 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
8780 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
8781 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
8782 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
8783 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
8784 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
8785 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
8787 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
8788 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
8789 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
8790 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
8791 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
8793 2014-06-20 Joseph Myers <joseph@codesourcery.com>
8795 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
8796 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
8797 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
8798 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
8799 * nscd/nscd.c: Likewise.
8800 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
8801 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
8802 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
8803 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
8805 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
8806 <kernel-features.h>.
8807 (init_mq_netlink): Remove conditional have_sock_cloexec
8808 definitions. Remove code conditional on have_sock_cloexec < 0.
8809 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
8810 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
8811 * sysdeps/unix/sysv/linux/opensock.c: Do not include
8812 <kernel-features.h>.
8813 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
8814 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
8816 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
8818 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8819 Add tests for memset_chk and memset.
8821 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
8824 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
8827 * elf/tst-dl-iter-static.c: New file.
8828 * elf/Makefile (tests-static): Add tst-dl-iter-static.
8830 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
8833 2014-06-20 Joseph Myers <joseph@codesourcery.com>
8835 * sysdeps/unix/sysv/linux/kernel-features.h
8836 (__ASSUME_F_GETOWN_EX): Remove macro.
8837 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
8838 <kernel-features.h>.
8839 (miss_F_GETOWN_EX): Remove variable or macro.
8840 (do_fcntl): Do not check miss_F_GETOWN_EX.
8841 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
8843 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
8845 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
8846 [!__ASSUME_AT_RANDOM]: Remove conditional code.
8847 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
8849 * sysdeps/unix/sysv/linux/kernel-features.h
8850 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
8851 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
8852 [ADJ_OFFSET_SS_READ]: Make code unconditional.
8853 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
8855 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
8858 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
8859 Fix calculation of the symbol's value.
8860 * sysdeps/arm/tst-armtlsdescloc.c: New file.
8861 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
8862 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
8863 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
8864 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
8865 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
8866 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
8867 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
8868 (modules-names): Add `tst-armtlsdescmod',
8869 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
8870 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
8871 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
8872 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
8873 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
8874 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
8875 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
8876 ($(objpfx)tst-armtlsdescloc): New dependency.
8877 ($(objpfx)tst-armtlsdescextnow): Likewise.
8878 ($(objpfx)tst-armtlsdescextlazy): Likewise.
8879 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
8881 * sysdeps/arm/configure: Regenerate.
8883 2014-06-20 Joseph Myers <joseph@codesourcery.com>
8885 * include/fcntl.h (__atfct_seterrno): Remove prototype.
8886 (__atfct_seterrno_2): Likewise.
8887 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
8888 <kernel-features.h>.
8889 (__ASSUME_ATFCTS): Do not undefine and redefine.
8890 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
8891 (__have_atfcts): Remove conditional definition.
8892 (__fxstatat([__NR_fstatat64]: Make code unconditional.
8893 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
8894 unreachable if [__ASSUME_ATFCTS].
8895 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
8896 not undefine and redefine.
8897 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
8898 <kernel-features.h>.
8899 (faccessat) [__NR_faccessat]: Make code unconditional.
8900 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
8901 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
8902 <kernel-features.h>.
8903 (fchmodat) [__NR_fchmodat]: Make code unconditional.
8904 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
8905 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
8906 <kernel-features.h>.
8907 (fchownat) [__NR_fchownat]: Make code unconditional.
8908 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
8909 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
8910 <kernel-features.h>.
8911 (futimesat) [__NR_futimesat]: Make code unconditional.
8912 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
8913 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8914 <kernel-features.h>.
8915 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
8916 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8917 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8918 <kernel-features.h>.
8919 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
8920 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
8921 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
8922 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8923 <kernel-features.h>.
8924 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
8925 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8926 * sysdeps/unix/sysv/linux/linkat.c: Do not include
8927 <kernel-features.h>.
8928 (linkat) [__NR_linkat]: Make code unconditional.
8929 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8930 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
8931 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
8932 <kernel-features.h>.
8933 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
8934 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
8935 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
8936 <kernel-features.h>.
8937 (mkdirat) [__NR_mkdirat]: Make code unconditional.
8938 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
8939 * sysdeps/unix/sysv/linux/openat.c: Do not include
8940 <kernel-features.h>.
8941 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
8942 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
8943 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
8944 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
8945 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
8946 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
8947 <kernel-features.h>.
8948 (readlinkat) [__NR_readlinkat]: Make code unconditional.
8949 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
8950 result of INLINE_SYSCALL directly, not via int variable.
8951 * sysdeps/unix/sysv/linux/renameat.c: Do not include
8952 <kernel-features.h>.
8953 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
8954 (renameat) [__NR_renameat]: Make code unconditional.
8955 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
8956 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
8957 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
8958 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
8959 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
8960 (__ASSUME_ATFCTS): Do not undefine and redefine.
8961 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
8962 <kernel-features.h>.
8963 (symlinkat) [__NR_symlinkat]: Make code unconditional.
8964 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8965 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
8966 <kernel-features.h>.
8967 (unlinkat) [__NR_unlinkat]: Make code unconditional.
8968 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8969 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
8970 (__ASSUME_ATFCTS): Do not undefine and redefine.
8971 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8972 <kernel-features.h>.
8973 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
8974 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8975 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
8976 <kernel-features.h>.
8977 (__xmknodat) [__NR_mknodat]: Make code unconditional.
8978 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
8980 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
8982 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
8984 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
8987 * posix/regcomp.c (parse_reg_exp): Deallocate partially
8988 constructed tree before returning error.
8989 * posix/bug-regexp36.c: Expand test case.
8991 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
8994 * math/libm-test.inc (scalbln_test_date):
8995 Add errno expectations.
8996 * math/w_scalblnf.c: New File.
8997 Add wrapper which checks for setting errno to ERANGE.
8998 Add weak_alias for corresponding scalbln function.
8999 * math/w_scalbln.c: Likewise.
9000 * math/w_scalblnl.c: Likewise.
9001 * math/Makefile (libm-calls): Add w_scalbln.
9002 * sysdeps/ieee754/flt-32/s_scalblnf.c:
9003 Remove weak_alias for corresponding scalbln function.
9004 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9005 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9006 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9007 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9008 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
9009 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
9010 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
9011 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
9012 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
9013 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
9014 Remove long_double_symbol for scalblnl function in libm, libc.
9015 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
9016 Add wrapper which checks for setting errno to ERANGE.
9017 Add long_double_symbol for scalblnl function in libm, libc.
9018 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
9019 Remove long_double_symbol for scalblnl in libm.
9020 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
9021 Add wrapper which checks for setting errno to ERANGE.
9022 Add long_double_symbol for scalblnl function in libm.
9023 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
9024 Do not use wrapper because of own implementation.
9026 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
9028 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
9029 3 bytes for __pad1 for x32.
9030 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
9032 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
9033 H.J. Lu <hongjiu.lu@intel.com>
9035 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
9036 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
9037 * sysdeps/x86_64/multiarch/memset.S: Likewise.
9038 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9039 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
9041 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
9044 * posix/regcomp.c (parse_expression): Deallocate partially
9045 constructed tree before returning error.
9046 * posix/Makefile.c (tests): Add bug-regex36.
9047 (generated): Add bug-regex36.mtrace.
9048 (tests-special): Add $(objpfx)bug-regex36-mem.out
9049 (bug-regex36-ENV): New variable.
9050 ($(objpfx)bug-regex36-mem.out): New rule.
9051 * posix/bug-regex36.c: New file.
9053 2014-06-19 Will Newton <will.newton@linaro.org>
9055 * malloc/malloc.c (systrim): If extra is zero then return
9058 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9060 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
9062 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
9064 * sysdeps/aarch64/strchr.S: New file.
9066 2014-06-18 Joseph Myers <joseph@codesourcery.com>
9069 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
9070 from arguments -2 or below.
9071 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9072 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
9074 2014-06-18 Andreas Schwab <schwab@suse.de>
9077 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
9078 of a bracket expr not to run off the end of the string.
9079 * posix/Makefile (tests): Add tst-fnmatch3.
9080 * posix/tst-fnmatch3.c: New file.
9082 2014-06-18 Joseph Myers <joseph@codesourcery.com>
9084 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
9085 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9086 [$(cross-compiling) = no]: Likewise.
9087 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9088 [$(cross-compiling) = no]: Likewise.
9090 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9093 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
9094 double, adjusted for any remainder from the high double.
9095 * math/libm-test.inc (nearbyint): Add tests.
9098 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9100 * nptl/sysdeps/powerpc/Makefile: Moved ...
9101 * sysdeps/powerpc/nptl/Makefile: ... here.
9102 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
9103 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
9104 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
9105 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
9106 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
9107 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
9108 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
9109 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
9110 * nptl/sysdeps/powerpc/tls.h: Moved ...
9111 * sysdeps/powerpc/nptl/tls.h: ... here.
9113 2014-06-16 Joseph Myers <joseph@codesourcery.com>
9116 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
9117 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
9118 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
9119 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
9120 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
9121 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
9122 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
9123 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
9124 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
9126 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
9128 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
9130 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
9132 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
9135 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
9138 2014-06-16 Florian Weimer <fweimer@redhat.com>
9141 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
9142 non-executed part of the test.
9144 2014-06-16 Andreas Schwab <schwab@suse.de>
9146 * string/bits/string2.h (strdup, strndup): Update feature guard.
9148 2014-06-14 David S. Miller <davem@davemloft.net>
9150 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9152 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
9154 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
9155 that was previously under [RESET_PID].
9156 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
9158 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
9159 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
9160 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
9161 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9162 (__libc_vfork): New strong alias.
9163 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
9165 2014-06-14 Andi Kleen <ak@linux.intel.com>
9167 * sysdeps/generic/elide.h: New file.
9169 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9171 * Makefile (installed-headers): Adjust path of pthread.h header.
9173 2014-06-13 Roland McGrath <roland@hack.frob.com>
9175 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
9176 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
9177 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
9178 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
9180 * nptl/sysdeps/s390/Makefile: Moved ...
9181 * sysdeps/s390/nptl/Makefile: ... here.
9182 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
9183 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
9184 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
9185 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
9186 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
9187 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
9188 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
9189 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
9190 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
9191 * sysdeps/s390/nptl/pthreaddef.h: ... here.
9192 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
9193 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
9194 * nptl/sysdeps/s390/tls.h: Moved ...
9195 * sysdeps/s390/nptl/tls.h: ... here.
9197 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
9198 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
9200 2014-06-13 David S. Miller <davem@davemloft.net>
9202 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
9203 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
9204 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
9205 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
9206 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
9207 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
9208 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
9209 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
9210 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
9211 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
9212 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
9213 Remove RESET_PID cpp guards.
9214 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
9215 Remove RESET_PID cpp guards.
9216 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
9218 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
9220 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
9223 2014-06-13 Andi Kleen <ak@linux.intel.com>
9225 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
9226 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
9227 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
9228 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
9229 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
9230 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
9231 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
9232 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
9233 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
9234 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
9235 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
9236 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
9237 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
9238 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
9239 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
9240 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
9241 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
9242 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
9243 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
9244 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
9246 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
9247 (pthread_rwlock_rdlock): Add elision.
9248 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
9249 (pthread_rwlock_wrlock): Add elision.
9250 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
9251 (pthread_rwlock_trywrlock): Add elision.
9252 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
9253 (pthread_rwlock_tryrdlock): Add elision.
9254 * nptl/pthread_rwlock_unlock.c: Include elide.h.
9255 (pthread_rwlock_tryrdlock): Add elision unlock.
9256 * nptl/sysdeps/pthread/pthread.h:
9257 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
9258 (PTHREAD_RWLOCK_INITIALIZER,
9259 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
9260 Handle new elision field.
9261 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
9262 * sysdeps/arm/nptl/bits/pthreadtypes.h
9263 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9264 * sysdeps/sh/nptl/bits/pthreadtypes.h
9265 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9266 * sysdeps/tile/nptl/bits/pthreadtypes.h
9267 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9268 * sysdeps/a/nptl/bits/pthreadtypes.h
9269 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9270 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
9271 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9272 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
9273 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9274 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
9275 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9276 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
9277 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9278 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
9279 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9280 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
9281 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9282 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
9283 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9284 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
9285 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9286 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
9287 (elision_init): Set try_xbegin to zero when no RTM.
9288 * sysdeps/x86/nptl/bits/pthreadtypes.h
9289 (pthread_rwlock_t): Change __pad1 to __rwelision.
9290 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9292 2014-06-13 Andi Kleen <ak@linux.intel.com>
9294 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
9295 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
9296 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
9297 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
9299 2014-06-13 Meador Inge <meadori@codesourcery.com>
9302 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
9303 that the cached result has been set before returning it.
9305 2014-06-12 Roland McGrath <roland@hack.frob.com>
9307 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
9308 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
9309 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
9310 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
9311 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
9312 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
9314 * nptl/sysdeps/sparc/Makefile: Moved ...
9315 * sysdeps/sparc/nptl/Makefile: ... here.
9316 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
9317 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
9318 * nptl/sysdeps/sparc/tls.h: Moved ...
9319 * sysdeps/sparc/nptl/tls.h: ... here.
9320 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
9321 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
9322 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
9323 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
9324 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
9325 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
9326 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
9327 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
9328 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
9329 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
9330 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
9331 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
9332 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
9333 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
9334 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
9335 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
9336 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
9337 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
9339 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
9340 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
9342 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
9343 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
9345 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
9346 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
9349 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
9351 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
9352 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
9354 * sysdeps/pthread/posix-timer.h: Include <list.h>.
9355 (struct list_links): Type removed.
9356 (struct thread_node, struct timer_node): Replace struct list_links
9357 with struct list_head.
9358 (list_unlink_ip): Likewise.
9359 * sysdeps/pthread/timer_routines.c
9360 (timer_free_list, thread_free_list, thread_active_list): Likewise.
9361 (list_append, list_insbefore): Likewise.
9362 (list_init): Function removed.
9363 (thread_init, init_module): Use INIT_LIST_HEAD instead.
9364 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
9365 * sysdeps/pthread/Makefile: ... here, new file.
9367 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
9368 * sysdeps/nptl/Implies: ... here.
9369 * sysdeps/unix/sysv/linux/Implies: Add nptl.
9370 * nptl/sysdeps/pthread/list.h: Moved ...
9371 * include/list.h: ... here.
9372 * nptl/sysdeps/pthread/createthread.c: Moved ...
9373 * nptl/createthread.c: ... here.
9374 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
9375 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
9376 * nptl/pt-longjmp.c: ... here.
9377 * nptl/sysdeps/pthread/Makefile: Moved ...
9378 * sysdeps/nptl/Makefile: ... here.
9379 * nptl/sysdeps/pthread/Subdirs: Moved ...
9380 * sysdeps/nptl/Subdirs: ... here.
9381 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
9382 * sysdeps/nptl/aio_misc.h: ... here.
9383 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
9384 * sysdeps/nptl/bits/libc-lock.h: ... here.
9385 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
9386 * sysdeps/nptl/bits/libc-lockP.h: ... here.
9387 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
9388 * sysdeps/nptl/bits/stdio-lock.h: ... here.
9389 * nptl/sysdeps/pthread/configure: Moved ...
9390 * sysdeps/nptl/configure: ... here.
9391 * nptl/sysdeps/pthread/configure.ac: Moved ...
9392 * sysdeps/nptl/configure.ac: ... here.
9393 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
9394 * sysdeps/nptl/gai_misc.h: ... here.
9395 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
9396 * sysdeps/nptl/librt-cancellation.c: ... here.
9397 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
9398 * sysdeps/nptl/malloc-machine.h: ... here.
9399 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
9400 * sysdeps/nptl/pthread-functions.h: ... here.
9401 * nptl/sysdeps/pthread/pthread.h: Moved ...
9402 * sysdeps/nptl/pthread.h: ... here.
9403 * nptl/sysdeps/pthread/setxid.h: Moved ...
9404 * sysdeps/nptl/setxid.h: ... here.
9405 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
9406 * sysdeps/nptl/sigfillset.c: ... here.
9407 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
9408 * sysdeps/nptl/tcb-offsets.h: ... here.
9409 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
9410 * sysdeps/nptl/tst-mqueue8x.c: ... here.
9411 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
9412 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
9413 * nptl/sysdeps/pthread/allocalim.h: Moved ...
9414 * sysdeps/pthread/allocalim.h: ... here.
9415 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
9416 * sysdeps/pthread/bits/sigthread.h: ... here.
9417 * nptl/sysdeps/pthread/flockfile.c: Moved ...
9418 * sysdeps/pthread/flockfile.c: ... here.
9419 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
9420 * sysdeps/pthread/ftrylockfile.c: ... here.
9421 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
9422 * sysdeps/pthread/funlockfile.c: ... here.
9423 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
9424 * sysdeps/pthread/posix-timer.h: ... here.
9425 * nptl/sysdeps/pthread/timer_create.c: Moved ...
9426 * sysdeps/pthread/timer_create.c: ... here.
9427 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
9428 * sysdeps/pthread/timer_delete.c: ... here.
9429 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
9430 * sysdeps/pthread/timer_getoverr.c: ... here.
9431 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
9432 * sysdeps/pthread/timer_gettime.c: ... here.
9433 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
9434 * sysdeps/pthread/timer_routines.c: ... here.
9435 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
9436 * sysdeps/pthread/timer_settime.c: ... here.
9437 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
9438 * sysdeps/pthread/tst-timer.c: ... here.
9439 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
9440 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
9442 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
9443 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
9445 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
9446 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
9447 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
9448 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
9449 Update #include target.
9450 * nptl/sysdeps/i386/i686/Makefile: Moved ...
9451 * sysdeps/i386/i686/nptl/Makefile: ... here.
9452 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
9453 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
9454 Update #include target.
9455 * nptl/sysdeps/i386/i686/tls.h: Moved ...
9456 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
9457 * nptl/sysdeps/i386/Makefile: Moved ...
9458 * sysdeps/i386/nptl/Makefile: ... here.
9459 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
9460 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
9461 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
9462 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
9463 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
9464 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
9465 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
9466 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
9467 * sysdeps/i386/nptl/pthreaddef.h: ... here.
9468 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
9469 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
9470 * nptl/sysdeps/i386/tls.h: Moved ...
9471 * sysdeps/i386/nptl/tls.h: ... here.
9473 * sysdeps/sh/Makefile [$(subdir) = csu]
9474 (gen-as-const-headers): Add tcb-offsets.sym.
9475 * nptl/sysdeps/sh/Makefile: File removed.
9476 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
9477 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
9478 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
9479 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
9480 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
9481 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
9482 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
9483 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
9484 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
9485 * sysdeps/sh/nptl/pthreaddef.h: ... here.
9486 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
9487 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
9488 * nptl/sysdeps/sh/tls.h: Moved ...
9489 * sysdeps/sh/nptl/tls.h: ... here.
9490 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
9491 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
9492 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
9493 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
9494 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
9495 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
9496 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
9497 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
9498 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
9499 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
9500 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
9501 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
9502 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
9503 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
9504 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
9505 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
9506 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
9507 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
9508 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
9509 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
9510 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
9511 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
9512 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
9513 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
9514 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
9516 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
9517 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
9519 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
9520 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
9521 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
9522 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
9523 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
9524 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
9525 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
9526 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
9527 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
9528 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
9529 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
9530 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
9531 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
9532 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
9533 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
9534 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
9535 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
9536 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
9537 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
9539 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
9541 * posix/spawn_faction_addopen.c: Include string.h.
9543 2014-06-11 Roland McGrath <roland@hack.frob.com>
9545 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
9546 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
9547 * nptl/sysdeps/x86_64/Makefile: Moved ...
9548 * sysdeps/x86_64/nptl/Makefile: ... here.
9549 * nptl/sysdeps/x86_64/configure: Moved ...
9550 * sysdeps/x86_64/nptl/configure: ... here.
9551 * nptl/sysdeps/x86_64/configure.ac: Moved ...
9552 * sysdeps/x86_64/nptl/configure.ac: ... here.
9553 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
9554 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
9555 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
9556 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
9557 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
9558 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
9559 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
9560 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
9561 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
9562 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
9563 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
9564 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
9565 * nptl/sysdeps/x86_64/tls.h: Moved ...
9566 * sysdeps/x86_64/nptl/tls.h: ... here.
9567 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
9568 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
9569 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
9570 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
9572 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
9574 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9576 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9578 2014-06-11 Joseph Myers <joseph@codesourcery.com>
9580 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
9582 [POSIX] (off_t): Likewise.
9583 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
9584 [POSIX] (S_ISBLK): Require macro.
9585 [POSIX] (S_ISCHR): Likewise.
9586 [POSIX] (S_ISDIR): Likewise.
9587 [POSIX] (S_ISFIFO): Likewise.
9588 [POSIX] (S_ISREG): Likewise.
9589 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
9591 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
9593 [POSIX] (time_t): Likewise.
9594 [POSIX] (timer_t): Likewise.
9596 2014-06-11 Florian Weimer <fweimer@redhat.com>
9599 * posix/spawn_int.h (struct __spawn_action): Make the path string
9600 non-const to support deallocation.
9601 * posix/spawn_faction_addopen.c
9602 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
9603 * posix/spawn_faction_destroy.c
9604 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
9605 path in all spawn_do_open actions.
9606 * posix/tst-spawn.c (do_test): Exercise the copy operation in
9607 posix_spawn_file_actions_addopen.
9609 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
9611 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
9612 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
9613 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
9614 conditional code always true.
9615 (__libc_vfork): New alias.
9617 2014-06-11 Roland McGrath <roland@hack.frob.com>
9619 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9620 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
9622 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
9624 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9625 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
9627 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
9628 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
9630 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9631 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
9633 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9635 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
9636 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
9637 multiarch strcmp for PPC64.
9638 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
9639 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
9640 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
9641 multiarch optimizations.
9642 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9643 (__libc_ifunc_impl_list): Likewise.
9645 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9647 * benchtests/scripts/validate_benchout.py: New script.
9648 * benchtests/Makefile (bench-func): Call it.
9649 * benchtests/scripts/benchout.schema.json: New file.
9651 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
9653 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
9654 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
9655 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
9656 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
9657 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
9658 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
9659 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
9660 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
9661 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
9662 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
9663 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
9664 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
9665 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
9666 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
9667 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
9668 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
9669 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
9671 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
9673 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
9675 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
9676 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
9678 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
9680 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
9682 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
9684 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
9686 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
9687 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
9689 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
9691 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
9693 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
9695 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
9697 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
9698 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
9700 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
9702 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
9704 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
9706 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
9708 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
9710 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
9712 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
9713 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
9715 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
9717 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
9719 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
9721 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
9723 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
9725 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
9727 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
9728 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
9730 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
9732 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
9734 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
9736 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
9738 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
9739 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
9741 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
9743 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
9745 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
9746 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
9748 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
9749 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
9751 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
9753 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
9755 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
9757 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
9759 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
9761 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
9763 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
9764 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
9766 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
9768 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
9770 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
9772 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
9773 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
9774 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
9775 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
9776 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
9778 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
9780 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
9781 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
9782 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
9783 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
9784 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
9785 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
9786 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
9787 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
9788 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
9789 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
9790 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
9791 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
9792 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
9794 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
9795 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
9797 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
9798 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
9799 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
9800 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
9802 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
9803 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
9804 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
9805 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
9806 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
9807 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
9808 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
9810 2014-06-10 Wilco <wdijkstr@arm.com>
9812 * math/test-fenv-return.c: New file.
9813 * math/Makefile: Add new test test-fenv-return.
9815 2014-06-10 Joseph Myers <joseph@codesourcery.com>
9818 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
9820 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
9821 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
9822 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
9823 0.0L for an argument of 1.0L.
9824 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
9826 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
9827 value when x - 1 is zero.
9828 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
9829 * sysdeps/i386/fpu/libm-test-ulps: Update.
9830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9832 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
9835 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
9837 2014-06-09 Roland McGrath <roland@hack.frob.com>
9839 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
9840 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
9842 2014-06-09 Roland McGrath <roland@hack.frob.com>
9844 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9845 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
9847 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9848 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
9850 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9851 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
9853 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9854 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
9856 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
9857 if not already defined.
9858 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
9859 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
9860 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
9861 (TLS_INIT_TP): Use it.
9862 (TLS_DEFINE_INIT_TP): New macro.
9863 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
9865 2014-06-09 Joseph Myers <joseph@codesourcery.com>
9867 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
9869 [POSIX] (IXANY): Likewise.
9870 [POSIX] (OLCUC): Likewise.
9871 [POSIX || POSIX2008] (CBAUD): Do not allow.
9872 [POSIX || POSIX2008] (DEFECHO): Likewise.
9873 [POSIX || POSIX2008] (ECHOCTL): Likewise.
9874 [POSIX || POSIX2008] (ECHOKE): Likewise.
9875 [POSIX || POSIX2008] (ECHOPRT): Likewise.
9876 [POSIX || POSIX2008] (EXTA): Likewise.
9877 [POSIX || POSIX2008] (EXTB): Likewise.
9878 [POSIX || POSIX2008] (FLUSHO): Likewise.
9879 [POSIX || POSIX2008] (LOBLK): Likewise.
9880 [POSIX || POSIX2008] (PENDIN): Likewise.
9881 [POSIX || POSIX2008] (SWTCH): Likewise.
9882 [POSIX || POSIX2008] (VDISCARD): Likewise.
9883 [POSIX || POSIX2008] (VDSUSP): Likewise.
9884 [POSIX || POSIX2008] (VLNEXT): Likewise.
9885 [POSIX || POSIX2008] (VREPRINT): Likewise.
9886 [POSIX || POSIX2008] (VSTATUS): Likewise.
9887 [POSIX || POSIX2008] (VWERASE): Likewise.
9888 (B*): Change to B[0123456789]*.
9889 * conform/data/time.h-data [POSIX || UNIX98]
9890 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
9891 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9892 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
9893 [POSIX] (tm_*): Do not allow.
9895 2014-06-07 Joseph Myers <joseph@codesourcery.com>
9897 * Makefile (install): Don't set LANGUAGE.
9898 * Makefile.in (install): Likewise.
9899 * assert/Makefile (test-assert-ENV): Remove variable.
9900 (test-assert-perr-ENV): Likewise.
9901 * elf/Makefile (neededtest4-ENV): Likewise.
9902 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9903 [$(cross-compiling) = no]: Don't set LANGUAGE.
9904 * io/ftwtest-sh (LANG): Remove variable.
9905 * libio/Makefile (tst-widetext-ENV): Likewise.
9906 * manual/install.texi (Running make install): Don't refer to
9907 environment settings for make install.
9908 * INSTALL: Regenerated.
9909 * nptl/tst-tls6.sh: Don't set LANG.
9910 * posix/globtest.sh (LANG): Remove variable.
9911 * string/Makefile (tester-ENV): Likewise.
9912 (inl-tester-ENV): Likewise.
9913 (noinl-tester-ENV): Likewise.
9914 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9915 [$(cross-compiling) = no]: Don't set LANGUAGE.
9916 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
9917 without explicit environment settings.
9919 2014-06-06 Roland McGrath <roland@hack.frob.com>
9921 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
9922 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
9923 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
9924 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
9926 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
9928 * crypt/crypt-private.h [DOS]: Add some includes taken from the
9929 other files in the crypt directory.
9930 * crypt/crypt.c: Remove duplicate includes.
9931 * crypt/crypt-entry.c: Likewise.
9932 * crypt/crypt_util.c: Likewise.
9934 2014-06-06 Joseph Myers <joseph@codesourcery.com>
9936 * Makeconfig (run-program-env): New variable.
9937 (run-program-prefix-before-env): Likewise.
9938 (run-program-prefix-after-env): Likewise.
9939 (run-program-prefix): Define in terms of new variables.
9940 (built-program-cmd-before-env): New variable.
9941 (built-program-cmd-after-env): Likewise.
9942 (built-program-cmd): Define in terms of new variables.
9943 (test-program-prefix-before-env): New variable.
9944 (test-program-prefix-after-env): Likewise.
9945 (test-program-prefix): Define in terms of new variables.
9946 (test-program-cmd-before-env): New variable.
9947 (test-program-cmd-after-env): Likewise.
9948 (test-program-cmd): Define in terms of new variables.
9949 * Rules (make-test-out): Use $(run-program-env).
9950 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
9951 (help): Do not mention environment variables. Mention
9952 --timeoutfactor option.
9953 (timeoutfactor): New variable.
9954 (blacklist_exports): Remove function.
9955 (exports): Remove variable.
9956 (command): Do not include ${exports}.
9957 * manual/install.texi (Configuring and compiling): Do not mention
9958 test wrappers preserving environment variables. Mention that last
9959 assignment to a variable must take precedence.
9960 * INSTALL: Regenerated.
9961 * benchtests/Makefile (run-bench): Use $(run-program-env).
9962 * catgets/Makefile ($(objpfx)test1.cat): Use
9963 $(built-program-cmd-before-env), $(run-program-env) and
9964 $(built-program-cmd-after-env).
9965 ($(objpfx)test2.cat): Do not specify environment variables
9967 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
9968 $(run-program-env) and $(built-program-cmd-after-env).
9969 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
9970 $(run-program-env) and $(test-program-cmd-after-env).
9971 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
9973 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
9974 run_program_env and test_program_cmd_after_env arguments.
9975 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
9976 * elf/tst-pathopt.sh: Use run_program_env argument.
9977 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
9978 $(test-wrapper-env) and $(run-program-env).
9979 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
9980 run_program_env arguments.
9981 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
9982 * intl/Makefile ($(objpfx)tst-gettext.out): Use
9983 $(test-program-prefix-before-env), $(run-program-env) and
9984 $(test-program-prefix-after-env).
9985 ($(objpfx)tst-gettext2.out): Likewise.
9986 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
9987 run_program_env and test_program_prefix_after_env arguments.
9988 * intl/tst-gettext2.sh: Likewise.
9989 * intl/tst-gettext4.sh: Do not set environment variables
9991 * intl/tst-gettext6.sh: Likewise.
9992 * intl/tst-translit.sh: Likewise.
9993 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
9994 $(test-program-prefix-before-env), $(run-program-env) and
9995 $(test-program-prefix-after-env).
9996 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
9997 run_program_env and test_program_prefix_after_env arguments.
9998 * math/Makefile (run-regen-ulps): Use $(run-program-env).
9999 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
10000 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
10001 explicitly with each use of ${test_wrapper_env}.
10002 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
10003 $(test-program-prefix-before-env), $(run-program-env) and
10004 $(test-program-prefix-after-env).
10005 * posix/tst-getconf.sh: Do not set environment variables
10007 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
10008 run_program_env and test_program_prefix_after_env arguments.
10009 * stdio-common/tst-printf.sh: Do not set environment variables
10011 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
10012 $(test-program-prefix-before-env), $(run-program-env) and
10013 $(test-program-prefix-after-env).
10014 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
10015 run_program_env and test_program_prefix_after_env arguments.
10016 Split $test calls into $test_pre and $test.
10017 * timezone/Makefile (build-testdata): Use
10018 $(built-program-cmd-before-env), $(run-program-env) and
10019 $(built-program-cmd-after-env).
10021 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10023 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
10024 strlen for non SHARED builds.
10026 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10028 * nptl/allocatestack.c (check_list): Inlined function...
10029 (__reclaim_stacks): ... here.
10031 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
10034 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
10037 2014-06-05 Joseph Myers <joseph@codesourcery.com>
10039 * Rules (make-test-out): Include
10040 LOCPATH=$(common-objpfx)localedata in default environment.
10041 * debug/Makefile (tst-chk1-ENV): Remove variable.
10042 (tst-chk2-ENV): Likewise.
10043 (tst-chk3-ENV): Likewise.
10044 (tst-chk4-ENV): Likewise.
10045 (tst-chk5-ENV): Likewise.
10046 (tst-chk6-ENV): Likewise.
10047 (tst-lfschk1-ENV): Likewise.
10048 (tst-lfschk2-ENV): Likewise.
10049 (tst-lfschk3-ENV): Likewise.
10050 (tst-lfschk4-ENV): Likewise.
10051 (tst-lfschk5-ENV): Likewise.
10052 (tst-lfschk6-ENV): Likewise.
10053 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
10054 (tst-iconv7-ENV): Likewise.
10055 * intl/Makefile (LOCPATH-ENV): Likewise.
10056 (tst-codeset-ENV): Likewise.
10057 (tst-gettext3-ENV): Likewise.
10058 (tst-gettext5-ENV): Likewise.
10059 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
10060 (tst-fopenloc-ENV): Likewise.
10061 (tst-fgetws-ENV): Remove variable.
10062 (tst-ungetwc1-ENV): Likewise.
10063 (tst-ungetwc2-ENV): Likewise.
10064 (bug-ungetwc2-ENV): Likewise.
10065 (tst-swscanf-ENV): Likewise.
10066 (bug-ftell-ENV): Likewise.
10067 (tst-fgetwc-ENV): Likewise.
10068 (tst-fseek-ENV): Likewise.
10069 (tst-ftell-partial-wide-ENV): Likewise.
10070 (tst-ftell-active-handler-ENV): Likewise.
10071 (tst-ftell-append-ENV): Likewise.
10072 * posix/Makefile (tst-fnmatch-ENV): Likewise.
10073 (tst-regexloc-ENV): Likewise.
10074 (bug-regex1-ENV): Likewise.
10075 (tst-regex-ENV): Likewise.
10076 (tst-regex2-ENV): Likewise.
10077 (bug-regex5-ENV): Likewise.
10078 (bug-regex6-ENV): Likewise.
10079 (bug-regex17-ENV): Likewise.
10080 (bug-regex18-ENV): Likewise.
10081 (bug-regex19-ENV): Likewise.
10082 (bug-regex20-ENV): Likewise.
10083 (bug-regex22-ENV): Likewise.
10084 (bug-regex23-ENV): Likewise.
10085 (bug-regex25-ENV): Likewise.
10086 (bug-regex26-ENV): Likewise.
10087 (bug-regex30-ENV): Likewise.
10088 (bug-regex32-ENV): Likewise.
10089 (bug-regex33-ENV): Likewise.
10090 (bug-regex34-ENV): Likewise.
10091 (bug-regex35-ENV): Likewise.
10092 (tst-rxspencer-ENV): Likewise.
10093 (tst-rxspencer-no-utf8-ENV): Likewise.
10094 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
10095 (tst-sscanf-ENV): Likewise.
10096 (tst-swprintf-ENV): Likewise.
10097 (tst-swscanf-ENV): Likewise.
10098 (test-vfprintf-ENV): Likewise.
10099 (scanf13-ENV): Likewise.
10100 (bug14-ENV): Likewise.
10101 (tst-grouping-ENV): Likewise.
10102 * stdlib/Makefile (tst-strtod-ENV): Likewise.
10103 (tst-strtod3-ENV): Likewise.
10104 (tst-strtod4-ENV): Likewise.
10105 (tst-strtod5-ENV): Likewise.
10106 (testmb2-ENV): Likewise./
10107 * string/Makefile (tst-strxfrm-ENV): Likewise.
10108 (tst-strxfrm2-ENV): Likewise.
10109 (bug-strcoll1-ENV): Likewise.
10110 (test-strcasecmp-ENV): Likewise.
10111 (test-strncasecmp-ENV): Likewise.
10112 * time/Makefile (tst-strptime-ENV): Likewise.
10113 (tst-ftime_l-ENV): Likewise.
10114 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
10115 (tst-mbrtowc-ENV): Likewise.
10116 (tst-wcrtomb-ENV): Likewise.
10117 (tst-mbrtowc2-ENV): Likewise.
10118 (tst-c16c32-1-ENV): Likewise.
10119 (tst-mbsnrtowcs-ENV): Likewise.
10121 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
10123 * manual/resource.texi (How to get information about the memory
10124 subsystem?): Fix typo.
10125 Reported by Peon de la Parra Ivan <peon@keba.com>
10127 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
10130 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
10131 (pthread_spin_lock): Branch out of spin loop to proper location.
10132 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
10133 (pthread_spin_lock): Likewise.
10135 * nptl/tst-spin4.c: New test.
10136 * nptl/Makefile (tests): Add tst-spin4.
10138 2014-06-03 Andreas Schwab <schwab@suse.de>
10141 * resolv/res_send.c (send_dg): Reload file descriptor after
10144 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
10146 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10148 2014-06-03 Richard Henderson <rth@redhat.com>
10150 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
10151 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
10152 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
10153 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
10154 in the SAVE_PID block.
10155 (__libc_vfork): New alias.
10156 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
10158 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
10159 child in registers, not on the stack. Remove RESET_PID conditionals.
10160 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
10162 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
10164 * sysdeps/aarch64/libm-test-ulps: Regenerate.
10166 2014-06-03 Wilco <wdijkstr@arm.com>
10168 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
10169 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
10170 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
10171 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
10172 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
10175 2014-06-03 Wilco <wdijkstr@arm.com>
10177 * sysdeps/aarch64/fpu/math_private.h
10178 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
10179 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
10180 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
10181 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
10184 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10186 * crypt/crypt-private.h: Include ufc-crypt.h.
10187 (__b64_from_24bit): Declare extern.
10188 * crypt/crypt_util.c(__b64_from_24bit): New function.
10189 (b64t): New static const variable.
10190 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
10191 (b64t): Remove variable.
10192 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
10193 * crypt/sha256-crypt.c: Include crypt-private.h.
10194 (b64t): Remove variable.
10195 (__sha256_crypt_r): Remove b64_from_24bit and replace
10196 with __b64_from_24bit.
10197 * crypt/sha512-crypt.c: Likewise.
10199 2014-06-02 Roland McGrath <roland@hack.frob.com>
10201 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
10202 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
10203 Label the code __libc_vfork rather than __vfork.
10204 [!NOT_IN_libc] (vfork): Define as weak alias.
10205 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
10206 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
10207 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
10209 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10211 * malloc/malloc.c (malloc_info): Fix format specifier for
10214 2014-06-02 Wilco <wdijkstr@arm.com>
10216 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
10219 2014-06-02 Wilco <wdijkstr@arm.com>
10222 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
10223 Rewrite to reduce FPCR/FPSR accesses.
10225 2014-06-01 David S. Miller <davem@davemloft.net>
10227 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10229 2014-05-31 David S. Miller <davem@davemloft.net>
10231 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
10232 to occur in round to nearest mode when |x| >= 2.0
10234 2014-05-30 Richard Henderson <rth@twiddle.net>
10236 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
10237 (PSEUDO_RET_NOERRNO): Remove.
10238 (ret): Don't redefine.
10239 (ret_NOERRNO): Define in terms of ret.
10240 (ret_ERRVAL): Likewise.
10242 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
10243 use of PSEUDO_RET; perform the error check directly.
10245 2014-05-30 Marko Myllynen <myllynen@redhat.com>
10247 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
10250 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10252 * malloc/malloc (malloc_info): Fix formatting.
10254 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10255 Roland McGrath <roland@hack.frob.com>
10257 * malloc/malloc (malloc_info): Also print mmapped statistics.
10259 2014-05-30 Roland McGrath <roland@hack.frob.com>
10261 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
10262 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
10264 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
10266 * malloc/malloc.c (malloc_info): Inline mi_arena.
10268 2014-05-29 Richard Henderson <rth@twiddle.net>
10270 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
10271 Remove comma before expanding ASM_ARGS_##nr.
10272 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
10273 Make _x0 a strict output; make _x8 a strict input; adjust expansion
10275 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
10276 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
10277 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
10278 (ASM_ARGS_1): Add leading comma.
10280 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
10281 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
10282 to __errno_location.
10283 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
10284 Remove the expected plt for __errno_location.
10286 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10287 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
10290 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10291 Always allocate 64 bytes of stack frame. Use ldp/stp to create
10292 it and break it down.
10293 (DOCARGS_0, DOCARGS_1): Do nothing.
10294 (DOCARGS_2): Update to store into the new stack frame.
10295 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
10296 (UNDOCARGS_1): Update to restore from the new stack frame.
10297 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
10298 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
10300 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10301 (SINGLE_THREAD_P): New parameter for result regno.
10302 (PSEUDO): Update to match; use cbz instead of beq.
10304 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10305 Use ENTRY to define the _nocancel entry point. Share the syscall
10306 and syscall error check paths with the cancel path.
10309 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
10310 whitespace; tabs before and after asm mnemonics.
10312 2014-05-29 Eric Wong <normalperson@yhbt.net>
10315 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10316 Call fstat64 or stat64 internally, depending on arguments passed.
10317 Replace stat buffer argument with file descriptor argument.
10318 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
10319 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
10320 Pass fd to __internal_statvfs instead of calling fstat64.
10321 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
10322 Pass fd to __internal_statvfs64 instead of calling fstat64.
10323 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
10324 Pass -1 to __internal_statvfs instead of calling stat64.
10325 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
10326 Pass -1 to __internal_statvfs64 instead of calling stat64.
10328 2014-05-28 Roland McGrath <roland@hack.frob.com>
10330 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
10331 that was previously under [RESET_PID].
10332 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
10334 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
10335 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
10337 2014-05-27 Roland McGrath <roland@hack.frob.com>
10339 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
10341 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
10342 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
10344 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
10346 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
10348 2014-05-27 Andreas Schwab <schwab@suse.de>
10350 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
10352 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
10353 * elf/rtld.c (init_tls, dl_main): Likewise.
10354 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
10355 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
10356 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
10357 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
10358 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
10359 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
10360 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
10361 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
10362 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
10363 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
10364 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
10365 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
10366 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
10367 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
10368 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
10369 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
10370 * sysdeps/generic/tls.h: Update description.
10372 2014-05-27 Will Newton <will.newton@linaro.org>
10375 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
10376 and restore r2 rather than just restoring.
10378 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10381 * libio/tst-ftell-append.c: New test case.
10382 * libio/Makefile (tests): Add test case.
10383 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
10385 * libio/wfileops.c (do_ftell_wide): Likewise.
10387 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10389 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10391 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
10393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
10394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
10395 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
10396 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
10397 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
10398 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
10399 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
10400 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
10401 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
10403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
10404 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
10406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
10407 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
10408 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
10409 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
10410 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
10411 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
10413 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
10414 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
10416 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
10418 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
10420 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
10421 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
10422 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
10424 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
10425 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
10426 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
10427 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
10429 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
10431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
10432 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
10434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
10435 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
10437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
10438 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
10440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
10442 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
10444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
10445 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
10447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
10449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
10450 conditional [RESET_PID].
10451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
10452 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
10454 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
10457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
10459 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10460 (__libc_vfork): New strong alias.
10461 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
10463 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
10466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
10468 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
10469 (__libc_vfork): New strong alias.
10470 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
10472 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
10475 2014-05-26 Carlos O'Donell <carlos@redhat.com>
10477 * malloc/malloc.c (mi_arena): New function.
10478 (malloc_info): Remove nested function mi_arena. Call non-nosted
10481 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10483 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
10485 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
10486 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
10487 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
10488 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
10489 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
10490 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
10491 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
10493 2014-05-26 Andreas Schwab <schwab@suse.de>
10496 * locale/programs/repertoire.c (repertoire_read): Add slash
10497 between I18NPATH element and file name.
10498 * locale/programs/locfile.c (locfile_read): Likewise.
10500 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
10502 * nptl/pthread_mutexattr_settype.c
10503 (__pthread_mutexattr_settype):
10504 Disable lock elision for PTHREAD_MUTEX_NORMAL.
10506 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
10508 * nptl/tst-mutex5 (do_test):
10509 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
10511 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10513 * benchtests/README: Document 'init' directive.
10514 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
10516 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
10517 (parse_file): Recognize 'init' directive.
10519 2014-05-26 Kyle McMartin <kyle@redhat.com>
10522 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
10523 alignment of struct pthread.
10525 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10528 * nscd/netgroupcache.c (addgetnetgrentX): Look for
10529 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
10530 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
10531 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
10533 2014-05-25 Richard Henderson <rth@twiddle.net>
10535 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10536 (SINGLE_THREAD_P_PIC): Remove.
10537 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
10538 (SINGLE_THREAD_P_PIC): Remove.
10540 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
10541 branch to syscall error ...
10542 (PSEUDO): ... here.
10543 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
10544 from __local_syscall_error to .Lsyscall_error.
10545 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
10546 (SYSCALL_ERROR): Update label name.
10548 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10549 Do not use DOARGS/UNDOARGS.
10550 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
10551 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
10552 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
10553 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
10554 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
10556 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
10559 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
10560 define if !NOT_IN_libc.
10561 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
10562 define with non-default symbol versions.
10564 2014-05-23 Richard Henderson <rth@twiddle.net>
10566 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
10567 (vfork, __vfork): Define via compat_symbol.
10569 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
10570 [!HAVE_IFUNC] (vfork_compat): Remove.
10571 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
10573 2014-05-23 Joseph Myers <joseph@codesourcery.com>
10576 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
10577 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
10580 2014-05-23 Richard Henderson <rth@twiddle.net>
10582 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
10583 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
10584 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
10585 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
10587 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
10588 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
10589 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
10590 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
10591 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
10592 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
10593 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
10594 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
10595 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
10596 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
10597 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
10598 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
10599 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
10600 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
10601 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
10602 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
10603 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
10604 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
10605 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
10606 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
10607 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
10608 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
10609 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
10610 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
10611 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
10612 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
10613 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
10614 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
10615 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
10616 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
10617 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
10618 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
10619 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
10620 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
10621 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
10622 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
10623 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
10624 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
10625 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
10626 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
10627 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
10628 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
10629 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
10630 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
10631 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
10632 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
10633 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
10634 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
10635 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
10636 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
10637 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
10638 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
10639 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
10640 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
10641 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
10642 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
10644 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
10645 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
10646 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
10647 before exiting on error.
10648 (__libc_vfork): New strong alias.
10649 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
10650 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
10652 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
10653 that was previously under [RESET_PID].
10654 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
10656 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
10658 2014-05-23 Joseph Myers <joseph@codesourcery.com>
10661 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
10662 value when x - 1 is zero.
10663 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
10664 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
10665 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
10666 0.0L for an argument of 1.0L.
10667 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
10669 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
10670 value when x - 1 is zero.
10671 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
10672 * sysdeps/i386/fpu/libm-test-ulps: Update.
10673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10675 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
10677 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
10678 alphasort and versionsort.
10680 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10682 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
10684 [copysignf]: Likewise.
10686 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10688 * crypt/md5-crypt.c: Fix formatting.
10690 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10692 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
10693 (b64_from_24bit): New function.
10695 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10697 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
10698 libc_hidden_builtin_def to ifunc.
10699 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
10700 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
10702 2014-05-21 Roland McGrath <roland@hack.frob.com>
10704 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
10705 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
10707 2014-05-21 Joseph Myers <joseph@codesourcery.com>
10709 * nscd/Depend (linuxthreads): Remove.
10711 * resolv/Depend (linuxthreads): Remove.
10712 * rt/Depend (linuxthreads): Remove.
10714 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
10715 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
10716 $(common-objpfx)elf/.
10717 (link-libc-before-gnulib): Likewise.
10718 (elfobjdir): Remove variable.
10719 * Makefile (install): Use $(elf-objpfx) instead of
10720 $(common-objpfx)elf/.
10721 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
10723 (link-libc-deps): Likewise.
10724 ($(common-objpfx)libc.so): Likewise.
10725 ($(common-objpfx)linkobj/libc.so): Likewise.
10726 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
10727 instead of $(common-objpfx)elf/.
10728 (symbolic-link-list): Likewise.
10729 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10730 [$(cross-compiling) = no]: Likewise.
10731 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
10733 (static-gnulib-arch): Likewise.
10734 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10735 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
10736 $(common-objpfx)elf/.
10738 2014-05-21 Richard Henderson <rth@redhat.com>
10740 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10741 (SINGLE_THREAD_P): Use the correct width load. Fold
10742 into the ldr offset.
10744 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
10745 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
10747 2014-05-20 Joseph Myers <joseph@codesourcery.com>
10749 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
10750 (libgcc_s_resume): Use __attribute_used__.
10751 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
10754 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10756 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
10757 optimization when used with float constants.
10759 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10761 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
10764 * locale/nl_langinfo_l.c: Make direct reference to every
10765 _nl_current_CATEGORY symbol.
10766 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
10767 (tests-static): Add tst-langinfo-static.
10768 (tests-special): Add tst-langinfo-static.out.
10769 ($(objpfx)tst-langinfo.out): Redirect output.
10770 ($(objpfx)tst-langinfo-static.out): New.
10771 * localedata/tst-langinfo.sh: Send output to stdout.
10772 * localedata/tst-langinfo-static.c: New file.
10775 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
10776 when the shift amount is modulo the limb size.
10778 2014-05-20 Richard Henderson <rth@redhat.com>
10781 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
10782 Change type of sa_flags from unsigned int to int.
10785 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
10787 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
10789 2014-05-20 Will Newton <will.newton@linaro.org>
10791 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10792 Test the return value of the system call in the nocancel case.
10794 2014-05-20 Will Newton <will.newton@linaro.org>
10795 Yvan Roux <yvan.roux@linaro.org>
10797 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
10798 #include of asm/ptrace.h.
10799 (PTRACE_GET_THREAD_AREA): Remove #undef.
10800 (PTRACE_GETHBPREGS): Likewise.
10801 (PTRACE_SETHBPREGS): Likewise.
10802 (struct user_regs_struct): New structure.
10803 (struct user_fpsimd_struct): New structure.
10804 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
10805 #include of asm/ptrace.h and second #include of sys/user.h.
10806 (PTRACE_GET_THREAD_AREA): Remove #undef.
10807 (PTRACE_GETHBPREGS): Likewise.
10808 (PTRACE_SETHBPREGS): Likewise.
10809 (ELF_NGREG): Use new struct user_regs_struct.
10810 (elf_fpregset_t): Use new struct user_fpsimd_struct.
10812 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10814 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
10815 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
10817 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
10820 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
10821 membar to avoid block loads/stores to overlap previous stores.
10823 2014-05-17 Richard Henderson <rth@redhat.com>
10825 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
10826 Create the __##syscall_name##_nocancel entry point.
10827 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
10828 Remove; let the sysdep-cancel.h code create it.
10830 2014-05-17 David S. Miller <davem@davemloft.net>
10832 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
10833 Protect with __USE_GNU.
10834 (TIOCSET_TEMPT): Likewise.
10835 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
10836 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
10837 these are already provided in bits/ioctl-types.h
10839 2014-05-16 Roland McGrath <roland@hack.frob.com>
10841 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
10842 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
10844 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
10845 Use wait4 regardless of [__NR_waitpid].
10847 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
10850 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
10851 (_FP_NANSIGN_Q): Set the quiet bit.
10853 2014-05-16 Joseph Myers <joseph@codesourcery.com>
10855 * benchtests/Makefile
10856 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
10857 not $(common-objpfx)math/libm.so.
10858 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
10859 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
10860 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
10861 $(common-objpfx)dlfcn/libdl.so.
10862 ($(objpfx)tst-audit8): Depend on $(libm), not
10863 $(common-objpfx)math/libm.so.
10864 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
10865 not $(common-objpfx)dlfcn/libdl.so.
10867 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10868 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
10869 [$(build-shared) = yes].
10870 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
10871 $(common-objpfx)nptl/libpthread.so.
10872 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
10873 $(common-objpfx)math/libm.so$(libm.so-version) or
10874 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
10875 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
10876 $(common-objpfx)dlfcn/libdl.so.
10877 * setjmp/Makefile (link-libm): Remove variable.
10878 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
10879 * stdio-common/Makefile (link-libm): Remove variable.
10880 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
10881 * stdlib/Makefile (link-libm): Remove variable.
10882 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
10883 ($(objpfx)tst-strtod-round): Likewise.
10884 ($(objpfx)tst-tininess): Likewise.
10885 ($(objpfx)tst-strtod-underflow): Likewise.
10886 ($(objpfx)tst-strtod6): Likewise.
10887 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
10888 $(libdl), not $(common-objpfx)nptl/libpthread.so and
10889 $(common-objpfx)dlfcn/libdl.so.
10891 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10893 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
10894 BSD terminal modes definitions.
10896 2014-05-16 Roland McGrath <roland@hack.frob.com>
10898 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
10899 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
10901 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
10902 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
10903 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
10904 Don't do #include_next.
10905 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
10906 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
10907 Don't do #include_next.
10908 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
10909 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
10910 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
10911 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
10913 2014-05-16 Allan McRae <allan@archlinux.org>
10915 * po/sv.po: Update Swedish translation from translation project.
10917 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
10920 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
10923 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
10924 errno if the TIOCGPTN ioctl fails with an error different than
10926 * login/tst-ptsname.c: New file.
10927 * login/Makefile (tests): Add tst-ptsname.
10930 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
10933 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10936 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
10937 herrno to return EAI_AGAIN.
10939 2014-05-14 Roland McGrath <roland@hack.frob.com>
10941 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
10942 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
10943 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
10944 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
10945 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
10946 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
10947 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
10948 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
10949 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
10950 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
10951 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
10952 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
10953 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
10954 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
10955 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
10956 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
10957 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
10958 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
10959 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
10960 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
10961 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
10962 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
10963 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
10964 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
10965 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
10966 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
10967 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
10968 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
10969 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
10970 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
10971 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
10972 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
10973 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
10974 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
10975 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
10977 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
10978 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
10979 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
10980 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
10981 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
10982 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
10983 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
10984 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
10985 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
10986 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
10987 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
10988 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
10989 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
10990 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
10991 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
10992 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
10993 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
10994 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
10995 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
10996 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
10997 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
10998 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
10999 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
11000 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
11001 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
11002 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
11003 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
11004 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
11006 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
11007 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
11008 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
11009 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
11010 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
11011 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
11012 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
11013 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
11014 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
11015 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
11016 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
11017 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
11018 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
11019 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
11020 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
11021 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
11022 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
11023 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
11024 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
11025 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
11027 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
11028 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
11029 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
11031 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
11032 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
11033 (libpthread-sysdep_routines): Add elision-related stuff here instead.
11034 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
11035 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
11036 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
11037 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
11038 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
11039 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
11040 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
11041 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
11042 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
11043 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
11044 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
11045 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
11046 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
11047 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
11048 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
11049 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
11050 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
11051 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
11052 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
11053 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
11054 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
11055 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
11056 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
11057 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
11058 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
11059 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
11060 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
11061 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
11063 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
11064 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
11066 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
11067 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
11068 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
11069 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
11070 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
11071 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
11073 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
11074 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
11076 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
11077 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
11079 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
11080 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
11082 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
11083 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
11084 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
11085 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
11087 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
11088 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
11089 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
11090 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
11091 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
11092 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
11093 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
11094 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
11096 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
11097 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
11099 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
11101 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
11102 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
11103 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
11104 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
11105 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
11107 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
11109 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
11111 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
11112 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
11113 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
11114 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
11115 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
11116 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
11118 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
11119 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
11121 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
11122 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
11124 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
11125 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
11127 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
11128 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
11129 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
11130 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
11132 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
11133 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
11134 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
11135 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
11136 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
11137 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
11138 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
11139 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
11141 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
11142 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
11144 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
11146 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
11147 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
11148 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
11149 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
11150 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
11152 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
11154 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
11156 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
11157 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
11158 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
11159 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
11160 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
11161 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
11162 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
11163 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
11164 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
11165 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
11167 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
11168 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
11170 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
11171 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
11173 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
11174 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
11176 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
11177 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
11178 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
11179 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
11180 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
11181 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
11183 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
11184 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
11185 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
11186 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
11187 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
11188 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
11189 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
11190 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
11192 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
11193 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
11195 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
11197 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
11198 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
11199 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
11200 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
11201 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
11203 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
11205 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
11207 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
11208 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
11209 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
11210 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
11211 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
11212 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
11213 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
11214 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
11215 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
11216 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
11217 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
11219 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
11220 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
11222 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
11223 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
11225 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
11226 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
11227 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
11228 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
11229 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
11230 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
11231 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
11232 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
11233 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
11234 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
11235 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
11236 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
11237 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
11238 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
11239 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
11240 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
11241 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
11242 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
11244 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
11245 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
11246 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
11247 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
11249 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
11250 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
11251 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
11252 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
11253 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
11254 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
11255 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
11256 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
11258 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
11259 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
11261 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
11262 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
11263 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
11264 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
11265 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
11266 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
11267 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
11268 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
11269 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
11270 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
11271 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
11272 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
11273 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
11274 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
11275 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
11276 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
11277 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
11279 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
11280 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
11281 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
11282 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
11283 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
11285 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
11286 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
11287 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
11288 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
11289 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
11290 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
11291 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
11292 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
11293 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
11294 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
11296 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
11297 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
11299 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
11300 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
11301 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
11302 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
11303 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
11304 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
11305 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
11306 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
11307 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
11308 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
11309 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
11310 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
11311 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
11312 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
11313 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
11315 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
11317 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
11319 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
11321 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
11323 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
11325 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
11327 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
11329 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
11331 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
11333 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
11334 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
11335 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
11336 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
11337 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
11338 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
11339 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
11340 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
11341 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
11342 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
11343 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
11344 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
11345 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
11346 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
11347 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
11349 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
11350 that was previously under [RESET_PID].
11351 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11352 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
11353 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
11355 * sysdeps/i386/nptl/Implies: New file.
11356 * sysdeps/x86_64/nptl/Implies: New file.
11357 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
11358 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
11359 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
11360 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
11362 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
11363 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11364 (__libc_vfork): New strong alias.
11365 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
11366 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
11368 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
11369 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11370 (__libc_vfork): New strong alias.
11371 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
11372 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
11374 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
11375 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11376 (__libc_vfork): New strong alias.
11377 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
11378 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
11379 * nptl/pt-vfork.c: New file.
11380 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
11381 (libpthread: GLIBC_2.20): New version set (empty).
11383 2014-05-14 Will Newton <will.newton@linaro.org>
11385 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
11388 2014-05-14 Joseph Myers <joseph@codesourcery.com>
11391 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
11392 arguments with exponent 65 or above.
11393 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
11394 arguments 0x1p113L or above.
11395 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
11396 to arguments 0x1p107L or above.
11397 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
11398 positive arguments with exponent 65 or above.
11399 * math/auto-libm-test-in: Add more tests of log1p.
11400 * math/auto-libm-test-out: Regenerated.
11403 * math/s_cacos.c (__cacos): Ensure zero real part of result from
11404 non-finite arguments is +0.
11405 * math/s_cacosf.c (__cacosf): Likewise.
11406 * math/s_cacosl.c (__cacosl): Likewise.
11407 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
11408 * sysdeps/i386/fpu/libm-test-ulps: Update.
11409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11412 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
11414 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
11415 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
11416 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
11417 for explicit high bit of mantissa when testing for argument equal
11419 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
11420 * sysdeps/i386/fpu/libm-test-ulps: Update.
11421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11424 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
11425 (__erf): Scale by 16 instead of 8 in potentially underflowing
11426 case. Ensure exception if result actually underflows.
11427 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
11428 (__erff): Scale by 16 instead of 8 in potentially underflowing
11429 case. Ensure exception if result actually underflows.
11430 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
11431 (efx8): Remove variable.
11432 (__erfl): Scale by 16 instead of 8 in potentially underflowing
11433 case. Ensure exception if result actually underflows.
11434 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
11435 (efx8): Remove variable.
11436 (__erfl): Scale by 16 instead of 8 in potentially underflowing
11437 case. Ensure exception if result actually underflows.
11438 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
11439 (efx8): Remove variable.
11440 (__erfl): Scale by 16 instead of 8 in potentially underflowing
11441 case. Ensure exception if result actually underflows.
11442 * math/auto-libm-test-in: Add more tests of erf.
11443 * math/auto-libm-test-out: Regenerated.
11445 2014-05-14 Andreas Schwab <schwab@suse.de>
11447 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
11448 Remove code conditionalized on USE___THREAD.
11450 * config.h.in (HAVE_PT_CHOWN): Define as 0.
11451 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
11454 2014-05-14 Joseph Myers <joseph@codesourcery.com>
11456 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
11457 Define unconditionally.
11458 (__ASSUME_O_CLOEXEC): Likewise.
11459 (__ASSUME_SOCK_CLOEXEC): Likewise.
11460 (__ASSUME_IN_NONBLOCK): Likewise.
11461 (__ASSUME_PIPE2): Likewise.
11462 (__ASSUME_EVENTFD2): Likewise.
11463 (__ASSUME_SIGNALFD4): Likewise.
11464 (__ASSUME_DUP3): Likewise.
11465 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11466 (__ASSUME_DUP3): Do not define.
11467 (__ASSUME_EVENTFD2): Likewise.
11468 (__ASSUME_IN_NONBLOCK): Likewise.
11469 (__ASSUME_O_CLOEXEC): Likewise.
11470 (__ASSUME_PIPE2): Likewise.
11471 (__ASSUME_SIGNALFD4): Likewise.
11472 (__ASSUME_SOCK_CLOEXEC): Likewise.
11473 (__ASSUME_UTIMES): Undefine.
11474 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11475 (__ASSUME_UTIMES): Do not define.
11476 (__ASSUME_O_CLOEXEC): Likewise.
11477 (__ASSUME_SOCK_CLOEXEC): Likewise.
11478 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
11479 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
11481 (__ASSUME_PIPE2): Likewise.
11482 (__ASSUME_EVENTFD2): Likewise.
11483 (__ASSUME_SIGNALFD4): Likewise.
11484 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
11485 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
11487 (__ASSUME_EVENTFD2): Likewise.
11488 (__ASSUME_SIGNALFD4): Likewise.
11489 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11490 (__ASSUME_32BITUIDS): Likewise.
11491 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
11492 (__ASSUME_IPC64): Likewise.
11493 (__ASSUME_ST_INO_64_BIT): Likewise.
11494 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
11495 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
11496 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11497 (__ASSUME_UTIMES): Do not define.
11498 (__ASSUME_PSELECT): Likewise.
11499 (__ASSUME_PPOLL): Likewise.
11500 (__ASSUME_O_CLOEXEC): Likewise.
11501 (__ASSUME_SOCK_CLOEXEC): Likewise.
11502 (__ASSUME_IN_NONBLOCK): Likewise.
11503 (__ASSUME_PIPE2): Likewise.
11504 (__ASSUME_EVENTFD2): Likewise.
11505 (__ASSUME_SIGNALFD4): Likewise.
11506 (__ASSUME_DUP3): Likewise.
11507 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11508 (__ASSUME_UTIMES): Likewise.
11509 (__ASSUME_O_CLOEXEC): Likewise.
11510 (__ASSUME_SOCK_CLOEXEC): Likewise.
11511 (__ASSUME_IN_NONBLOCK): Likewise.
11512 (__ASSUME_PIPE2): Likewise.
11513 (__ASSUME_EVENTFD2): Likewise.
11514 (__ASSUME_SIGNALFD4): Likewise.
11515 (__ASSUME_DUP3): Likewise.
11516 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11517 (__ASSUME_UTIMES): Likewise.
11518 (__ASSUME_O_CLOEXEC): Likewise.
11519 (__ASSUME_SOCK_CLOEXEC): Likewise.
11520 (__ASSUME_IN_NONBLOCK): Likewise.
11521 (__ASSUME_PIPE2): Likewise.
11522 (__ASSUME_EVENTFD2): Likewise.
11523 (__ASSUME_SIGNALFD4): Likewise.
11524 (__ASSUME_DUP3): Likewise.
11525 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
11527 (__ASSUME_UTIMES): Likewise.
11528 (__ASSUME_EVENTFD2): Likewise.
11529 (__ASSUME_SIGNALFD4): Likewise.
11530 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11531 (__ASSUME_O_CLOEXEC): Likewise.
11532 (__ASSUME_SOCK_CLOEXEC): Likewise.
11533 (__ASSUME_IN_NONBLOCK): Likewise.
11534 (__ASSUME_PIPE2): Likewise.
11535 (__ASSUME_EVENTFD2): Likewise.
11536 (__ASSUME_SIGNALFD4): Likewise.
11537 (__ASSUME_DUP3): Likewise.
11538 (__ASSUME_UTIMES): Undefine.
11540 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
11541 feclearexcept. Remove symbol versioning code.
11542 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
11543 symbol versioning code.
11544 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
11545 symbol versioning code.
11546 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
11547 feupdateenv. Remove symbol versioning code.
11548 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
11549 fegetexceptflag. Remove symbol versioning code.
11550 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
11551 fesetexceptflag. Remove symbol versioning code.
11552 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
11553 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
11554 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
11555 (__posix_fadvise64_l32): Remove prototype.
11556 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
11559 2014-05-13 Roland McGrath <roland@hack.frob.com>
11561 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
11562 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
11563 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
11564 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
11566 2014-05-13 Sami Kerola <kerolasa@iki.fi>
11568 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
11569 current working directory
11571 2014-05-13 Roland McGrath <roland@hack.frob.com>
11573 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
11574 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
11575 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
11576 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
11577 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
11578 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
11579 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
11580 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
11581 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
11582 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
11583 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
11584 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
11585 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
11586 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
11587 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
11588 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
11589 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
11590 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
11591 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
11592 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
11593 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
11594 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
11595 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
11596 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
11597 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
11598 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
11599 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
11600 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
11601 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
11602 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
11603 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
11604 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
11605 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
11606 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
11607 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
11608 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
11609 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
11610 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
11611 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
11612 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
11613 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
11614 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
11616 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
11617 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
11619 * sysdeps/unix/sysv/linux/arm/Makefile
11620 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
11621 Add rt-aeabi_unwind_cpp_pr1.
11622 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
11623 Add nptl-aeabi_unwind_cpp_pr1.
11624 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
11625 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
11626 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
11627 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
11628 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
11629 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
11631 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
11632 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
11633 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
11634 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
11636 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
11637 Deconditionalize the code that was previously under [RESET_PID].
11638 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
11640 * sysdeps/generic/exit-thread.h: New file.
11641 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
11642 * include/unistd.h (__exit_thread): Remove declaration.
11643 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
11644 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
11645 * csu/libc-start.c: Include <exit-thread.h>.
11646 (LIBC_START_MAIN): Pass no argument to __exit_thread.
11647 * nptl/pthread_create.c: Include <exit-thread.h>.
11648 (start_thread): Call __exit_thread in place of __exit_thread_inline.
11649 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
11650 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
11651 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
11652 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
11653 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
11654 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
11655 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
11656 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
11657 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
11658 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
11659 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
11660 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
11661 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
11662 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
11663 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
11664 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
11666 2014-05-13 Andreas Schwab <schwab@suse.de>
11668 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
11670 2014-05-12 Joseph Myers <joseph@codesourcery.com>
11672 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
11673 (__ASSUME_UTIMES): Do not condition on kernel version.
11674 (__ASSUME_PSELECT): Define unconditionally.
11675 (__ASSUME_PPOLL): Likewise.
11676 (__ASSUME_ATFCTS): Likewise.
11677 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
11678 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
11679 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
11680 (__ASSUME_UTIMENSAT): Define unconditionally.
11681 (__ASSUME_PRIVATE_FUTEX): Likewise.
11682 (__ASSUME_FALLOCATE): Likewise.
11683 (__ASSUME_O_CLOEXEC): Likewise.
11684 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
11685 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
11686 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
11687 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
11688 (__ASSUME_IN_NONBLOCK): Likewise.
11689 (__ASSUME_PIPE2): Likewise.
11690 (__ASSUME_EVENTFD2): Likewise.
11691 (__ASSUME_SIGNALFD4): Likewise.
11692 (__ASSUME_DUP3): Likewise.
11693 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11694 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
11695 (__ASSUME_AT_RANDOM): Likewise.
11696 (__ASSUME_PREADV): Likewise.
11697 (__ASSUME_PWRITEV): Likewise.
11698 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
11699 (__ASSUME_F_GETOWN_EX): Define unconditionally.
11700 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
11701 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
11702 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
11703 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11704 (__ASSUME_O_CLOEXEC): Define unconditionally.
11705 (__ASSUME_PSELECT): Do not undefine conditionally.
11706 (__ASSUME_PPOLL): Likewise.
11707 (__ASSUME_ATFCTS): Likewise.
11708 (__ASSUME_SET_ROBUST_LIST): Likewise.
11709 (__ASSUME_UTIMENSAT): Likewise.
11710 (__ASSUME_FDATASYNC): Define unconditionally.
11711 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11712 (__ASSUME_SIGFRAME_V2): Likewise.
11713 )__ASSUME_EVENTFD2): Likewise.
11714 (__ASSUME_SIGNALFD4): Likewise.
11715 (__ASSUME_PSELECT): Do not undefine conditionally.
11716 (__ASSUME_PPOLL): Likewise.
11717 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11718 (__ASSUME_PSELECT): Define unconditionally.
11719 (__ASSUME_PPOLL): Likewise.
11720 (__ASSUME_O_CLOEXEC): Likewise.
11721 (__ASSUME_SOCK_CLOEXEC): Likewise.
11722 (__ASSUME_IN_NONBLOCK): Likewise.
11723 (__ASSUME_PIPE2): Likewise.
11724 (__ASSUME_EVENTFD2): Likewise.
11725 (__ASSUME_SIGNALFD4): Likewise.
11726 (__ASSUME_DUP3): Likewise.
11727 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11728 (__ASSUME_O_CLOEXEC): Likewise.
11729 (__ASSUME_SOCK_CLOEXEC): Likewise.
11730 (__ASSUME_IN_NONBLOCK): Likewise.
11731 (__ASSUME_PIPE2): Likewise.
11732 (__ASSUME_EVENTFD2): Likewise.
11733 (__ASSUME_SIGNALFD4): Likewise.
11734 (__ASSUME_DUP3): Likewise.
11735 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11736 (__ASSUME_EVENTFD2): Likewise.
11737 (__ASSUME_SIGNALFD4): Likewise.
11738 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11740 2014-05-12 Andreas Schwab <schwab@suse.de>
11743 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
11744 (_nss_nis_gethostbyname4_r): Return error if item length is larger
11745 than maximum RPC packet size.
11746 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
11747 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
11748 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
11749 (_nss_nis_getservbyport_r): Likewise.
11751 2014-05-12 Will Newton <will.newton@linaro.org>
11753 * malloc/Makefile (tests): Add tst-mallopt.
11754 * malloc/tst-mallopt.c: New file.
11756 2014-05-09 Roland McGrath <roland@hack.frob.com>
11758 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
11759 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
11761 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11763 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
11764 (tst-tlsmod6.so): Likewise.
11766 2014-05-09 Roland McGrath <roland@hack.frob.com>
11768 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
11770 2014-05-09 Joseph Myers <joseph@codesourcery.com>
11773 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
11774 and <dl-procinfo.h>.
11775 (__fegetenv): Save SSE state in envp->__eip if supported.
11776 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
11777 envp->__eip if supported.
11778 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
11779 and <dl-procinfo.h>.
11780 (__fesetenv): Always set __eip, __cs_selector, __opcode,
11781 __data_offset and __data_selector in environment to 0. Set SSE
11782 state if supported.
11783 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
11785 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
11787 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
11789 2014-05-09 Will Newton <will.newton@linaro.org>
11791 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
11792 and libc_relro_required for ARM.
11793 * sysdeps/arm/preconfigure: Regenerate.
11795 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
11796 Stefan Liebler <stli@linux.vnet.ibm.com>
11798 * config.make.in (enable-lock-elision): New Makefile variable.
11799 * configure.ac: Likewise.
11800 * configure: Regenerate.
11801 * sysdeps/s390/configure.ac:
11802 Add check for gcc transactions support.
11803 * sysdeps/s390/configure: Regenerate.
11804 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
11805 Build elision files if enabled.
11806 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
11807 Add lock elision support for s390.
11808 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
11809 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
11810 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
11811 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
11812 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
11813 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
11814 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
11816 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
11818 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
11820 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
11822 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
11823 (__lll_timedlock_elision, __lll_lock_elision)
11824 (__lll_unlock_elision, __lll_trylock_elision)
11825 (lll_timedlock_elision, lll_lock_elision)
11826 (lll_unlock_elision, lll_trylock_elision): Add.
11827 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11828 (pthread_mutex_t): Add lock elision support for s390.
11830 2014-05-14 Wilco <wdijkstr@arm.com>
11832 * sysdeps/arm/fclrexcpt.c: Cleanup.
11833 * sysdeps/arm/fedisblxcpt.c: Cleanup.
11834 * sysdeps/arm/feenablxcpt.c: Cleanup.
11835 * sysdeps/arm/fegetenv.c: Cleanup.
11836 * sysdeps/arm/fegetexcept.c: Cleanup.
11837 * sysdeps/arm/fegetround.c: Cleanup.
11838 * sysdeps/arm/feholdexcpt.c: Cleanup.
11839 * sysdeps/arm/fesetenv.c: Cleanup.
11840 * sysdeps/arm/fesetround.c: Cleanup.
11841 * sysdeps/arm/feupdateenv.c: Cleanup.
11842 * sysdeps/arm/fgetexcptflg.c: Cleanup.
11843 * sysdeps/arm/fraiseexcpt.c: Cleanup.
11844 * sysdeps/arm/fsetexcptflg.c: Cleanup.
11845 * sysdeps/arm/ftestexcept.c: Cleanup.
11846 * sysdeps/arm/get-rounding-mode.h: Cleanup.
11847 * sysdeps/arm/setfpucw.c: Cleanup.
11849 2014-05-09 Will Newton <will.newton@linaro.org>
11851 * sysdeps/arm/armv7/strcmp.S: New file.
11852 * NEWS: Mention addition of ARMv7 optimized strcmp.
11854 2014-05-08 Roland McGrath <roland@hack.frob.com>
11856 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
11857 look for %.ac rather than %.in.
11859 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
11860 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
11861 * sysdeps/mach/hurd/configure: Regenerated.
11862 * sysdeps/unix/sysv/linux/configure: Regenerated.
11864 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
11866 2014-05-07 Steve Ellcey <sellcey@mips.com>
11869 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
11873 2014-05-07 Andreas Schwab <schwab@suse.de>
11875 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
11876 when skipping over non-matching result from nscd.
11878 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
11881 * nptl/sockperf.c (client): Check socket return value.
11884 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
11885 nscd security class.
11887 2014-05-06 Roland McGrath <roland@hack.frob.com>
11889 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
11890 * sysdeps/arm/unwind.h: ... here.
11892 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
11895 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
11898 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11900 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
11901 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
11902 multiarch strncpy for PPC64.
11903 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
11904 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
11905 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
11906 multiarch optimizations.
11907 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11908 (__libc_ifunc_impl_list): Likewise.
11909 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
11910 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
11911 multiarch stpncpy for PPC64.
11912 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
11913 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
11915 2014-05-06 Andreas Schwab <schwab@suse.de>
11918 * gmon/mcount.c (_MCOUNT_DECL): Use
11919 atomic_compare_and_exchange_bool_acq instead of
11920 catomic_compare_and_exchange_bool_acq.
11922 2014-05-05 Roland McGrath <roland@hack.frob.com>
11924 * elf/Makefile (others, install-bin): Remove pldd.
11925 (pldd-modules): Variable removed.
11926 ($(objpfx)pldd): Target removed.
11927 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
11928 (others, install-bin): Append pldd here.
11929 ($(objpfx)pldd): New target.
11931 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
11932 to 0, so the first #if test emitted later doesn't see it undefined.
11933 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
11934 * sysdeps/gnu/errlist.c: Regenerated.
11936 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11938 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
11939 [libc_hidden_builtin_def]: Define to empty value.
11940 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
11941 [libc_hidden_builtin_def]: Likewise.
11942 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
11943 [libc_hidden_builtin_def]: Likewise.
11944 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
11945 [libc_hidden_builtin_def]: Likewise.
11946 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
11947 __redirect_memcpy and define ifunc as default hidden symbol.
11948 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
11949 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
11951 2014-05-04 Adam Conrad <adconrad@0c3.net>
11953 * locale/iso-4217.def: Reintroduce XDR currency.
11955 2014-05-04 Allan McRae <allan@archlinux.org>
11957 * po/eo.po: Update Esperanto translation from translation project.
11959 2014-05-02 Carlos O'Donell <carlos@redhat.com>
11961 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
11962 and FEATURE_INDEX_MAX to 1.
11963 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
11965 2014-05-01 Steve Ellcey <sellcey@mips.com>
11967 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
11968 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
11969 * iconvdata/big5.c (ONE_DIRECTION): Define.
11970 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
11971 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
11972 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
11973 * iconvdata/cp932.c (ONE_DIRECTION): Define.
11974 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
11975 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
11976 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
11977 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
11978 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
11979 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
11980 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
11981 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
11982 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
11983 * iconvdata/gbk.c (ONE_DIRECTION): Define.
11984 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
11985 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
11986 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
11987 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
11988 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
11989 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
11990 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
11991 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
11992 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
11993 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
11994 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
11995 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
11996 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
11997 * iconvdata/iso646.c (ONE_DIRECTION): Define.
11998 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
11999 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
12000 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
12001 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
12002 * iconvdata/johab.c (ONE_DIRECTION): Define.
12003 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
12004 * iconvdata/sjis.c (ONE_DIRECTION): Define.
12005 * iconvdata/t.61.c (ONE_DIRECTION): Define.
12006 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
12007 * iconvdata/tscii.c (ONE_DIRECTION): Define.
12008 * iconvdata/uhc.c (ONE_DIRECTION): Define.
12009 * iconvdata/unicode.c (ONE_DIRECTION): Define.
12010 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
12011 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
12012 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
12014 2014-05-01 Roland McGrath <roland@hack.frob.com>
12016 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
12017 (_IO_JUMPS_OFFSET): Define to 0.
12019 * nptl/sysdeps/pthread/bits/libc-lock.h
12020 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
12021 (__libc_lock_define_initialized_recursive): Always define using
12022 initializer. Modern compilers treat uninitialized (implicit zero) and
12023 explicit zero initializers the same (i.e. put the datum in bss).
12025 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
12027 * nscd/nscd-client.h: Include <string.h>.
12029 2014-05-01 David S. Miller <davem@davemloft.net>
12032 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
12033 multiple zero bytes exist at the end of a string.
12034 Reported by Aurelien Jarno <aurelien@aurel32.net>
12036 * string/test-strcmp.c (check): Add explicit test for situations where
12037 there are multiple zero bytes after the first.
12039 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
12042 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
12043 when compiling wprintf.
12044 * stdio-common/tstdiomisc.c (t3): New function.
12047 2014-05-01 Steve Ellcey <sellcey@mips.com>
12049 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
12050 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
12051 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
12052 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
12054 2014-05-01 Steve Ellcey <sellcey@mips.com>
12056 * stdlib/longlong.h: Updated from GCC.
12058 2014-05-01 Will Newton <will.newton@linaro.org>
12059 Bernard Ogden <bernie.ogden@linaro.org>
12061 * NEWS: Update fixed bug list.
12064 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
12066 2014-04-30 David S. Miller <davem@davemloft.net>
12068 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
12069 (libc_feholdexcept_setround_sparc_ctx): New function.
12070 (libc_fesetenv_sparc_ctx): Likewise.
12071 (libc_feupdateenv_sparc_ctx): Likewise.
12072 (libc_feholdsetround_sparc_ctx): Likewise.
12073 (libc_feholdexcept_setround_ctx): Define.
12074 (libc_feholdexcept_setroundf_ctx): Likewise.
12075 (libc_feholdexcept_setroundl_ctx): Likewise.
12076 (libc_fesetenv_ctx): Likewise.
12077 (libc_fesetenvf_ctx): Likewise.
12078 (libc_fesetenvl_ctx): Likewise.
12079 (libc_feupdateenv_ctx): Likewise.
12080 (libc_feupdateenvf_ctx): Likewise.
12081 (libc_feupdateenvl_ctx): Likewise.
12082 (libc_feresetround_ctx): Likewise.
12083 (libc_feresetroundf_ctx): Likewise.
12084 (libc_feresetroundl_ctx): Likewise.
12085 (libc_feholdsetround_ctx): Likewise.
12086 (libc_feholdsetroundf_ctx): Likewise.
12087 (libc_feholdsetroundl_ctx): Likewise.
12089 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
12090 with __USE_GNU instead of XOPEN cpp guards.
12092 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
12095 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
12096 with XOPEN cpp guards.
12098 2014-04-30 Julian Brown <julian@codesourcery.com>
12101 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
12104 2014-04-30 Joseph Myers <joseph@codesourcery.com>
12107 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
12109 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
12110 * sysdeps/unix/sysv/linux/configure: Regenerated.
12111 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
12112 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
12113 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
12114 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
12115 * README: Update reference to required Linux kernel version.
12116 * manual/install.texi (Linux): Update reference to required Linux
12117 kernel headers version.
12118 * INSTALL: Regenerated.
12120 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
12122 [POSIX] (limits.h): Likewise.
12123 [POSIX] (math.h): Likewise.
12124 [POSIX] (sys/wait.h): Likewise.
12125 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
12127 [POSIX] (stddef.h): Do not allow header inclusion.
12129 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12131 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
12133 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
12135 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
12136 Return immediately after lll_futex_wake.
12138 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12141 * nscd/nscd-client.h (datahead_init_common): Initialize entire
12143 (datahead_init_pos): Call datahead_init_common early.
12144 (datahead_init_neg): Likewise.
12146 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
12147 datahead_init_neg): New functions.
12148 * nscd/aicache.c (addhstaiX): Use them.
12149 * nscd/grpcache.c (cache_addgr): Likewise.
12150 * nscd/hstcache.c (cache_addhst): Likewise.
12151 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12152 * nscd/netgroupcache.c (do_notfound): Likewise.
12153 (addgetnetgrentX): Likewise.
12154 (addinnetgrX): Likewise.
12155 * nscd/pwdcache.c (cache_addpw): Likewise.
12156 * nscd/servicescache.c (cache_addserv): Likewise.
12158 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12159 Atsushi Onoe <atsushi@onoe.org>
12164 * resolv/res_query.c (__libc_res_nsearch): Return if at least
12165 one response is valid.
12166 * resolv/res_send.c (send_dg): Check for validity of other
12167 response if the current response is a referral.
12169 2014-04-29 Steve Ellcey <sellcey@mips.com>
12171 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
12173 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
12176 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
12177 Always divide by positive zero when computing -Inf result.
12178 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
12179 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
12181 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12183 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
12184 FPSCR if value do not change.
12185 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12186 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
12187 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
12188 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12189 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
12190 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
12193 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
12195 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
12196 * sysdeps/unix/sysv/linux/hppa: Move directory from
12197 ports/systeps/unix/sysv/linux/hppa.
12198 * README: Update listing for hppa-*-linux-gnu.
12200 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
12203 * manual/stdio.texi (Hook functions): Fix types of stream hook
12206 * socket/sys/socket.h: Fix typo in comment.
12208 2014-04-28 Wilco <wdijkstr@arm.com>
12210 * sysdeps/arm/fenv_private.h: New file.
12211 * sysdeps/arm/math_private.h: New file.
12212 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
12214 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
12216 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
12218 (La_x86_64_retval): Likewise.
12220 2014-04-24 Ian Bolton <ian.bolton@arm.com>
12222 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
12223 fpsr if value didn't change.
12224 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
12225 to fpcr if value didn't change.
12226 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
12227 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
12228 fpsr or fpcr if value didn't change.
12229 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
12230 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
12231 fpcr if value didn't change.
12232 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
12233 to fpsr if value didn't change.
12235 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
12237 * nptl/tst-sem3.c: Use test-skeleton.c
12238 (main): Rename to do_test. Use return instead of
12240 * nptl/tst-sem4.c: Use test-skeleton.c
12241 (main): Rename to do_test.
12243 2014-04-22 David S. Miller <davem@davemloft.net>
12245 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
12246 (struct sigaction): New struct member __glibc_reserved0, change
12247 type of sa_flags to int.
12249 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
12251 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
12252 (COUNT_LEADING_ZEROS_0): Define for AArch64.
12254 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12256 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
12257 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
12259 2014-04-22 Will Newton <will.newton@linaro.org>
12260 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
12262 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
12263 (__longjmp): Add longjmp and longjmp_target SystemTap
12265 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
12266 (__sigsetjmp): Add setjmp SystemTap probe.
12268 2014-04-17 Carlos O'Donell <carlos@redhat.com>
12270 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
12271 match manual order.
12273 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12275 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
12277 * sysdeps/powerpc/fpu/fenv_private.h
12278 (libc_feholdexcept_setroundl_ctx): Define to
12279 libc_feholdexcept_setround_ppc_ctx.
12280 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
12281 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
12282 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
12283 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
12285 2014-04-17 Ian Bolton <ian.bolton@arm.com>
12287 * sysdeps/aarch64/math-tests.h: New file.
12289 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
12291 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
12293 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12294 Check and set bit_AVX2_Usable.
12295 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
12297 (bit_AVX2): Likewise.
12298 (index_AVX2_Usable): Likewise.
12299 (CPUID_AVX2): Likewise.
12300 (HAS_AVX2): Likewise.
12302 2014-04-17 Will Newton <will.newton@linaro.org>
12304 * manual/setjmp.texi (System V contexts): Add note that
12305 calling setcontext on a context created by a call to a
12306 signal handler is undefined. Update text to note that
12307 setcontext from a signal handler is possible but not
12311 * stdlib/tst-setcontext.c: Include signal.h.
12312 (main): Check that the signal stack before and
12313 after swapcontext is the same.
12315 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
12316 Re-implement to restore registers in user code and avoid
12317 rt_sigreturn system call.
12319 2014-04-17 Wilco <wdijkstr@arm.com>
12321 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
12322 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
12323 * math/test-fenv.c: Skip exception trap tests on targets which only
12324 support non-stop mode.
12326 2014-04-17 Ian Bolton <ian.bolton@arm.com>
12327 Wilco Dijkstra <wilco.dijkstra@arm.com>
12329 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
12330 (libc_feholdsetround_aarch64_ctx)
12331 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
12332 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
12333 (libc_feresetround_ctx, libc_feresetroundf_ctx)
12334 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
12335 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
12336 (libc_feresetround_noexl_ctx): Define.
12338 2014-04-16 Richard Henderson <rth@redhat.com>
12340 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
12342 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
12345 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
12346 const from the non-libc, non-ldso copy.
12348 * sysdeps/alpha/libm-test-ulps: Regenerate.
12350 2014-04-16 Ian Bolton <ian.bolton@arm.com>
12351 Wilco Dijkstra <wilco.dijkstra@arm.com>
12353 * sysdeps/aarch64/fpu/math_private.h: New file.
12355 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
12357 * sysdeps/aarch64/libm-test-ulps: Regenerate.
12359 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
12362 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
12363 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
12364 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
12365 Intel MPX bound registers before _dl_profile_fixup.
12366 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
12367 registers after _dl_profile_fixup. Save and restore bound
12368 registers bnd0/bnd1 when calling _dl_call_pltexit.
12369 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
12370 (LR_BND_OFFSET): Likewise.
12371 (LRV_BND0_OFFSET): Likewise.
12372 (LRV_BND1_OFFSET): Likewise.
12374 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12376 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
12378 * sysdeps/mach/hurd/i386/tls.h: ... here.
12379 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
12380 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
12383 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12385 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
12387 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
12389 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12391 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
12394 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
12395 * sysdeps/s390/configure: Regenerate.
12398 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
12399 Set round-to-nearest internally to reduce error accumulation.
12401 2014-04-16 Alan Modra <amodra@gmail.com>
12405 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
12406 * math/libm-test.inc (frexp_test_data): Add tests.
12407 * NEWS: Update fixed bug list.
12409 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12411 * benchtests/Makefile: Depend on libraries in build directory.
12412 (bench-math): Separate out math tests.
12413 (bench-pthread): Separate out pthread tests.
12414 (bench): Include math and pthread tests.
12416 2014-04-14 Carlos O'Donell <carlos@redhat.com>
12419 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
12420 _dl_debug_initialize.
12422 * configure.ac: Remove SELinux header check.
12423 * configure: Regenerate.
12424 * nscd/selinux.c (perms): Array of const char* to permission names.
12425 (nscd_request_avc_has_perm): Call security_deny_unknown to find
12426 default policy. Call string_to_security_class and string_to_av_perm to
12427 translate strings. Enforce default policy and call avs_has_perm with
12428 results of translated strings.
12430 2014-04-13 David S. Miller <davem@davemloft.net>
12432 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12434 2014-04-12 Allan McRae <allan@archlinux.org>
12437 * manual/string.texi (Collation Functions): Fix qsort argument
12439 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
12441 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
12443 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
12444 Make the test a no-op if there are no exceptions defined.
12446 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
12448 * elf/Makefile (tests): make tst-dlopen-aout conditional on
12449 enable-hardcoded-path-in-tests
12451 2014-04-11 Will Newton <will.newton@linaro.org>
12453 * benchtests/Makefile (extra-objs): Add json-lib.o.
12454 (bench-func): Tidy up JSON output.
12455 * benchtests/bench-skeleton.c: Include json-lib.h.
12456 (main): Use JSON library functions to do output of
12458 * benchtests/bench-timing-type.c (main): Output the
12459 timing type simply, leaving formatting to the user.
12460 * benchtests/json-lib.c: New file.
12461 * benchtests/json-lib.h: Likewise.
12463 2014-04-11 Torvald Riegel <triegel@redhat.com>
12466 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
12467 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
12468 memory barriers. Add comments.
12469 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
12470 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
12471 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
12472 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
12473 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
12474 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
12476 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
12478 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
12479 * sysdeps/s390/s390-64/configure.ac: ... this ...
12480 * sysdeps/s390/configure.ac: ... to here.
12481 * sysdeps/s390/s390-32/configure: Delete file.
12482 * sysdeps/s390/s390-64/configure: Delete file.
12483 * sysdeps/s390/configure: Regenerate.
12485 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
12487 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
12489 2014-04-11 Will Newton <will.newton@linaro.org>
12491 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
12492 to zero if it is not defined elsewhere. (mtrim): Test
12493 the value of MALLOC_DEBUG with #if rather than #ifdef.
12495 2014-04-10 Torvald Riegel <triegel@redhat.com>
12497 * benchtests/pthread_once-inputs: New file.
12498 * benchtests/pthread_once-source.c: New file.
12499 * benchtests/README: Update documentation.
12501 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
12502 H.J. Lu <hongjiu.lu@intel.com>
12505 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
12506 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
12507 * sysdeps/x86_64/configure: Regenerated.
12508 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
12510 (REGISTER_SAVE_RAX): Likewise.
12511 (REGISTER_SAVE_RCX): Likewise.
12512 (REGISTER_SAVE_RDX): Likewise.
12513 (REGISTER_SAVE_RSI): Likewise.
12514 (REGISTER_SAVE_RDI): Likewise.
12515 (REGISTER_SAVE_R8): Likewise.
12516 (REGISTER_SAVE_R9): Likewise.
12517 (REGISTER_SAVE_BND0): Likewise.
12518 (REGISTER_SAVE_BND1): Likewise.
12519 (REGISTER_SAVE_BND2): Likewise.
12520 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
12521 bound registers when calling _dl_fixup.
12523 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12525 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
12526 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
12528 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
12529 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
12530 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
12531 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
12532 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
12533 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
12534 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
12536 2014-04-09 Peter Brett <peter@peter-b.co.uk>
12539 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
12540 pathconf(_PC_NAME_MAX).
12542 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12544 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
12545 Remove macro usage.
12546 (__PTHREAD_SPINS): Move definition to ...
12547 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
12548 (__PTHREAD_SPINS): ... here.
12549 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12550 (__PTHREAD_SPIN): Likewise.
12551 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
12552 (__PTHREAD_SPIN): Likewise.
12553 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
12554 (__PTHREAD_SPIN): Likewise.
12555 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
12556 (__PTHREAD_SPIN): Likewise.
12557 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
12558 (__PTHREAD_SPIN): Likewise.
12559 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
12560 (__PTHREAD_SPIN): Likewise.
12561 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
12562 (__PTHREAD_SPIN): Likewise.
12563 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
12564 (__PTHREAD_SPIN): Likewise.
12565 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
12566 (__PTHREAD_SPIN): Likewise.
12567 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
12568 (__PTHREAD_SPIN): Likewise.
12569 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
12570 (__PTHREAD_SPIN): Likewise.
12571 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
12572 (__PTHREAD_SPIN): Likewise.
12574 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
12575 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
12576 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
12577 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
12579 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
12580 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
12581 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
12582 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
12583 correct imply path.
12584 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
12585 strlen symbol for non multi-arch builds.
12586 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
12587 missing hidden_def and weak_alias.
12589 2014-04-08 Carlos O'Donell <carlos@redhat.com>
12591 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
12593 2014-04-07 Will Newton <will.newton@linaro.org>
12595 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
12596 and contents. [!_LIBC] Remove #ifndef and contents.
12597 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
12598 * string/memccpy.c (__memccpy): Use ANSI prototype.
12599 * string/memfrob.c (memfrob): Likewise.
12600 * string/strcoll.c (STRCOLL): Likewise.
12601 * string/strlen.c (strlen): Likewise.
12602 * string/strtok.c (STRTOK): Likewise.
12603 * string/strcat.c: Remove unused #include of memcopy.h.
12604 (strcat): Use ANSI prototype.
12605 * string/strchr.c: Remove unused #include of memcopy.h.
12606 (strchr): Use ANSI prototype.
12607 * string/strcmp.c: Remove unused #include of memcopy.h.
12608 (strcmp): Use ANSI prototype.
12609 * string/strcpy.c: Remove unused #include of memcopy.h.
12610 (strcpy): Use ANSI prototype.
12612 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12614 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
12615 * config.make.in (config-extra-cppflags): Set it from
12616 libc_extra_cppflags.
12617 * configure.ac (libc_extra_cflags): Make it accumulate over
12618 configure fragments.
12619 (libc_extra_cppflags): New flag.
12620 * configure. Regenerate.
12621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
12622 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
12623 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
12624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
12627 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
12628 result for FE_DOWNWARD rounding mode.
12629 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
12631 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12633 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
12635 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
12636 in function argument name.
12638 2014-04-03 David Svoboda <svoboda@cert.org>
12641 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
12644 2014-04-03 Roland McGrath <roland@hack.frob.com>
12646 * elf/dl-unmap-segments.h: New file.
12647 * sysdeps/generic/ldsodefs.h
12648 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
12649 * elf/dl-close.c: Include <dl-unmap-segments.h>.
12650 * elf/dl-fptr.c: Likewise.
12651 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
12652 * sysdeps/aarch64/tlsdesc.c: Likewise.
12653 * sysdeps/arm/tlsdesc.c: Likewise.
12654 * sysdeps/i386/tlsdesc.c: Likewise.
12655 * sysdeps/tile/dl-runtime.c: Likewise.
12656 * sysdeps/x86_64/tlsdesc.c: Likewise.
12657 * elf/dl-load.h: New file.
12658 * elf/dl-load.c: Include it.
12659 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
12660 Macros moved to dl-load.h.
12661 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
12662 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
12663 Use _dl_unmap_segments in place of __munmap.
12664 Break out segment-mapping loop into ...
12665 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
12667 2014-04-03 Will Newton <will.newton@linaro.org>
12669 * elf/dl-lookup.c (do_lookup_x): Remove comment
12670 referring to nested function and move variable
12671 declarations down to before first use.
12673 2014-04-02 Joseph Myers <joseph@codesourcery.com>
12677 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
12679 * math/s_catanf.c (__catanf): Likewise.
12680 * math/s_catanh.c (__catanh): Likewise.
12681 * math/s_catanhf.c (__catanhf): Likewise.
12682 * math/s_catanhl.c (__catanhl): Likewise.
12683 * math/s_catanl.c (__catanl): Likewise.
12684 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
12685 by positive zero when computing -Inf result.
12686 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
12687 (catanh_test): Likewise.
12688 * sysdeps/i386/fpu/libm-test-ulps: Update.
12689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12692 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
12693 instead of using underflowing value in computing result.
12694 * math/s_clog10.c (__clog10): Likewise.
12695 * math/s_clog10f.c (__clog10f): Likewise.
12696 * math/s_clog10l.c (__clog10l): Likewise.
12697 * math/s_clogf.c (__clogf): Likewise.
12698 * math/s_clogl.c (__clogl): Likewise.
12699 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
12700 (clog10_test): Likewise.
12701 * sysdeps/i386/fpu/libm-test-ulps: Update.
12702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12704 2014-04-02 Alan Modra <amodra@gmail.com>
12707 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
12708 output when value is near a power of two. Use int64_t for lx and
12709 remove casts. Use decimal rather than hex exponent constants.
12710 Don't use long double multiplication when double will suffice.
12711 * math/libm-test.inc (nextafter_test_data): Add tests.
12712 * NEWS: Add 16739 and 16786 to bug list.
12714 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
12716 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
12718 2014-04-01 Will Newton <will.newton@linaro.org>
12720 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
12721 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
12723 2014-04-01 Florian Weimer <fweimer@redhat.com>
12726 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
12727 * nptl/tst-setuid2.c: New file.
12728 * nptl/Makefile (xtests): Add tst-setuid2.
12730 2014-04-01 Alan Modra <amodra@gmail.com>
12733 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
12735 2014-03-31 Joseph Myers <joseph@codesourcery.com>
12739 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
12740 set errno as appropriate.
12741 * math/w_scalbf.c (__scalbf): Likewise.
12742 * math/w_scalbl.c (__scalbl): Likewise.
12743 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
12744 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
12745 * math/libm-test.inc (scalb_test_data): Add errno expectations.
12746 Add more NaN tests.
12749 * math/w_atan2.c: Include <errno.h>.
12750 (__atan2): Set errno for result underflowing to zero.
12751 * math/w_atan2f.c: Include <errno.h>.
12752 (__atan2f): Set errno for result underflowing to zero.
12753 * math/w_atan2l.c: Include <errno.h>.
12754 (__atan2l): Set errno for result underflowing to zero.
12755 * math/auto-libm-test-in: Don't allow missing errno for some atan2
12757 * math/auto-libm-test-out: Regenerated.
12759 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12761 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
12762 Encode instruction correctly in little endian.
12763 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
12765 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
12767 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
12769 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
12772 2014-03-31 Joseph Myers <joseph@codesourcery.com>
12775 * sysdeps/unix/sysv/linux/kernel-features.h
12776 [__sparc__ && !__arch64__ && !__sparc_v9__]
12777 (__ASSUME_SET_ROBUST_LIST): Do not define.
12778 [__sparc__ && !__arch64__ && !__sparc_v9__]
12779 (__ASSUME_FUTEX_LOCK_PI): Likewise.
12780 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
12782 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12783 (__ASSUME_FUTEX_LOCK_PI): Undefine.
12784 (__ASSUME_REQUEUE_PI): Likewise.
12785 (__ASSUME_SET_ROBUST_LIST): Likewise.
12786 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12787 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
12789 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12790 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
12792 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
12794 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
12796 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12797 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
12799 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
12800 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
12804 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12805 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
12806 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
12808 2014-03-31 Will Newton <will.newton@linaro.org>
12810 * benchtests/Makefile (bench): Add ffs and ffsll to list
12812 * benchtests/ffs-inputs: New file.
12813 * benchtests/ffsll-inputs: Likewise.
12815 2014-03-29 Joseph Myers <joseph@codesourcery.com>
12818 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
12819 too large before casting to int.
12820 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
12821 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
12822 * math/libm-test.inc (scalb_test_data): Add more tests.
12824 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12826 * benchtests/Makefile (DETAILED_OPT): New make option.
12827 (bench-func): Run benchmark program with -d if DETAILED_OPT is
12829 * benchtests/bench-skeleton.c: Include stdbool.h.
12830 (main): Store and print timings per input.
12831 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
12832 member to each argument value.
12833 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
12834 (_print_arg_data): Initialize per-input timing to 0.
12836 * benchtests/Makefile (timing-type): New binary.
12837 (bench-clean): Also remove bench-timing-type.
12838 (bench): New target for timing-type.
12839 (bench-func): Print output in JSON format.
12840 * benchtests/bench-skeleton.c (main): Print output in JSON
12842 * benchtests/bench-timing-type.c: New file.
12843 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
12844 (TIMING_PRINT_STATS): Remove.
12845 * benchtests/scripts/bench.py (_print_arg_data): Store variant
12848 * benchtests/bench-modf.c: Remove.
12849 * benchtests/modf-inputs: New inputs file.
12851 2014-03-28 Joseph Myers <joseph@codesourcery.com>
12854 * math/s_clog10.c (M_PI_LOG10E): New macro.
12855 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
12856 imaginary parts are 0.
12857 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
12858 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
12859 imaginary parts are 0.
12860 * math/s_clog10l.c (M_PI_LOG10El): New macro.
12861 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
12862 imaginary parts are 0.
12863 * math/libm-test.inc (clog10_test_data): Update expected results
12864 for when real and imaginary parts are 0.
12866 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
12868 * elf/dl-load.c: Finish conversion of __builtin_expect into
12869 __glibc_{un}likely.
12871 2014-03-27 Joseph Myers <joseph@codesourcery.com>
12874 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
12875 1+x for argument with exponent below -67.
12876 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
12878 * math/auto-libm-test-in: Add more tests of exp.
12879 * math/auto-libm-test-out: Regenerated.
12881 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12884 * inet/getnetgrent_r.c (get_nonempty_val): New function.
12885 (nscd_getnetgrent): Use it.
12888 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
12891 2014-03-27 Andi Kleen <ak@linux.intel.com>
12893 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
12894 (lll_robust_lock, lll_cond_lock, lll_timedlock)
12895 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
12896 (lll_robust_unlock): Remove out of line section. Use cfi
12898 (LLL_STUB_UNWIND_INFO*): Remove.
12899 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
12900 (lll_robust_lock, lll_cond_lock, lll_timedlock)
12901 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
12902 (lll_robust_unlock): Remove out of line section. Use cfi
12904 (LLL_STUB_UNWIND_INFO*): Remove.
12906 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12909 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
12912 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
12914 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
12916 2014-03-26 Joseph Myers <joseph@codesourcery.com>
12919 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
12921 * math/test-fenv-preserve.c: New file.
12922 * math/Makefile (tests): Add test-fenv-preserve.
12924 2014-03-26 Will Newton <will.newton@linaro.org>
12926 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
12928 2014-03-25 Roland McGrath <roland@hack.frob.com>
12930 * scripts/versionlist.awk: Partition the version sets and emit all
12931 GLIBC_* (sorted) before all others (sorted).
12933 2014-03-25 Joseph Myers <joseph@codesourcery.com>
12935 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
12936 GLIBC_2.2.5 version.
12938 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12940 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
12943 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
12946 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12948 2014-03-25 Andreas Schwab <schwab@suse.de>
12950 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
12951 label to be used after in6ailist is initialized.
12953 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12955 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
12956 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
12958 2014-03-25 Joseph Myers <joseph@codesourcery.com>
12962 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
12964 (fp_formats): Update initializers.
12965 (init_fp_formats): Initialize new field.
12966 (output_for_one_input_case): Allow underflow for results up to
12968 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
12969 * math/auto-libm-test-in: Don't mark some underflows from asin and
12971 * math/auto-libm-test-out: Regenerated.
12972 * sysdeps/i386/fpu/libm-test-ulps: Update.
12973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12975 2014-03-25 Andreas Schwab <schwab@suse.de>
12977 * libio/Makefile (tst-ftell-partial-wide-ENV)
12978 (tst-ftell-active-handler-ENV): Define.
12980 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
12982 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
12984 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
12986 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
12988 2014-03-24 Joseph Myers <joseph@codesourcery.com>
12990 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
12991 * sysdeps/x86_64/fpu/multiarch/e_exp.c
12992 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12994 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
12997 * elf/dl-load.c (open_verify): Add mode parameter.
12998 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
12999 (open_path): Change from boolean 'secure' to complete flag 'mode'
13000 (_dl_map_object): Adjust.
13001 * elf/Makefile (tests): Add tst-dlopen-aout.
13002 * elf/tst-dlopen-aout.c: New test.
13004 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
13007 * sysdeps/unix/sysv/linux/s390/bits/stat.h
13008 (struct stat): Rename member pad0 to __glibc_reserved0.
13011 * sysdeps/s390/s390-32/bits/wordsize.h
13012 (__WORDSIZE32_SIZE_ULONG): New define.
13013 * sysdeps/s390/s390-64/bits/wordsize.h
13014 (__WORDSIZE32_SIZE_ULONG): Likewise.
13015 * sysdeps/generic/stdint.h (SIZE_MAX):
13016 Define as UL if __WORDSIZE32_SIZE_ULONG.
13019 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
13020 (__glibc_reserved0): New variable.
13021 (sa_flags): Change type to int.
13023 * posix/Makefile (before-compile): Use += before-compile instead
13026 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13027 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
13029 2014-03-20 Andreas Schwab <schwab@suse.de>
13032 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
13033 non-matching result from nscd.
13035 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13037 * scripts/bench.py: Moved to ...
13038 * benchtests/scripts/bench.py: ... here.
13039 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
13041 2014-03-24 Andreas Schwab <schwab@suse.de>
13044 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
13045 alloca_account and account alloca use for struct in6ailist.
13047 2014-03-24 Joseph Myers <joseph@codesourcery.com>
13050 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
13051 rounding mode to recompute results that overflow to infinity or
13053 * math/auto-libm-test-in: Don't mark tests as expected to fail for
13055 * math/auto-libm-test-out: Regenerated.
13056 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
13057 (ccosh_test): Likewise.
13058 (csin_test_data): Use plus_oflow.
13059 (csin_test): Use ALL_RM_TEST.
13060 (csinh_test_data): Use plus_oflow.
13061 (csinh_test): Use ALL_RM_TEST.
13062 * sysdeps/i386/fpu/libm-test-ulps: Update.
13063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13065 2014-03-21 Joseph Myers <joseph@codesourcery.com>
13067 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
13068 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
13069 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
13072 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
13073 when x - 1 is zero.
13074 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
13075 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
13076 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
13077 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
13079 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
13080 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
13082 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
13083 * sysdeps/i386/fpu/libm-test-ulps: Update.
13084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13086 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13088 * scripts/bench.pl: Remove file.
13089 * scripts/bench.py: New benchmark script.
13090 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
13091 * benchtests/README: Mention python dependency.
13092 * scripts/pylintrc: New file.
13093 * scripts/pylint: New file.
13095 * bits/mathdef.h: Use #ifdef instead of #if.
13096 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
13097 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13098 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
13099 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13100 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
13101 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13103 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13104 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13106 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
13107 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
13108 and strpbrk-ppc64 objects.
13109 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13110 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
13111 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
13112 multiarch strpbrk for POWER7.
13113 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
13114 multiarch strpbrk for PPC64.
13115 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
13117 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
13118 strpbrk for POWER7.
13120 2014-03-20 Joseph Myers <joseph@codesourcery.com>
13122 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
13123 (atan_test): Likewise.
13124 (atanh_test_data): Use NO_TEST_INLINE for two tests.
13125 (atanh_test): Use ALL_RM_TEST.
13126 (atan2_test_data): Likewise.
13127 (cabs_test): Likewise.
13128 (cacosh_test): Likewise.
13129 (carg_test): Likewise.
13130 (casin_test): Likewise.
13131 (casinh_test): Likewise.
13132 (cbrt_test): Likewise.
13133 (csqrt_test): Likewise.
13134 (erf_test): Likewise.
13135 (erfc_test): Likewise.
13136 (pow10_test): Likewise.
13137 (exp2_test): Likewise.
13138 (hypot_test): Likewise.
13139 (j0_test): Likewise.
13140 (j1_test): Likewise.
13141 (lgamma_test): Likewise.
13142 (gamma_test): Likewise.
13143 (sincos_test): Likewise.
13144 (tanh_test): Likewise.
13145 (y0_test): Likewise.
13146 (y1_test): Likewise.
13147 * sysdeps/i386/fpu/libm-test-ulps: Update.
13148 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13150 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13152 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
13153 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
13154 and strcspn-ppc64 objects.
13155 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13156 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
13157 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
13158 multiarch strcspn for POWER7.
13159 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
13160 multiarch strcspn for PPC64.
13161 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
13163 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
13164 strcspn for POWER7.
13166 2014-03-20 Joseph Myers <joseph@codesourcery.com>
13168 * math/gen-libm-test.pl (generate_testfile): Expect only function
13169 name as argument to AUTO_TESTS_* and pass results for all rounding
13170 modes to parse_args.
13171 (parse_auto_input): Separate inputs of automatic tests from
13172 outputs before storing in %auto_tests.
13173 * math/libm-test.inc (acos_test_data): Update call to
13175 (acos_test): Use ALL_RM_TEST.
13176 (acos_tonearest_test_data): Remove.
13177 (acos_test_tonearest): Likewise.
13178 (acos_towardzero_test_data): Likewise.
13179 (acos_test_towardzero): Likewise.
13180 (acos_downward_test_data): Likewise.
13181 (acos_test_downward): Likewise.
13182 (acos_upward_test_data): Likewise.
13183 (acos_test_upward): Likewise.
13184 (acosh_test_data): Update call to AUTO_TESTS_f_f.
13185 (asin_test_data): Likewise.
13186 (asin_test): Use ALL_RM_TEST.
13187 (asin_tonearest_test_data): Remove.
13188 (asin_test_tonearest): Likewise.
13189 (asin_towardzero_test_data): Likewise.
13190 (asin_test_towardzero): Likewise.
13191 (asin_downward_test_data): Likewise.
13192 (asin_test_downward): Likewise.
13193 (asin_upward_test_data): Likewise.
13194 (asin_test_upward): Likewise.
13195 (asinh_test_data): Update call to AUTO_TESTS_f_f.
13196 (atan_test_data): Likewise.
13197 (atanh_test_data): Likewise.
13198 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
13199 (cabs_test_data): Update call to AUTO_TESTS_c_f.
13200 (carg_test_data): Likewise.
13201 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
13202 (ccos_test_data): Update call to AUTO_TESTS_c_c.
13203 (ccosh_test_data): Likewise.
13204 (cexp_test_data): Likewise.
13205 (clog_test_data): Likewise.
13206 (clog10_test_data): Likewise.
13207 (cos_test_data): Update call to AUTO_TESTS_f_f.
13208 (cos_test): Use ALL_RM_TEST.
13209 (cos_tonearest_test_data): Remove.
13210 (cos_test_tonearest): Likewise.
13211 (cos_towardzero_test_data): Likewise.
13212 (cos_test_towardzero): Likewise.
13213 (cos_downward_test_data): Likewise.
13214 (cos_test_downward): Likewise.
13215 (cos_upward_test_data): Likewise.
13216 (cos_test_upward): Likewise.
13217 (cosh_test_data): Update call to AUTO_TESTS_f_f.
13218 (cosh_test): Use ALL_RM_TEST.
13219 (cosh_tonearest_test_data): Remove.
13220 (cosh_test_tonearest): Likewise.
13221 (cosh_towardzero_test_data): Likewise.
13222 (cosh_test_towardzero): Likewise.
13223 (cosh_downward_test_data): Likewise.
13224 (cosh_test_downward): Likewise.
13225 (cosh_upward_test_data): Likewise.
13226 (cosh_test_upward): Likewise.
13227 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
13228 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
13229 (ctan_test_data): Likewise.
13230 (ctan_test): Use ALL_RM_TEST.
13231 (ctan_tonearest_test_data): Remove.
13232 (ctan_test_tonearest): Likewise.
13233 (ctan_towardzero_test_data): Likewise.
13234 (ctan_test_towardzero): Likewise.
13235 (ctan_downward_test_data): Likewise.
13236 (ctan_test_downward): Likewise.
13237 (ctan_upward_test_data): Likewise.
13238 (ctan_test_upward): Likewise.
13239 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
13240 (ctanh_test): Use ALL_RM_TEST.
13241 (ctanh_tonearest_test_data): Remove.
13242 (ctanh_test_tonearest): Likewise.
13243 (ctanh_towardzero_test_data): Likewise.
13244 (ctanh_test_towardzero): Likewise.
13245 (ctanh_downward_test_data): Likewise.
13246 (ctanh_test_downward): Likewise.
13247 (ctanh_upward_test_data): Likewise.
13248 (ctanh_test_upward): Likewise.
13249 (erf_test_data): Update call to AUTO_TESTS_f_f.
13250 (erfc_test_data): Likewise.
13251 (exp_test_data): Likewise.
13252 (exp_test): Use ALL_RM_TEST.
13253 (exp_tonearest_test_data): Remove.
13254 (exp_test_tonearest): Likewise.
13255 (exp_towardzero_test_data): Likewise.
13256 (exp_test_towardzero): Likewise.
13257 (exp_downward_test_data): Likewise.
13258 (exp_test_downward): Likewise.
13259 (exp_upward_test_data): Likewise.
13260 (exp_test_upward): Likewise.
13261 (exp10_test_data): Update call to AUTO_TESTS_f_f.
13262 (exp10_test): Use ALL_RM_TEST.
13263 (exp10_tonearest_test_data): Remove.
13264 (exp10_test_tonearest): Likewise.
13265 (exp10_towardzero_test_data): Likewise.
13266 (exp10_test_towardzero): Likewise.
13267 (exp10_downward_test_data): Likewise.
13268 (exp10_test_downward): Likewise.
13269 (exp10_upward_test_data): Likewise.
13270 (exp10_test_upward): Likewise.
13271 (exp2_test_data): Update call to AUTO_TESTS_f_f.
13272 (expm1_test_data): Likewise.
13273 (expm1_test): Use ALL_RM_TEST.
13274 (expm1_tonearest_test_data): Remove.
13275 (expm1_test_tonearest): Likewise.
13276 (expm1_towardzero_test_data): Likewise.
13277 (expm1_test_towardzero): Likewise.
13278 (expm1_downward_test_data): Likewise.
13279 (expm1_test_downward): Likewise.
13280 (expm1_upward_test_data): Likewise.
13281 (expm1_test_upward): Likewise.
13282 (fma_test_data): Update call to AUTO_TESTS_fff_f.
13283 (fma_test): Use ALL_RM_TEST.
13284 (fma_towardzero_test_data): Remove.
13285 (fma_test_towardzero): Likewise.
13286 (fma_downward_test_data): Likewise.
13287 (fma_test_downward): Likewise.
13288 (fma_upward_test_data): Likewise.
13289 (fma_test_upward): Likewise.
13290 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
13291 (j0_test_data): Update call to AUTO_TESTS_f_f.
13292 (j1_test_data): Likewise.
13293 (jn_test_data): Update call to AUTO_TESTS_if_f.
13294 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
13295 (log_test_data): Update call to AUTO_TESTS_f_f.
13296 (log10_test_data): Likewise.
13297 (log1p_test_data): Likewise.
13298 (log2_test_data): Likewise.
13299 (pow_test_data): Update call to AUTO_TESTS_ff_f.
13300 (pow_tonearest_test_data): Likewise.
13301 (sin_test_data): Update call to AUTO_TESTS_f_f.
13302 (sin_test): Use ALL_RM_TEST.
13303 (sin_tonearest_test_data): Remove.
13304 (sin_test_tonearest): Likewise.
13305 (sin_towardzero_test_data): Likewise.
13306 (sin_test_towardzero): Likewise.
13307 (sin_downward_test_data): Likewise.
13308 (sin_test_downward): Likewise.
13309 (sin_upward_test_data): Likewise.
13310 (sin_test_upward): Likewise.
13311 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
13312 (sinh_test_data): Update call to AUTO_TESTS_f_f.
13313 (sinh_test): Use ALL_RM_TEST.
13314 (sinh_tonearest_test_data): Remove.
13315 (sinh_test_tonearest): Likewise.
13316 (sinh_towardzero_test_data): Likewise.
13317 (sinh_test_towardzero): Likewise.
13318 (sinh_downward_test_data): Likewise.
13319 (sinh_test_downward): Likewise.
13320 (sinh_upward_test_data): Likewise.
13321 (sinh_test_upward): Likewise.
13322 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
13323 (sqrt_test): Use ALL_RM_TEST.
13324 (sqrt_tonearest_test_data): Remove.
13325 (sqrt_test_tonearest): Likewise.
13326 (sqrt_towardzero_test_data): Likewise.
13327 (sqrt_test_towardzero): Likewise.
13328 (sqrt_downward_test_data): Likewise.
13329 (sqrt_test_downward): Likewise.
13330 (sqrt_upward_test_data): Likewise.
13331 (sqrt_test_upward): Likewise.
13332 (tan_test_data): Update call to AUTO_TESTS_f_f.
13333 (tan_test): Use ALL_RM_TEST.
13334 (tan_tonearest_test_data): Remove.
13335 (tan_test_tonearest): Likewise.
13336 (tan_towardzero_test_data): Likewise.
13337 (tan_test_towardzero): Likewise.
13338 (tan_downward_test_data): Likewise.
13339 (tan_test_downward): Likewise.
13340 (tan_upward_test_data): Likewise.
13341 (tan_test_upward): Likewise.
13342 (tanh_test_data): Update call to AUTO_TESTS_f_f.
13343 (tgamma_test_data): Likewise.
13344 (y0_test_data): Likewise.
13345 (y1_test_data): Likewise.
13346 (yn_test_data): Update call to AUTO_TESTS_if_f.
13347 (main): Do not call removed functions.
13349 2014-03-19 Joseph Myers <joseph@codesourcery.com>
13351 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
13352 (ldexp_test_data): Remove.
13353 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
13355 (scalb_test): Use ALL_RM_TEST.
13357 2014-03-19 Andreas Schwab <schwab@suse.de>
13359 * nscd/nscd.service: Also invalidate netgroup cache on reload.
13361 2014-03-19 Joseph Myers <joseph@codesourcery.com>
13364 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13365 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
13366 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
13367 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13368 (__ASSUME_PREADV): Undefine.
13369 (__ASSUME_PWRITEV): Likewise.
13371 2014-03-18 Roland McGrath <roland@hack.frob.com>
13373 * bits/mman-linux.h: Add comment about non-Linux use.
13374 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
13375 bits/mman-linux.h resting place.
13377 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
13378 * bits/mman-linux.h: ... here.
13380 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13382 * conform/conformtest.pl: Add standard definition when calling C
13383 preprocessor on data files.
13384 (checknamespace): Remove unused variable.
13386 2014-03-18 Joseph Myers <joseph@codesourcery.com>
13388 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
13389 minus_oflow, plus_uflow and minus_uflow in expected results.
13390 * math/libm-test.inc (scalbn_test_data): Add more tests of
13391 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
13393 (scalbn_test): Use ALL_RM_TEST.
13394 (scalbln_test_data): Add more tests of negative arguments. Use
13395 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
13396 (scalbln_test): Use ALL_RM_TEST.
13398 2014-03-18 Roland McGrath <roland@hack.frob.com>
13400 * scripts/abilist.awk: Ignore symbols marked with .hidden.
13402 2014-03-18 Will Newton <will.newton@linaro.org>
13404 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
13405 inaccurate comment.
13407 2014-03-18 Joseph Myers <joseph@codesourcery.com>
13409 * Makerules [!subdir] (check-abi): Exit with error status if a
13412 2014-03-17 Joseph Myers <joseph@codesourcery.com>
13414 * math/libm-test.inc (nearbyint_test_data): Include all tests used
13415 for rint. Include results for all rounding modes.
13416 (nearbyint_test): Use ALL_RM_TEST.
13417 (rint_test_data): Include all tests used for nearbyint.
13419 2014-03-17 Will Newton <will.newton@linaro.org>
13421 * nptl/sysdeps/pthread/pthread.h: Revert previous
13424 * sysdeps/generic/ldsodefs.h: Revert previous
13427 * libio/genops.c: Revert previous change.
13428 * libio/libioP.h: Likewise.
13429 * stdio-common/vfprintf.c: Likewise.
13431 * sysdeps/generic/math_private.h: Revert previous
13434 * sysdeps/generic/math_private.h: Check whether
13435 HAVE_RM_CTX is defined with #ifdef rather
13438 * argp/argp-fmtstream.h: Check whether
13439 __STRICT_ANSI__ is defined with #ifdef rather
13441 * argp/argp.h: Likewise.
13443 * libio/genops.c: Check whether
13444 _IO_JUMPS_OFFSET is defined with #ifdef rather
13446 * libio/libioP.h: Likewise.
13447 * stdio-common/vfprintf.c: Likewise.
13449 * sysdeps/generic/ldsodefs.h: Check whether
13450 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
13453 * nptl/sysdeps/pthread/pthread.h: Check
13454 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
13457 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13459 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
13461 * libio/tst-ftell-active-handler.c (do_append_test): Add a
13465 * libio/fileops.c (_IO_file_open): Seek to end of file but
13466 don't cache the offset.
13467 (get_file_offset): Remove function.
13468 (do_ftell): Use cached offset when available.
13469 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
13470 don't cache the offset.
13471 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
13473 (do_one_test): Call it.
13474 (do_ftell_test): Fix up expected old offset for a+ mode.
13475 * libio/wfileops.c (do_ftell_wide): Used cached offset when
13478 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
13479 up test status with function return status.
13480 (do_write_test): Likewise.
13481 (do_append_test): Likewise.
13483 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
13484 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
13487 2014-03-17 Joseph Myers <joseph@codesourcery.com>
13489 * math/gen-libm-test.pl (parse_args): Handle results specified for
13490 each rounding mode separately.
13491 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
13492 tests and results from lrint_tonearest_test_data,
13493 lrint_towardzero_test_data, lrint_downward_test_data and
13494 lrint_upward_test_data.
13495 (lrint_test): Use ALL_RM_TEST.
13496 (lrint_tonearest_test_data): Remove.
13497 (lrint_test_tonearest): Likewise.
13498 (lrint_towardzero_test_data): Likewise.
13499 (lrint_test_towardzero): Likewise.
13500 (lrint_downward_test_data): Likewise.
13501 (lrint_test_downward): Likewise.
13502 (lrint_upward_test_data): Likewise.
13503 (lrint_test_upward): Likewise.
13504 (llrint_test_data): Merge in per-rounding-mode tests and results
13505 from llrint_tonearest_test_data, llrint_towardzero_test_data,
13506 llrint_downward_test_data and llrint_upward_test_data.
13507 (llrint_test): Use ALL_RM_TEST.
13508 (llrint_tonearest_test_data): Remove.
13509 (llrint_test_tonearest): Likewise.
13510 (llrint_towardzero_test_data): Likewise.
13511 (llrint_test_towardzero): Likewise.
13512 (llrint_downward_test_data): Likewise.
13513 (llrint_test_downward): Likewise.
13514 (llrint_upward_test_data): Likewise.
13515 (llrint_test_upward): Likewise.
13516 (rint_test_data): Merge in per-rounding-mode tests and results
13517 from rint_tonearest_test_data, rint_towardzero_test_data,
13518 rint_downward_test_data and rint_upward_test_data. Add
13519 per-rounding-mode results for tests not in those arrays.
13520 (rint_test): Use ALL_RM_TEST.
13521 (rint_tonearest_test_data): Remove.
13522 (rint_test_tonearest): Likewise.
13523 (rint_towardzero_test_data): Likewise.
13524 (rint_test_towardzero): Likewise.
13525 (rint_downward_test_data): Likewise.
13526 (rint_test_downward): Likewise.
13527 (rint_upward_test_data): Likewise.
13528 (rint_test_upward): Likewise.
13529 (main): Don't call removed functions.
13531 2014-03-14 Roland McGrath <roland@hack.frob.com>
13533 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
13534 "Compiled on ..." crapola. It is anti-useful.
13536 2014-03-14 Joseph Myers <joseph@codesourcery.com>
13538 * scripts/evaluate-test.sh: Handle fourth argument to determine
13539 whether test run should stop on failure.
13540 * Makeconfig (stop-on-test-failure): New variable.
13541 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
13542 $(stop-on-test-failure).
13543 * Makefile (tests): Give a summary of results from testing and
13544 exit with failure status if they include an ERROR or FAIL.
13545 (xtests): Likewise.
13546 * manual/install.texi (Configuring and compiling): Mention
13547 stop-on-test-failure=y.
13548 * INSTALL: Regenerated.
13550 2014-03-14 Roland McGrath <roland@hack.frob.com>
13552 * scripts/versionlist.awk: New file.
13553 * Makerules [$(build-shared) = yes]
13554 (postclean-generated): Add Versions.def, not Versions.def.v and
13556 ($(common-objpfx)Versions.def.v.i): Target removed.
13557 ($(common-objpfx)Versions.def): New target.
13558 ($(common-objpfx)Versions.all): Depend on that rather that
13559 $(common-objpfx)Versions.def.v.
13560 * Versions.def: File removed.
13562 * Makeconfig (+gccwarn): Add -Wundef.
13563 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
13564 a dl-sysdep.h breaking its contract.
13565 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
13566 * include/stackinfo.h: New file.
13567 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
13568 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
13569 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
13570 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
13571 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
13572 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
13573 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13574 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13575 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13576 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13577 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13578 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
13579 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13580 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13581 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13583 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13586 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
13588 * math/libm-test.inc (round_test_data): Add more tests.
13591 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
13593 * math/libm-test.inc (nearbyint_test_data): Add more tests.
13596 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
13598 * math/libm-test.inc (ceil_test_data): Add more tests.
13600 * math/libm-test.inc (trunc_test_data): Add more tests related to
13603 2014-03-14 Roland McGrath <roland@hack.frob.com>
13605 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
13606 with #if rather than #ifdef.
13607 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
13609 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
13611 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
13612 first. Disable AVX-512 GCC support if assembler doesn't support
13614 * sysdeps/x86_64/configure: Regenerated.
13616 2014-03-13 Carlos O'Donell <carlos@redhat.com>
13618 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
13619 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
13620 (__old_pthread_attr_setstack): Likewise.
13621 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
13622 [!_STACK_GROWS_DOWN]: Likewise.
13624 2014-03-13 Mike Frysinger <vapier@gentoo.org>
13626 * config.make.in (have-bash2): Delete.
13627 * configure.ac (libc_cv_have_bash2): Delete.
13628 * configure: Regenerate.
13629 * elf/Makefile (common-ldd-rewrite): Rename to ...
13630 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
13631 (sh-ldd-rewrite): Delete.
13632 (bash-ldd-rewrite): Delete.
13633 (have-bash2): Delete checks.
13634 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
13637 * config.make.in (have-ksh): Delete.
13639 * configure.ac (libc_cv_have_ksh): Delete.
13640 * configure: Regenerate.
13642 * elf/Makefile: Delete $(have-ksh) check.
13643 ($(objpfx)sotruss): Change KSH to BASH.
13644 * elf/sotruss.ksh: Rename to ...
13645 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
13646 function style to match POSIX. Drop ksh vim mode setting.
13648 * manual/time.texi (Specifying the Time Zone with TZ): Change
13649 Tuesday to Thursday.
13651 * debug/tst-longjmp_chk2.c: Update header comment.
13652 (stackoverflow_handler): Add comment. Call assert on pass value.
13654 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
13657 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
13658 (HAVE_AVX512_ASM_SUPPORT): Likewise.
13659 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
13660 (La_x86_64_vector): Add zmm.
13661 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
13662 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
13663 ($(objpfx)tst-audit10): New target.
13664 ($(objpfx)tst-audit10.out): Likewise.
13665 (tst-audit10-ENV): New.
13666 (AVX512-CFLAGS): Likewise.
13667 (CFLAGS-tst-audit10.c): Likewise.
13668 (CFLAGS-tst-auditmod10a.c): Likewise.
13669 (CFLAGS-tst-auditmod10b.c): Likewise.
13670 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
13671 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
13672 * sysdeps/x86_64/configure: Regenerated.
13673 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
13674 AVX-512 zmm register support.
13675 (_dl_x86_64_save_sse): Likewise.
13676 (_dl_x86_64_restore_sse): Likewise.
13677 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
13678 size vector registers.
13679 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
13680 (ZMM_SIZE): Likewise.
13681 * sysdeps/x86_64/tst-audit10.c: New file.
13682 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
13683 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
13685 2014-03-13 Roland McGrath <roland@hack.frob.com>
13687 * configure.ac (HAVE_EHDR_START): New check.
13688 * configure: Regenerated.
13689 * config.h.in (HAVE_EHDR_START): New #undef.
13690 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
13691 assuming the lowest-addressed segment maps the start of the file.
13693 2014-03-13 Joseph Myers <joseph@codesourcery.com>
13695 * INSTALL: Regenerated.
13697 2014-03-13 Will Newton <will.newton@linaro.org>
13699 * manual/setjmp.texi (System V contexts): Improve
13700 clarity and grammar of documentation.
13702 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
13705 * elf/Makefile (tests): Add tst-pie2.
13706 (tests-pie): Add tst-pie2.
13707 * elf/tst-pie2.c: New file.
13708 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
13710 * elf/rtld.c (map_doit): Load executable as lt_executable.
13711 (dl_main): Likewise.
13713 2014-03-12 Joseph Myers <joseph@codesourcery.com>
13716 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13717 (__ASSUME_PSELECT): Undefine.
13719 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13722 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
13723 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
13725 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
13726 selector for static builds.
13728 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13731 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
13734 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13736 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
13737 IFUNC selector for static builds.
13739 2014-03-11 Joseph Myers <joseph@codesourcery.com>
13741 * sysdeps/mips/math_private.h [__mips_hard_float]
13742 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
13743 libc_feresetround_mips_ctx.
13744 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
13745 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
13746 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
13749 * math/s_nextafter.c (__nextafter): Do not return value from
13750 overflowing computation.
13751 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
13752 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
13753 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
13755 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
13757 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
13758 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
13760 2014-03-11 Roland McGrath <roland@hack.frob.com>
13762 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
13763 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
13764 Move sfi_sp use from the load-multiple (that no longer sets sp) to
13765 the new mov targetting sp.
13767 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13770 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
13771 Define it for static builds as well.
13772 (NO_BZERO_IMPL): Likewise.
13774 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13776 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
13777 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
13778 multiarch strspn for PPC64.
13779 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
13780 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
13781 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13782 (__libc_ifunc_impl_list): Likewise.
13783 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
13784 multiarch optimizations
13785 * string/strspn.c (strspn): Using macro to redefine symbol name.
13787 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13788 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13790 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
13791 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
13792 multiarch strncat for PPC64.
13793 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
13794 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
13795 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13796 (__libc_ifunc_impl_list): Likewise.
13797 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
13798 multiarch optimizations
13800 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13803 * nscd/nscd.service: Make service type forking.
13805 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13807 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
13808 sign in non default rounding modes.
13809 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
13811 2014-03-08 Joseph Myers <joseph@codesourcery.com>
13813 * math/libm-test.inc (ALL_RM_TEST): New macro.
13814 (ceil_test): Use ALL_RM_TEST.
13815 (cimag_test): Likewise.
13816 (conj_test): Likewise.
13817 (copysign_test): Likewise.
13818 (cproj_test): Likewise.
13819 (creal_test): Likewise.
13820 (fabs_test): Likewise.
13821 (floor_test): Likewise.
13822 (fmax_test): Likewise.
13823 (fmin_test): Likewise.
13824 (fmod_test): Likewise.
13825 (fpclassify_test): Likewise.
13826 (frexp_test): Likewise.
13827 (ilogb_test): Likewise.
13828 (isfinite_test): Likewise.
13829 (finite_test): Likewise.
13830 (isgreater_test): Likewise.
13831 (isgreaterequal_test): Likewise.
13832 (isinf_test): Likewise.
13833 (isless_test): Likewise.
13834 (islessequal_test): Likewise.
13835 (islessgreater_test): Likewise.
13836 (isnan_test): Likewise.
13837 (isnormal_test): Likewise.
13838 (issignaling_test): Likewise.
13839 (isunordered_test): Likewise.
13840 (logb_test): Likewise.
13841 (logb_downward_test_data): Remove.
13842 (logb_test_downward): Likewise.
13843 (lround_test): Use ALL_RM_TEST.
13844 (llround_test): Likewise.
13845 (modf_test): Likewise.
13846 (nexttoward_test): Likewise.
13847 (remainder_test): Likewise.
13848 (drem_test): Likewise.
13849 (remainder_tonearest_test_data): Likewise.
13850 (remainder_test_tonearest): Likewise.
13851 (drem_test_tonearest): Likewise.
13852 (remainder_towardzero_test_data): Likewise.
13853 (remainder_test_towardzero): Likewise.
13854 (drem_test_towardzero): Likewise.
13855 (remainder_downward_test_data): Likewise.
13856 (remainder_test_downward): Likewise.
13857 (drem_test_downward): Likewise.
13858 (remainder_upward_test_data): Likewise.
13859 (remainder_test_upward): Likewise.
13860 (drem_test_upward): Likewise.
13861 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
13862 (round_test): Use ALL_RM_TEST.
13863 (signbit_test): Likewise.
13864 (trunc_test): Likewise.
13865 (significand_test): Likewise.
13866 (main): Don't call removed functions.
13868 2014-03-07 Joseph Myers <joseph@codesourcery.com>
13871 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
13872 || __USE_XOPEN2K8].
13873 (ILL_ILLOPN): Likewise.
13874 (ILL_ILLADR): Likewise.
13875 (ILL_ILLTRP): Likewise.
13876 (ILL_PRVOPC): Likewise.
13877 (ILL_PRVREG): Likewise.
13878 (ILL_COPROC): Likewise.
13879 (ILL_BADSTK): Likewise.
13880 (FPE_INTDIV): Likewise.
13881 (FPE_INTOVF): Likewise.
13882 (FPE_FLTDIV): Likewise.
13883 (FPE_FLTOVF): Likewise.
13884 (FPE_FLTUND): Likewise.
13885 (FPE_FLTRES): Likewise.
13886 (FPE_FLTINV): Likewise.
13887 (FPE_FLTSUB): Likewise.
13888 (SEGV_MAPERR): Likewise.
13889 (SEGV_ACCERR): Likewise.
13890 (BUS_ADRALN): Likewise.
13891 (BUS_ADRERR): Likewise.
13892 (BUS_OBJERR): Likewise.
13893 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13894 (TRAP_TRACE): Likewise.
13895 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13897 (CLD_KILLED): Likewise.
13898 (CLD_DUMPED): Likewise.
13899 (CLD_TRAPPED): Likewise.
13900 (CLD_STOPPED): Likewise.
13901 (CLD_CONTINUED): Likewise.
13902 (POLL_IN): Likewise.
13903 (POLL_OUT): Likewise.
13904 (POLL_MSG): Likewise.
13905 (POLL_ERR): Likewise.
13906 (POLL_PRI): Likewise.
13907 (POLL_HUP): Likewise.
13908 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
13910 (ILL_ILLOPN): Likewise.
13911 (ILL_ILLADR): Likewise.
13912 (ILL_ILLTRP): Likewise.
13913 (ILL_PRVOPC): Likewise.
13914 (ILL_PRVREG): Likewise.
13915 (ILL_COPROC): Likewise.
13916 (ILL_BADSTK): Likewise.
13917 (FPE_INTDIV): Likewise.
13918 (FPE_INTOVF): Likewise.
13919 (FPE_FLTDIV): Likewise.
13920 (FPE_FLTOVF): Likewise.
13921 (FPE_FLTUND): Likewise.
13922 (FPE_FLTRES): Likewise.
13923 (FPE_FLTINV): Likewise.
13924 (FPE_FLTSUB): Likewise.
13925 (SEGV_MAPERR): Likewise.
13926 (SEGV_ACCERR): Likewise.
13927 (BUS_ADRALN): Likewise.
13928 (BUS_ADRERR): Likewise.
13929 (BUS_OBJERR): Likewise.
13930 (BUS_MCEERR_AR): Likewise.
13931 (BUS_MCEERR_AO): Likewise.
13932 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13933 (TRAP_TRACE): Likewise.
13934 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13936 (CLD_KILLED): Likewise.
13937 (CLD_DUMPED): Likewise.
13938 (CLD_TRAPPED): Likewise.
13939 (CLD_STOPPED): Likewise.
13940 (CLD_CONTINUED): Likewise.
13941 (POLL_IN): Likewise.
13942 (POLL_OUT): Likewise.
13943 (POLL_MSG): Likewise.
13944 (POLL_ERR): Likewise.
13945 (POLL_PRI): Likewise.
13946 (POLL_HUP): Likewise.
13947 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
13948 (ILL_ILLOPN): Likewise.
13949 (ILL_ILLADR): Likewise.
13950 (ILL_ILLTRP): Likewise.
13951 (ILL_PRVOPC): Likewise.
13952 (ILL_PRVREG): Likewise.
13953 (ILL_COPROC): Likewise.
13954 (ILL_BADSTK): Likewise.
13955 (FPE_INTDIV): Likewise.
13956 (FPE_INTOVF): Likewise.
13957 (FPE_FLTDIV): Likewise.
13958 (FPE_FLTOVF): Likewise.
13959 (FPE_FLTUND): Likewise.
13960 (FPE_FLTRES): Likewise.
13961 (FPE_FLTINV): Likewise.
13962 (FPE_FLTSUB): Likewise.
13963 (SEGV_MAPERR): Likewise.
13964 (SEGV_ACCERR): Likewise.
13965 (BUS_ADRALN): Likewise.
13966 (BUS_ADRERR): Likewise.
13967 (BUS_OBJERR): Likewise.
13968 (BUS_MCEERR_AR): Likewise.
13969 (BUS_MCEERR_AO): Likewise.
13970 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13971 (TRAP_TRACE): Likewise.
13972 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13974 (CLD_KILLED): Likewise.
13975 (CLD_DUMPED): Likewise.
13976 (CLD_TRAPPED): Likewise.
13977 (CLD_STOPPED): Likewise.
13978 (CLD_CONTINUED): Likewise.
13979 (POLL_IN): Likewise.
13980 (POLL_OUT): Likewise.
13981 (POLL_MSG): Likewise.
13982 (POLL_ERR): Likewise.
13983 (POLL_PRI): Likewise.
13984 (POLL_HUP): Likewise.
13985 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
13987 (ILL_ILLOPN): Likewise.
13988 (ILL_ILLADR): Likewise.
13989 (ILL_ILLTRP): Likewise.
13990 (ILL_PRVOPC): Likewise.
13991 (ILL_PRVREG): Likewise.
13992 (ILL_COPROC): Likewise.
13993 (ILL_BADSTK): Likewise.
13994 (ILL_BADIADDR): Likewise.
13995 (ILL_BREAK): Likewise.
13996 (FPE_INTDIV): Likewise.
13997 (FPE_INTOVF): Likewise.
13998 (FPE_FLTDIV): Likewise.
13999 (FPE_FLTOVF): Likewise.
14000 (FPE_FLTUND): Likewise.
14001 (FPE_FLTRES): Likewise.
14002 (FPE_FLTINV): Likewise.
14003 (FPE_FLTSUB): Likewise.
14004 (FPE_DECOVF): Likewise.
14005 (FPE_DECDIV): Likewise.
14006 (FPE_DECERR): Likewise.
14007 (FPE_INVASC): Likewise.
14008 (FPE_INVDEC): Likewise.
14009 (SEGV_MAPERR): Likewise.
14010 (SEGV_ACCERR): Likewise.
14011 (SEGV_PSTKOVF): Likewise.
14012 (BUS_ADRALN): Likewise.
14013 (BUS_ADRERR): Likewise.
14014 (BUS_OBJERR): Likewise.
14015 (BUS_MCEERR_AR): Likewise.
14016 (BUS_MCEERR_AO): Likewise.
14017 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14018 (TRAP_TRACE): Likewise.
14019 (TRAP_BRANCH): Likewise.
14020 (TRAP_HWBKPT): Likewise.
14021 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14023 (CLD_KILLED): Likewise.
14024 (CLD_DUMPED): Likewise.
14025 (CLD_TRAPPED): Likewise.
14026 (CLD_STOPPED): Likewise.
14027 (CLD_CONTINUED): Likewise.
14028 (POLL_IN): Likewise.
14029 (POLL_OUT): Likewise.
14030 (POLL_MSG): Likewise.
14031 (POLL_ERR): Likewise.
14032 (POLL_PRI): Likewise.
14033 (POLL_HUP): Likewise.
14034 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
14035 (ILL_ILLOPN): Likewise.
14036 (ILL_ILLADR): Likewise.
14037 (ILL_ILLTRP): Likewise.
14038 (ILL_PRVOPC): Likewise.
14039 (ILL_PRVREG): Likewise.
14040 (ILL_COPROC): Likewise.
14041 (ILL_BADSTK): Likewise.
14042 (FPE_INTDIV): Likewise.
14043 (FPE_INTOVF): Likewise.
14044 (FPE_FLTDIV): Likewise.
14045 (FPE_FLTOVF): Likewise.
14046 (FPE_FLTUND): Likewise.
14047 (FPE_FLTRES): Likewise.
14048 (FPE_FLTINV): Likewise.
14049 (FPE_FLTSUB): Likewise.
14050 (SEGV_MAPERR): Likewise.
14051 (SEGV_ACCERR): Likewise.
14052 (BUS_ADRALN): Likewise.
14053 (BUS_ADRERR): Likewise.
14054 (BUS_OBJERR): Likewise.
14055 (BUS_MCEERR_AR): Likewise.
14056 (BUS_MCEERR_AO): Likewise.
14057 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14058 (TRAP_TRACE): Likewise.
14059 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14061 (CLD_KILLED): Likewise.
14062 (CLD_DUMPED): Likewise.
14063 (CLD_TRAPPED): Likewise.
14064 (CLD_STOPPED): Likewise.
14065 (CLD_CONTINUED): Likewise.
14066 (POLL_IN): Likewise.
14067 (POLL_OUT): Likewise.
14068 (POLL_MSG): Likewise.
14069 (POLL_ERR): Likewise.
14070 (POLL_PRI): Likewise.
14071 (POLL_HUP): Likewise.
14072 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
14073 (ILL_ILLOPN): Likewise.
14074 (ILL_ILLADR): Likewise.
14075 (ILL_ILLTRP): Likewise.
14076 (ILL_PRVOPC): Likewise.
14077 (ILL_PRVREG): Likewise.
14078 (ILL_COPROC): Likewise.
14079 (ILL_BADSTK): Likewise.
14080 (FPE_INTDIV): Likewise.
14081 (FPE_INTOVF): Likewise.
14082 (FPE_FLTDIV): Likewise.
14083 (FPE_FLTOVF): Likewise.
14084 (FPE_FLTUND): Likewise.
14085 (FPE_FLTRES): Likewise.
14086 (FPE_FLTINV): Likewise.
14087 (FPE_FLTSUB): Likewise.
14088 (SEGV_MAPERR): Likewise.
14089 (SEGV_ACCERR): Likewise.
14090 (BUS_ADRALN): Likewise.
14091 (BUS_ADRERR): Likewise.
14092 (BUS_OBJERR): Likewise.
14093 (BUS_MCEERR_AR): Likewise.
14094 (BUS_MCEERR_AO): Likewise.
14095 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14096 (TRAP_TRACE): Likewise.
14097 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14099 (CLD_KILLED): Likewise.
14100 (CLD_DUMPED): Likewise.
14101 (CLD_TRAPPED): Likewise.
14102 (CLD_STOPPED): Likewise.
14103 (CLD_CONTINUED): Likewise.
14104 (POLL_IN): Likewise.
14105 (POLL_OUT): Likewise.
14106 (POLL_MSG): Likewise.
14107 (POLL_ERR): Likewise.
14108 (POLL_PRI): Likewise.
14109 (POLL_HUP): Likewise.
14110 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
14111 (ILL_ILLOPN): Likewise.
14112 (ILL_ILLADR): Likewise.
14113 (ILL_ILLTRP): Likewise.
14114 (ILL_PRVOPC): Likewise.
14115 (ILL_PRVREG): Likewise.
14116 (ILL_COPROC): Likewise.
14117 (ILL_BADSTK): Likewise.
14118 (FPE_INTDIV): Likewise.
14119 (FPE_INTOVF): Likewise.
14120 (FPE_FLTDIV): Likewise.
14121 (FPE_FLTOVF): Likewise.
14122 (FPE_FLTUND): Likewise.
14123 (FPE_FLTRES): Likewise.
14124 (FPE_FLTINV): Likewise.
14125 (FPE_FLTSUB): Likewise.
14126 (SEGV_MAPERR): Likewise.
14127 (SEGV_ACCERR): Likewise.
14128 (BUS_ADRALN): Likewise.
14129 (BUS_ADRERR): Likewise.
14130 (BUS_OBJERR): Likewise.
14131 (BUS_MCEERR_AR): Likewise.
14132 (BUS_MCEERR_AO): Likewise.
14133 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14134 (TRAP_TRACE): Likewise.
14135 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14137 (CLD_KILLED): Likewise.
14138 (CLD_DUMPED): Likewise.
14139 (CLD_TRAPPED): Likewise.
14140 (CLD_STOPPED): Likewise.
14141 (CLD_CONTINUED): Likewise.
14142 (POLL_IN): Likewise.
14143 (POLL_OUT): Likewise.
14144 (POLL_MSG): Likewise.
14145 (POLL_ERR): Likewise.
14146 (POLL_PRI): Likewise.
14147 (POLL_HUP): Likewise.
14148 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
14149 (ILL_ILLOPN): Likewise.
14150 (ILL_ILLADR): Likewise.
14151 (ILL_ILLTRP): Likewise.
14152 (ILL_PRVOPC): Likewise.
14153 (ILL_PRVREG): Likewise.
14154 (ILL_COPROC): Likewise.
14155 (ILL_BADSTK): Likewise.
14156 (ILL_DBLFLT): Likewise.
14157 (ILL_HARDWALL): Likewise.
14158 (FPE_INTDIV): Likewise.
14159 (FPE_INTOVF): Likewise.
14160 (FPE_FLTDIV): Likewise.
14161 (FPE_FLTOVF): Likewise.
14162 (FPE_FLTUND): Likewise.
14163 (FPE_FLTRES): Likewise.
14164 (FPE_FLTINV): Likewise.
14165 (FPE_FLTSUB): Likewise.
14166 (SEGV_MAPERR): Likewise.
14167 (SEGV_ACCERR): Likewise.
14168 (BUS_ADRALN): Likewise.
14169 (BUS_ADRERR): Likewise.
14170 (BUS_OBJERR): Likewise.
14171 (BUS_MCEERR_AR): Likewise.
14172 (BUS_MCEERR_AO): Likewise.
14173 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14174 (TRAP_TRACE): Likewise.
14175 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14177 (CLD_KILLED): Likewise.
14178 (CLD_DUMPED): Likewise.
14179 (CLD_TRAPPED): Likewise.
14180 (CLD_STOPPED): Likewise.
14181 (CLD_CONTINUED): Likewise.
14182 (POLL_IN): Likewise.
14183 (POLL_OUT): Likewise.
14184 (POLL_MSG): Likewise.
14185 (POLL_ERR): Likewise.
14186 (POLL_PRI): Likewise.
14187 (POLL_HUP): Likewise.
14188 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
14189 (ILL_ILLOPN): Likewise.
14190 (ILL_ILLADR): Likewise.
14191 (ILL_ILLTRP): Likewise.
14192 (ILL_PRVOPC): Likewise.
14193 (ILL_PRVREG): Likewise.
14194 (ILL_COPROC): Likewise.
14195 (ILL_BADSTK): Likewise.
14196 (FPE_INTDIV): Likewise.
14197 (FPE_INTOVF): Likewise.
14198 (FPE_FLTDIV): Likewise.
14199 (FPE_FLTOVF): Likewise.
14200 (FPE_FLTUND): Likewise.
14201 (FPE_FLTRES): Likewise.
14202 (FPE_FLTINV): Likewise.
14203 (FPE_FLTSUB): Likewise.
14204 (SEGV_MAPERR): Likewise.
14205 (SEGV_ACCERR): Likewise.
14206 (BUS_ADRALN): Likewise.
14207 (BUS_ADRERR): Likewise.
14208 (BUS_OBJERR): Likewise.
14209 (BUS_MCEERR_AR): Likewise.
14210 (BUS_MCEERR_AO): Likewise.
14211 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14212 (TRAP_TRACE): Likewise.
14213 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14215 (CLD_KILLED): Likewise.
14216 (CLD_DUMPED): Likewise.
14217 (CLD_TRAPPED): Likewise.
14218 (CLD_STOPPED): Likewise.
14219 (CLD_CONTINUED): Likewise.
14220 (POLL_IN): Likewise.
14221 (POLL_OUT): Likewise.
14222 (POLL_MSG): Likewise.
14223 (POLL_ERR): Likewise.
14224 (POLL_PRI): Likewise.
14225 (POLL_HUP): Likewise.
14226 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
14227 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
14230 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
14231 before #include of <time.h>.
14232 [!__USE_XOPEN2K] (__need_timespec): Likewise.
14233 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
14234 (test-xfail-UNIX98/sched.h/conform): Likewise.
14236 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
14238 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
14239 error absence of trapping exception support.
14240 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
14242 2014-03-07 Joseph Myers <joseph@codesourcery.com>
14244 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
14245 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
14246 * timezone/Makefile (testdata): Move definition above include of
14248 (test-zones): New variable.
14249 (tests-special): Add zone files.
14250 (build-testdata): Use $(evaluate-test).
14252 * elf/Makefile (tests-special): Rename tests to end with .out.
14253 ($(objpfx)noload-mem): Likewise.
14254 ($(objpfx)tst-leaks1-mem): Likewise.
14255 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
14256 * iconv/Makefile (xtests-special): Change test-iconvconfig to
14257 $(objpfx)test-iconvconfig.out.
14258 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
14259 set -e inside subshell and redirect output to file.
14260 * iconvdata/Makefile (generated): Rename tests to end with .out.
14262 (tests-special): Rename tests to end with .out.
14263 ($(objpfx)mtrace-tst-loading): Likewise.
14264 * intl/Makefile (generated): Likewise.
14265 (tests-special): Likewise.
14266 ($(objpfx)mtrace-tst-gettext): Likewise.
14267 * misc/Makefile (generated): Likewise.
14268 (tests-special): Likewise.
14269 ($(objpfx)tst-error1-mem): Likewise.
14270 * nptl/Makefile (tests-special): Likewise.
14271 ($(objpfx)tst-stack3-mem): Likewise.
14272 (generated): Likewise.
14273 * posix/Makefile (generated): Likewise.
14274 (tests-special): Likewise.
14275 (xtests-special): Likewise.
14276 ($(objpfx)tst-fnmatch-mem): Likewise.
14277 ($(objpfx)bug-regex2-mem): Likewise.
14278 ($(objpfx)bug-regex14-mem): Likewise.
14279 ($(objpfx)bug-regex21-mem): Likewise.
14280 ($(objpfx)bug-regex31-mem): Likewise.
14281 ($(objpfx)tst-vfork3-mem): Likewise.
14282 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
14283 ($(objpfx)tst-pcre-mem): Likewise.
14284 ($(objpfx)tst-boost-mem): Likewise.
14285 ($(objpfx)bug-ga2-mem): Likewise.
14286 ($(objpfx)bug-glob2-mem): Likewise.
14287 * resolv/Makefile (generate): Likewise.
14288 (tests-special): Likewise.
14289 (xtests-special): Likewise.
14290 (generated): Likewise.
14291 ($(objpfx)mtrace-tst-leaks): Likewise.
14292 ($(objpfx)mtrace-tst-leaks2): Likewise.
14294 * scripts/merge-test-results.sh: New file.
14295 * Makefile (tests-special-notdir): New variable.
14296 (tests): Run merge-test-results.sh.
14297 (xtests): Likewise.
14298 * Rules (tests-special-notdir): New variable.
14299 (xtests-special-notdir): Likewise.
14300 (tests): Run merge-test-results.sh
14301 (xtests): Likewise.
14303 * Makeconfig (test-xfail-name): New variable.
14304 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
14305 compute variable name for expected failures.
14306 * conform/Makefile (conformtest-headers-data): New variable.
14307 (conformtest-standards): Likewise.
14308 (conformtest-headers-ISO): Likewise.
14309 (conformtest-headers-ISO99): Likewise.
14310 (conformtest-headers-ISO11): Likewise.
14311 (conformtest-headers-POSIX): Likewise.
14312 (conformtest-headers-XPG3): Likewise.
14313 (conformtest-headers-XPG4): Likewise.
14314 (conformtest-headers-UNIX98): Likewise.
14315 (conformtest-headers-XOPEN2K): Likewise.
14316 (conformtest-headers-POSIX2008): Likewise.
14317 (conformtest-headers-XOPEN2K8): Likewise.
14318 (conformtest-header-list-base): Likewise.
14319 (conformtest-header-list-tests): Likewise.
14320 (conformtest-header-base): Likewise.
14321 (conformtest-header-tests): Likewise.
14322 (tests-special): Add $(conformtest-header-list-tests). If
14323 [$(fast-check) && !$(cross-compiling)], add
14324 $(conformtest-header-tests) instead of
14325 $(objpfx)run-conformtest.out.
14326 (generated): Add $(conformtest-header-list-base). If
14327 [$(fast-check) && !$(cross-compiling)], add
14328 $(conformtest-header-base). Remove previous setting.
14329 ($(conformtest-header-list-tests)): New target.
14330 (test-xfail-run-conformtest): Remove variable.
14331 ($(objpfx)run-conformtest.out): Remove target.
14332 (test-xfail-ISO11/complex.h/conform): New variable.
14333 (test-xfail-ISO11/stdalign.h/conform): Likewise.
14334 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
14335 (test-xfail-XPG3/varargs.h/conform): Likewise.
14336 (test-xfail-XPG4/varargs.h/conform): Likewise.
14337 (test-xfail-UNIX98/varargs.h/conform): Likewise.
14338 (test-xfail-XPG4/ndbm.h/conform): Likewise.
14339 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
14340 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
14341 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
14342 (test-xfail-XPG3/fcntl.h/conform): Likewise.
14343 (test-xfail-XPG3/ftw.h/conform): Likewise.
14344 (test-xfail-XPG3/grp.h/conform): Likewise.
14345 (test-xfail-XPG3/langinfo.h/conform): Likewise.
14346 (test-xfail-XPG3/limits.h/conform): Likewise.
14347 (test-xfail-XPG3/pwd.h/conform): Likewise.
14348 (test-xfail-XPG3/search.h/conform): Likewise.
14349 (test-xfail-XPG3/signal.h/conform): Likewise.
14350 (test-xfail-XPG3/stdio.h/conform): Likewise.
14351 (test-xfail-XPG3/stdlib.h/conform): Likewise.
14352 (test-xfail-XPG3/string.h/conform): Likewise.
14353 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
14354 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
14355 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
14356 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
14357 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
14358 (test-xfail-XPG3/sys/types.h/conform): Likewise.
14359 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
14360 (test-xfail-XPG3/termios.h/conform): Likewise.
14361 (test-xfail-XPG3/time.h/conform): Likewise.
14362 (test-xfail-XPG3/unistd.h/conform): Likewise.
14363 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
14364 (test-xfail-XPG4/fcntl.h/conform): Likewise.
14365 (test-xfail-XPG4/langinfo.h/conform): Likewise.
14366 (test-xfail-XPG4/netdb.h/conform): Likewise.
14367 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
14368 (test-xfail-XPG4/signal.h/conform): Likewise.
14369 (test-xfail-XPG4/stdio.h/conform): Likewise.
14370 (test-xfail-XPG4/stdlib.h/conform): Likewise.
14371 (test-xfail-XPG4/stropts.h/conform): Likewise.
14372 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
14373 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
14374 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
14375 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
14376 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
14377 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
14378 (test-xfail-XPG4/sys/time.h/conform): Likewise.
14379 (test-xfail-XPG4/sys/types.h/conform): Likewise.
14380 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
14381 (test-xfail-XPG4/termios.h/conform): Likewise.
14382 (test-xfail-XPG4/ucontext.h/conform): Likewise.
14383 (test-xfail-XPG4/unistd.h/conform): Likewise.
14384 (test-xfail-XPG4/utmpx.h/conform): Likewise.
14385 (test-xfail-POSIX/sched.h/conform): Likewise.
14386 (test-xfail-POSIX/signal.h/conform): Likewise.
14387 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
14388 (test-xfail-POSIX/tar.h/conform): Likewise.
14389 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
14390 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
14391 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
14392 (test-xfail-UNIX98/netdb.h/conform): Likewise.
14393 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
14394 (test-xfail-UNIX98/sched.h/conform): Likewise.
14395 (test-xfail-UNIX98/signal.h/conform): Likewise.
14396 (test-xfail-UNIX98/stdio.h/conform): Likewise.
14397 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
14398 (test-xfail-UNIX98/stropts.h/conform): Likewise.
14399 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
14400 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
14401 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
14402 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
14403 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
14404 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
14405 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
14406 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
14407 (test-xfail-UNIX98/unistd.h/conform): Likewise.
14408 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
14409 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
14410 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
14411 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
14412 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
14413 (test-xfail-XOPEN2K/math.h/conform): Likewise.
14414 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
14415 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
14416 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
14417 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
14418 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
14419 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
14420 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
14421 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
14422 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
14423 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
14424 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
14425 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
14426 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
14427 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
14428 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
14429 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
14430 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
14431 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
14432 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
14433 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
14434 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
14435 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
14436 (test-xfail-POSIX2008/signal.h/conform): Likewise.
14437 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
14438 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
14439 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
14440 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
14441 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
14442 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
14443 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
14444 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
14445 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
14446 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
14447 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
14448 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
14449 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
14450 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
14451 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
14452 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
14453 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
14454 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
14455 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
14456 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
14457 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
14458 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
14459 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
14460 (conformtest-cc-flags): Likewise.
14461 ($(conformtest-header-tests): New target.
14462 * conform/check-header-lists.sh: New file.
14463 * conform/run-conformtest.sh: Remove.
14465 * conform/conformtest.pl: Allow ' and \ in values given for
14467 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
14469 [POSIX] (sys/types.h): Likewise.
14470 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
14472 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
14474 * conform/data/signal.h-data (SIGIO): Remove expectation.
14475 [XPG3] (SIGBUS): Do not expect.
14476 [POSIX || XPG3] (SIGPOLL): Likewise.
14477 [POSIX || XPG3] (SIGPROF): Likewise.
14478 [POSIX || XPG3] (SIGSYS): Likewise.
14479 [XPG3] (SIGTRAP): Likewise.
14480 [POSIX || XPG3] (SIGURG): Likewise.
14481 [POSIX || XPG3] (SIGVTALRM): Likewise.
14482 [POSIX || XPG3] (SIGXCPU): Likewise.
14483 [POSIX || XPG3] (SIGXFSZ): Likewise.
14484 [POSIX] (SA_SIGINFO): Expect.
14485 [XPG3] (siginfo_t): Do not expect type or contents.
14486 [POSIX] (si_pid): Do not expect element.
14487 [POSIX] (si_uid): Likewise.
14488 [POSIX] (si_addr): Likewise.
14489 [POSIX] (si_status): Likewise.
14490 [POSIX] (si_band): Likewise.
14491 [XPG4] (si_value): Likewise.
14492 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
14493 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
14494 [POSIX || XPG3] (ILL_ILLADR): Likewise.
14495 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
14496 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
14497 [POSIX || XPG3] (ILL_PRVREG): Likewise.
14498 [POSIX || XPG3] (ILL_COPROC): Likewise.
14499 [POSIX || XPG3] (ILL_BADSTK): Likewise.
14500 [POSIX || XPG3] (FPE_INTDIV): Likewise.
14501 [POSIX || XPG3] (FPE_INTOVF): Likewise.
14502 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
14503 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
14504 [POSIX || XPG3] (FPE_FLTUND): Likewise.
14505 [POSIX || XPG3] (FPE_FLTRES): Likewise.
14506 [POSIX || XPG3] (FPE_FLTINV): Likewise.
14507 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
14508 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
14509 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
14510 [POSIX || XPG3] (BUS_ADRALN): Likewise.
14511 [POSIX || XPG3] (BUS_ADRERR): Likewise.
14512 [POSIX || XPG3] (BUS_OBJERR): Likewise.
14513 [POSIX || XPG3] (CLD_EXITED): Likewise.
14514 [POSIX || XPG3] (CLD_KILLED): Likewise.
14515 [POSIX || XPG3] (CLD_DUMPED): Likewise.
14516 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
14517 [POSIX || XPG3] (CLD_STOPPED): Likewise.
14518 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
14519 [POSIX || XPG3] (POLL_IN): Likewise.
14520 [POSIX || XPG3] (POLL_OUT): Likewise.
14521 [POSIX || XPG3] (POLL_MSG): Likewise.
14522 [POSIX || XPG3] (POLL_ERR): Likewise.
14523 [POSIX || XPG3] (POLL_PRI): Likewise.
14524 [POSIX || XPG3] (POLL_HUP): Likewise.
14525 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
14526 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
14527 (SIG*): Do not allow.
14528 [XPG3] (si_*): Likewise.
14529 [XPG3] (SI_*): Likewise.
14530 [XPG3 || XPG4] (sigev_*): Likewise.
14531 [XPG3 || XPG4] (SIGEV_*): Likewise.
14532 [XPG3 || XPG4] (sival_*): Likewise.
14533 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
14534 [POSIX || XPG3] (BUS_*): Likewise.
14535 [POSIX || XPG3] (CLD_*): Likewise.
14536 [POSIX || XPG3] (FPE_*): Likewise.
14537 [POSIX || XPG3] (ILL_*): Likewise.
14538 [POSIX || XPG3] (POLL_*): Likewise.
14539 [POSIX || XPG3] (SEGV_*): Likewise.
14540 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
14541 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
14542 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
14543 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
14544 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
14545 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
14546 Specify type and value.
14547 (TVERSLEN): Likewise.
14548 (REGTYPE): Likewise.
14549 (AREGTYPE): Likewise.
14550 (LNKTYPE): Likewise.
14551 (SYMTYPE): Likewise.
14552 (CHRTYPE): Likewise.
14553 (BLKTYPE): Likewise.
14554 (DIRTYPE): Likewise.
14555 (FIFOTYPE): Likewise.
14556 (CONTTYPE): Likewise.
14560 (TUREAD): Likewise.
14561 (TUWRITE): Likewise.
14562 (TUEXEC): Likewise.
14563 (TGREAD): Likewise.
14564 (TGWRITE): Likewise.
14565 (TGEXEC): Likewise.
14566 (TOREAD): Likewise.
14567 (TOWRITE): Likewise.
14568 (TOEXEC): Likewise.
14569 [POSIX] (TSVTX): Expect constant.
14571 2014-03-06 Joseph Myers <joseph@codesourcery.com>
14573 * Makefile (tests): Change dependencies to ....
14574 (tests-special): ... additions to this variable.
14575 (tests): Depend on $(tests-special).
14576 * Makerules (check-abi-list): New variable.
14577 (check-abi): Depend on $(check-abi-list).
14578 [$(subdir) = elf] (tests-special): Add
14579 $(objpfx)check-abi-libc.out.
14580 [$(build-shared) = yes && subdir] (tests-special): Add
14582 [$(build-shared) = yes && subdir] (tests): Do not depend on
14584 * Rules (tests): Depend on $(tests-special).
14585 (xtests): Depend on $(xtests-special).
14586 * catgets/Makefile (tests): Change dependencies to ....
14587 (tests-special): ... additions to this variable.
14588 * conform/Makefile (tests): Change dependencies to ....
14589 (tests-special): ... additions to this variable.
14590 * elf/Makefile (tests): Change dependencies to ....
14591 (tests-special): ... additions to this variable.
14592 * grp/Makefile (tests): Change dependencies to ....
14593 (tests-special): ... additions to this variable.
14594 * iconv/Makefile (xtests): Change dependencies to ....
14595 (xtests-special): ... additions to this variable.
14596 * iconvdata/Makefile (tests): Change dependencies to ....
14597 (tests-special): ... additions to this variable.
14598 * intl/Makefile (tests): Change dependencies to ....
14599 (tests-special): ... additions to this variable. Also add
14600 $(objpfx)tst-gettext.out.
14601 * io/Makefile (tests): Change dependencies to ....
14602 (tests-special): ... additions to this variable.
14603 * libio/Makefile (tests): Change dependencies to ....
14604 (tests-special): ... additions to this variable.
14605 * malloc/Makefile (tests): Change dependencies to ....
14606 (tests-special): ... additions to this variable.
14607 * misc/Makefile (tests): Change dependencies to ....
14608 (tests-special): ... additions to this variable.
14609 * nptl/Makefile (tests): Change dependencies to ....
14610 (tests-special): ... additions to this variable.
14611 * nptl_db/Makefile (tests): Change dependencies to ....
14612 (tests-special): ... additions to this variable.
14613 * posix/Makefile (tests): Change dependencies to ....
14614 (tests-special): ... additions to this variable.
14615 (xtests): Change dependencies to ....
14616 (xtests-special): ... additions to this variable.
14617 * resolv/Makefile (tests): Change dependencies to ....
14618 (tests-special): ... additions to this variable.
14619 (xtests): Change dependencies to ....
14620 (xtests-special): ... additions to this variable.
14621 * stdio-common/Makefile (tests): Change dependencies to ....
14622 (tests-special): ... additions to this variable.
14623 (do-tst-unbputc): Remove target.
14624 (do-tst-printf): Likewise.
14625 * stdlib/Makefile (tests): Change dependencies to ....
14626 (tests-special): ... additions to this variable.
14627 * string/Makefile (tests): Change dependencies to ....
14628 (tests-special): ... additions to this variable.
14629 * sysdeps/x86/Makefile (tests): Change dependencies to ....
14630 (tests-special): ... additions to this variable.
14632 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
14634 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
14636 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
14637 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
14639 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
14640 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
14641 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
14642 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
14643 * conform/data/libgen.h-data [XPG3]: Likewise.
14644 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
14645 * conform/data/ndbm.h-data [XPG3]: Likewise.
14646 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
14647 * conform/data/netdb.h-data [XPG3]: Likewise.
14648 * conform/data/netinet/in.h-data [XPG3]: Likewise.
14649 * conform/data/poll.h-data [XPG3]: Likewise.
14650 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
14651 * conform/data/strings.h-data [XPG3]: Likewise.
14652 * conform/data/stropts.h-data [XPG3]: Likewise.
14653 * conform/data/sys/mman.h-data [XPG3]: Likewise.
14654 * conform/data/sys/resource.h-data [XPG3]: Likewise.
14655 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
14657 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
14658 * conform/data/sys/time.h-data [XPG3]: Likewise.
14659 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
14660 * conform/data/sys/uio.h-data [XPG3]: Likewise.
14661 * conform/data/sys/un.h-data [XPG3]: Likewise.
14662 * conform/data/syslog.h-data [XPG3]: Likewise.
14663 * conform/data/ucontext.h-data [XPG3]: Likewise.
14664 * conform/data/utmpx.h-data [XPG3]: Likewise.
14665 * conform/data/varargs.h-data [UNIX98]: Enable file.
14667 * manual/Makefile (INSTALL_INFO): Remove variable setting.
14669 * math/libm-test.inc (struct test_f_f_data): Move expected results
14670 into structure for each rounding mode.
14671 (struct test_ff_f_data): Likewise.
14672 (struct test_ff_f_data_nexttoward): Likewise.
14673 (struct test_fi_f_data): Likewise.
14674 (struct test_fl_f_data): Likewise.
14675 (struct test_if_f_data): Likewise.
14676 (struct test_fff_f_data): Likewise.
14677 (struct test_c_f_data): Likewise.
14678 (struct test_f_f1_data): Likewise.
14679 (struct test_fF_f1_data): Likewise.
14680 (struct test_ffI_f1_data): Likewise.
14681 (struct test_c_c_data): Likewise.
14682 (struct test_cc_c_data): Likewise.
14683 (struct test_f_i_data): Likewise.
14684 (struct test_ff_i_data): Likewise.
14685 (struct test_f_l_data): Likewise.
14686 (struct test_f_L_data): Likewise.
14687 (struct test_fFF_11_data): Likewise.
14689 (RM_FE_DOWNWARD): Likewise.
14690 (RM_FE_TONEAREST): Likewise.
14691 (RM_FE_TOWARDZERO): Likewise.
14692 (RM_FE_UPWARD): Likewise.
14693 (RUN_TEST_LOOP_f_f): Update references to expected results.
14694 (RUN_TEST_LOOP_2_f): Likewise.
14695 (RUN_TEST_LOOP_fff_f): Likewise.
14696 (RUN_TEST_LOOP_c_f): Likewise.
14697 (RUN_TEST_LOOP_f_f1): Likewise.
14698 (RUN_TEST_LOOP_fF_f1): Likewise.
14699 (RUN_TEST_LOOP_fI_f1): Likewise.
14700 (RUN_TEST_LOOP_ffI_f1): Likewise.
14701 (RUN_TEST_LOOP_c_c): Likewise.
14702 (RUN_TEST_LOOP_cc_c): Likewise.
14703 (RUN_TEST_LOOP_f_i): Likewise.
14704 (RUN_TEST_LOOP_f_i_tg): Likewise.
14705 (RUN_TEST_LOOP_ff_i_tg): Likewise.
14706 (RUN_TEST_LOOP_f_b): Likewise.
14707 (RUN_TEST_LOOP_f_b_tg): Likewise.
14708 (RUN_TEST_LOOP_f_l): Likewise.
14709 (RUN_TEST_LOOP_f_L): Likewise.
14710 (RUN_TEST_LOOP_fFF_11): Likewise.
14711 * math/gen-libm-test.pl (parse_args): Output four copies of
14712 expected results for each test.
14714 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14715 (__ASSUME_UTIMES): Remove.
14716 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14717 (__ASSUME_UTIMES): Likewise.
14719 * math/gen-auto-libm-tests.c: Update comment on output format.
14720 (output_for_one_input_case): Generate before-rounding and
14721 after-rounding information as conditions on output flags not
14722 floating-point format.
14723 * math/auto-libm-test-out: Regenerated.
14724 * math/gen-libm-test.pl (cond_value): New function.
14725 (or_cond_value): Use cond_value.
14726 (generate_testfile): Handle conditional exceptions.
14728 2014-03-05 Joseph Myers <joseph@codesourcery.com>
14730 * math/libm-test.inc (max_valid_error): New variable.
14731 (init_max_error): Take new argument specifying whether function
14732 results are exactly determined. Set max_valid_error and bound
14733 other variables for errors based on this argument.
14734 (set_max_error): Do not record results above max_valid_error.
14735 (check_float_internal): Only accept errors of up to 0.5ulps if
14736 also at most max_valid_error.
14737 (START): Take new argument EXACT and pass it to init_max_error.
14738 (acos_test): Update call to START.
14739 (acos_test_tonearest): Likewise.
14740 (acos_test_towardzero): Likewise.
14741 (acos_test_downward): Likewise.
14742 (acos_test_upward): Likewise.
14743 (acosh_test): Likewise.
14744 (asin_test): Likewise.
14745 (asin_test_tonearest): Likewise.
14746 (asin_test_towardzero): Likewise.
14747 (asin_test_downward): Likewise.
14748 (asin_test_upward): Likewise.
14749 (asinh_test): Likewise.
14750 (atan_test): Likewise.
14751 (atanh_test): Likewise.
14752 (atan2_test): Likewise.
14753 (cabs_test): Likewise.
14754 (cacos_test): Likewise.
14755 (cacosh_test): Likewise.
14756 (carg_test): Likewise.
14757 (casin_test): Likewise.
14758 (casinh_test): Likewise.
14759 (catan_test): Likewise.
14760 (catanh_test): Likewise.
14761 (cbrt_test): Likewise.
14762 (ccos_test): Likewise.
14763 (ccosh_test): Likewise.
14764 (ceil_test): Likewise.
14765 (cexp_test): Likewise.
14766 (cimag_test): Likewise.
14767 (clog_test): Likewise.
14768 (clog10_test): Likewise.
14769 (conj_test): Likewise.
14770 (copysign_test): Likewise.
14771 (cos_test): Likewise.
14772 (cos_test_tonearest): Likewise.
14773 (cos_test_towardzero): Likewise.
14774 (cos_test_downward): Likewise.
14775 (cos_test_upward): Likewise.
14776 (cosh_test): Likewise.
14777 (cosh_test_tonearest): Likewise.
14778 (cosh_test_towardzero): Likewise.
14779 (cosh_test_downward): Likewise.
14780 (cosh_test_upward): Likewise.
14781 (cpow_test): Likewise.
14782 (cproj_test): Likewise.
14783 (creal_test): Likewise.
14784 (csin_test): Likewise.
14785 (csinh_test): Likewise.
14786 (csqrt_test): Likewise.
14787 (ctan_test): Likewise.
14788 (ctan_test_tonearest): Likewise.
14789 (ctan_test_towardzero): Likewise.
14790 (ctan_test_downward): Likewise.
14791 (ctan_test_upward): Likewise.
14792 (ctanh_test): Likewise.
14793 (ctanh_test_tonearest): Likewise.
14794 (ctanh_test_towardzero): Likewise.
14795 (ctanh_test_downward): Likewise.
14796 (ctanh_test_upward): Likewise.
14797 (erf_test): Likewise.
14798 (erfc_test): Likewise.
14799 (exp_test): Likewise.
14800 (exp_test_tonearest): Likewise.
14801 (exp_test_towardzero): Likewise.
14802 (exp_test_downward): Likewise.
14803 (exp_test_upward): Likewise.
14804 (exp10_test): Likewise.
14805 (exp10_test_tonearest): Likewise.
14806 (exp10_test_towardzero): Likewise.
14807 (exp10_test_downward): Likewise.
14808 (exp10_test_upward): Likewise.
14809 (pow10_test): Likewise.
14810 (exp2_test): Likewise.
14811 (expm1_test): Likewise.
14812 (expm1_test_tonearest): Likewise.
14813 (expm1_test_towardzero): Likewise.
14814 (expm1_test_downward): Likewise.
14815 (expm1_test_upward): Likewise.
14816 (fabs_test): Likewise.
14817 (fdim_test): Likewise.
14818 (floor_test): Likewise.
14819 (fma_test): Likewise.
14820 (fma_test_towardzero): Likewise.
14821 (fma_test_downward): Likewise.
14822 (fma_test_upward): Likewise.
14823 (fmax_test): Likewise.
14824 (fmin_test): Likewise.
14825 (fmod_test): Likewise.
14826 (fpclassify_test): Likewise.
14827 (frexp_test): Likewise.
14828 (hypot_test): Likewise.
14829 (ilogb_test): Likewise.
14830 (isfinite_test): Likewise.
14831 (finite_test): Likewise.
14832 (isgreater_test): Likewise.
14833 (isgreaterequal_test): Likewise.
14834 (isinf_test): Likewise.
14835 (isless_test): Likewise.
14836 (islessequal_test): Likewise.
14837 (islessgreater_test): Likewise.
14838 (isnan_test): Likewise.
14839 (isnormal_test): Likewise.
14840 (issignaling_test): Likewise.
14841 (isunordered_test): Likewise.
14842 (j0_test): Likewise.
14843 (j1_test): Likewise.
14844 (jn_test): Likewise.
14845 (ldexp_test): Likewise.
14846 (lgamma_test): Likewise.
14847 (gamma_test): Likewise.
14848 (lrint_test): Likewise.
14849 (lrint_test_tonearest): Likewise.
14850 (lrint_test_towardzero): Likewise.
14851 (lrint_test_downward): Likewise.
14852 (lrint_test_upward): Likewise.
14853 (llrint_test): Likewise.
14854 (llrint_test_tonearest): Likewise.
14855 (llrint_test_towardzero): Likewise.
14856 (llrint_test_downward): Likewise.
14857 (llrint_test_upward): Likewise.
14858 (log_test): Likewise.
14859 (log10_test): Likewise.
14860 (log1p_test): Likewise.
14861 (log2_test): Likewise.
14862 (logb_test): Likewise.
14863 (logb_test_downward): Likewise.
14864 (lround_test): Likewise.
14865 (llround_test): Likewise.
14866 (modf_test): Likewise.
14867 (nearbyint_test): Likewise.
14868 (nextafter_test): Likewise.
14869 (nexttoward_test): Likewise.
14870 (pow_test): Likewise.
14871 (pow_test_tonearest): Likewise.
14872 (pow_test_towardzero): Likewise.
14873 (pow_test_downward): Likewise.
14874 (pow_test_upward): Likewise.
14875 (remainder_test): Likewise.
14876 (drem_test): Likewise.
14877 (remainder_test_tonearest): Likewise.
14878 (drem_test_tonearest): Likewise.
14879 (remainder_test_towardzero): Likewise.
14880 (drem_test_towardzero): Likewise.
14881 (remainder_test_downward): Likewise.
14882 (drem_test_downward): Likewise.
14883 (remainder_test_upward): Likewise.
14884 (drem_test_upward): Likewise.
14885 (remquo_test): Likewise.
14886 (rint_test): Likewise.
14887 (rint_test_tonearest): Likewise.
14888 (rint_test_towardzero): Likewise.
14889 (rint_test_downward): Likewise.
14890 (rint_test_upward): Likewise.
14891 (round_test): Likewise.
14892 (scalb_test): Likewise.
14893 (scalbn_test): Likewise.
14894 (scalbln_test): Likewise.
14895 (signbit_test): Likewise.
14896 (sin_test): Likewise.
14897 (sin_test_tonearest): Likewise.
14898 (sin_test_towardzero): Likewise.
14899 (sin_test_downward): Likewise.
14900 (sin_test_upward): Likewise.
14901 (sincos_test): Likewise.
14902 (sinh_test): Likewise.
14903 (sinh_test_tonearest): Likewise.
14904 (sinh_test_towardzero): Likewise.
14905 (sinh_test_downward): Likewise.
14906 (sinh_test_upward): Likewise.
14907 (sqrt_test): Likewise.
14908 (sqrt_test_tonearest): Likewise.
14909 (sqrt_test_towardzero): Likewise.
14910 (sqrt_test_downward): Likewise.
14911 (sqrt_test_upward): Likewise.
14912 (tan_test): Likewise.
14913 (tan_test_tonearest): Likewise.
14914 (tan_test_towardzero): Likewise.
14915 (tan_test_downward): Likewise.
14916 (tan_test_upward): Likewise.
14917 (tanh_test): Likewise.
14918 (tgamma_test): Likewise.
14919 (trunc_test): Likewise.
14920 (y0_test): Likewise.
14921 (y1_test): Likewise.
14922 (yn_test): Likewise.
14923 (significand_test): Likewise.
14925 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
14926 individual tests in comment.
14927 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
14928 (prev_max_error): New variable.
14929 (prev_real_max_error): Likewise.
14930 (prev_imag_max_error): Likewise.
14931 (compare_ulp_data): Don't refer to test names in comment.
14932 (find_test_ulps): Remove function.
14933 (find_function_ulps): Likewise.
14934 (find_complex_function_ulps): Likewise.
14935 (init_max_error): Take function name as argument. Look up ulps
14937 (print_ulps): Remove function.
14938 (print_max_error): Use prev_max_error instead of calling
14939 find_function_ulps.
14940 (print_complex_max_error): Use prev_real_max_error and
14941 prev_imag_max_error instead of calling find_complex_function_ulps.
14942 (check_float_internal): Take max_ulp parameter instead of calling
14943 find_test_ulps. Don't call print_ulps.
14944 (check_float): Update call to check_float_internal.
14945 (check_complex): Update calls to check_float_internal.
14946 (START): Pass argument to init_max_error.
14947 * math/gen-libm-test.pl (%results): Don't include "kind"
14949 (parse_ulps): Don't handle ulps of individual tests.
14950 (print_ulps_file): Likewise.
14951 (output_ulps): Likewise.
14952 * math/README.libm-test: Update.
14953 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
14955 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
14956 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
14957 * sysdeps/arm/libm-test-ulps: Likewise.
14958 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
14959 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
14960 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
14961 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
14962 * sysdeps/microblaze/libm-test-ulps: Likewise.
14963 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
14964 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14965 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14966 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
14967 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14968 * sysdeps/sh/libm-test-ulps: Likewise.
14969 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14970 * sysdeps/tile/libm-test-ulps: Likewise.
14971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14973 2014-03-04 Joseph Myers <joseph@codesourcery.com>
14975 * math/libm-test.inc (print_complex_max_error): Check separately
14976 whether real and imaginary errors are within allowed range and
14977 pass 0 to print_complex_function_ulps instead of value within
14980 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14982 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
14984 (get_handles_fopen): Likewise.
14985 (do_write_test): Likewise.
14987 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
14989 * libio/fileops.c (do_ftell): Use cached offset when
14991 * libio/iofwide.c (do_ftell_wide): Likewise.
14992 * libio/iofdopen.c (_IO_new_fdopen): Don't use
14994 * libio/wfileops.c (_IO_fwide): Don't cache offset.
14997 * libio/libioP.h (get_file_offset): New function.
14998 * libio/fileops.c (get_file_offset): Likewise.
14999 (do_ftell): Likewise.
15000 (_IO_new_file_seekoff): Split out ftell logic.
15001 * libio/wfileops.c (do_ftell_wide): Likewise.
15002 (_IO_wfile_seekoff): Split out ftell logic.
15003 * libio/tst-ftell-active-handler.c: New test case.
15004 * libio/Makefile (tests): Add it.
15006 2014-03-03 Roland McGrath <roland@hack.frob.com>
15008 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
15009 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
15011 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15014 * nscd/connections.c (nscd_init): Call do_exit.
15015 (start_threads): Call do_exit and notify_parent.
15016 (begin_drop_privileges): Call do_exit.
15017 (finish_drop_privileges): Likewise.
15018 * nscd/selinux.c (preserve_capabilities): Likewise.
15019 (install_real_capabilities): Likewise.
15020 (nscd_selinux_enabled): Likewise.
15021 (avc_create_thread): Likewise.
15022 (avc_alloc_lock): Likewise.
15023 (nscd_avc_init): Likewise.
15024 * nscd/nscd.c (parent_fd): New static variable.
15025 (main): Create a pipe between parent and child processes.
15026 Skip closing parent_fd.
15027 (monitor_child): New function.
15028 (do_exit): Likewise.
15029 (notify_parent): Likewise.
15030 * nscd/nscd.h (notify_parent): Likewise.
15031 (do_exit): Likewise.
15033 2014-03-03 Carlos O'Donell <carlos@redhat.com>
15035 * malloc/malloc.c (__libc_calloc): Revert last change.
15037 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15039 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15041 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15043 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
15044 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
15046 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15047 (__libc_ifunc_impl_list): Likewise.
15048 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
15049 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
15050 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
15051 * string/strrchr.c: Define STRRCHR.
15053 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
15055 * benchtest/bench-strtok.c (simple_strtok): Delete.
15056 (strtok_string): Use as benchmark.
15057 * string/strtok (STRTOK): New macro.
15059 2014-02-28 Carlos O'Donell <carlos@redhat.com>
15061 * manual/threads.texi: Add header and standard comments to all
15064 * elf/dl-lookup.c (check_match): New function.
15065 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
15066 (do_lookup_x): Remove nested function check_match. Use non-nested
15067 function check_match.
15069 2014-02-28 Roland McGrath <roland@hack.frob.com>
15071 * csu/Makefile (generated, before-compile): Use += rather than =.
15072 * catgets/Makefile (generated, generated-dirs): Likewise.
15073 * debug/Makefile (generated): Likewise.
15074 * dlfcn/Makefile (generated): Likewise.
15075 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
15076 * iconvdata/Makefile (before-compile, generated): Likewise.
15077 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
15078 * libio/Makefile (generated): Likewise.
15079 * malloc/Makefile (generated): Likewise.
15080 * manual/Makefile (generated, generated-dirs): Likewise.
15081 * misc/Makefile (generated): Likewise.
15082 * posix/Makefile (generated): Likewise.
15083 * resolv/Makefile (generated): Likewise.
15084 * sunrpc/Makefile (generated, generated-dirs): Likewise.
15085 * timezone/Makefile (generated, generated-dirs): Likewise.
15087 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
15089 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15091 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
15092 power8 implementation.
15093 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
15094 file: POWER8 llround ifunc implementation.
15095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
15096 (__lllround): Add POWER8 implementation.
15097 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
15098 POWER8 llround implementation.
15100 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
15101 power8 implementation.
15102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
15103 file: POWER8 llrint ifunc implementation.
15104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
15105 Add POWER8 implementation.
15106 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
15107 POWER8 llrint implementation.
15109 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
15110 power8 implementation.
15111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
15112 file: POWER8 finite ifunc implementation.
15113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
15114 Add POWER8 implementation.
15115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
15117 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
15118 POWER8 finite implementation.
15119 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
15121 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
15122 power8 implementation.
15123 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
15124 file: POWER8 isinf ifunc implementation.
15125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
15126 POWER8 implementation.
15127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
15129 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
15130 isinf implementation.
15131 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
15133 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
15134 (INIT_ARCH): Add hwcap2 initialization.
15135 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
15136 power8 implementation.
15137 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
15138 file: POWER8 isnan ifunc implementation.
15139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
15140 POWER8 implementation.
15141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
15143 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
15144 isnan implementation.
15145 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
15147 2014-02-27 Joey Ye <joey.ye@arm.com>
15149 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
15150 (_FP_NANFRAC_Q): Set to zero.
15152 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15155 * math/auto-libm-test-in: New test inputs.
15156 * math/auto-libm-test-out: Regenerate.
15157 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
15160 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15162 2014-02-27 Joseph Myers <joseph@codesourcery.com>
15164 * scripts/evaluate-test.sh: Take new argument indicating whether
15165 failure is expected.
15166 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
15167 indicating whether failure is expected.
15168 * conform/Makefile (test-xfail-run-conformtest): New variable.
15169 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
15171 * posix/Makefile (test-xfail-annexc): New variable.
15172 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
15174 2014-02-26 Joseph Myers <joseph@codesourcery.com>
15176 * argp/Makefile: Include Makeconfig immediately after defining
15178 * assert/Makefile: Likewise.
15179 * benchtests/Makefile: Likewise.
15180 * catgets/Makefile: Likewise.
15181 * conform/Makefile: Likewise.
15182 * crypt/Makefile: Likewise.
15183 * csu/Makefile: Likewise.
15184 (all): Remove target.
15185 * ctype/Makefile: Include Makeconfig immediately after defining
15187 * debug/Makefile: Likewise.
15188 * dirent/Makefile: Likewise.
15189 * dlfcn/Makefile: Likewise.
15190 * gmon/Makefile: Likewise.
15191 * gnulib/Makefile: Likewise.
15192 * grp/Makefile: Likewise.
15193 * gshadow/Makefile: Likewise.
15194 * hesiod/Makefile: Likewise.
15195 * hurd/Makefile: Likewise.
15196 (all): Remove target.
15197 * iconvdata/Makefile: Include Makeconfig immediately after
15199 * inet/Makefile: Likewise.
15200 * intl/Makefile: Likewise.
15201 * io/Makefile: Likewise.
15202 * libio/Makefile: Likewise.
15203 (all): Remove target.
15204 * locale/Makefile: Include Makeconfig immediately after defining
15206 * login/Makefile: Likewise.
15207 * mach/Makefile: Likewise.
15208 (all): Remove target.
15209 * malloc/Makefile: Include Makeconfig immediately after defining
15211 (all): Remove target.
15212 * manual/Makefile: Include Makeconfig immediately after defining
15214 * math/Makefile: Likewise.
15215 * misc/Makefile: Likewise.
15216 * nis/Makefile: Likewise.
15217 * nss/Makefile: Likewise.
15218 * po/Makefile: Likewise.
15219 (all): Remove target.
15220 * posix/Makefile: Include Makeconfig immediately after defining
15222 * pwd/Makefile: Likewise.
15223 * resolv/Makefile: Likewise.
15224 * resource/Makefile: Likewise.
15225 * rt/Makefile: Likewise.
15226 * setjmp/Makefile: Likewise.
15227 * shadow/Makefile: Likewise.
15228 * signal/Makefile: Likewise.
15229 * socket/Makefile: Likewise.
15230 * soft-fp/Makefile: Likewise.
15231 * stdio-common/Makefile: Likewise.
15232 * stdlib/Makefile: Likewise.
15233 * streams/Makefile: Likewise.
15234 * string/Makefile: Likewise.
15235 * sunrpc/Makefile: Likewise.
15236 (all): Remove target.
15237 * sysvipc/Makefile: Include Makeconfig immediately after defining
15239 * termios/Makefile: Likewise.
15240 * time/Makefile: Likewise.
15241 * timezone/Makefile: Likewise.
15242 (all): Remove target.
15243 * wcsmbs/Makefile: Include Makeconfig immediately after defining
15245 * wctype/Makefile: Likewise.
15247 2014-02-26 Steve Ellcey <sellcey@mips.com>
15249 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
15250 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
15251 (libc_feholdexcept_setround_mips): Ditto.
15252 (libc_feholdsetround): New.
15253 (libc_feholdsetroundf): New.
15254 (libc_feholdsetroundl): New.
15255 (libc_feupdateenv_test_mips): New.
15256 (libc_feupdateenv_test): New.
15257 (libc_feupdateenv_testf): New.
15258 (libc_feupdateenv_testl): New.
15259 (libc_feresetround): New.
15260 (libc_feresetroundf): New.
15261 (libc_feresetroundl): New.
15262 (libc_fetestexcept_mips): New.
15263 (libc_fetestexcept): New.
15264 (libc_fetestexceptf): New.
15265 (libc_fetestexceptl): New.
15266 (HAVE_RM_CTX): New.
15267 (libc_feholdexcept_setround_mips_ctx): New.
15268 (libc_feholdexcept_setround_ctx): New.
15269 (libc_feholdexcept_setroundf_ctx): New.
15270 (libc_feholdexcept_setroundl_ctx): New.
15271 (libc_fesetenv_mips_ctx): New.
15272 (libc_fesetenv_ctx): New.
15273 (libc_fesetenv_ctxf): New.
15274 (libc_fesetenv_ctxl): New.
15275 (libc_feupdateenv_mips_ctx): New.
15276 (libc_feupdateenv_ctx): New.
15277 (libc_feupdateenvf_ctx): New.
15278 (libc_feupdateenvl_ctx): New.
15279 (libc_feholdsetround_mips_ctx): New.
15280 (libc_feholdsetround_ctx): New.
15281 (libc_feholdsetroundf_ctx): New.
15282 (libc_feholdsetroundl_ctx): New.
15283 (libc_feresetround_mips_ctx): New.
15284 (libc_feresetround_ctx): New.
15285 (libc_feresetroundf_ctx): New.
15286 (libc_feresetroundl_ctx): New.
15288 2014-02-26 Carlos O'Donell <carlos@redhat.com>
15290 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
15292 * manual/ipc.texi: New file.
15293 * manual/Makefile (chapters): Add ipc.
15294 * manual/job.texi: Add "Inter-Process Communication" to next.
15295 * manual/process.texi: Add "Inter-Process Communication" to prev.
15297 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15299 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15301 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
15303 * malloc/malloc.c (__libc_calloc): Simplify implementation.
15305 * manual/arith.texi: Fix spaces after sentences.
15306 * manual/charset.texi: Likewise.
15307 * manual/errno.texi: Likewise.
15308 * manual/install.texi: Likewise.
15309 * manual/llio.texi: Likewise.
15310 * manual/locale.texi: Likewise.
15311 * manual/maint.texi: Likewise.
15312 * manual/math.texi: Likewise.
15313 * manual/memory.texi: Likewise.
15314 * manual/message.texi: Likewise.
15315 * manual/probes.texi: Likewise.
15316 * manual/resource.texi: Likewise.
15317 * manual/signal.texi: Likewise.
15318 * manual/socket.texi: Likewise.
15319 * manual/stdio.texi: Likewise.
15320 * manual/string.texi: Likewise.
15321 * manual/time.texi: Likewise.
15322 * manual/users.texi: Likewise.
15324 2014-02-25 Carlos O'Donell <carlos@redhat.com>
15327 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
15328 _DEFAULT_SOURCE is defined.
15330 2014-02-25 Ulrich Drepper <drepper@gmail.com>
15331 Carlos O'Donell <carlos@redhat.com>
15334 * elf/dl-tls.c (_dl_count_modids): New function.
15335 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
15336 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
15337 audit library and increment generation counter.
15338 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
15339 * elf/tst-audit9.c: New file.
15340 * elf/tst-auditmod9a.c: New file.
15341 * elf/tst-auditmod9b.c: New file.
15342 * elf/Makefile: Add rules to build and run tst-audit9.
15344 2014-02-25 Florian Weimer <fweimer@redhat.com>
15347 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
15349 2014-02-25 Will Newton <will.newton@linaro.org>
15351 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
15352 (__longjmp): Restore sp and lr before restoring callee
15353 saved registers. Add longjmp and longjmp_target
15354 SystemTap probe point.
15355 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
15356 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
15357 Define to zero to match jmpbuf layout.
15358 * sysdeps/arm/setjmp.S: Include stap-probe.h.
15359 (__sigsetjmp): Save sp and lr before saving callee
15360 saved registers. Add setjmp SystemTap probe point.
15362 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
15364 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15366 2014-02-24 Andreas Schwab <schwab@suse.de>
15369 * elf/pldd.c (wait_for_ptrace_stop): New function.
15370 (main): Call it after attaching.
15372 2014-02-22 Roland McGrath <roland@hack.frob.com>
15374 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
15375 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
15376 Versions files is now verboten.
15377 * hurd/Versions (libc: GLIBC_2.0):
15378 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
15379 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
15380 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
15381 * mach/Versions: Likewise.
15383 * csu/Versions: Remove unused %include.
15384 * resolv/Versions: Likewise.
15386 2014-02-21 Joseph Myers <joseph@codesourcery.com>
15388 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
15389 ($(objpfx)check-local-headers.out): Likewise.
15390 ($(objpfx)begin-end-check.out): Likewise.
15391 * Makerules (check-abi-%.out): Likewise.
15392 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
15393 ($(objpfx)test2.cat): Likewise.
15394 ($(objpfx)de/libc.cat): Likewise.
15395 ($(objpfx)test-gencat.out): Likewise.
15396 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
15397 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
15398 ($(objpfx)noload-mem): Likewise.
15399 ($(objpfx)tst-pathopt.out): Likewise.
15400 ($(objpfx)tst-rtld-load-self.out): Likewise.
15401 ($(objpfx)tst-array1-cmp.out): Likewise.
15402 ($(objpfx)tst-array1-static-cmp.out): Likewise.
15403 ($(objpfx)tst-array2-cmp.out): Likewise.
15404 ($(objpfx)tst-array3-cmp.out): Likewise.
15405 ($(objpfx)tst-array4-cmp.out): Likewise.
15406 ($(objpfx)tst-array5-cmp.out): Likewise.
15407 ($(objpfx)tst-array5-static-cmp.out): Likewise.
15408 ($(objpfx)check-textrel.out): Likewise.
15409 ($(objpfx)check-execstack.out): Likewise.
15410 ($(objpfx)check-localplt.out): Likewise.
15411 ($(objpfx)order2-cmp.out): Likewise.
15412 ($(objpfx)tst-leaks1-mem): Likewise.
15413 ($(objpfx)tst-leaks1-static-mem): Likewise.
15414 ($(objpfx)tst-initorder-cmp.out): Likewise.
15415 ($(objpfx)tst-initorder2-cmp.out): Likewise.
15416 ($(objpfx)tst-unused-dep.out): Likewise.
15417 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
15418 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
15419 * iconv/Makefile (test-iconvconfig): Likewise.
15420 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
15421 ($(objpfx)iconv-test.out): Likewise.
15422 ($(objpfx)tst-tables.out): Likewise.
15423 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
15424 ($(objpfx)tst-gettext.out): Likewise.
15425 ($(objpfx)tst-translit.out): Likewise.
15426 ($(objpfx)tst-gettext2.out): Likewise.
15427 ($(objpfx)tst-gettext4.out): Likewise.
15428 ($(objpfx)tst-gettext6.out): Likewise.
15429 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
15430 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
15431 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
15432 ($(objpfx)tst-fopenloc-mem.out): Likewise.
15433 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
15434 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
15435 * posix/Makefile ($(objpfx)globtest.out): Likewise.
15436 ($(objpfx)wordexp-tst.out): Likewise.
15437 ($(objpfx)annexc.out): Likewise.
15438 ($(objpfx)tst-fnmatch-mem): Likewise.
15439 ($(objpfx)bug-regex2-mem): Likewise.
15440 ($(objpfx)bug-regex14-mem): Likewise.
15441 ($(objpfx)bug-regex21-mem): Likewise.
15442 ($(objpfx)bug-regex31-mem): Likewise.
15443 ($(objpfx)tst-vfork3-mem): Likewise.
15444 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
15445 ($(objpfx)tst-pcre-mem): Likewise.
15446 ($(objpfx)tst-boost-mem): Likewise.
15447 ($(objpfx)tst-getconf.out): Likewise.
15448 ($(objpfx)bug-ga2-mem): Likewise.
15449 ($(objpfx)bug-glob2-mem): Likewise.
15450 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
15451 ($(objpfx)mtrace-tst-leaks2): Likewise.
15452 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
15453 ($(objpfx)tst-printf.out): Likewise.
15454 ($(objpfx)tst-setvbuf1.out): Likewise.
15455 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
15456 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
15457 ($(objpfx)tst-fmtmsg.out): Likewise.
15458 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
15459 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
15461 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
15462 * bits/sigaction.h [__USE_MISC]: Likewise.
15463 * bits/waitstatus.h: Update #endif comments.
15464 * ctype/ctype.h: Likewise.
15465 * dirent/dirent.h: Likewise.
15466 [__USE_MISC]: Remove redundant conditionals.
15467 * grp/grp.h: Update #endif comments.
15468 [__USE_GNU]: Remove redundant conditionals.
15469 [__USE_MISC]: Likewise.
15470 * inet/netinet/in.h [__USE_GNU]: Likewise.
15471 * io/sys/stat.h [__USE_MISC]: Likewise.
15472 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
15473 * libio/bits/stdio.h: Update #endif comments.
15474 [__USE_MISC]: Remove redundant conditionals.
15475 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
15476 * libio/stdio.h: Update #endif comments.
15477 [__USE_MISC]: Remove redundant conditionals.
15478 * math/bits/math-finite.h [__USE_MISC]: Likewise.
15479 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
15480 * math/math.h: Update #else and #endif comments.
15481 [__USE_MISC]: Remove redundant conditionals.
15482 * misc/sys/uio.h: Update #endif comments.
15483 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
15484 * posix/glob.h [__USE_MISC]: Likewise.
15485 * posix/sys/types.h: Update #endif comments.
15486 [__USE_MISC]: Remove redundant conditionals.
15487 * posix/sys/wait.h: Update #endif comments.
15488 [__USE_MISC]: Remove redundant conditionals.
15489 * posix/unistd.h: Update #endif comments.
15490 [__USE_MISC]: Remove redundant conditionals.
15491 * pwd/pwd.h [__USE_GNU]: Likewise.
15492 [__USE_MISC]: Likewise.
15493 * resolv/netdb.h [__USE_GNU]: Likewise.
15494 * signal/signal.h: Update #endif comments.
15495 [__USE_MISC]: Remove redundant conditionals.
15496 * stdlib/stdlib.h: Update #else and #endif comments.
15497 [__USE_MISC]: Remove redundant conditionals.
15498 [__USE_GNU]: Likewise.
15499 * string/bits/string2.h [__USE_MISC]: Likewise.
15500 * string/string.h: Update #endif comments.
15501 [__USE_MISC]: Remove redundant conditionals.
15502 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
15504 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
15505 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
15506 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
15508 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
15510 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
15512 [__USE_MISC]: Remove redundant conditionals.
15513 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
15514 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
15515 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
15516 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
15517 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
15519 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
15520 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
15522 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
15523 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
15525 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
15527 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
15528 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
15530 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
15532 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
15533 * sysdeps/x86/bits/string.h: Update #endif comments.
15534 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
15536 * time/sys/time.h: Update #endif comments.
15537 * time/time.h: Likewise.
15538 [__USE_MISC]: Remove redundant conditionals.
15540 2014-02-21 Yury Gribov <y.gribov@samsung.com>
15543 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
15545 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
15547 * Versions.def (librt): Add GLIBC_2.17.
15549 2014-02-21 Adam Conrad <adconrad@0c3.net>
15551 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
15552 synonym for _SYS_AUXV_H to allow direct inclusion.
15553 * sysdeps/sparc/bits/hwcap.h: Likewise.
15554 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
15555 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
15556 * sysdeps/sparc/sysdep.h: Likewise.
15558 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15560 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
15562 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15564 * benchtests/bench-strrchr.c: Print length instead of position.
15566 2014-02-20 Joseph Myers <joseph@codesourcery.com>
15569 * sysdeps/unix/sysv/linux/kernel-features.h
15570 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
15571 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
15572 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
15573 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
15575 [__i386__ || __powerpc__ || __sh__ || __sparc__]
15576 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15577 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
15578 (__ASSUME_SENDMMSG): Define instead of using previous
15579 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
15580 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15581 (__ASSUME_SENDMMSG_SYSCALL): Define.
15582 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15583 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
15585 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15586 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15588 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15589 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15591 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
15592 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
15593 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
15594 [__ASSUME_SENDMMSG]: Change conditionals to
15595 [__ASSUME_SENDMMSG_SOCKETCALL].
15596 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15597 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
15599 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15600 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
15602 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
15603 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
15604 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
15605 [!__ASSUME_SENDMMSG]: Change conditional to
15606 [!__ASSUME_SENDMMSG_SOCKETCALL].
15607 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15608 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15612 * sysdeps/unix/sysv/linux/kernel-features.h
15613 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
15614 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
15615 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
15616 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
15617 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15618 [__i386__ || __sparc__]
15619 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15620 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
15621 (__ASSUME_RECVMMSG): Define instead of using previous
15622 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
15623 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15624 (__ASSUME_RECVMMSG_SYSCALL): Define.
15625 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15626 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15628 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15629 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15631 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15632 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15634 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
15635 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
15636 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
15637 [__ASSUME_RECVMMSG]: Change condition to
15638 [__ASSUME_RECVMMSG_SOCKETCALL].
15639 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15640 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15642 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15643 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15644 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15646 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
15647 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
15648 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
15649 [!__ASSUME_RECVMMSG]: Change condition to
15650 [!__ASSUME_RECVMMSG_SOCKETCALL].
15651 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15652 (__ASSUME_RECVMMSG_SYSCALL): Define.
15655 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
15656 __powerpc__ || __s390__ || __sh__ || __sparc__]
15657 (__ASSUME_SOCKETCALL): Define.
15658 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
15659 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
15660 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
15661 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
15662 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15663 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
15664 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
15665 (__ASSUME_ACCEPT4): Define instead of using previous
15666 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
15667 __powerpc__ || __sparc__ || __s390__)] condition.
15668 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15669 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
15670 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
15671 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
15672 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
15673 [!__ASSUME_ACCEPT4]: Change condition to
15674 [!__ASSUME_ACCEPT4_SOCKETCALL].
15675 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15676 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
15677 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
15678 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15679 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
15680 __ASSUME_ACCEPT4_SYSCALL.
15681 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
15682 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
15683 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15684 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
15685 __ASSUME_ACCEPT4_SYSCALL.
15686 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
15687 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
15688 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
15689 [__ASSUME_ACCEPT4]: Change condition to
15690 [__ASSUME_ACCEPT4_SOCKETCALL].
15691 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15692 (__ASSUME_SOCKETCALL): Define.
15693 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
15694 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15695 (__ASSUME_SOCKETCALL): Define.
15696 (__ASSUME_ACCEPT4): Remove.
15697 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
15699 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15700 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
15702 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15703 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
15705 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
15707 (HWCAP_ARM_LPAE): Likewise.
15708 (HWCAP_ARM_EVTSTRM): Likewise.
15709 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
15710 Add vpfd32, lpae and evtstrm.
15711 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
15714 2014-02-19 Joseph Myers <joseph@codesourcery.com>
15716 * math/auto-libm-test-in: Add tests of clog10.
15717 * math/auto-libm-test-out: Regenerated.
15718 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
15719 * sysdeps/i386/fpu/libm-test-ulps: Update.
15720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15722 2014-02-18 Andreas Schwab <schwab@suse.de>
15725 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
15726 Store non-zero if the second buffer was newly allocated.
15727 (send_dg): Likewise.
15728 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
15729 to send_vc and send_dg.
15730 (res_nsend): Pass NULL for ansp2_malloced.
15731 * resolv/res_query.c (__libc_res_nquery): Add parameter
15732 answerp2_malloced and pass it down to __libc_res_nsend.
15733 (res_nquery): Pass additional NULL to __libc_res_nquery.
15734 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
15735 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
15736 second answer buffer if answerp2_malloced was set.
15737 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
15738 (__libc_res_nquerydomain): Add parameter
15739 answerp2_malloced and pass it down to __libc_res_nquery.
15740 (res_nquerydomain): Pass additional NULL to
15741 __libc_res_nquerydomain.
15742 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
15743 additional NULL to __libc_res_nsend and __libc_res_nquery.
15744 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
15745 additional NULL to __libc_res_nsearch.
15746 (_nss_dns_gethostbyname4_r): Revert last change. Use new
15747 parameter of __libc_res_nsearch to check for separately allocated
15749 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
15751 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
15752 additional NULL to __libc_res_nquery.
15753 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
15754 __libc_res_nsearch.
15755 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
15756 * include/resolv.h: Update prototypes of __libc_res_nquery,
15757 __libc_res_nsearch, __libc_res_nsend.
15759 2014-02-18 Joseph Myers <joseph@codesourcery.com>
15761 * math/auto-libm-test-in: Add tests of fma.
15762 * math/auto-libm-test-out: Regenerated.
15763 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
15764 (fma_towardzero_test_data): Likewise.
15765 (fma_downward_test_data): Likewise.
15766 (fma_upward_test_data): Likewise.
15767 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
15769 (rounding_modes): Add values for new field.
15770 (func_calc_method): Add value mpfr_fff_f.
15771 (func_calc_desc): Add mpfr_fff_f union field.
15772 (test_function): Add field exact_args.
15773 (FUNC): Add macro argument EXACT_ARGS.
15774 (FUNC_mpfr_f_f): Update call to FUNC.
15775 (FUNC_mpfr_f_f): Likewise.
15776 (FUNC_mpfr_ff_f): Likewise.
15777 (FUNC_mpfr_if_f): Likewise.
15778 (FUNC_mpc_c_f): Likewise.
15779 (FUNC_mpc_c_c): Likewise.
15780 (test_functions): Add fma. Update calls to FUNC.
15781 (handle_input_arg): Add argument exact_args.
15782 (add_test): Update call to handle_input_arg.
15783 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
15784 (output_for_one_input_case): Update call to calc_generic_results.
15785 Recalculate exact zero results in each rounding mode.
15787 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
15788 non-negative before setting low bit.
15789 * math/auto-libm-test-in: Mark one asin test possibly having
15790 spurious underflow.
15791 * math/auto-libm-test-out: Regenerated.
15792 * sysdeps/i386/fpu/libm-test-ulps: Update.
15793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15795 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
15797 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
15798 * sysdeps/unix/sysv/linux/microblaze: Move directory from
15799 ports/sysdeps/unix/sysv/linux/microblaze.
15800 * README: Add missing listing for microblaze*-*-linux-gnu.
15802 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
15804 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
15807 2014-02-16 Mike Frysinger <vapier@gentoo.org>
15809 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
15810 * sysdeps/unix/sysv/linux/ia64: Move directory from
15811 ports/sysdeps/unix/sysv/linux/ia64.
15812 * README: Update listing for ia64-*-linux-gnu.
15814 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
15815 Joseph Myers <joseph@codesourcery.com>
15817 * Makeconfig (test-name): New variable.
15818 (evaluate-test): Likewise.
15819 * Makerules (do-test-clean): Remove .test-result files.
15820 (common-mostlyclean): Likewise.
15821 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
15822 * scripts/evaluate-test.sh: New file.
15824 2014-02-14 Joseph Myers <joseph@codesourcery.com>
15826 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
15827 separate $(objpfx)tst-fopenloc-cmp.out and
15828 $(objpfx)tst-fopenloc-mem.out targets.
15829 (tests): Update dependencies.
15830 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
15831 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
15832 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
15833 (tst-rxspencer-no-utf8-ARGS): New variable.
15834 (tst-rxspencer-no-utf8-ENV): Likewise.
15835 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
15836 instead of $(objpfx)tst-rxspencer-mem.
15837 ($(objpfx)tst-rxspencer-mem): Change target to
15838 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
15839 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
15840 * posix/tst-rxspencer-no-utf8.c: New file.
15842 * elf/Makefile ($(objpfx)order.out): Remove rule.
15843 [$(run-built-tests) = yes] (tests): Depend on
15844 $(objpfx)order-cmp.out.
15845 ($(objpfx)order-cmp.out): New rule.
15846 [$(run-built-tests) = yes] (tests): Depend on
15847 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
15848 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
15849 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
15850 $(objpfx)tst-array5-static-cmp.out.
15851 ($(objpfx)tst-array1.out): Remove rule.
15852 ($(objpfx)tst-array1-cmp.out): New rule.
15853 ($(objpfx)tst-array1-static.out): Remove rule.
15854 ($(objpfx)tst-array1-static-cmp.out): New rule.
15855 ($(objpfx)tst-array2.out): Remove rule.
15856 ($(objpfx)tst-array2-cmp.out): New rule.
15857 ($(objpfx)tst-array3.out): Remove rule.
15858 ($(objpfx)tst-array3-cmp.out): New rule.
15859 ($(objpfx)tst-array4.out): Remove rule.
15860 ($(objpfx)tst-array4-cmp.out): New rule.
15861 ($(objpfx)tst-array5.out): Remove rule.
15862 ($(objpfx)tst-array5-cmp.out): New rule.
15863 ($(objpfx)tst-array5-static.out): Remove rule.
15864 ($(objpfx)tst-array5-static-cmp.out): New rule.
15865 [$(run-built-tests) = yes] (tests): Depend on
15866 $(objpfx)order2-cmp.out.
15867 ($(objpfx)order2.out): Remove rule.
15868 ($(objpfx)order2-cmp.out): New rule.
15869 ($(objpfx)tst-initorder.out): Remove rule.
15870 [$(run-built-tests) = yes] (tests): Depend on
15871 $(objpfx)tst-initorder-cmp.out.
15872 ($(objpfx)tst-initorder-cmp.out): New rule.
15873 ($(objpfx)tst-initorder2.out): Remove rule.
15874 [$(run-built-tests) = yes] (tests): Depend on
15875 $(objpfx)tst-initorder2-cmp.out.
15876 ($(objpfx)tst-initorder2-cmp.out): New rule.
15877 [$(run-built-tests) = yes] (tests): Depend on
15878 $(objpfx)tst-unused-dep-cmp.out.
15879 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
15880 ($(objpfx)tst-unused-dep-cmp.out): New rule.
15881 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
15882 on $(objpfx)tst-setvbuf1-cmp.out.
15883 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
15884 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
15885 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
15886 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
15887 ($(objpfx)tst-svc.out): Remove rule.
15888 ($(objpfx)tst-svc-cmp.out): New rule.
15890 2014-02-13 Joseph Myers <joseph@codesourcery.com>
15892 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
15893 * ctype/ctype.h [__USE_MISC]: Likewise.
15894 * dirent/dirent.h [__USE_MISC]: Likewise.
15895 * grp/grp.h [__USE_MISC]: Likewise.
15896 * io/fcntl.h [__USE_MISC]: Likewise.
15897 * io/sys/stat.h [__USE_MISC]: Likewise.
15898 * libio/stdio.h [__USE_MISC]: Likewise.
15899 * posix/unistd.h [__USE_MISC]: Likewise.
15900 * pwd/pwd.h [__USE_MISC]: Likewise.
15901 * stdlib.h [__USE_MISC]: Likewise.
15902 * string/bits/string2.h [__USE_MISC]: Likewise.
15903 * string/string.h [__USE_MISC]: Likewise.
15904 * time/time.h [__USE_MISC]: Likewise.
15906 2014-02-13 Andreas Schwab <schwab@suse.de>
15909 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
15910 second answer buffer if it was separately allocated.
15912 2014-02-12 Joseph Myers <joseph@codesourcery.com>
15914 * sysdeps/mips/math-tests.h: Include <features.h>.
15915 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
15916 (ROUNDING_TESTS_long_double): Do not define.
15917 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
15918 (EXCEPTION_TESTS_long_double): Likewise.
15919 * sysdeps/mips/mips64/libm-test-ulps: Update.
15921 * include/features.h (__USE_BSD): Remove macro definitions.
15922 (__USE_SVID): Likewise.
15923 (_BSD_SOURCE): Likewise.
15924 (_SVID_SOURCE): Likewise.
15925 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
15926 from definition of _DEFAULT_SOURCE.
15927 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
15929 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
15930 * bits/mman.h [__USE_BSD]: Likewise.
15931 * bits/termios.h [__USE_BSD]: Likewise.
15932 * bits/waitstatus.h [__USE_BSD]: Likewise.
15933 * ctype/ctype.h [__USE_SVID]: Likewise.
15934 * dirent/dirent.h [__USE_BSD]: Likewise.
15935 * grp/grp.h [__USE_SVID]: Likewise.
15936 [__USE_BSD]: Likewise.
15937 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
15938 * io/fcntl.h [__USE_BSD]: Likewise.
15939 * io/ftw.h [__USE_BSD]: Likewise.
15940 * io/sys/stat.h [__USE_BSD]: Likewise.
15941 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
15942 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
15943 * libio/stdio.h [__USE_SVID]: Likewise.
15944 [__USE_BSD]: Likewise.
15945 * math/math.h [__USE_SVID]: Likewise.
15946 [__USE_BSD]: Likewise.
15947 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
15948 * misc/bits/syslog.h [__USE_BSD]: Likewise.
15949 * misc/search.h [__USE_SVID]: Likewise.
15950 * misc/sys/mman.h [__USE_BSD]: Likewise.
15951 * misc/sys/syslog.h [__USE_BSD]: Likewise.
15952 * misc/sys/uio.h [__USE_BSD]: Likewise.
15953 * posix/bits/unistd.h [__USE_BSD]: Likewise.
15954 * posix/glob.h [__USE_BSD]: Likewise.
15955 * posix/regex.h [__USE_BSD]: Likewise.
15956 * posix/sys/types.h [__USE_BSD]: Likewise.
15957 [__USE_SVID]: Likewise.
15958 * posix/sys/utsname.h [__USE_SVID]: Likewise.
15959 * posix/sys/wait.h [__USE_BSD]: Likewise.
15960 [__USE_SVID]: Likewise.
15961 * posix/unistd.h [__USE_BSD]: Likewise.
15962 [__USE_SVID]: Likewise.
15963 * pwd/pwd.h [__USE_SVID]: Likewise.
15964 * resolv/netdb.h [__USE_BSD]: Likewise.
15965 * setjmp/setjmp.h [__USE_BSD]: Likewise.
15966 * signal/signal.h [__USE_BSD]: Likewise.
15967 [__USE_SVID]: Likewise.
15968 * socket/sys/socket.h [__USE_BSD]: Likewise.
15969 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
15970 * stdlib/stdlib.h [__USE_BSD]: Likewise.
15971 [__USE_SVID]: Likewise.
15972 * string/bits/string2.h [__USE_BSD]: Likewise.
15973 [__USE_SVID]: Likewise.
15974 * string/bits/string3.h [__USE_BSD]: Likewise.
15975 * string/endian.h [__USE_BSD]: Likewise.
15976 * string/string.h [__USE_SVID]: Likewise.
15977 [__USE_BSD]: Likewise.
15978 * string/strings.h [__USE_BSD]: Likewise.
15979 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
15980 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
15981 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
15982 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
15983 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
15984 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
15986 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
15988 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
15989 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
15991 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
15992 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
15994 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
15996 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
15997 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
15998 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
16000 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
16002 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
16003 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
16004 * termios/termios.h [__USE_BSD]: Likewise.
16005 * time/sys/time.h [__USE_BSD]: Likewise.
16006 * time/time.h [__USE_BSD]: Likewise.
16007 [__USE_SVID]: Likewise.
16009 * Makefile (subdir_targets): Remove subdir_lint.out.
16011 * stdio-common/Makefile (do-tst-unbputc): Remove target.
16012 (do-tst-printf): Likewise.
16013 (tests): Depend directly on $(objpfx)tst-unbputc.out and
16014 $(objpfx)tst-printf.out.
16016 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
16018 * Makerules (check-abi-%): Change target to
16019 $(objpfx)check-abi-%.out.
16020 (check-abi target): Update dependencies.
16021 (check-abi-pattern variable): Redirect output of diff to $@.
16022 (check-abi variable): Likewise.
16023 * elf/Makefile (check-abi): Update dependencies.
16025 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
16027 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
16028 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
16030 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
16031 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
16032 value has largest subnormal exponent.
16033 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
16034 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
16035 * sysdeps/aarch64/soft-fp/sfp-machine.h
16036 (_FP_TININESS_AFTER_ROUNDING): New macro.
16037 * sysdeps/alpha/soft-fp/sfp-machine.h
16038 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16039 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16041 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
16042 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16043 * sysdeps/mips/soft-fp/sfp-machine.h
16044 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16045 * sysdeps/powerpc/soft-fp/sfp-machine.h
16046 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16047 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16049 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16050 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16051 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16052 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16053 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16056 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
16059 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
16062 2014-02-12 Richard Henderson <rth@redhat.com>
16064 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
16065 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
16066 * sysdeps/unix/sysv/linux/alpha: Move directory from
16067 ports/sysdeps/unix/sysv/linux/alpha.
16068 * README: Update listing for alpha-*-linux-gnu.
16070 2014-02-11 Joseph Myers <joseph@codesourcery.com>
16072 * include/features.h: Update comment documenting feature test
16074 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
16076 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
16077 (_SVID_SOURCE): Likewise.
16078 (_DEFAULT_SOURCE): Update description of default features.
16079 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
16081 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
16082 (S_ISVTX): Likewise.
16083 * manual/math.texi (Mathematical Constants): Likewise.
16084 * manual/signal.texi (Interrupted Primitives): Likewise.
16085 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
16086 * math/test-matherr.c (_SVID_SOURCE): Do not define.
16087 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
16088 Don't refer to _SVID_SOURCE in warning text.
16090 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16092 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
16094 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
16095 * sysdeps/mips/dl-lookup.c: Remove.
16096 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
16098 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
16101 * math/auto-libm-test-in: Add testcase for expl.
16102 * math/auto-libm-test-out: Regenerate.
16103 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
16104 calculation of unsafe.
16105 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
16107 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
16109 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
16110 * sysdeps/unix/sysv/linux/aarch64: Move directory from
16111 ports/sysdeps/unix/sysv/linux/aarch64.
16112 * README: Update listing for aarch64*-*-linux-gnu.
16114 2014-02-11 Will Newton <will.newton@linaro.org>
16116 * manual/probes.texi (Mathematical Function Probes): Use
16117 "triggered" instead of "hit".
16119 * manual/probes.texi (Internal Probes): Add documentation
16120 of setjmp, longjmp and longjmp_target probes.
16122 * include/stap-probe.h: Add comment about probe argument
16125 * malloc/mtrace.c (attribute_hidden): Remove unused macro
16126 definition. (tr_where, tr_freehook, tr_mallochook,
16127 tr_reallochook, tr_memalignhook): Use ANSI protoype.
16129 2014-02-11 David S. Miller <davem@davemloft.net>
16131 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
16132 processing int_tests.
16134 2014-02-10 Joseph Myers <joseph@codesourcery.com>
16136 * sysdeps/mips: Move directory from ports/sysdeps/mips.
16137 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
16138 * sysdeps/unix/sysv/linux/mips: Move directory from
16139 ports/sysdeps/unix/sysv/linux/mips.
16140 * README: Update listing for mips-*-linux-gnu and
16141 mips64-*-linux-gnu.
16143 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
16145 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
16146 * sysdeps/unix/sysv/linux/m68k: Move directory from
16147 ports/sysdeps/unix/sysv/linux/m68k.
16148 * README: Update listing for m68k-*-linux-gnu.
16150 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
16152 * sysdeps/tile: Move directory from ports/sysdeps/tile.
16153 * sysdeps/unix/sysv/linux/generic: Move directory from
16154 ports/sysdeps/unix/sysv/linux/generic.
16155 * sysdeps/unix/sysv/linux/tile: Move directory from
16156 ports/sysdeps/unix/sysv/linux/tile.
16157 * README: Update listing for tile*-*-linux-gnu.
16159 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
16161 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
16163 * benchtests/bench-memmem.c (simple_memmem): Likewise.
16164 * catgets/open_catalog.c (__open_catalog): Likewise.
16165 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
16166 * debug/confstr_chk.c: Likewise.
16167 * debug/fread_chk.c (__fread_chk): Likewise.
16168 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
16169 * debug/getgroups_chk.c: Likewise.
16170 * debug/mbsnrtowcs_chk.c: Likewise.
16171 * debug/mbsrtowcs_chk.c: Likewise.
16172 * debug/mbstowcs_chk.c: Likewise.
16173 * debug/memcpy_chk.c: Likewise.
16174 * debug/memmove_chk.c: Likewise.
16175 * debug/mempcpy_chk.c: Likewise.
16176 * debug/memset_chk.c: Likewise.
16177 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16178 * debug/strcat_chk.c (__strcat_chk): Likewise.
16179 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
16180 * debug/strncat_chk.c (__strncat_chk): Likewise.
16181 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
16182 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
16183 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
16184 * debug/wcpncpy_chk.c: Likewise.
16185 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16186 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
16187 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
16188 * debug/wcsncpy_chk.c: Likewise.
16189 * debug/wcsnrtombs_chk.c: Likewise.
16190 * debug/wcsrtombs_chk.c: Likewise.
16191 * debug/wcstombs_chk.c: Likewise.
16192 * debug/wmemcpy_chk.c: Likewise.
16193 * debug/wmemmove_chk.c: Likewise.
16194 * debug/wmempcpy_chk.c: Likewise.
16195 * debug/wmemset_chk.c: Likewise.
16196 * dirent/scandirat.c (SCANDIRAT): Likewise.
16197 * dlfcn/dladdr1.c (dladdr1): Likewise.
16198 * dlfcn/dladdr.c (dladdr): Likewise.
16199 * dlfcn/dlclose.c (dlclose_doit): Likewise.
16200 * dlfcn/dlerror.c (__dlerror): Likewise.
16201 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
16202 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
16203 * dlfcn/dlopen.c (dlopen_doit): Likewise.
16204 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
16205 * dlfcn/dlsym.c (dlsym_doit): Likewise.
16206 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
16207 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
16208 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
16210 * elf/dl-conflict.c: Likewise.
16211 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
16212 * elf/dl-dst.h: Likewise.
16213 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
16214 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
16215 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
16216 * elf/dl-init.c (call_init, _dl_init): Likewise.
16217 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
16218 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
16219 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
16221 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
16223 * elf/dl-minimal.c (__libc_memalign): Likewise.
16224 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
16225 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
16226 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
16227 * elf/dl-sym.c (do_sym): Likewise.
16228 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
16229 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
16230 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
16231 * elf/dl-writev.h (_dl_writev): Likewise.
16232 * elf/ldconfig.c (search_dir): Likewise.
16233 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
16234 (dl_main): Likewise.
16235 * elf/setup-vdso.h (setup_vdso): Likewise.
16236 * grp/compat-initgroups.c (compat_call): Likewise.
16237 * grp/fgetgrent.c (fgetgrent): Likewise.
16238 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
16239 * grp/putgrent.c (putgrent): Likewise.
16240 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
16242 * hurd/hurdinit.c: Likewise.
16243 * iconvdata/8bit-gap.c (struct): Likewise.
16244 * iconvdata/ansi_x3.110.c : Likewise.
16245 * iconvdata/big5.c : Likewise.
16246 * iconvdata/big5hkscs.c : Likewise.
16247 * iconvdata/cp1255.c: Likewise.
16248 * iconvdata/cp1258.c : Likewise.
16249 * iconvdata/cp932.c : Likewise.
16250 * iconvdata/euc-cn.c: Likewise.
16251 * iconvdata/euc-jisx0213.c : Likewise.
16252 * iconvdata/euc-jp.c: Likewise.
16253 * iconvdata/euc-jp-ms.c : Likewise.
16254 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
16255 * iconvdata/gb18030.c : Likewise.
16256 * iconvdata/gbbig5.c (const): Likewise.
16257 * iconvdata/gbgbk.c: Likewise.
16258 * iconvdata/gbk.c : Likewise.
16259 * iconvdata/ibm1364.c : Likewise.
16260 * iconvdata/ibm930.c : Likewise.
16261 * iconvdata/ibm932.c: Likewise.
16262 * iconvdata/ibm933.c : Likewise.
16263 * iconvdata/ibm935.c : Likewise.
16264 * iconvdata/ibm937.c : Likewise.
16265 * iconvdata/ibm939.c : Likewise.
16266 * iconvdata/ibm943.c: Likewise.
16267 * iconvdata/iso_11548-1.c: Likewise.
16268 * iconvdata/iso-2022-cn.c : Likewise.
16269 * iconvdata/iso-2022-cn-ext.c : Likewise.
16270 * iconvdata/iso-2022-jp-3.c: Likewise.
16271 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
16272 * iconvdata/iso-2022-kr.c : Likewise.
16273 * iconvdata/iso646.c (gconv_end): Likewise.
16274 * iconvdata/iso_6937-2.c : Likewise.
16275 * iconvdata/iso_6937.c : Likewise.
16276 * iconvdata/iso8859-1.c: Likewise.
16277 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
16278 * iconvdata/shift_jisx0213.c : Likewise.
16279 * iconvdata/sjis.c : Likewise.
16280 * iconvdata/t.61.c : Likewise.
16281 * iconvdata/tcvn5712-1.c : Likewise.
16282 * iconvdata/tscii.c: Likewise.
16283 * iconvdata/uhc.c : Likewise.
16284 * iconvdata/unicode.c (gconv_end): Likewise.
16285 * iconvdata/utf-16.c (gconv_end): Likewise.
16286 * iconvdata/utf-32.c (gconv_end): Likewise.
16287 * iconvdata/utf-7.c (base64): Likewise.
16288 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
16289 * iconv/gconv_close.c (__gconv_close): Likewise.
16290 * iconv/gconv_open.c (__gconv_open): Likewise.
16291 * iconv/gconv_simple.c (internal_ucs4_loop_single)
16292 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
16293 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
16294 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
16295 (ucs4le_internal_loop_single): Likewise.
16296 * iconv/iconv.c (iconv): Likewise.
16297 * iconv/iconv_close.c: Likewise.
16298 * iconv/loop.c (SINGLE): Likewise.
16299 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
16300 * include/atomic.h: Likewise.
16301 * inet/inet6_option.c (option_alloc): Likewise.
16302 * intl/bindtextdom.c (set_binding_values): Likewise.
16303 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
16304 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
16305 * intl/localealias.c (read_alias_file): Likewise.
16306 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
16307 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
16308 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
16309 * libio/fmemopen.c (fmemopen): Likewise.
16310 * libio/iofgets.c (_IO_fgets): Likewise.
16311 * libio/iofgets_u.c (fgets_unlocked): Likewise.
16312 * libio/iofgetws.c (fgetws): Likewise.
16313 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
16314 * libio/iogetdelim.c (_IO_getdelim): Likewise.
16315 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
16316 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
16317 * locale/findlocale.c (_nl_find_locale): Likewise.
16318 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
16319 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
16321 * locale/setlocale.c (setlocale): Likewise.
16322 * login/programs/pt_chown.c (main): Likewise.
16323 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
16324 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
16325 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
16326 (mmap, mmap64, mremap, munmap): Likewise.
16327 * math/e_exp2l.c: Likewise.
16328 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
16329 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
16330 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
16331 * math/s_catan.c (__catan): Likewise.
16332 * math/s_catanf.c (__catanf): Likewise.
16333 * math/s_catanh.c (__catanh): Likewise.
16334 * math/s_catanhf.c (__catanhf): Likewise.
16335 * math/s_catanhl.c (__catanhl): Likewise.
16336 * math/s_catanl.c (__catanl): Likewise.
16337 * math/s_ccosh.c (__ccosh): Likewise.
16338 * math/s_ccoshf.c (__ccoshf): Likewise.
16339 * math/s_ccoshl.c (__ccoshl): Likewise.
16340 * math/s_cexp.c (__cexp): Likewise.
16341 * math/s_cexpf.c (__cexpf): Likewise.
16342 * math/s_cexpl.c (__cexpl): Likewise.
16343 * math/s_clog10.c (__clog10): Likewise.
16344 * math/s_clog10f.c (__clog10f): Likewise.
16345 * math/s_clog10l.c (__clog10l): Likewise.
16346 * math/s_clog.c (__clog): Likewise.
16347 * math/s_clogf.c (__clogf): Likewise.
16348 * math/s_clogl.c (__clogl): Likewise.
16349 * math/s_csin.c (__csin): Likewise.
16350 * math/s_csinf.c (__csinf): Likewise.
16351 * math/s_csinh.c (__csinh): Likewise.
16352 * math/s_csinhf.c (__csinhf): Likewise.
16353 * math/s_csinhl.c (__csinhl): Likewise.
16354 * math/s_csinl.c (__csinl): Likewise.
16355 * math/s_csqrt.c (__csqrt): Likewise.
16356 * math/s_csqrtf.c (__csqrtf): Likewise.
16357 * math/s_csqrtl.c (__csqrtl): Likewise.
16358 * math/s_ctan.c (__ctan): Likewise.
16359 * math/s_ctanf.c (__ctanf): Likewise.
16360 * math/s_ctanh.c (__ctanh): Likewise.
16361 * math/s_ctanhf.c (__ctanhf): Likewise.
16362 * math/s_ctanhl.c (__ctanhl): Likewise.
16363 * math/s_ctanl.c (__ctanl): Likewise.
16364 * math/w_pow.c: Likewise.
16365 * math/w_powf.c: Likewise.
16366 * math/w_powl.c: Likewise.
16367 * math/w_scalb.c (sysv_scalb): Likewise.
16368 * math/w_scalbf.c (sysv_scalbf): Likewise.
16369 * math/w_scalbl.c (sysv_scalbl): Likewise.
16370 * misc/error.c (error_tail): Likewise.
16371 * misc/pselect.c (__pselect): Likewise.
16372 * nis/nis_callback.c (__nis_create_callback): Likewise.
16373 * nis/nis_call.c (__nisfind_server): Likewise.
16374 * nis/nis_creategroup.c (nis_creategroup): Likewise.
16375 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
16376 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
16377 * nis/nis_getservlist.c (nis_getservlist): Likewise.
16378 * nis/nis_lookup.c (nis_lookup): Likewise.
16379 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
16380 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
16381 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
16382 * nis/nis_xdr.c (xdr_endpoint): Likewise.
16383 * nis/nss_compat/compat-grp.c (getgrent_next_file)
16384 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
16385 * nis/nss_compat/compat-initgroups.c (add_group)
16386 (internal_getgrent_r): Likewise.
16387 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
16388 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
16389 * nis/nss_compat/compat-spwd.c (getspent_next_file)
16390 (internal_getspnam_r): Likewise.
16391 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
16392 (_nss_nis_getaliasbyname_r): Likewise.
16393 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
16394 (_nss_nis_getntohost_r): Likewise.
16395 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
16396 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
16397 (_nss_nis_getgrgid_r): Likewise.
16398 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
16399 (internal_nis_gethostent_r, internal_gethostbyname2_r)
16400 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
16401 (_nss_nis_gethostbyname4_r): Likewise.
16402 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
16403 (initgroups_netid): Likewise.
16404 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
16405 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
16406 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
16407 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
16408 (_nss_nis_getprotobynumber_r): Likewise.
16409 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
16410 (_nss_nis_getsecretkey): Likewise.
16411 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
16412 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
16413 (_nss_nis_getpwuid_r): Likewise.
16414 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
16415 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
16416 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
16417 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
16418 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
16419 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
16420 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
16422 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
16423 (_nss_nisplus_getntohost_r): Likewise.
16424 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
16425 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
16426 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
16427 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
16429 * nis/nss_nisplus/nisplus-initgroups.c
16430 (_nss_nisplus_initgroups_dyn): Likewise.
16431 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
16432 (_nss_nisplus_getnetbyaddr_r): Likewise.
16433 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
16434 (_nss_nisplus_getprotobynumber_r): Likewise.
16435 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
16436 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
16437 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
16439 * nis/nss_nisplus/nisplus-service.c
16440 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
16441 (_nss_nisplus_getservbyport_r): Likewise.
16442 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
16443 (_nss_nisplus_getspnam_r): Likewise.
16444 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
16446 * nscd/aicache.c (addhstaiX): Likewise.
16447 * nscd/cache.c (cache_search, prune_cache): Likewise.
16448 * nscd/connections.c (register_traced_file, send_ro_fd)
16449 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
16450 (main_loop_epoll): Likewise.
16451 * nscd/grpcache.c (addgrbyX): Likewise.
16452 * nscd/hstcache.c (addhstbyX): Likewise.
16453 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16454 * nscd/mem.c (gc, mempool_alloc): Likewise.
16455 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
16456 (addinnetgrX): Likewise.
16457 * nscd/nscd-client.h (__nscd_acquire_maplock)
16458 (__nscd_drop_map_ref): Likewise.
16459 * nscd/nscd_getai.c (__nscd_getai): Likewise.
16460 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
16461 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
16463 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
16464 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
16465 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
16466 (__nscd_get_map_ref): Likewise.
16467 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
16468 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
16470 * nscd/pwdcache.c (addpwbyX): Likewise.
16471 * nscd/selinux.c (preserve_capabilities): Likewise.
16472 * nscd/servicescache.c (addservbyX): Likewise.
16473 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
16474 * posix/fnmatch.c (fnmatch): Likewise.
16475 * posix/getopt.c (_getopt_internal_r): Likewise.
16476 * posix/glob.c (glob, glob_in_dir): Likewise.
16477 * posix/wordexp.c (exec_comm_child): Likewise.
16478 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
16479 (getanswer_r, gaih_getanswer_slice): Likewise.
16480 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
16481 * resolv/res_init.c: Likewise.
16482 * resolv/res_mkquery.c (res_nmkquery): Likewise.
16483 * resolv/res_query.c (__libc_res_nquery): Likewise.
16484 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
16486 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
16487 * stdio-common/perror.c (perror): Likewise.
16488 * stdio-common/printf_fp.c (___printf_fp): Likewise.
16489 * stdio-common/tmpnam.c (tmpnam): Likewise.
16490 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
16491 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
16492 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
16494 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
16495 * stdlib/putenv.c (putenv): Likewise.
16496 * stdlib/setenv.c (__add_to_environ): Likewise.
16497 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16498 * stdlib/strtol_l.c (INTERNAL): Likewise.
16499 * string/memmem.c (memmem): Likewise.
16500 * string/strerror.c (strerror): Likewise.
16501 * string/strnlen.c (__strnlen): Likewise.
16502 * string/test-memmem.c (simple_memmem): Likewise.
16503 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
16504 * sunrpc/pm_getport.c (__get_socket): Likewise.
16505 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
16506 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
16507 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
16508 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
16510 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
16511 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
16512 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
16513 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
16514 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
16515 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
16517 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
16519 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
16520 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
16521 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16522 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
16523 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
16524 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
16525 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
16526 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
16527 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
16528 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
16529 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
16530 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
16532 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
16534 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
16536 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
16537 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16538 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
16539 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
16540 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
16541 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
16542 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16543 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
16544 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
16545 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
16546 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
16547 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16548 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
16549 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
16550 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16551 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
16553 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
16555 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
16557 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
16559 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16560 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16561 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
16563 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
16564 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
16565 * sysdeps/posix/opendir.c (__opendirat): Likewise.
16566 * sysdeps/posix/sleep.c: Likewise.
16567 * sysdeps/posix/tempname.c: Likewise.
16568 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
16569 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16571 * sysdeps/powerpc/powerpc32/dl-machine.h
16572 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
16573 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
16574 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16575 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
16576 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
16578 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
16579 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
16580 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
16581 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
16582 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
16583 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
16584 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
16585 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
16586 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16587 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
16588 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
16589 (elf_machine_lazy_rel): Likewise.
16590 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
16591 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
16592 (elf_machine_lazy_rel): Likewise.
16593 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
16594 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
16595 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
16596 * sysdeps/unix/grantpt.c (grantpt): Likewise.
16597 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
16598 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
16599 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
16600 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16602 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
16603 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
16604 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
16605 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
16606 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
16607 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
16608 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
16609 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
16610 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
16611 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
16612 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
16614 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
16615 (__posix_fallocate64_l64): Likewise.
16616 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
16617 (posix_fallocate): Likewise.
16618 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
16620 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16621 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
16622 (getifaddrs_internal): Likewise.
16623 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
16624 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
16625 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
16626 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
16627 * sysdeps/unix/sysv/linux/posix_fallocate64.c
16628 (__posix_fallocate64_l64): Likewise.
16629 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
16631 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
16632 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
16633 (__get_clockfreq): Likewise.
16634 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
16635 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
16636 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
16637 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16638 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16639 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
16640 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
16641 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
16643 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
16644 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
16645 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
16646 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
16647 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
16648 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
16649 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
16651 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16652 (posix_fallocate): Likewise.
16653 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16654 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
16655 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
16656 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
16657 (elf_machine_rela, elf_machine_rela_relative)
16658 (elf_machine_lazy_rel): Likewise.
16659 * time/asctime.c (asctime_internal): Likewise.
16660 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
16661 * time/tzset.c (__tzset_parse_tz): Likewise.
16662 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
16663 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
16664 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
16665 * wcsmbs/wcsmbsload.h: Likewise.
16668 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
16670 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
16671 (arena_get2): Remove THREAD_STATS conditionals.
16672 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
16673 (__malloc_stats, int): Likewise.
16675 2014-02-08 Mike Frysinger <vapier@gentoo.org>
16677 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
16678 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
16680 * manual/setjmp.texi: Fix typos/grammar errors.
16682 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
16683 Only return early when n is <= 0. Delete unused return statement.
16685 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
16686 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
16687 * debug/tst-longjmp_chk3.c: New file.
16689 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
16690 (test_main): Replace code with set_fortify_handler call.
16691 * debug/test-strcpy_chk.c: Likewise.
16692 * debug/tst-chk1.c: Likewise.
16693 * debug/tst-longjmp_chk.c: Likewise.
16694 * test-skeleton.c: Include fcntl.h & paths.h
16695 (set_fortify_handler): Define.
16697 * debug/tst-longjmp_chk.c: Add header comment and include
16698 ../test-skeleton.c.
16699 (do_test): Mark static.
16700 (TEST_FUNCTION): Define.
16702 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
16703 (IP_PMTUDISC_INTERFACE): Likewise.
16704 (IP_MULTICAST_IF): Likewise.
16705 (IP_MULTICAST_TTL): Likewise.
16706 (IP_MULTICAST_LOOP): Likewise.
16707 (IP_ADD_MEMBERSHIP): Likewise.
16708 (IP_DROP_MEMBERSHIP): Likewise.
16709 (IP_UNBLOCK_SOURCE): Likewise.
16710 (IP_BLOCK_SOURCE): Likewise.
16711 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
16712 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
16713 (IP_MSFILTER): Likewise.
16714 (MCAST_JOIN_GROUP): Likewise.
16715 (MCAST_BLOCK_SOURCE): Likewise.
16716 (MCAST_UNBLOCK_SOURCE): Likewise.
16717 (MCAST_LEAVE_GROUP): Likewise.
16718 (MCAST_JOIN_SOURCE_GROUP): Likewise.
16719 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
16720 (MCAST_MSFILTER): Likewise.
16721 (IP_MULTICAST_ALL): Likewise.
16722 (IP_UNICAST_IF): Likewise.
16724 * timezone/Makefile: Delete $(have-ksh) check.
16725 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
16726 * timezone/tzselect.ksh: Add +x mode bits.
16728 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
16729 (ANON_INODE_FS_MAGIC): Likewise.
16730 (BDEVFS_MAGIC): Likewise.
16731 (BINFMTFS_MAGIC): Likewise.
16732 (BTRFS_TEST_MAGIC): Likewise.
16733 (CRAMFS_MAGIC_WEND): Likewise.
16734 (DEBUGFS_MAGIC): Likewise.
16735 (ECRYPTFS_SUPER_MAGIC): Likewise.
16736 (EXT3_SUPER_MAGIC): Likewise.
16737 (EXT4_SUPER_MAGIC): Likewise.
16738 (FUTEXFS_SUPER_MAGIC): Likewise.
16739 (HOSTFS_SUPER_MAGIC): Likewise.
16740 (HUGETLBFS_MAGIC): Likewise.
16741 (MINIX3_SUPER_MAGIC): Likewise.
16742 (MTD_INODE_FS_MAGIC): Likewise.
16743 (NILFS_SUPER_MAGIC): Likewise.
16744 (OPENPROM_SUPER_MAGIC): Likewise.
16745 (PIPEFS_MAGIC): Likewise.
16746 (PSTOREFS_MAGIC): Likewise.
16747 (QNX6_SUPER_MAGIC): Likewise.
16748 (RAMFS_MAGIC): Likewise.
16749 (REISERFS_SUPER_MAGIC_STRING): Likewise.
16750 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
16751 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
16752 (SECURITYFS_MAGIC): Likewise.
16753 (SELINUX_MAGIC): Likewise.
16754 (SMACK_MAGIC): Likewise.
16755 (SOCKFS_MAGIC): Likewise.
16756 (SQUASHFS_MAGIC): Likewise.
16757 (STACK_END_MAGIC): Likewise.
16758 (TMPFS_MAGIC): Likewise.
16759 (USBDEVICE_SUPER_MAGIC): Likewise.
16760 (V9FS_MAGIC): Likewise.
16761 (XENFS_SUPER_MAGIC): Likewise.
16762 (CRAMFS_MAGIC): Fix typo in comment.
16763 (EXT2_SUPER_MAGIC): Update comment.
16764 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
16766 2014-02-08 Joseph Myers <joseph@codesourcery.com>
16768 * sysdeps/arm: Move directory from ports/sysdeps/arm.
16769 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
16770 * sysdeps/unix/sysv/linux/arm: Move directory from
16771 ports/sysdeps/unix/sysv/linux/arm.
16772 * README: Update listing for arm-*-linux-gnueabi.
16774 * README: Remove mention of am33.
16776 2014-02-07 Roland McGrath <roland@hack.frob.com>
16778 * bits/sigset.h (__sigemptyset): Use a statement expression rather
16779 than the comma operator, to avoid "rhs of comma has no effect"
16781 (__sigfillset, __sigandset, __sigorset): Likewise.
16782 * include/signal.h (__sigemptyset): Likewise.
16783 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
16785 2014-02-07 Allan McRae <allan@archlinux.org>
16787 * version.h (RELEASE): Set to "development".
16788 (VERSION): Set to "2.19.90"
16789 * NEWS: Add 2.20 section.
16791 2014-02-06 Carlos O'Donell <carlos@redhat.com>
16794 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
16796 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16798 * manual/contrib.texi: Update entry for Carlos O'Donell,
16799 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
16801 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
16803 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
16805 * sysdeps/unix/sysv/linux/kernel-features.h
16806 [__LINUX_KERNEL_VERSION >= 0x020621]
16807 (__ASSUME_PROC_PID_TASK_COMM): Define.
16809 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16812 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
16813 conversion when destination buffer does not have enough space.
16814 * libio/tst-ftell-partial-wide.c: New test case.
16815 * libio/Makefile (tests): Add tst-ftell-partial-wide.
16817 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
16818 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
16819 Leonard and Allan McRae.
16821 2014-02-04 David S. Miller <davem@davemloft.net>
16823 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
16826 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
16830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
16832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
16834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
16836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
16838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
16840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
16842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
16844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
16846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
16848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
16850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
16852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
16855 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16857 * nptl/shlib-versions: Change powerpc*le start to 2.17.
16858 * shlib-versions: Likewise.
16860 2014-02-04 Roland McGrath <roland@hack.frob.com>
16861 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16863 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
16864 (abilist-pattern): New variable, set to %-le.abilist.
16866 * Makerules (abilist-pattern): New variable.
16867 (vpath): Use $(abilist-pattern) in place of %.abilist.
16868 (check-abi-% pattern rule): Likewise.
16869 (check-abi, update-abi): Likewise.
16871 2014-02-04 Eric Wong <normalperson@yhbt.net>
16873 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16875 2014-02-03 Carlos O'Donell <carlos@redhat.com>
16877 * manual/startup.texi: Add next, previous, and top entries for
16878 the `Program Arguments' and `Environment Variables' nodes.
16880 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
16882 * manual/macros.texi: Add comments before MTASC-safety macros.
16884 * manual/users.texi: Document MTASC-safety properties.
16886 * manual/threads.texi (pthread_key_create, pthread_key_delete)
16887 (pthread_getspecific, pthread_setspecific): Format with
16888 @deftypefun, and add @safety note.
16889 * manual/signal.texi: Move comments that analyze the above
16890 functions to their home place.
16892 2014-02-03 Allan McRae <allan@archlinux.org>
16894 * po/sl.po: Update Slovenian translation from translation project.
16896 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
16898 * manual/time.texi (timegm): Add missing blank after @c.
16899 Reported by Joseph Myers <joseph@codesourcery.com>.
16901 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
16903 * manual/check-safety.sh: New.
16904 * manual/Makefile ($(objpfx)stamp-summary): Run it.
16906 * manual/terminal.texi: Document MTASC-safety properties.
16908 * manual/filesys.texi: Document MTASC-safety properties.
16910 * manual/errno.texi: Document MTASC-safety properties.
16912 * manual/intro.texi: Document safety identifiers and
16915 * manual/string.texi (wcstok): Fix prototype.
16916 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
16918 * manual/time.texi: Document MTASC-safety properties.
16920 * manual/string.texi: Document MTASC-safety properties.
16922 * manual/threads.texi: Document MTASC-safety properties.
16924 * manual/stdio.texi: Document MTASC-safety properties.
16926 * manual/syslog.texi: Document MTASC-safety properties.
16928 * manual/sysinfo.texi: Document MTASC-safety properties.
16930 * manual/startup.texi: Document MTASC-safety properties.
16932 * manual/socket.texi: Document MTASC-safety properties.
16934 * manual/signal.texi: Document MTASC-safety properties.
16936 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
16938 * manual/setjmp.texi: Document MTASC-safety properties.
16940 * manual/search.texi: Document MTASC-safety properties.
16942 * manual/resource.texi: Document MTASC-safety properties.
16944 * manual/process.texi: Document MTASC-safety properties.
16946 * manual/platform.texi: Document MTASC-safety properties.
16948 * manual/pipe.texi: Document MTASC-safety properties.
16950 * manual/pattern.texi: Document MTASC-safety properties.
16952 * manual/message.texi: Document MTASC-safety properties.
16955 * manual/memory.texi: Document MTASC-safety properties.
16957 * manual/math.texi: Document MTASC-safety properties.
16959 * manual/locale.texi: Document MTASC-safety properties.
16961 * manual/llio.texi: Document MTASC-safety properties.
16963 * manual/libdl.texi: New.
16965 * manual/lang.texi: Document MTASC-safety properties.
16967 * manual/job.texi: Document MTASC-safety properties.
16969 * manual/getopt.texi: Document MTASC-safety properties.
16971 * manual/ctype.texi: Document MTASC-safety properties.
16973 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
16976 * csu/libc-tls.c (static_map): Remove variable.
16977 (__libc_setup_tls): Use main executable's link map for TLS data.
16978 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
16979 casing for LM_ID_BASE and GL(dl_nns).
16980 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
16981 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
16982 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
16983 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
16984 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
16986 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
16989 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
16991 * manual/debug.texi: Document MTASC-safety properties.
16993 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
16996 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
16997 of __x86_64__ when disabling x87 inline functions.
16999 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
17001 * manual/charset.texi: Document MTASC-safety properties.
17003 * manual/crypt.texi: Document MTASC-safety properties.
17005 * manual/conf.texi: Document MTASC-safety properties.
17007 * manual/arith.texi: Document MTASC-safety properties.
17009 * manual/argp.texi: Document MTASC-safety properties.
17011 * manual/macros.texi: Introduce macros to document multi
17012 thread, asynchronous signal and asynchronous cancellation
17014 * manual/intro.texi: Introduce the properties themselves.
17016 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17018 * sysdeps/sh/sh4/Makefile: New file.
17020 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
17022 * math/gen-libm-test.pl ($srcdir): New variable.
17023 ($auto_input): Use it.
17025 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17028 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
17029 access beyond array bounds when parsing netgroups file.
17031 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
17032 the old buffer before realloc.
17034 2014-01-27 Allan McRae <allan@archlinux.org>
17036 * po/fr.po: Update French translation from translation project.
17038 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17040 * sysdeps/sh/libm-test-ulps: Regenerate.
17042 2014-01-24 David S. Miller <davem@davemloft.net>
17044 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
17046 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17048 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
17049 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
17051 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17054 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
17055 string pointers after reallocation.
17057 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17059 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
17060 __SH4A__ instead of __SH_FPU_ANY__.
17062 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17064 * sysdeps/sh/fpu_control.h: New file.
17065 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
17066 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
17067 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
17068 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
17069 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
17070 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
17071 * sysdeps/sh/sys/ucontext.h: Remove.
17072 * sysdeps/sh/sys: Remove directory.
17074 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17076 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
17077 s390/sys/ucontext.h.
17078 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
17079 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
17081 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
17084 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
17086 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17089 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
17090 Adjust the vDSO correctly for internal calls.
17091 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
17093 2014-01-20 Allan McRae <allan@archlinux.org>
17095 * po/ca.po: Update Catalan translation from translation project.
17097 2014-01-16 Mike Frysinger <vapier@gentoo.org>
17099 * sysdeps/s390/sotruss-lib.c: New file.
17101 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17104 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
17105 (__GI___gettimeofday): Alias for a different internal symbol to avoid
17106 local calls issues by not having a PLT stub required for IFUNC calls.
17107 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
17109 2014-01-16 Joseph Myers <joseph@codesourcery.com>
17111 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
17112 * math/test-fpucw-static.c: Likewise.
17114 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17117 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
17119 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17121 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
17122 implementation for powerpc.
17124 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
17127 * sysdeps/posix/system.c (__libc_system): Do not enable
17128 asynchronous cancellation.
17130 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17133 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
17134 handling only for numbers special also in the IEEE case.
17136 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17138 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17140 2014-01-11 Allan McRae <allan@archlinux.org>
17142 * po/bg.po: Update Bulgarian translation from translation project.
17144 * po/de.po: Update German translation from translation project.
17146 2014-01-10 Roland McGrath <roland@hack.frob.com>
17148 * sysdeps/generic/gcc-compat.h: New file.
17150 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17152 * benchtests/asin-inputs: Correct slow inputs.
17153 * benchtests/acos-inputs: Likewise.
17155 2014-01-10 Allan McRae <allan@archlinux.org>
17157 * po:sv.po: Update Swedish translation from translation project.
17159 * po/vi.po: Update Vietnamese translation from translation project.
17161 * po/eo.po: Update Esperanto translation from translation project.
17163 * po/cs.po: Update Czech translation from translation project.
17165 * po/nl.po: Update Dutch translation from translation project.
17167 * po/pl.po: Update Polish translation from translation project.
17169 * po/ru.po: Update Russian translation from translation project.
17171 * po/uk.po: Update Ukrainian translation from translation project.
17173 2014-01-08 Brooks Moses <bmoses@google.com>
17175 * elf/dl-load.c: Fix comment typo.
17177 2014-01-08 Carlos O'Donell <carlos@redhat.com>
17179 * po/header.pot: Rename to...
17180 * po/pot.header: ... this.
17181 * po/Makefile: Use pot.header.
17183 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
17184 Maxim Kuvyrkov <maxim@kugelworks.com>
17187 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
17188 SRC and DEST against LEN.
17190 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17193 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
17195 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
17197 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17199 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17201 2014-01-08 Joseph Myers <joseph@codesourcery.com>
17204 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
17205 for large positive arguments.
17207 2014-01-07 Joseph Myers <joseph@codesourcery.com>
17209 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17211 * math/auto-libm-test-in: Mark various tests with
17212 xfail-rounding:ldbl-128ibm.
17213 * math/auto-libm-test-out: Regenerated.
17216 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
17217 Increase overflow threshold.
17219 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
17222 * stdio-common/vfprintf.c: Check for integer overflow.
17224 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17226 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
17227 the first argument and return value of __tls_get_addr_internal.
17229 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17231 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
17232 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
17234 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17236 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
17237 * sysdeps/s390/rtld-global-offsets.sym: New file.
17238 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
17240 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
17241 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
17242 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
17244 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
17245 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
17247 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17249 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17251 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
17252 halfs of GPRs for high_gprs contexts.
17253 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
17254 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
17256 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
17258 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
17260 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
17261 for high GPRs (uc_high_gprs) and for future extensions
17263 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
17264 for future extensions (__reserved).
17265 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
17267 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
17268 SC_HIGHGPRS offset definition.
17269 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
17270 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
17272 * Versions.def: Add GLIBC_2.19 for libpthread.
17273 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
17274 siglongjmp for libpthread with GLIBC_2.19 symver.
17275 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
17276 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
17277 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
17278 * sysdeps/s390/__longjmp.c: New file.
17279 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
17280 * sysdeps/s390/longjmp.c: New file.
17281 * sysdeps/s390/setjmp.S: New file.
17282 * sysdeps/s390/sigjmp.S: New file.
17283 * sysdeps/s390/v1-longjmp.c: New file.
17284 * sysdeps/s390/v1-setjmp.h: New file.
17285 * sysdeps/s390/v1-sigjmp.c: New file.
17286 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
17287 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
17288 GLIBC_2.19 version.
17289 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
17290 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
17291 versioned symbols for ____longjmp_chk.
17292 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
17294 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17296 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17298 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17300 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17302 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
17303 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
17304 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
17305 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
17306 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
17307 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
17308 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
17309 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
17310 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
17311 * sysdeps/s390/rtld-__longjmp.c: New file.
17312 * sysdeps/s390/rtld-setjmp.S: New file.
17314 2014-01-06 Joseph Myers <joseph@codesourcery.com>
17317 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
17318 Return -__logl (x) for small positive arguments without evaluating
17321 2014-01-06 Mike Frysinger <vapier@gentoo.org>
17323 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
17325 (__ptrace_peeksiginfo_args): ... this.
17326 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17327 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17328 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17330 2014-01-06 Allan McRae <allan@archlinux.org>
17332 * inet/netinet/in.h: Fix typo in comment.
17334 2014-01-05 Andreas Jaeger <aj@suse.de>
17336 * sysdeps/i386/fpu/libm-test-ulps: Update.
17338 2014-01-05 Allan McRae <allan@archlinux.org>
17340 * po/libc.pot: Regenerated.
17342 * malloc/memusagestat.c: Fix gettext call formatting.
17344 2014-01-04 Sami Kerola <kerolasa@iki.fi>
17346 * nscd/nscd.c: Improve usage() output.
17348 2014-01-04 Mike Frysinger <vapier@gentoo.org>
17350 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
17351 * sysdeps/unix/sysv/linux/configure: Regenerated.
17352 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
17353 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
17355 2014-01-03 Joseph Myers <joseph@codesourcery.com>
17358 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17359 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
17361 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17363 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
17364 extra tokens at end of #undef directive.
17365 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
17366 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
17367 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
17369 2014-01-03 Joseph Myers <joseph@codesourcery.com>
17371 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17373 * math/auto-libm-test-in: Mark various tests with
17374 xfail-rounding:ldbl-128ibm.
17375 * math/auto-libm-test-out: Regenerated.
17377 2014-01-02 Joseph Myers <joseph@codesourcery.com>
17380 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
17381 numbers with subnormal high part when calculating exponent.
17384 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
17388 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
17390 (__ieee754_acoshl): Use __log1pl not __log1p.
17392 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
17394 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
17395 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
17396 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
17397 (grow_heap, heap_trim, _int_new_arena, get_free_list)
17398 (reused_arena, arena_get2): Convert to GNU style.
17399 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
17400 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
17401 (memalign_check, __malloc_set_state): Likewise.
17402 * malloc/mallocbug.c (main): Likewise.
17403 * malloc/malloc.c (__malloc_assert, malloc_init_state)
17404 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
17405 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
17406 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
17407 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
17408 (__posix_memalign, malloc_info): Likewise.
17409 * malloc/malloc.h: Likewise.
17410 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
17411 (mallochook, memalignhook, reallochook, mabort): Likewise.
17412 * malloc/mcheck.h: Likewise.
17413 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
17414 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
17415 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
17416 * malloc/morecore.c (__default_morecore): Likewise.
17417 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
17418 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
17419 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
17420 (print_and_abort): Likewise.
17421 * malloc/obstack.h: Likewise.
17422 * malloc/set-freeres.c (__libc_freeres): Likewise.
17423 * malloc/tst-mallocstate.c (main): Likewise.
17424 * malloc/tst-mtrace.c (main): Likewise.
17425 * malloc/tst-realloc.c (do_test): Likewise.
17427 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17430 * nscd/netgroupcache.c (do_notfound): New function.
17431 (addgetnetgrentX): Use it.
17434 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
17435 NSS_STATUS_NOTFOUND.
17437 2014-01-01 Joseph Myers <joseph@codesourcery.com>
17439 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17442 2014-01-01 Allan McRae <allan@archlinux.org>
17444 * scripts/update-copyrights: Update configure input file suffix.
17446 * NEWS: Update copyright year.
17447 * catgets/gencat.c: Likewise.
17448 * csu/version.c: Likewise.
17449 * debug/catchsegv.sh: Likewise.
17450 * debug/pcprofiledump.c: Likewise.
17451 * debug/xtrace.sh: Likewise.
17452 * elf/ldconfig.c: Likewise.
17453 * elf/ldd.bash.in: Likewise.
17454 * elf/pldd.c: Likewise.
17455 * elf/sotruss.ksh: Likewise.
17456 * elf/sprof.c: Likewise.
17457 * iconv/iconv_prog.c: Likewise.
17458 * iconv/iconvconfig.c: Likewise.
17459 * locale/programs/locale.c: Likewise.
17460 * locale/programs/localedef.c: Likewise.
17461 * login/programs/pt_chown.c: Likewise.
17462 * malloc/memusage.sh: Likewise.
17463 * malloc/memusagestat.c: Likewise.
17464 * malloc/mtrace.pl: Likewise.
17465 * manual/libc.texinfo: Likewise.
17466 * nscd/nscd.c: Likewise.
17467 * nss/getent.c: Likewise.
17468 * nss/makedb.c: Likewise.
17469 * posix/getconf.c: Likewise.
17470 * scripts/test-installation.pl: Likewise.
17472 * All files with FSF copyright notices: Update copyright dates
17473 using scripts/update-copyrights.
17474 * intl/plural.c: Regenerated.
17475 * locale/programs/charmap-kw.h: Likewise.
17476 * locale/programs/locfile-kw.h: Likewise.
17478 2013-12-31 Mike Frysinger <vapier@gentoo.org>
17480 * sysdeps/unix/sysv/linux/configure: Regenerated.
17481 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
17482 the linux/fanotify.h header.
17483 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
17484 HAVE_LINUX_FANOTIFY_H is defined.
17486 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
17488 * benchtests/cos-inputs: New inputs.
17489 * benchtests/sin-inputs: Likewise.
17491 * benchtests/atan-inputs: New inputs. Fix name of multiple
17492 precision fallback inputs.
17494 * benchtests/atanh-inputs: New inputs.
17495 * benchtests/tanh-inputs: Likewise.
17497 * benchtests/acosh-inputs: New inputs.
17498 * benchtests/asinh-inputs: Likewise.
17500 * benchtests/cosh-inputs: New inputs.
17501 * benchtests/sinh-inputs: Likewise.
17503 * benchtests/acos-inputs: Add more inputs.
17504 * benchtests/asin-inputs: Likewise.
17506 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
17509 * manual/arith.texi: Fix spelling.
17510 * manual/charset.texi: Likewise.
17511 * manual/errno.texi: Likewise.
17512 * manual/filesys.texi: Likewise.
17513 * manual/lang.texi: Likewise.
17514 * manual/llio.texi: Likewise.
17515 * manual/locale.texi: Likewise.
17516 * manual/message.texi: Likewise.
17517 * manual/resource.texi: Likewise.
17518 * manual/search.texi: Likewise.
17519 * manual/setjmp.texi: Likewise.
17520 * manual/stdio.texi: Likewise.
17521 * manual/string.texi: Likewise.
17522 * manual/sysinfo.texi: Likewise.
17523 * manual/time.texi: Likewise.
17525 2013-12-27 Carlos O'Donell <carlos@redhat.com>
17527 * po/sl.po: New file.
17529 2013-12-27 Mike Frysinger <vapier@gentoo.org>
17531 * .gitignore: Add core/.gdbinit/.gdb_history.
17533 2013-12-27 Allan McRae <allan@archlinux.org>
17536 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
17537 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
17539 2013-12-24 Brooks Moses <bmoses@google.com>
17541 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
17542 all compilers that claim C++98 compliance, not just GCC.
17543 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
17546 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
17548 * NEWS: Restore accidentally deleted bug-fix entries.
17550 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
17551 Ondřej Bílka <neleai@seznam.cz>
17554 * malloc/malloc.c (_int_free): Perform sanity check only if we
17557 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
17560 * manual/stdio.texi (String Input Conversions): Clarify that character
17561 classes are not supported.
17563 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17565 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17567 2013-12-22 Joseph Myers <joseph@codesourcery.com>
17570 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
17571 Calculate results for small negative arguments directly rather
17572 than using reflection formula with special underflow handling.
17574 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
17575 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
17576 sysdeps/unix/bsd/bsd4.4/syscalls.list.
17577 (fchflags): Likewise.
17578 (revoke): Likewise.
17579 (setlogin): Likewise.
17580 (sigaltstack): Likewise.
17582 (sigblock): Remove.
17583 (sigsetmask): Likewise.
17585 (waitpid): Likewise.
17586 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
17587 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
17589 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
17590 * sysdeps/unix/bsd/Makefile: ... here.
17591 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
17592 * sysdeps/unix/bsd/Versions: ... here.
17593 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
17594 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
17595 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
17596 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
17597 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
17598 * sysdeps/unix/bsd/sigblock.c: ... here.
17599 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
17600 * sysdeps/unix/bsd/sigsetmask.c: ... here.
17601 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
17602 * sysdeps/unix/bsd/sigvec.c: ... here.
17603 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
17604 * sysdeps/unix/bsd/tcdrain.c: ... here.
17605 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
17606 * sysdeps/unix/bsd/tcgetattr.c: ... here.
17607 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
17608 * sysdeps/unix/bsd/tcsetattr.c: ... here.
17609 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
17610 * sysdeps/unix/bsd/wait.c: ... here.
17611 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
17612 * sysdeps/unix/bsd/wait3.c: ... here.
17613 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
17614 * sysdeps/unix/bsd/waitpid.c: ... here.
17616 2013-12-21 Joseph Myers <joseph@codesourcery.com>
17619 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
17620 round-to-nearest for [!USE_AS_EXPM1L].
17621 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
17622 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
17623 more tests of exp and exp10. Expect some exp10 tests to miss
17624 exceptions or fail in directed rounding modes.
17625 * math/auto-libm-test-out: Regenerated.
17626 * math/libm-test.inc (exp10_tonearest_test_data): New array.
17627 (exp10_test_tonearest): New function.
17628 (exp10_towardzero_test_data): New array.
17629 (exp10_test_towardzero): New function.
17630 (exp10_downward_test_data): New array.
17631 (exp10_test_downward): New function.
17632 (exp10_upward_test_data): New array.
17633 (exp10_test_upward): New function.
17634 (main): Call the new functions.
17635 * sysdeps/i386/fpu/libm-test-ulps: Update.
17636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17638 2013-12-20 Joseph Myers <joseph@codesourcery.com>
17640 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
17641 asinh, atan, atan2, atanh, cbrt, cos and cosh.
17642 * math/auto-libm-test-out: Regenerated.
17643 * math/libm-test.inc (acosh_test_data): Add more tests.
17644 (atanh_test_data): Likewise.
17645 (ceil_test_data): Likewise.
17646 (copysign_test_data): Likewise.
17647 * sysdeps/i386/fpu/libm-test-ulps: Update.
17648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17650 * timezone/checktab.awk: Update from tzcode 2013i.
17651 * timezone/private.h: Likewise.
17652 * timezone/scheck.c: Likewise.
17653 * timezone/tzfile.h: Likewise.
17654 * timezone/tzselect.ksh: Likewise.
17655 * timezone/zdump.c: Likewise.
17656 * timezone/zic.c: Likewise.
17658 * math/auto-libm-test-in: Add tests of cpow.
17659 * math/auto-libm-test-out: Regenerated.
17660 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
17661 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17663 (func_calc_desc): Add mpc_cc_c union field.
17664 (test_functions): Add cpow.
17665 (special_fill_2pi): New function.
17666 (special_real_inputs): Add 2pi.
17667 (calc_generic_results): Handle mpc_cc_c.
17668 * sysdeps/i386/fpu/libm-test-ulps: Update.
17669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17671 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
17672 csqrt, ctan and ctanh.
17673 * math/auto-libm-test-out: Regenerated.
17674 * math/libm-test.inc (TEST_COND_x86_64): New macro.
17675 (TEST_COND_x86): Likewise.
17676 (ccos_test_data): Use AUTO_TESTS_c_c.
17677 (ccosh_test_data): Likewise.
17678 (cexp_test_data): Likewise.
17679 (clog_test_data): Likewise.
17680 (csqrt_test_data): Likewise.
17681 (ctan_test_data): Likewise.
17682 (ctan_tonearest_test_data): Likewise.
17683 (ctan_towardzero_test_data): Likewise.
17684 (ctan_downward_test_data): Likewise.
17685 (ctan_upward_test_data): Likewise.
17686 (ctanh_test_data): Likewise.
17687 (ctanh_tonearest_test_data): Likewise.
17688 (ctanh_towardzero_test_data): Likewise.
17689 (ctanh_downward_test_data): Likewise.
17690 (ctanh_upward_test_data): Likewise.
17691 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17693 (func_calc_desc): Add mpc_c_c union field.
17694 (FUNC_mpc_c_c): New macro.
17695 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
17696 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
17698 (special_fill_min_subnorm_p120): New function.
17699 (special_real_inputs): Add min_subnorm_p120.
17700 (calc_generic_results): Handle mpc_c_c.
17701 * sysdeps/i386/fpu/libm-test-ulps: Update.
17702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17704 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17706 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
17707 (do_sin_slow): New functions.
17708 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
17709 (cslow2, csloww1, csloww2): Use the new functions.
17711 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
17712 Use M to change sign of result instead of X. Assume X is
17714 (csloww1): Likewise.
17718 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
17719 arguments A and DA.
17723 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
17725 (sloww1): Don't adjust sign of DX.
17726 (csloww1): Likewise.
17727 (sloww2): Use X directly and don't adjust sign of DX.
17728 (csloww2): Likewise.
17730 2013-12-19 Joseph Myers <joseph@codesourcery.com>
17732 * math/auto-libm-test-in: Add tests of cabs and carg.
17733 * math/auto-libm-test-out: Regenerated.
17734 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
17735 (carg_test_data): Likewise.
17736 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17738 (func_calc_desc): Add mpc_c_f union field.
17739 (test_functions): Add cabs and carg.
17740 (calc_generic_results): Handle mpc_c_f.
17742 * sysdeps/powerpc/powerpc32/libgcc-compat.S
17743 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
17744 as a macro and a compat symbol.
17745 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
17746 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
17747 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
17748 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
17749 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
17750 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
17752 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
17754 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
17756 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
17758 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
17760 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
17762 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
17763 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
17766 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17768 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17770 2013-12-19 Joseph Myers <joseph@codesourcery.com>
17772 * manual/texinfo.tex: Update to version 2013-11-26.10 with
17773 trailing whitespace removed.
17774 * scripts/config.guess: Update to version 2013-11-29.
17775 * scripts/config.sub: Update to version 2013-10-01.
17777 * math/auto-libm-test-in: Add tests of sincos.
17778 * math/auto-libm-test-out: Regenerated.
17779 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
17780 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17782 (func_calc_desc): Add mpfr_f_11 union field.
17783 (test_functions): Add sincos.
17784 (calc_generic_results): Handle mpfr_f_11.
17785 * sysdeps/i386/fpu/libm-test-ulps: Update.
17786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17788 2013-12-19 Andreas Schwab <schwab@suse.de>
17790 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
17792 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
17793 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
17794 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
17796 2013-12-19 Joseph Myers <joseph@codesourcery.com>
17798 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
17799 * sysdeps/i386/fpu/libm-test-ulps: Update.
17800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17803 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
17804 round-to-nearest mode when using frndint.
17805 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
17806 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
17807 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
17809 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
17811 * math/auto-libm-test-out: Regenerated.
17812 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
17813 (TEST_COND_x86): Likewise.
17814 (expm1_tonearest_test_data): New array.
17815 (expm1_test_tonearest): New function.
17816 (expm1_towardzero_test_data): New array.
17817 (expm1_test_towardzero): New function.
17818 (expm1_downward_test_data): New array.
17819 (expm1_test_downward): New function.
17820 (expm1_upward_test_data): New array.
17821 (expm1_test_upward): New function.
17822 (main): Run the new test functions.
17823 * sysdeps/i386/fpu/libm-test-ulps: Update.
17824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17826 * include/features.h: Update comment documenting feature test
17827 macros. Mention _DEFAULT_SOURCE in comment.
17828 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
17829 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
17830 _BSD_SOURCE and _SVID_SOURCE.
17831 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
17832 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
17833 !_SVID_SOURCE]: Likewise.
17834 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17835 (__USE_POSIX_IMPLICITLY): Define.
17836 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17837 (_POSIX_SOURCE): Undefine and redefine.
17838 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17839 (_POSIX_C_SOURCE): Likewise.
17840 * manual/creature.texi (_DEFAULT_SOURCE): Document.
17841 (Feature Test Macros): Update documentation of default features.
17843 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17845 * benchtests/Makefile: Add bench-strtok.
17846 * benchtests/bench-strtok.c: New file: strtok benchtest.
17848 2013-12-19 Allan McRae <allan@archlinux.org>
17850 * manual/install.texi: Suppress menu for plain text output.
17851 * INSTALL: Regenerated.
17853 2013-12-18 Brooks Moses <bmoses@google.com>
17856 * misc/getauxval.c: Include errno.h.
17857 (__getauxval): Set errno to ENOENT if the requested type is not
17859 * misc/sys/auxv.h (getauxval): Document that it may set errno;
17860 don't declare with __attribute_const__.
17861 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
17862 * manual/startup.texi: Document that getauxval sets errno.
17864 2013-12-18 Joseph Myers <joseph@codesourcery.com>
17866 * math/auto-libm-test-in: Add tests of jn and yn.
17867 * math/auto-libm-test-out: Regenerated.
17868 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
17869 (yn_test_data): Likewise.
17870 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17872 (func_calc_desc): Add mpfr_if_f union field.
17873 (FUNC_mpfr_if_f): New macro.
17874 (test_functions): Add jn and yn.
17875 (calc_generic_results): Assert type of second input for
17876 mpfr_ff_f. Handle mpfr_if_f.
17877 (output_for_one_input_case): Disable all checking for arguments
17878 fitting floating-point types in case of an integer argument.
17879 * sysdeps/i386/fpu/libm-test-ulps: Update.
17880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17883 Don't expect fegetround reference in libm.so.
17885 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17887 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
17888 $(config-cflags-nofma).
17890 2013-12-18 Joseph Myers <joseph@codesourcery.com>
17892 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
17893 * math/auto-libm-test-out: Regenerated.
17896 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
17897 to determine exponent and adjust argument to have exponent of -1.
17898 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
17900 * math/auto-libm-test-out: Regenerated.
17901 * sysdeps/i386/fpu/libm-test-ulps: Update.
17902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17904 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
17906 * manual/probes.texi: Remove cases when per-thread arenas are
17909 2013-12-18 Andreas Schwab <schwab@suse.de>
17911 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
17912 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
17913 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
17914 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
17915 * sysdeps/i386/i686/multiarch/Makefile: Update.
17916 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
17918 2013-12-17 Joseph Myers <joseph@codesourcery.com>
17920 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
17921 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
17923 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
17926 Support TZ transition times < 00:00:00.
17927 This is needed for version-3 tz-format files; it supports time
17928 stamps past 2037 for America/Godthab (the only entry in the tz
17929 database for which this change is relevant).
17930 * manual/time.texi (TZ Variable): Document transition times
17931 from -167:59:59 through -00:00:01.
17932 * time/tzset.c (tz_rule): Time of day is now signed.
17933 (__tzset_parse_tz): Parse negative time of day.
17935 Document TZ transition times >= 25:00:00.
17936 * manual/time.texi (TZ Variable): Document transition times from
17937 25:00:00 through 167:59:59. These are already supported, and this
17938 support will help with version-3 tz-format files.
17940 * manual/time.texi (TZ Variable): Modernize North America example
17941 to reflect current (i.e., 2007-and-later) daylight saving rules.
17943 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
17945 2013-12-17 Joseph Myers <joseph@codesourcery.com>
17947 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
17948 * sysdeps/unix/bsd/bits/stat.h: Likewise.
17949 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
17950 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17951 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
17952 * sysdeps/unix/bsd/bsdstat.h: Likewise.
17953 * sysdeps/unix/bsd/clock.c: Likewise.
17954 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
17955 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
17956 * sysdeps/unix/bsd/init-posix.c: Likewise.
17957 * sysdeps/unix/bsd/poll.c: Likewise.
17958 * sysdeps/unix/bsd/ptsname.c: Likewise.
17959 * sysdeps/unix/bsd/seekdir.c: Likewise.
17960 * sysdeps/unix/bsd/setegid.c: Likewise.
17961 * sysdeps/unix/bsd/seteuid.c: Likewise.
17962 * sysdeps/unix/bsd/setgid.c: Likewise.
17963 * sysdeps/unix/bsd/setrgid.c: Likewise.
17964 * sysdeps/unix/bsd/setruid.c: Likewise.
17965 * sysdeps/unix/bsd/setsid.c: Likewise.
17966 * sysdeps/unix/bsd/setuid.c: Likewise.
17967 * sysdeps/unix/bsd/sigaction.c: Likewise.
17968 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
17969 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
17970 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
17971 * sysdeps/unix/bsd/telldir.c: Likewise.
17972 * sysdeps/unix/bsd/times.c: Likewise.
17973 * sysdeps/unix/bsd/usleep.c: Likewise.
17975 * misc/Makefile (install-lib): Remove libbsd-compat.a.
17976 ($(objpfx)libbsd-compat.a): Remove rule.
17978 * include/features.h (__FAVOR_BSD): Do not define.
17979 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
17980 features conflicting with POSIX.
17981 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
17982 (_BSD_SOURCE): Remove description of not being a subset of other
17983 feature test macros.
17984 * manual/job.texi (getpgrp): Do not document BSD version.
17985 (getpgid): Do not document by reference to BSD getpgrp.
17986 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
17987 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
17988 * signal/signal.h [__FAVOR_BSD]: Likewise.
17989 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
17990 instead of making contents conditional on [__FAVOR_BSD].
17991 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
17993 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17995 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17997 2013-12-17 Joseph Myers <joseph@codesourcery.com>
18000 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
18001 values below 2**-450, not 2**-500.
18002 * math/auto-libm-test-in: Don't allow spurious underflow from
18004 * math/auto-libm-test-out: Regenerated.
18008 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
18009 values of ha and hb and sort them after adjusting subnormal
18011 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
18013 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
18014 values of ea and eb and sort them after adjusting subnormal
18016 * math/auto-libm-test-in: Do not expect some hypot tests of
18017 subnormals to fail. Add more hypot tests.
18018 * math/auto-libm-test-out: Regenerated.
18020 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18023 * sysdeps/sh/s_fma.c: New file.
18024 * sysdeps/sh/s_fmaf.c: New file.
18025 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
18027 * sysdeps/sh/Implies: Add sh/soft-fp.
18029 2013-12-16 Roland McGrath <roland@hack.frob.com>
18031 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
18032 level of indirection to members `objname', `errstring', `malloced'.
18033 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
18034 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
18035 it as the __longjmp argument (just pass 1 instead).
18036 (_dl_catch_error): Initialize C with argument pointers and address of
18037 volatile local ERRCODE rather than copying values out of C at return.
18039 2013-12-16 Joseph Myers <joseph@codesourcery.com>
18041 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
18042 * math/auto-libm-test-out: Regenerated.
18043 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
18044 (hypot_test_data): Likewise.
18045 (pow_test_data): Likewise.
18046 (pow_tonearest_test_data): Likewise.
18047 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18049 (func_calc_desc): Add mpfr_ff_f union field.
18050 (FUNC_mpfr_ff_f): New macro.
18051 (test_functions): Add atan2, hypot and pow.
18052 (special_fill_min): New function.
18053 (special_fill_minus_min): Likewise.
18054 (special_fill_min_subnorm): Likewise.
18055 (special_fill_minus_min_subnorm): Likewise.
18056 (special_real_inputs): Add min, -min, min_subnorm and
18058 (calc_generic_results): Handle mpfr_ff_f.
18059 * sysdeps/i386/fpu/libm-test-ulps: Update.
18060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18062 2013-12-16 Will Newton <will.newton@linaro.org>
18064 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
18065 (Aligned Memory Blocks): Add documentation for aligned_alloc
18066 and suggest it as an alternative to posix_memalign.
18067 (Hooks for Malloc): Document __memalign_hook is also called
18068 for aligned_alloc. (Summary of Malloc): Add summary for
18069 aligned alloc. Document __memalign_hook is also called
18072 2013-12-16 Will Newton <will.newton@linaro.org>
18074 * manual/memory.texi (Malloc Examples): Clarify default
18075 alignment documentation. Suggest posix_memalign rather
18076 than memalign or valloc.
18077 (Aligned Memory Blocks): Remove suggestion to use memalign
18078 or valloc. Remove obsolete comment about BSD.
18079 Document memalign errno values and mark the function obsolete.
18080 Document posix_memalign returned error codes. Mark valloc
18081 as obsolete. (Hooks for Malloc): __memalign_hook is also
18082 called for posix_memalign and valloc.
18083 (Summary of Malloc): Add posix_memalign to function summary.
18084 __memalign_hook is also called for posix_memalign and valloc.
18086 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18088 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
18092 (sloww): Use mynumber union. Expand ternary operator into
18093 if-else statements.
18094 (cslow): use mynumber union.
18096 2013-12-16 Allan McRae <allan@archlinux.org>
18098 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
18099 * configure: Regenerated.
18101 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
18104 * configure.ac: Added --enable-maintainer-mode. Check for
18105 autoconf when enabled.
18106 * configure: Regenerated.
18108 * nscd/nscd.service: New file.
18109 * nscd/nscd.tmpfiles: New file.
18111 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
18114 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
18115 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
18116 * sysdeps/x86_64/multiarch/strstr.c: ... here.
18117 (strstr): Add __strstr_sse2_unaligned ifunc.
18118 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
18119 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
18120 (strcasestr): Remove __strcasestr_sse42 ifunc.
18121 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
18122 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
18123 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
18125 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18127 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
18128 * sysdeps/sh/bits/fenv.h: ... here.
18129 * sysdeps/sh/sh4/fpu/bits: Remove directory.
18131 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18133 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
18135 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
18136 hypotf multiarch implementations.
18137 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
18138 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
18139 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
18140 multiarch hypot for PPC64.
18141 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
18142 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
18143 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
18144 multiarch hypotf for PPC64.
18146 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
18147 modff multiarch implementations.
18148 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
18149 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
18150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
18151 multiarch modf for PPC64.
18152 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
18153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
18154 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
18155 multiarch modff for PPC64.
18157 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
18158 and logl multiarch implementations.
18159 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
18160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
18161 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
18162 multiarch logb for PPC64.
18163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
18164 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
18165 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
18166 multiarch logb for PPC64.
18167 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
18168 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
18169 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
18170 multiarch logb for PPC64.
18172 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
18173 isinff multiarch implementation.
18174 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
18176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
18177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
18178 multiarch isinf for PPC64.
18179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
18181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
18182 multiarch isinff for PPC64.
18184 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
18185 finitef multiarch implementation.
18186 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
18188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
18189 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
18190 multiarch finite for PPC64.
18191 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
18193 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
18194 multiarch finitef for PPC64.
18196 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
18197 lrint multiarch implementation.
18198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
18200 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
18201 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
18202 multiarch llrint for PPC64.
18203 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
18204 multiarch lrint for PPC64.
18206 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
18207 copysignf multiarch implementation.
18208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
18210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
18212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
18213 multiarch copysign for PPC64.
18214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
18215 multiarch copysignf for PPC64.
18217 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
18218 multiarch implementation.
18219 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
18221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
18223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
18225 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
18227 multiarch llround for PPC64.
18228 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
18229 multiarch trunc for PPC64.
18230 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
18231 multiarch truncf for PPC64.
18233 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
18234 multiarch implementation.
18235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
18237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
18239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
18241 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
18243 multiarch llround for PPC64.
18244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
18245 multiarch round for PPC64.
18246 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
18247 multiarch roundf for PPC64.
18249 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
18250 multiarch implementation.
18251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
18253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
18255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
18257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
18259 multiarch llround for PPC64.
18260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
18261 multiarch floor for PPC64.
18262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
18263 multiarch floorf for PPC64.
18265 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
18266 multiarch implementation.
18267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
18269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
18271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
18273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
18275 multiarch llround for PPC64.
18276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
18277 multiarch ceil for PPC64.
18278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
18279 multiarch ceilf for PPC64.
18281 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
18282 multiarch implementation.
18283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
18285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
18287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
18289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
18290 multiarch llround for PPC64.
18291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
18292 multiarch lround for PPC64.
18294 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
18295 multiarch implementation.
18296 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
18297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
18298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
18300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
18301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
18302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
18303 multiarch isnan for PPC64.
18304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
18305 multiarch isnanf for PPC64.
18307 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
18308 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
18309 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
18310 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
18311 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
18312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
18314 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
18315 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18316 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18317 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18319 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
18320 multiarch implementations.
18321 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18322 (__libc_ifunc_impl_list): Likewise.
18323 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
18324 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
18325 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
18326 multiarch stpcpy for PPC64.
18328 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
18329 multiarch implementations.
18330 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18331 (__libc_ifunc_impl_list): Likewise.
18332 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
18333 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
18334 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
18335 multiarch strcpy for PPC64.
18337 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
18338 redefine function name.
18339 (_wordcopy_fwd_dest_aligned): Likewise.
18340 (_wordcopy_bwd_aligned): Likewise.
18341 (_wordcopy_bwd_dest_aligned): Likewise.
18342 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
18343 multiarch implementations.
18344 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18345 (__libc_ifunc_impl_list): Likewise.
18346 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
18347 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
18348 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
18349 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
18350 multiarch wcscpy for PPC64.
18352 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
18353 multiarch implementations.
18354 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18355 (__libc_ifunc_impl_list): Likewise.
18356 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
18357 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
18358 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
18359 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
18360 multiarch wcscpy for PPC64.
18362 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
18363 multiarch implementations.
18364 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18365 (__libc_ifunc_impl_list): Likewise.
18366 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
18367 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
18368 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
18369 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
18370 multiarch wcsrchr for PPC64.
18372 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
18373 multiarch implementations.
18374 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18375 (__libc_ifunc_impl_list): Likewise.
18376 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
18377 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
18378 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
18379 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
18380 multiarch wcschr for PPC64.
18382 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
18383 multiarch implementations.
18384 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18385 (__libc_ifunc_impl_list): Likewise.
18386 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
18387 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
18388 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
18389 multiarch strchrnul for PPC64.
18391 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
18393 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18394 (__libc_ifunc_impl_list): Likewise.
18395 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
18396 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
18397 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
18398 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
18401 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
18403 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18404 (__libc_ifunc_impl_list): Likewise.
18405 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
18406 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
18407 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
18408 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
18411 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
18412 multiarch implementations.
18413 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18414 (__libc_ifunc_impl_list): Likewise.
18415 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
18416 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
18417 strncasecmp for PPC64.
18418 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
18419 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
18420 multiarch strncasecmp_l for PPC64.
18422 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
18423 multiarch implementations.
18424 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18425 (__libc_ifunc_impl_list): Likewise.
18426 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
18427 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
18428 multiarch strcasecmp for PPC64.
18429 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
18431 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
18432 multiarch strcasecmp_l for PPC64.
18434 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
18436 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18437 (__libc_ifunc_impl_list): Likewise.
18438 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
18439 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
18440 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
18443 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
18445 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18446 (__libc_ifunc_impl_list): Likewise.
18447 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
18448 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
18449 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
18452 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
18454 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18455 (__libc_ifunc_impl_list): Likewise.
18456 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
18457 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
18458 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
18459 rawmemrchr for PPC64.
18461 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
18463 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18464 (__libc_ifunc_impl_list): Likewise.
18465 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
18466 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
18467 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
18470 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
18472 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18473 (__libc_ifunc_impl_list): Likewise.
18474 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
18475 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
18476 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
18479 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
18481 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18482 (__libc_ifunc_impl_list): Likewise.
18483 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
18484 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
18485 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
18488 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
18489 avoid cretion of __bzero symbol.
18490 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
18492 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
18494 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
18496 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
18497 multiarch implementations.
18498 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18499 (__libc_ifunc_impl_list): Likewise.
18500 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
18501 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
18502 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
18503 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
18505 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
18506 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
18507 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
18508 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
18509 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
18511 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
18513 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
18514 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
18516 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18517 (__libc_ifunc_impl_list): Likewise.
18518 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
18519 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
18520 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
18521 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
18524 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
18525 multiarch for POWER/PPC64.
18526 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
18527 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
18528 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
18529 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
18530 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
18531 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
18532 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
18533 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
18534 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
18537 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
18538 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
18539 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
18540 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
18541 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
18542 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
18543 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
18544 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
18545 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
18546 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
18547 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
18548 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
18549 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
18550 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
18551 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
18552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
18553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
18554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
18555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
18556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
18557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
18558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
18560 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18562 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
18564 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18566 * benchtests/Makefile (bench): Add exp2 and log2.
18567 (LDLIBS-bench-exp2): Add -lm.
18568 (LDLIBS-bench-log2): Likewise.
18569 * benchtests/exp2-inputs: New inputs file.
18570 * benchtests/log2-inputs: New inputs file.
18571 * benchtests/log-inputs: Add new inputs.
18572 * benchtests/tan-inputs: Likewise.
18574 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18576 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
18578 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
18579 (csloww2): ... from here.
18581 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
18582 instead of structures.
18583 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
18584 (POLYNOMIAL): Likewise.
18585 (TAYLOR_SLOW): Likewise.
18591 (sloww1); Likewise.
18592 (sloww2): Likewise.
18593 (bsloww1): Likewise.
18594 (bsloww2): Likewise.
18595 (cslow2): Likewise.
18596 (csloww): Likewise.
18597 (csloww1): Likewise.
18598 (csloww2): Likewise.
18600 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
18602 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
18603 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
18604 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
18605 * malloc/hooks.c (realloc_check): Likewise.
18607 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
18608 * malloc/arena.c: Remove PER_THREAD conditional.
18609 [!PER_THREAD]: Remove code.
18610 (ptmalloc_unlock_all2): Likewise.
18611 (ptmalloc_init): Likewise.
18612 (_int_new_arena): Likewise.
18613 (arena_get2): Likewise.
18614 * malloc/hooks.c (__malloc_get_state): Likewise.
18615 (__malloc_set_state): Likewise.
18616 * malloc/malloc.c: Likewise.
18617 (struct malloc_state): Likewise.
18618 (struct malloc_par): Likewise.
18619 (__libc_realloc): Likewise.
18620 (__libc_mallopt): Likewise.
18622 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18624 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
18626 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
18628 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
18629 macro to a function. Check for zero perturb_byte.
18630 (_int_malloc, _int_free): Remove zero perturb_byte checks.
18632 * malloc/malloc.c: (force_reg): Remove.
18633 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
18634 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
18635 force_reg by atomic_forced_read.
18636 * malloc/arena.c (ptmalloc_init): Likewise.
18637 * malloc/hooks.c (top_check): Likewise.
18639 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18641 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18643 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
18645 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18647 2013-12-08 Joseph Myers <joseph@codesourcery.com>
18649 * math/auto-libm-test-in: Add tests of lgamma.
18650 * math/auto-libm-test-out: Regenerated.
18651 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
18652 (M_LOG_2_SQRT_PIl): Likewise.
18653 (lgamma_test_data): Use AUTO_TESTS_f_f1.
18654 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18656 (func_calc_desc): Add mpfr_f_f1 union field.
18657 (ARGS1): New macro.
18665 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
18666 (test_functions): Add lgamma.
18667 (calc_generic_results): Handle mpfr_f_f1.
18668 * sysdeps/i386/fpu/libm-test-ulps: Update.
18669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18671 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18673 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
18674 __mpn_add_n for PowerPC64/POWER7.
18675 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
18676 __mpn_sub_n for PowerPC64/POWER7.
18678 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
18679 __mpn_addmul_1 for PowerPC64.
18680 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
18681 __mpn_submul_1 for PowerPC64.
18682 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
18684 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
18687 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
18690 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
18692 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18694 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
18696 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
18697 add multiarch folders.
18698 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
18699 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
18700 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
18701 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
18702 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
18703 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
18704 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
18705 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
18706 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
18707 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
18708 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
18709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
18710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
18711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
18712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
18713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
18714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
18716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
18717 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
18718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
18720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
18722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
18723 multiarch __ieee754_hypot for PowerPC32.
18724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
18726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
18728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
18729 multiarch __ieee754_hypotf for PowerPC32.
18731 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
18732 long_double_symbol only if __logbl is defined.
18733 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
18734 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
18735 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
18736 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
18737 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
18738 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
18739 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
18740 path for implementation.
18741 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
18742 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
18743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
18744 logb, and logbl multiarch implementations for PowerPC32.
18745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
18747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
18749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
18750 multiarch logb for PowerPC32.
18751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
18753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
18755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
18756 multiarch logbf for PowerPC32.
18757 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
18758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
18760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
18761 multiarch logbl implementation for PowerPC32.
18763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
18764 and modff multiarch implementations.
18765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
18767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
18769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
18770 multiarch modf for PowerPC32.
18771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
18773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
18775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
18776 multiarch modff for PowerPC32.
18778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
18779 and lrintf multiarch implementations.
18780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
18782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
18784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
18785 multiarch lrint for PowerPC32.
18786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
18787 file: multiarch lrintf for PowerPC32.
18789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
18790 and lroundf multiarch implementations.
18791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
18793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
18795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
18797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
18798 multiarch lround for PowerPC32.
18799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
18800 file: multiarch lroundf for PowerPC32.
18802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
18803 copysign and copysignf multiarch implementations.
18804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
18806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
18808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
18809 file: multiarch copysign for PowerPC32.
18810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
18811 file: multiarch copysignf for PowerPC32.
18813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
18814 and truncf multiarch implementations.
18815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
18817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
18819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
18820 multiarch trunc for PowerPC32.
18821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
18823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
18825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
18826 multiarch truncf for PowerPC32.
18828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
18829 and roundf multiarch implementations.
18830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
18832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
18834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
18835 multiarch round for PowerPC32.
18836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
18838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
18840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
18841 multiarch roundf for PowerPC32.
18843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
18844 and floorf multiarch implementations.
18845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
18847 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
18849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
18850 multiarch floor for PowerPC32.
18851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
18853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
18855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
18856 multiarch floorf for PowerPC32.
18858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
18859 and ceilf multiarch implementations.
18860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
18862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
18864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
18865 multiarch ceil for PowerPC32.
18866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
18868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
18870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
18871 multiarch ceilf for PowerPC32.
18873 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
18875 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
18876 FINITEF is defined.
18877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
18878 and finitef multiarch implementations.
18879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
18881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
18883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
18884 multiarch finite for PowerPC32.
18885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
18887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
18888 file: multiarch finitef for PowerPC32.
18890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
18891 and isinff multiarch implementations.
18892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
18894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
18896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
18897 multiarch isinf for PowerPC32.
18898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
18900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
18901 multiarch isinff for PowerPC32.
18903 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
18904 alias when __isnan is defined.
18905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
18906 and isnanf multiarch implementations.
18907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
18909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
18911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
18913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
18915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
18916 multiarch isnan for PowerPC32.
18917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
18919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
18921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
18922 multiarch isnanf for PowerPC32.
18924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
18925 and sqrtf multiarch implementations.
18926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
18928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
18930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
18931 multiarch sqrt for PowerPC32.
18932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
18934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
18936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
18937 multiarch sqrtf for PowerPC32.
18939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
18940 and llroundf multiarch implementations.
18941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
18943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
18945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
18947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
18948 file: multiarch llround for PowerPC32.
18949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
18950 file: multiarch llroundf for PowerPC32.
18952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
18953 multiarch PowerPC32 fpu implementations.
18954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
18956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
18958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
18959 multiarch llrint for PowerPC32.
18960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
18962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
18964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
18967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
18969 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
18971 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
18973 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
18975 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
18976 multiarch wordcopy for PPC32.
18977 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
18979 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18980 (__libc_ifunc_impl_list): Likewise.
18981 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
18982 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
18983 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
18984 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
18985 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
18986 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
18988 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
18989 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
18991 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
18993 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
18995 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
18996 multiarch wcscpy for PPC32.
18997 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
18999 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19000 (__libc_ifunc_impl_list): Likewise.
19001 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
19002 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
19003 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
19004 sysdeps/powerpc/power6/wcscpy.c.
19006 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
19007 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
19009 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
19011 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
19013 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
19014 multiarch wcsrchr for PPC32.
19015 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
19017 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19018 (__libc_ifunc_impl_list): Likewise.
19019 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
19020 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
19021 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
19022 sysdeps/powerpc/power6/wcsrchr.c.
19024 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
19026 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
19028 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
19029 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
19030 multiarch wcschr for PPc32.
19031 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
19033 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19034 (__libc_ifunc_impl_list): Likewise.
19035 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
19036 * sysdeps/powerpc/power6/wcschr.c: ... to here.
19037 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
19038 sysdeps/powerpc/power6/wcschr.c.
19040 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
19041 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
19043 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
19044 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
19045 file: multiarch strchr for PPC32.
19046 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
19048 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19049 (__libc_ifunc_impl_list): Likewise.
19051 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
19053 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
19055 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
19057 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
19058 multiarch strchrnul for PPC32.
19059 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
19061 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19062 (__libc_ifunc_impl_list): Likewise.
19064 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
19066 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
19067 multiarch strncasecmp for PPC32.
19068 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
19070 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
19071 multiarch strncasecmp_l for PPC32.
19072 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
19073 strncasecmp multiarch objects.
19074 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19075 (__libc_ifunc_impl_list): Likewise.
19077 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
19079 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
19080 multiarch strncasecmp for PPC32.
19081 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
19083 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
19084 multiarch strcasecmp_l for PPC32.
19085 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
19087 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19088 (__libc_ifunc_impl_list): Likewise.
19090 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
19092 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
19094 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
19095 multiarch strncmp for PPC32.
19096 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
19098 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19099 (__libc_ifunc_impl_list): Likewise.
19101 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
19102 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
19104 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
19105 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
19106 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
19108 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19109 (__libc_ifunc_impl_list): Likewise.
19111 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
19113 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
19115 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
19116 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
19118 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19119 (__libc_ifunc_impl_list): Likewise.
19121 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
19123 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
19125 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
19126 multiarch rawmemchr for PPC32.
19127 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
19129 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19130 (__libc_ifunc_impl_list): Likewise.
19132 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
19134 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
19136 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
19137 file: memrchr multiarch for PPC32.
19138 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
19140 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19141 (__libc_ifunc_impl_list): Likewise.
19143 * string/memchr.c (__memchr): Using macro to redefine symbol name.
19144 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
19146 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
19147 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
19148 multiarch memchr for PPC32.
19149 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
19151 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19152 (__libc_ifunc_impl_list): Likewise.
19154 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
19155 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
19157 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
19159 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
19160 file: multiarch mempcpy for PPC32.
19161 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
19163 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19164 (__libc_ifunc_impl_list): Likewise.
19166 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
19167 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
19168 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
19169 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
19170 multiarch bzero for PPC32.
19171 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
19173 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
19175 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
19176 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
19177 file: multiarch memset for PPC32.
19178 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
19179 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
19180 memset multiarch objects.
19181 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19182 (__libc_ifunc_impl_list): Likewise.
19184 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
19186 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
19187 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
19189 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
19190 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
19192 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19193 (__libc_ifunc_impl_list): Likewise.
19195 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
19196 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
19197 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
19199 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
19201 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
19203 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
19204 multiarch memcpy for PPC32.
19205 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
19207 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19208 (__libc_ifunc_impl_list): Likewise.
19210 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
19211 support multiarch for POWER/PPC32.
19212 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
19214 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
19215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
19216 Implies file to make multiarch folder appers before the fpu and
19217 default folder for power4 configuration.
19219 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19221 * scripts/bench.pl: Append volatile keyword to type.
19223 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19225 * sysdeps/sh/sotruss-lib.c: New file.
19226 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
19228 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19230 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19232 2013-12-05 Joseph Myers <joseph@codesourcery.com>
19235 * math/w_tgamma.c: Include <errno.h>.
19236 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
19237 * math/w_tgammaf.c: Include <errno.h>.
19238 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
19239 * math/w_tgammal.c: Include <errno.h>.
19240 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
19241 * math/auto-libm-test-in: Do not allow missing errno on tgamma
19242 underflow. Add more tgamma tests.
19243 * math/auto-libm-test-out: Regenerated.
19244 * sysdeps/i386/fpu/libm-test-ulps: Update.
19245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19247 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
19248 sin, sinh, tan, tanh, tgamma, y0 and y1.
19249 * math/auto-libm-test-out: Regenerated.
19250 * math/libm-test.inc (TEST_COND_x86_64): New macro.
19251 (TEST_COND_x86): Likewise.
19252 (M_E2l): Remove macro.
19254 (M_2_SQRT_PIl): Likewise.
19255 (M_SQRT_PIl): Likewise.
19256 (M_1_DIV_El): Likewise.
19257 (log_test_data): Use AUTO_TESTS_f_f.
19258 (log10_test_data): Likewise.
19259 (log1p_test_data): Likewise.
19260 (log2_test_data): Likewise.
19261 (sin_test_data): Likewise.
19262 (sin_tonearest_test_data): Likewise.
19263 (sin_towardzero_test_data): Likewise.
19264 (sin_downward_test_data): Likewise.
19265 (sin_upward_test_data): Likewise.
19266 (sinh_test_data): Likewise.
19267 (sinh_tonearest_test_data): Likewise.
19268 (sinh_towardzero_test_data): Likewise.
19269 (sinh_downward_test_data): Likewise.
19270 (sinh_upward_test_data): Likewise.
19271 (tan_test_data): Likewise.
19272 (tan_tonearest_test_data): Likewise.
19273 (tan_towardzero_test_data): Likewise.
19274 (tan_downward_test_data): Likewise.
19275 (tan_upward_test_data): Likewise.
19276 (tanh_test_data): Likewise.
19277 (tgamma_test_data): Likewise.
19278 (y0_test_data): Likewise.
19279 (y1_test_data): Likewise.
19280 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
19281 (special_real_inputs): Add pi/4.
19282 * sysdeps/i386/fpu/libm-test-ulps: Update.
19283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19285 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19287 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
19288 "longjmp_target" static probes.
19289 (__longjmp): Rename to __longjmp_symbol.
19290 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19291 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
19292 on which longjmp to generate.
19293 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
19294 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
19296 (__sigsetjmp): Rename to __sigsetjmp_symbol.
19297 (__sigjmp_save): Rename to __sigjmp_save_symbol.
19298 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
19299 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
19300 and __sigjmp_save_symbol based on which sigsetjmp to generated.
19301 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
19302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
19303 __longjmp_symbol based on which __longjmp to generate.
19304 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
19306 (setjmp): Rename to setjmp_symbol.
19307 (__sigsetjmp): Rename to __sigsetjmp_symbol.
19308 (_setjmp): Rename to _setjmp_symbol.
19309 (__sigsetjmp): Rename to __sigsetjmp_symbol.
19310 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
19311 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
19312 which setjmp to generate.
19313 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
19314 "longjmp_target" static probes.
19316 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19318 * benchtests/README: Add note about output arguments.
19319 * benchtests/bench-sincos.c: Remove file.
19320 * benchtests/sincos-inputs: New file.
19321 * scripts/bench.pl: Identify output arguments and define
19322 static variables for them.
19324 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
19327 * Makefile (INSTALL): Add install-plain.texi as the primary
19329 * manual/install-plain.texi: New file.
19330 * manual/install.texi: Include node directive only for
19331 non-plaintext output.
19333 2013-12-04 Joseph Myers <joseph@codesourcery.com>
19335 * stdlib/longlong.h: Update from GCC.
19339 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
19340 * math/w_j0f.c (y0f): Likewise.
19341 * math/w_j0l.c (__y0l): Likewise.
19342 * math/w_j1.c (y1): Likewise.
19343 * math/w_j1f.c (y1f): Likewise.
19344 * math/w_j1l.c (__y1l): Likewise
19345 * math/w_jn.c (yn): Likewise.
19346 * math/w_jnf.c (ynf): Likewise.
19347 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
19348 Bessel function pole errors in _POSIX_ mode. Use NAN as return
19349 value for Bessel function domain errors outside _SVID_ mode.
19350 Adjust sign of return value for yn (negative integer, 0).
19351 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
19352 by zero in return for negative x and set sign appropriately for
19354 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
19355 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
19356 * math/libm-test.inc (y0_test_data): Add more tests and adjust
19357 expectations in error cases.
19358 (y1_test_data): Likewise.
19359 (yn_test_data): Likewise.
19360 * sysdeps/i386/fpu/libm-test-ulps: Update.
19361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19363 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19365 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
19366 "64" to "64-v1". Add "64-v2".
19367 (abi-64-options): Rename to ...
19368 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
19369 (abi-64-condition): Rename to ...
19370 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
19371 (abi-64-ld-soname): Rename to ...
19372 (abi-64-v1-ld-soname): ... this.
19373 (abi-64-v2-options): Define.
19374 (abi-64-v2-condition): Likewise.
19375 (abi-64-v2-ld-soname): Likewise.
19376 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
19377 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
19378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
19379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
19380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
19382 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19383 Alan Modra <amodra@gmail.com>
19385 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
19386 New versions for use with the ELFv2 ABI.
19387 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
19388 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
19390 (struct La_ppc64v2_retval): Likewise.
19391 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
19392 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
19393 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
19394 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
19395 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
19396 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
19397 Do not save or restore CR.
19398 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
19399 (_dl_profile_resolve): Do no save or restore CR. Support extended
19400 return values for ELFv2 ABI. Fix location of FPR return registers.
19401 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
19402 updated values for _CALL_ELF == 2.
19403 (La_regs, La_retval, int_retval): Likewise.
19405 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19407 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
19408 (FRAME_MIN_SIZE_PARM): Likewise.
19409 (FRAME_BACKCHAIN): Likewise.
19410 (FRAME_CR_SAVE): Likewise.
19411 (FRAME_LR_SAVE): Likewise.
19412 (FRAME_TOC_SAVE): Likewise.
19413 (FRAME_PARM_SAVE): Likewise.
19414 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
19415 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
19416 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
19417 (call_mcount_parm_offset): New macro.
19418 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
19419 (PROF): Use symbolic stack frame offsets.
19420 (TAIL_CALL_SYSCALL_ERROR): Likewise.
19421 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
19422 Redefine in terms of FRAME_MIN_SIZE.
19423 (_dl_runtime_resolve): Use symbolic stack frame offsets.
19424 (_dl_profile_resolve): Likewise. Update comment.
19425 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
19426 symbols stack frame offsets.
19427 (__sigsetjmp): Likewise.
19428 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
19429 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
19430 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
19431 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
19433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
19434 (FRAME_BACKCHAIN): Remove.
19435 (FRAME_CR_SAVE): Likewise.
19436 (FRAME_LR_SAVE): Likewise.
19437 (FRAME_COMPILER_DW): Likewise.
19438 (FRAME_LINKER_DW): Likewise.
19439 (FRAME_TOC_SAVE): Likewise.
19440 (FRAME_PARM_SAVE): Likewise.
19441 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
19442 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
19443 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
19444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
19445 (CHECK_SP): Use symbolic stack frame offsets.
19446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
19447 zone" instead of caller's parameter save area for temp storage.
19448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19449 Likewise. Also, use symbolic stack frame offsets.
19450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
19451 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
19452 our own stack frame instead of the caller's.
19453 (__socket): Use symbolic stack frame offsets.
19455 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19456 Alan Modra <amodra@gmail.com>
19458 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
19460 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
19461 (PPC64_LOCAL_ENTRY_OFFSET): Define.
19462 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
19464 (elf_machine_fixup_plt): Call it.
19465 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
19467 (elf_machine_rela): Update call to elf_machine_plt_conflict.
19468 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
19469 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
19470 r2 before calling target.
19472 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19473 Alan Modra <amodra@gmail.com>
19475 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
19476 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
19477 versions of macros to support ELFv2 ABI.
19478 (LOCALENTRY): New macro.
19479 (ENTRY, EALIGN): Use it.
19480 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
19481 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
19482 fall through into ENTRY entry point.
19483 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
19484 Only define if _CALL_ELF != 2.
19486 (elf_machine_matches_host): Verify ABI version matches.
19487 (RTLD_START): Use LOCALENTRY.
19488 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
19489 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
19490 (PLT_ENTRY_WORDS): New macro.
19491 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
19492 (elf_machine_runtime_setup): Support ELFv2 ABI.
19493 (elf_machine_fixup_plt): Likewise.
19494 (elf_machine_plt_conflict): Likewise.
19495 (resolve_ifunc): Likewise.
19496 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
19497 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
19499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
19500 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
19501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19502 (makecontext): Support ELFv2 ABI.
19503 * elf/elf.h (EF_PPC64_ABI): Define.
19505 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19507 * sysdeps/powerpc/powerpc64/sysdep.h
19508 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
19509 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
19510 (ENTRY) [ASSEMBLER]: ... but instead here ...
19511 (EALIGN) [ASSEMBLER]: ... and here.
19512 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
19513 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
19514 (ENTRY_2) [!ASSEMBLER]: Use it.
19515 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
19516 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
19517 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
19518 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
19519 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
19520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
19521 Use PPC64_LOAD_FUNCPTR.
19523 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
19525 2013-12-04 Alan Modra <amodra@gmail.com>
19527 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
19528 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
19529 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
19530 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
19532 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
19533 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
19534 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
19535 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
19536 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
19537 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
19539 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19542 (__makecontext): Fix incorrect CFI when backtracing out of
19543 context created via makecontext.
19544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
19545 (__setcontext): Fix incorrect CFI during switch to new context.
19546 (__novec_setcontext): Likewise.
19548 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
19551 * time/strptime_l.c (__strptime_internal): Allow modifiers
19553 * time/tst-strptime.c (day_tests): Add testcase.
19555 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19557 * scripts/bench.pl: Skip over blank lines.
19559 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
19562 * manual/time.texi (Calendar Time): Clarify what timezone functions
19565 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19567 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19569 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
19571 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
19573 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
19574 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
19575 * debug/memset_chk.c (__memset_chk): Likewise.
19576 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
19577 * debug/strncpy_chk.c: Likewise.
19579 2013-12-03 Joseph Myers <joseph@codesourcery.com>
19583 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
19584 (__ieee754_exp): For possibly underflowing results, check size of
19585 result and force underflow exception if required.
19586 * math/auto-libm-test-in: Add more tests of exp.
19587 * math/auto-libm-test-out: Regenerated.
19588 * sysdeps/i386/fpu/libm-test-ulps: Update.
19589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19592 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
19593 * math/w_exp2f.c (__exp2f): Likewise.
19594 * math/w_exp2l.c (__exp2l): Likewise.
19595 * math/auto-libm-test-in: Do not allow missing errno on exp2
19597 * math/auto-libm-test-out: Regenerated.
19599 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
19602 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
19603 handle filename validation.
19604 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
19607 2013-12-03 Joseph Myers <joseph@codesourcery.com>
19610 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
19611 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
19612 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
19614 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
19615 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
19616 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19617 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
19618 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19619 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
19620 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19621 * math/auto-libm-test-in: Don't allow missing errno from erfc.
19622 Add more erfc tests.
19623 * math/auto-libm-test-out: Regenerated.
19624 * sysdeps/i386/fpu/libm-test-ulps: Update.
19625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19627 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
19628 exp2, expm1, j0 and j1.
19629 * math/auto-libm-test-out: Regenerated.
19630 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
19631 (erfc_test_data): Likewise.
19632 (exp_test_data): Likewise.
19633 (exp_tonearest_test_data): Likewise.
19634 (exp_towardzero_test_data): Likewise.
19635 (exp_downward_test_data): Likewise.
19636 (exp_upward_test_data): Likewise.
19637 (exp10_test_data): Likewise.
19638 (exp2_test_data): Likewise.
19639 (expm1_test_data): Likewise.
19640 (j0_test_data): Likewise.
19641 (j1_test_data): Likewise.
19642 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
19643 (input_flag_type): Add flag_xfail_rounding.
19644 (input_flags): Add xfail-rounding.
19645 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
19646 (output_for_one_input_case): Handle flag_xfail_rounding.
19647 * sysdeps/i386/fpu/libm-test-ulps: Update.
19648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19650 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
19653 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
19656 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19659 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
19660 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
19661 (STAP_PROBE0): New macro.
19662 (STAP_PROBE1): Likewise.
19663 (STAP_PROBE2): Likewise.
19664 (STAP_PROBE3): Likewise.
19665 (STAP_PROBE4): Likewise.
19667 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
19669 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
19671 2013-12-02 Steve Ellcey <sellcey@mips.com>
19673 * benchtests/Makefile (bench): Add sqrt.
19674 (LDLIBS-bench-sqrt): New.
19675 * benchtests/sqrt-input: New.
19677 2013-12-02 Pavel Simerda <psimerda@redhat.com>
19679 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
19680 (GAIH_EAI): Likewise.
19681 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
19682 (gaih_inet): Likewise.
19683 (getaddrinfo): Don't use GAIH_EAI.
19685 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
19686 (struct gaih): Remove definition.
19688 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19690 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
19691 Use HERRNOP directly.
19693 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19695 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19697 2013-11-30 Joseph Myers <joseph@codesourcery.com>
19699 * math/gen-auto-libm-tests.c (test_functions): Add more
19700 single-argument functions.
19701 (special_fill_pi_2): New function.
19702 (special_fill_minus_pi_2): Likewise.
19703 (special_fill_pi_6): Likewise.
19704 (special_fill_minus_pi_6): Likewise.
19705 (special_fill_pi_3): Likewise.
19706 (special_fill_2pi_3): Likewise.
19707 (special_fill_e): Likewise.
19708 (special_fill_1_e): Likewise.
19709 (special_fill_e_minus_1): Likewise.
19710 (special_real_inputs): Add more special inputs.
19711 (output_for_one_input_case): Do not require ERANGE on underflow to
19712 zero if round-to-nearest result does not underflow to zero, unless
19713 exact results required.
19714 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
19715 atan, atanh, cbrt, cos and cosh.
19716 * math/auto-libm-test-out: Regenerated.
19717 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
19718 (acos_tonearest_test_data): Likewise.
19719 (acos_towardzero_test_data): Likewise.
19720 (acos_downward_test_data): Likewise.
19721 (acos_upward_test_data): Likewise.
19722 (acosh_test_data): Likewise.
19723 (asin_test_data): Likewise.
19724 (asin_tonearest_test_data): Likewise.
19725 (asin_towardzero_test_data): Likewise.
19726 (asin_upward_test_data): Likewise.
19727 (asinh_test_data): Likewise.
19728 (atan_test_data): Likewise.
19729 (atanh_test_data): Likewise.
19730 (cbrt_test_data): Likewise.
19731 (cos_test_data): Likewise.
19732 (cos_tonearest_test_data): Likewise.
19733 (cos_towardzero_test_data): Likewise.
19734 (cos_downward_test_data): Likewise.
19735 (cos_upward_test_data): Likewise.
19736 (cosh_test_data): Likewise.
19737 (cosh_tonearest_test_data): Likewise.
19738 (cosh_towardzero_test_data): Likewise.
19739 (cosh_downward_test_data): Likewise.
19740 (cosh_upward_test_data): Likewise.
19741 * sysdeps/i386/fpu/libm-test-ulps: Update.
19742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19744 2013-11-29 Joseph Myers <joseph@codesourcery.com>
19747 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
19748 * math/w_exp10f.c (__exp10f): Likewise.
19749 * math/w_exp10l.c (__exp10l): Likewise.
19750 * math/libm-test.inc (exp10_test_data): Add more tests and expect
19751 errno settings in existing tests.
19754 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
19755 precision control set to double precision.
19756 * sysdeps/i386/fpu/w_sqrt.c: New file.
19757 * math/auto-libm-test-in: Add more tests.
19758 * math/auto-libm-test-out: Update.
19760 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
19761 (sqrt_test_tonearest): New function.
19762 (sqrt_towardzero_test_data): New variable.
19763 (sqrt_test_towardzero): New function.
19764 (sqrt_downward_test_data): New variable.
19765 (sqrt_test_downward): New function.
19766 (sqrt_upward_test_data): New variable.
19767 (sqrt_test_upward): New function.
19768 (main): Call the new functions.
19770 * math/gen-auto-libm-tests.c: New file.
19771 * math/auto-libm-test-in: Likewise.
19772 * math/auto-libm-test-out: New generated file.
19773 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
19775 (%beautify): Add generated representations of zero.
19776 (top level): Set $auto_input and call parse_auto_input.
19777 (beautify): Remove trailing "f" from hex float constants.
19778 (parse_args): Handle XFAIL_TEST.
19779 (convert_condition): New function.
19780 (or_value): Likewise.
19781 (or_cond_value): Likewise.
19782 (generate_testfile): Handle AUTO_TESTS_* lines.
19783 (parse_auto_input): New function.
19784 * math/libm-test.inc (XFAIL_TEST): New macro.
19785 (ERRNO_UNCHANGED): Update value.
19786 (ERRNO_EDOM): Likewise.
19787 (ERRNO_ERANGE): Likewise.
19788 (IGNORE_RESULT): Likewise.
19789 (TEST_COND_flt_32): New macro.
19790 (TEST_COND_dbl_64): Likewise.
19791 (TEST_COND_ldbl_96_intel): Likewise.
19792 (TEST_COND_ldbl_96_m68k): Likewise.
19793 (TEST_COND_ldbl_128): Likewise.
19794 (TEST_COND_ldbl_128ibm): Likewise.
19795 (TEST_COND_long32): Likewise.
19796 (TEST_COND_long64): Likewise.
19797 (TEST_COND_before_rounding): Likewise.
19798 (TEST_COND_after_rounding): Likewise.
19799 (enable_test): Handle XFAIL_TEST flag.
19800 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
19801 with finite results.
19802 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
19803 auto-libm-test-out.
19805 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19806 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19809 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
19810 __tls_get_addr_internal instead of __tls_get_offset in order to
19811 avoid GOT pointer dependency. Make rtld export
19812 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
19813 __tls_get_addr since we are a __tls_get_offset platform.
19814 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
19815 GOT pointer being set up before.
19816 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
19818 2013-11-28 Joseph Myers <joseph@codesourcery.com>
19820 * manual/math.texi (Errors in Math Functions): Document accuracy
19824 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
19825 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
19826 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19827 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19828 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19829 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19830 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19831 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
19832 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
19833 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19834 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19835 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19836 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19837 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19838 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19839 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
19841 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
19842 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
19843 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
19844 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
19845 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
19847 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
19849 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
19851 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
19852 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
19853 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
19854 atomic-feupdateenv and flt-rounds.
19855 * sysdeps/powerpc/nofpu/Versions (libc): Add
19856 __atomic_feholdexcept, __atomic_feclearexcept,
19857 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
19858 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
19859 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
19860 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
19861 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
19863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
19866 * manual/arith.texi (FP Exceptions): Document that exceptions may
19867 not be raised when matherr is used.
19868 (Math Error Reporting): Document overflow in directed rounding
19869 modes. Document that errno may not be set when finite values are
19870 returned on overflow. Document intent to set errno on underflow
19871 only for underflow to zero.
19874 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
19875 round-to-nearest then adjust result for other rounding modes.
19876 * include/fenv.h (fegetround): Use libm_hidden_proto.
19877 * math/fegetround.c (fegetround): Use libm_hidden_def.
19878 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
19879 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
19880 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
19881 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
19883 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
19884 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19885 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
19886 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
19888 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19891 * nss/Versions (libnss_files): Add
19892 _nss_files_gethostbyname3_r.
19893 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
19895 (HOST_DB_LOOKUP): Remove macro.
19896 (_nss_files_gethostbyname_r): Implement function without the
19897 HOST_DB_LOOKUP macro.
19898 (_nss_files_gethostbyname2_r): Likewise.
19900 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
19902 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
19904 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
19906 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
19907 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
19910 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19912 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
19913 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
19914 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
19915 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
19916 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
19917 __fe_nomask_env_priv and attribute_hidden.
19918 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
19919 (libc_feupdateenv_test_ppc): Likewise.
19920 (libc_feresetround_ppc): Likewise.
19921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19922 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
19923 compat_symbol macro.
19924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19925 (__fe_nomask_env): Likewise.
19926 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
19928 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
19930 * string/Makefile: Remove ifunc tests.
19931 * string/test-string.h: Define TEST_IFUNC.
19932 * string/test-bcopy-ifunc.c: Remove.
19933 * string/test-bzero-ifunc.c: Likewise.
19934 * string/test-memccpy-ifunc.c: Likewise.
19935 * string/test-memchr-ifunc.c: Likewise.
19936 * string/test-memcmp-ifunc.c: Likewise.
19937 * string/test-memcpy-ifunc.c: Likewise.
19938 * string/test-memmem-ifunc.c: Likewise.
19939 * string/test-memmove-ifunc.c: Likewise.
19940 * string/test-mempcpy-ifunc.c: Likewise.
19941 * string/test-memrchr-ifunc.c: Likewise.
19942 * string/test-memset-ifunc.c: Likewise.
19943 * string/test-rawmemchr-ifunc.c: Likewise.
19944 * string/test-stpcpy-ifunc.c: Likewise.
19945 * string/test-stpncpy-ifunc.c: Likewise.
19946 * string/test-strcasecmp-ifunc.c: Likewise.
19947 * string/test-strcasestr-ifunc.c: Likewise.
19948 * string/test-strcat-ifunc.c: Likewise.
19949 * string/test-strchr-ifunc.c: Likewise.
19950 * string/test-strchrnul-ifunc.c: Likewise.
19951 * string/test-strcmp-ifunc.c: Likewise.
19952 * string/test-strcpy-ifunc.c: Likewise.
19953 * string/test-strcspn-ifunc.c: Likewise.
19954 * string/test-strlen-ifunc.c: Likewise.
19955 * string/test-strncasecmp-ifunc.c: Likewise.
19956 * string/test-strncat-ifunc.c: Likewise.
19957 * string/test-strncmp-ifunc.c: Likewise.
19958 * string/test-strncpy-ifunc.c: Likewise.
19959 * string/test-strnlen-ifunc.c: Likewise.
19960 * string/test-strpbrk-ifunc.c: Likewise.
19961 * string/test-strrchr-ifunc.c: Likewise.
19962 * string/test-strspn-ifunc.c: Likewise.
19963 * string/test-strstr-ifunc.c: Likewise.
19965 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
19967 * benchtests/Makefile: Remove ifunc tests.
19968 * benchtests/bench-string.h: Define TEST_IFUNC.
19969 * benchtests/bench-bcopy-ifunc.c: Remove.
19970 * benchtests/bench-bzero-ifunc.c: Likewise.
19971 * benchtests/bench-memccpy-ifunc.c: Likewise.
19972 * benchtests/bench-memchr-ifunc.c: Likewise.
19973 * benchtests/bench-memcmp-ifunc.c: Likewise.
19974 * benchtests/bench-memcpy-ifunc.c: Likewise.
19975 * benchtests/bench-memmem-ifunc.c: Likewise.
19976 * benchtests/bench-memmove-ifunc.c: Likewise.
19977 * benchtests/bench-mempcpy-ifunc.c: Likewise.
19978 * benchtests/bench-memrchr-ifunc.c: Likewise.
19979 * benchtests/bench-memset-ifunc.c: Likewise.
19980 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
19981 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
19982 * benchtests/bench-stpcpy-ifunc.c: Likewise.
19983 * benchtests/bench-stpncpy-ifunc.c: Likewise.
19984 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
19985 * benchtests/bench-strcasestr-ifunc.c: Likewise.
19986 * benchtests/bench-strcat-ifunc.c: Likewise.
19987 * benchtests/bench-strchr-ifunc.c: Likewise.
19988 * benchtests/bench-strchrnul-ifunc.c: Likewise.
19989 * benchtests/bench-strcmp-ifunc.c: Likewise.
19990 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
19991 * benchtests/bench-strcpy-ifunc.c: Likewise.
19992 * benchtests/bench-strcspn-ifunc.c: Likewise.
19993 * benchtests/bench-strlen-ifunc.c: Likewise.
19994 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
19995 * benchtests/bench-strncat-ifunc.c: Likewise.
19996 * benchtests/bench-strncmp-ifunc.c: Likewise.
19997 * benchtests/bench-strncpy-ifunc.c: Likewise.
19998 * benchtests/bench-strnlen-ifunc.c: Likewise.
19999 * benchtests/bench-strpbrk-ifunc.c: Likewise.
20000 * benchtests/bench-strrchr-ifunc.c: Likewise.
20001 * benchtests/bench-strsep-ifunc.c: Likewise.
20002 * benchtests/bench-strspn-ifunc.c: Likewise.
20003 * benchtests/bench-strstr-ifunc.c: Likewise.
20005 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
20007 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
20009 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
20011 * resolv/netdb.h: Use __glibc_reserved instead __unused.
20012 * rt/aio.h: Likewise.
20013 * sysdeps/gnu/bits/utmp.h: Likewise.
20014 * sysdeps/gnu/bits/utmpx.h: Likewise.
20015 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
20016 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
20017 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
20018 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
20019 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
20020 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
20021 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
20022 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
20023 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
20024 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
20025 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
20026 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
20027 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
20028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
20029 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
20030 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
20031 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
20032 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
20033 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
20034 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
20035 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
20036 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
20037 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
20038 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20039 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
20040 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20041 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
20042 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
20043 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
20044 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
20045 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
20046 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
20047 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
20048 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
20049 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
20050 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
20051 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
20052 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
20053 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
20054 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
20055 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
20056 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
20058 2013-11-25 Carlos O'Donell <carlos@redhat.com>
20061 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
20062 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
20064 2013-11-25 Joseph Myers <joseph@codesourcery.com>
20066 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
20067 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
20070 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20072 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
20073 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
20074 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
20075 (__fesetround): Remove define.
20076 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
20077 rounding and exceptions handling.
20078 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
20079 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
20080 (__fe_nomask_env): Likewise.
20081 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
20082 __fegetround instead of fegetround.
20083 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
20084 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
20086 2013-11-21 Roland McGrath <roland@hack.frob.com>
20088 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
20091 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
20093 2013-11-21 Meador Inge <meadori@codesourcery.com>
20096 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
20097 (encrypt_r): Likewise.
20098 * malloc/obstack.h (obstack_free): Likewise.
20099 * posix/unistd.h (encrypt): Likewise.
20101 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
20103 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
20104 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
20105 DL_CALL_DT_FINI() that call the functions directly.
20106 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
20107 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
20108 * elf/dl-fini.c: Likewise.
20110 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
20112 * malloc/hooks.c (memalign_check): Add alignment rounding.
20113 * malloc/malloc.c (_mid_memalign): New function.
20114 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
20115 Implement by calling _mid_memalign.
20116 * manual/probes.texi (Memory Allocation Probes): Remove
20117 memory_valloc_retry and memory_pvalloc_retry.
20119 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20121 * locale/programs/locarchive.c (open_archive): Add const
20122 qualifier to ARCHIVEFNAME and copy default fname to
20126 * libio/tst-widetext.input: Rename Oriya to Odia.
20127 * locale/iso-639.def: Likewise.
20129 * manual/probes.texi (Mathematical Function Probes): Add
20130 documentation for sin, cos, asin and acos probes.
20131 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
20132 (__sin32): Add slowasin probe.
20133 (__cos32): Add slowacos probe.
20134 (__mpsin): Add slowsin probe.
20135 (__mpcos): Add slowcos probe.
20137 2013-11-19 Joseph Myers <joseph@codesourcery.com>
20140 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
20141 thread-local __sim_exceptions_thread and global
20142 __sim_exceptions_global.
20143 (__sim_disabled_exceptions): Change to thread-local
20144 __sim_disabled_exceptions_thread and global
20145 __sim_disabled_exceptions_global.
20146 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
20147 and global __sim_round_mode_global.
20148 (__simulate_exceptions): Use thread-local floating-point state and
20149 set global state from it as needed.
20150 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
20151 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
20152 __sim_round_mode_thread.
20153 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
20154 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
20155 and global __sim_exceptions_global.
20156 (__sim_disabled_exceptions): Change to thread-local
20157 __sim_disabled_exceptions_thread and global
20158 __sim_disabled_exceptions_global.
20159 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
20160 and global __sim_round_mode_global.
20161 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
20162 (SIM_SET_GLOBAL): Likewise.
20163 * sysdeps/powerpc/soft-fp/sfp-machine.h
20164 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
20165 __sim_round_mode_thread.
20166 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
20167 __sim_disabled_exceptions_thread.
20168 (__sim_exceptions): Change to __sim_exceptions_thread.
20169 (__sim_disabled_exceptions): Change to
20170 __sim_disabled_exceptions_thread.
20171 (__sim_round_mode): Change to __sim_round_mode_thread.
20172 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
20173 thread-local floating-point state and set global state from it as
20175 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
20176 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
20177 (__sim_disabled_exceptions): Remove extern declaration.
20178 (feenableexcept): Use thread-local floating-point state and set
20179 global state from it as needed.
20180 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
20181 extern declaration.
20182 (__sim_disabled_exceptions): Likewise.
20183 (__sim_round_mode): Likewise.
20184 (__fegetenv): Use thread-local floating-point state.
20185 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
20186 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
20187 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
20188 floating-point state and set global state from it as needed.
20189 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
20190 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
20191 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
20193 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
20194 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
20196 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
20197 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
20198 Use __sim_round_mode_thread.
20199 * math/test-fenv-tls.c: New file.
20200 * math/Makefile (tests): Add test-fenv-tls.
20201 ($(objpfx)test-fenv-tls): Depend on
20202 $(common-objpfx)nptl/libpthread.so.
20204 2013-11-19 Andreas Schwab <schwab@suse.de>
20206 * locale/programs/locale.c (show_info): Decode wordarray elements.
20207 * locale/categories.def (LC_MONETARY): Add element for
20208 _NL_MONETARY_CRNCYSTR.
20209 * locale/C-monetary.c (conversion_rate): New variable.
20210 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
20213 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
20215 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
20216 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
20218 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
20220 * elf/Makefile (tst-auxv): New test.
20221 * elf/tst-auxv.c: New
20222 * elf/rtld.c (dl_main): Adjust AT_EXECFN
20224 2013-11-18 Joseph Myers <joseph@codesourcery.com>
20226 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
20227 (hidden_proto): Caller changed.
20228 (hidden_tls_proto): New macro.
20229 (libc_hidden_tls_proto): Likewise.
20230 (rtld_hidden_tls_proto): Likewise.
20231 (libm_hidden_tls_proto): Likewise.
20232 (libresolv_hidden_tls_proto): Likewise.
20233 (librt_hidden_tls_proto): Likewise.
20234 (libdl_hidden_tls_proto): Likewise.
20235 (libnss_files_hidden_tls_proto): Likewise.
20236 (libnsl_hidden_tls_proto): Likewise.
20237 (libnss_nisplus_hidden_tls_proto): Likewise.
20238 (libutil_hidden_tls_proto): Likewise.
20240 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
20243 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
20244 (decompose_rpath): Defer expansion to fillin_rpath.
20245 (_dl_init_paths): Pass linkmap to fillin_rpath.
20247 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20249 * benchtests/Makefile: Add strsep.
20250 * benchtests/bench-strsep.c: New file: strsep benchtest.
20251 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
20253 2013-11-18 Andreas Schwab <schwab@suse.de>
20255 * locale/programs/locale.c (show_info) [case byte]: Check for
20256 '\377' instead of '\177'.
20257 * locale/C-monetary.c (not_available): Always use "\377".
20258 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
20259 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
20260 detect unavailable sign_posn locale elements.
20261 * locale/localeconv.c (__localeconv): For grouping and
20262 mon_grouping handle "\177" and "\377" like no grouping.
20263 (INT_ELEM): New macro. Use it to set all numeric members.
20264 * locale/programs/ld-monetary.c (monetary_read)
20265 <tok_mon_grouping>: Normalize single -1 to the empty string.
20266 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
20269 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
20272 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
20273 when we match (nil).
20274 * stdio-common/tst-sscanf.c (struct test): Add testcase.
20276 2013-11-16 Joseph Myers <joseph@codesourcery.com>
20278 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
20279 (NO_TEST_INLINE): Update value.
20280 (ERRNO_UNCHANGED): Likewise.
20281 (ERRNO_EDOM): Likewise.
20282 (ERRNO_ERANGE): Likewise.
20283 (IGNORE_RESULT): Likewise.
20284 (check_float_internal): Check signs of NaN results if
20285 TEST_NAN_SIGN used.
20286 (check_complex): Pass TEST_NAN_SIGN flag through to second
20287 check_float_internal call.
20288 (copysign_test_data): Add tests with quiet NaNs as second
20289 argument. Use TEST_NAN_SIGN.
20290 (fabs_test_data): Add test of negative quiet NaN argument. Use
20292 (signbit_test_data): Add tests of quiet NaN argument.
20293 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
20295 * math/gen-libm-test.pl (show_exceptions): Take extra argument
20297 (parse_args): Handle function results specified as IGNORE.
20298 * math/libm-test.inc (IGNORE_RESULT): New macro.
20299 (check_float_internal): Do not check numerical result if flag
20301 (check_complex): Pass through IGNORE_RESULT to second
20302 check_float_internal call.
20303 (check_int): Do not check numerical result if flag IGNORE_RESULT
20305 (check_long): Likewise.
20306 (check_bool): Likewise.
20307 (check_longlong): Likewise.
20308 (lrint_test_data): Add tests of infinite and NaN arguments.
20309 (lrint_tonearest_test_data): Likewise.
20310 (lrint_towardzero_test_data): Likewise.
20311 (lrint_downward_test_data): Likewise.
20312 (lrint_upward_test_data): Likewise.
20313 (llrint_test_data): Likewise.
20314 (llrint_tonearest_test_data): Likewise.
20315 (llrint_towardzero_test_data): Likewise.
20316 (llrint_downward_test_data): Likewise.
20317 (llrint_upward_test_data): Likewise.
20318 (lround_test_data): Likewise.
20319 (llround_test_data): Likewise.
20321 * math/libm-test.inc (NO_TEST_INLINE): New macro.
20322 (ERRNO_UNCHANGED): Update value.
20323 (ERRNO_EDOM): Likewise.
20324 (ERRNO_ERANGE): Likewise.
20325 (NO_TEST_INLINE_FLOAT): New macro.
20326 (NO_TEST_INLINE_DOUBLE): Likewise.
20327 (enable_test): New function.
20328 (RUN_TEST_f_f): Check enable_test before running test.
20329 (RUN_TEST_2_f): Likewise.
20330 (RUN_TEST_fff_f): Likewise.
20331 (RUN_TEST_c_f): Likewise.
20332 (RUN_TEST_f_f1): Likewise.
20333 (RUN_TEST_fF_f1): Likewise.
20334 (RUN_TEST_fI_f1): Likewise.
20335 (RUN_TEST_ffI_f1): Likewise.
20336 (RUN_TEST_c_c): Likewise.
20337 (RUN_TEST_cc_c): Likewise.
20338 (RUN_TEST_f_i): Likewise.
20339 (RUN_TEST_f_i_tg): Likewise.
20340 (RUN_TEST_ff_i_tg): Likewise.
20341 (RUN_TEST_f_b): Likewise.
20342 (RUN_TEST_f_b_tg): Likewise.
20343 (RUN_TEST_f_l): Likewise.
20344 (RUN_TEST_f_L): Likewise.
20345 (RUN_TEST_fFF_11): Likewise.
20346 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
20348 (cosh_test_data): Likewise.
20349 (exp_test_data): Likewise.
20350 (expm1_test_data): Likewise.
20351 (hypot_test_data): Likewise.
20352 (pow_test_data): Likewise.
20353 (sinh_test_data): Likewise.
20354 (tanh_test_data): Likewise.
20355 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
20358 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
20359 tests with quiet NaN input and output.
20360 (acosh_test_data): Likewise.
20361 (asin_test_data): Likewise.
20362 (asinh_test_data): Likewise.
20363 (atan_test_data): Likewise.
20364 (atanh_test_data): Likewise.
20365 (atan2_test_data): Likewise.
20366 (cbrt_test_data): Likewise.
20367 (cos_test_data): Likewise.
20368 (cosh_test_data): Likewise.
20369 (erf_test_data): Likewise.
20370 (erfc_test_data): Likewise.
20371 (exp_test_data): Likewise.
20372 (exp10_test_data): Likewise.
20373 (exp2_test_data): Likewise.
20374 (expm1_test_data): Likewise.
20375 (hypot_test_data): Likewise.
20376 (j0_test_data): Likewise.
20377 (j1_test_data): Likewise.
20378 (jn_test_data): Likewise.
20379 (lgamma_test_data): Likewise.
20380 (log_test_data): Likewise.
20381 (log10_test_data): Likewise.
20382 (log1p_test_data): Likewise.
20383 (log2_test_data): Likewise.
20384 (pow_test_data): Likewise.
20385 (scalb_test_data): Likewise.
20386 (sin_test_data): Likewise.
20387 (sincos_test_data): Likewise.
20388 (sinh_test_data): Likewise.
20389 (tan_test_data): Likewise.
20390 (tanh_test_data): Likewise.
20391 (tgamma_test_data): Likewise.
20392 (y0_test_data): Likewise.
20393 (y1_test_data): Likewise.
20394 (yn_test_data): Likewise.
20397 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
20398 argument being NaN and avoid computations with second argument in
20400 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
20401 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
20402 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
20404 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
20406 * locale/iso-639.def: Add Chitwani Tharu (the).
20408 2013-11-14 Andreas Schwab <schwab@suse.de>
20410 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
20411 word instead of empty string.
20413 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20416 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
20417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20418 (__fe_nomask_env): Likewise.
20420 2013-11-13 Steve Ellcey <sellcey@mips.com>
20422 * benchtests/bench-timing.h: Include time.h.
20424 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
20427 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
20429 * sysdeps/unix/sysv/linux/configure: Regenerated.
20431 2013-11-13 Joseph Myers <joseph@codesourcery.com>
20434 * stdlib/strtod_l.c (round_and_return): Do not consider
20435 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
20436 exponent one less than half the least subnormal exponent.
20437 * stdlib/test-strtod-round-data: Add more tests.
20438 * stdlib/tst-strtod-round.c (tests): Regenerated.
20440 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20443 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
20444 (__fe_mask_env): Likewise.
20445 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
20446 libm_hidden_proto and add function prototype.
20447 (__fe_mask_env): Add function prototype.
20448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20449 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
20450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
20451 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
20452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20453 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
20455 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20457 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
20458 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
20460 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20462 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
20463 of htab_find_slot().
20465 2013-11-11 David S. Miller <davem@davemloft.net>
20468 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
20469 symbol in the non-vis3 case in static builds.
20470 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
20471 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
20472 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
20473 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
20475 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
20478 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
20481 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20483 * benchtests/Makefile: Add bench-strtod.
20484 * benchtests/bench-strtod.c: New file: strtod benchtest
20486 2013-11-11 Andreas Schwab <schwab@suse.de>
20489 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
20490 terminating NUL in key length.
20492 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20494 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
20495 Add artificial ODP entry for vDSO symbol for PPC64.
20496 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
20497 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
20499 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
20502 * nss/getent.c (services_keys): Recognize services starting with digit.
20504 2013-11-06 David S. Miller <davem@davemloft.net>
20507 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
20508 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
20510 2013-11-06 Will Newton <will.newton@linaro.org>
20512 * manual/memory.texi (Malloc Examples): Remove register
20513 keyword from examples.
20515 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
20517 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
20519 2013-11-04 Joseph Myers <joseph@codesourcery.com>
20522 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
20523 depending on [__GCC_IEC_559 > 0].
20524 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
20525 depending on [__GCC_IEC_559_COMPLEX > 0].
20527 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
20529 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
20532 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
20534 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
20536 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
20539 * malloc/malloc (malloc_info): Do not handle first bin as
20542 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
20544 * locale/iso-639.def: Add Central Nahuatl (nhn).
20546 2013-11-01 Bruno Haible <bruno@clisp.org>
20549 * manual/math.texi (BSD Random): Specify range upper bound as
20552 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
20554 * locale/iso-639.def: Add Meadow Mari (mhr).
20556 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
20558 [BZ #14752], [BZ #15763]
20559 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
20561 * rt/tst_shm.c: Add test for escaping directory.
20563 2013-10-31 Andreas Schwab <schwab@suse.de>
20566 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
20567 followed by 'x' as part of digit sequence.
20568 * stdio-common/tst-sscanf.c (double_tests2): New tests.
20570 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
20573 * configure.ac: allow GNU Make 4.0 and greater.
20574 * configure: Regenerated.
20576 2013-10-30 Will Newton <will.newton@linaro.org>
20579 * malloc/hooks.c (memalign_check): Limit alignment to the
20580 maximum representable power of two.
20581 * malloc/malloc.c (__libc_memalign): Likewise.
20582 * malloc/tst-memalign.c (do_test): Add test for very
20583 large alignment values.
20584 * malloc/tst-posix_memalign.c (do_test): Likewise.
20586 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
20589 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
20590 (munmap_chunk): Likewise.
20591 (mremap_chunk): Likewise.
20593 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
20596 * stdlib/div.c (div): Remove obsolete code.
20597 * stdlib/ldiv.c (ldiv): Likewise.
20598 * stdlib/lldiv.c (lldiv): Likewise.
20600 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20603 * nss/nss_files/files-XXX.c (get_contents_ret): New
20605 (get_contents): New function.
20606 (internal_getent): Use it. Expand size of LINEBUFLEN.
20608 2013-10-30 Mike Frysinger <vapier@gentoo.org>
20610 * configure.in: Moved to ...
20611 * configure.ac: ... here. Change reference to configure.in
20613 * sysdeps/arm/preconfigure.ac: ... here.
20614 configure.in to configure.ac.
20615 * sysdeps/gnu/configure.in: Moved to ...
20616 * sysdeps/gnu/configure.ac: ... here.
20617 * sysdeps/i386/configure.in: Moved to ...
20618 * sysdeps/i386/configure.ac: ... here.
20619 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
20620 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
20621 * sysdeps/mach/configure.in: Moved to ...
20622 * sysdeps/mach/configure.ac: ... here.
20623 * sysdeps/mach/hurd/configure.in: Moved to ...
20624 * sysdeps/mach/hurd/configure.ac: ... here.
20625 * sysdeps/powerpc/configure.in: Moved to ...
20626 * sysdeps/powerpc/configure.ac: ... here.
20627 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
20628 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
20629 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
20630 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
20631 * sysdeps/s390/s390-32/configure.in: Moved to ...
20632 * sysdeps/s390/s390-32/configure.ac: ... here.
20633 * sysdeps/s390/s390-64/configure.in: Moved to ...
20634 * sysdeps/s390/s390-64/configure.ac: ... here.
20635 * sysdeps/sh/configure.in: Moved to ...
20636 * sysdeps/sh/configure.ac: ... here.
20637 * sysdeps/sparc/configure.in: Moved to ...
20638 * sysdeps/sparc/configure.ac: ... here.
20639 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
20640 * sysdeps/unix/sysv/linux/configure.ac: ... here.
20641 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
20642 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
20643 * sysdeps/x86_64/configure.in: Moved to ...
20644 * sysdeps/x86_64/configure.ac: ... here.
20645 * sysdeps/x86_64/preconfigure.in: Moved to ...
20646 * sysdeps/x86_64/preconfigure.ac: ... here.
20647 * aclocal.m4: Change reference to configure.in to configure.ac.
20648 * config.h.in: Likewise.
20649 * manual/install.texi: Likewise.
20650 * manual/maint.texi: Likewise.
20651 * Makefile: Likewise.
20652 * malloc/Makefile: Likewise.
20653 * nscd/Makefile: Likewise.
20654 * Makeconfig: Change reference to configure.in and
20655 preconfigure.in to configure.ac and preconfigure.ac
20657 * INSTALL: Regenerated.
20658 * configure: Likewise.
20659 * sysdeps/gnu/configure: Likewise.
20660 * sysdeps/i386/configure: Likewise.
20661 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
20662 * sysdeps/mach/configure: Likewise.
20663 * sysdeps/mach/hurd/configure: Likewise.
20664 * sysdeps/powerpc/configure: Likewise.
20665 * sysdeps/powerpc/powerpc32/configure: Likewise.
20666 * sysdeps/powerpc/powerpc64/configure: Likewise.
20667 * sysdeps/s390/s390-32/configure: Likewise.
20668 * sysdeps/s390/s390-64/configure: Likewise.
20669 * sysdeps/sh/configure: Likewise.
20670 * sysdeps/sparc/configure: Likewise.
20671 * sysdeps/unix/sysv/linux/configure: Likewise.
20672 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
20673 * sysdeps/x86_64/configure: Likewise.
20674 * sysdeps/x86_64/preconfigure: Likewise.
20676 2013-10-29 Andreas Schwab <schwab@suse.de>
20678 * stdio-common/Makefile (tst-swscanf-ENV): Define.
20680 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20682 * benchtests/pow-inputs: Add new inputs.
20684 * benchtests/exp-inputs: Add new inputs.
20686 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
20687 conditional check for return value.
20688 (__cos32): Likewise.
20690 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20692 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
20693 to provide a boost for large inputs with word alignment.
20694 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
20695 implementation based on optimized PPC64 strcpy.
20696 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
20697 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
20698 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
20699 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
20701 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
20704 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
20706 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
20709 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
20710 * time/tst-strptime.c (day_tests): Add testcase.
20712 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
20715 * manual/pattern.texi: Acknowledge that fnmatch can fail.
20717 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
20720 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
20721 MAP_FAILED on error.
20723 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20726 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
20727 heap for large requests.
20729 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
20732 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
20733 result if the result has no associated interface.
20734 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
20735 interface for all 127.X.Y.Z addresses.
20737 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
20739 * locale/iso-639.def: Add Ligurian (lij)
20741 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
20744 * sunrpc/rpc_main.c: Document rpcgen -5.
20746 2013-10-19 Michael Stahl <mstahl@redhat.com>
20748 * elf/rtld.c (do_preload): Print the reason why preloading failed.
20750 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
20753 * posix/glob.c: Match only directories when trailing slash is present.
20754 * posix/tst-gnuglob.c (my_opendir): Do not open files.
20755 (main): Add testcase.
20757 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
20760 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
20762 2013-10-18 Carlos O'Donell <carlos@redhat.com>
20764 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
20765 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
20766 AUTH_DES and cindex for FIPS 140-2.
20767 (DES Encryption): Add cindex FIPS 46-3.
20769 * locale/locarchive.h (struct locarhandle): Add fname.
20770 * locale/programs/localedef.c (main): Pass ARGV[remaining]
20771 if an optional argument was specified to --list-archive,
20773 * locale/programs/locarchive.c (show_archive_content): Take new
20774 argument fname and pass it via ah.fname to open_archive.
20775 * locale/programs/localedef.h: Update decl.
20776 (open_archive): If AH->fname is non-null, open that file
20777 rather than the default file name, and don't ignore ENOENT.
20778 (create_archive): Set AH.fname to NULL.
20779 (delete_locales_from_archive): Likewise.
20780 (add_locales_to_archive): Likewise.
20781 * locale/programs/locfile.c (write_all_categories): Likewise.
20783 2013-10-18 Joseph Myers <joseph@codesourcery.com>
20784 Aldy Hernandez <aldyh@redhat.com>
20786 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
20787 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
20788 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
20789 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
20790 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
20791 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
20792 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
20793 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
20794 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
20795 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
20796 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
20797 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
20798 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
20799 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
20800 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
20802 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
20804 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
20806 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
20808 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
20809 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
20811 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
20812 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
20813 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
20814 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
20816 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
20817 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
20818 * sysdeps/powerpc/preconfigure: Likewise.
20819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
20821 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
20822 Replace contents of file by #include of <fenv_libc.h>.
20823 * sysdeps/powerpc/soft-fp/sfp-machine.h
20824 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
20826 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
20827 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
20828 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
20829 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
20830 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
20831 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
20832 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
20833 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
20834 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
20835 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
20836 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
20837 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
20838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
20839 Allow copysignl PLT reference to be missing.
20841 2013-10-18 Richard Sandiford <richard@codesourcery.com>
20842 Joseph Myers <joseph@codesourcery.com
20845 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
20847 (add_to_tablewc): Assert sequence of wide characters is nonempty.
20849 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20851 * elf/tst-tls-dlinfo.c: Don't include tls.h.
20852 * elf/tst-tls1.c: Likewise.
20853 * elf/tst-tls10.h: Likewise.
20854 * elf/tst-tls14.c: Likewise.
20855 * elf/tst-tls2.c: Likewise.
20856 * elf/tst-tls3.c: Likewise.
20857 * elf/tst-tls4.c: Likewise.
20858 * elf/tst-tls5.c: Likewise.
20859 * elf/tst-tls6.c: Likewise.
20860 * elf/tst-tls7.c: Likewise.
20861 * elf/tst-tls8.c: Likewise.
20862 * elf/tst-tls9.c: Likewise.
20863 * elf/tst-tlsmod1.c: Likewise.
20864 * elf/tst-tlsmod13.c: Likewise.
20865 * elf/tst-tlsmod13a.c: Likewise.
20866 * elf/tst-tlsmod14a.c: Likewise.
20867 * elf/tst-tlsmod16a.c: Likewise.
20868 * elf/tst-tlsmod16b.c: Likewise.
20869 * elf/tst-tlsmod2.c: Likewise.
20870 * elf/tst-tlsmod3.c: Likewise.
20871 * elf/tst-tlsmod4.c: Likewise.
20872 * elf/tst-tlsmod5.c: Likewise.
20873 * elf/tst-tlsmod6.c: Likewise.
20875 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
20878 * malloc/malloc.c: remove checks for statistics.
20880 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
20883 * inet/inet_net.c (inet_network): Detect additional invalid strings.
20884 * inet/tst-network.c: Add testcase.
20886 2013-10-17 Andreas Schwab <schwab@suse.de>
20889 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
20890 to determine canonical name.
20892 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
20894 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
20895 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
20896 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20897 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
20898 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20899 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
20900 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20901 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
20902 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
20903 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
20904 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20905 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20906 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20907 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20908 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
20909 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
20910 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20911 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20912 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
20913 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
20914 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20915 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20916 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20917 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
20918 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
20919 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20920 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20921 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
20922 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20923 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
20924 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
20925 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20926 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
20927 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20928 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20929 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20930 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20931 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20932 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20933 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20934 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20935 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
20936 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
20937 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20938 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
20939 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20940 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20941 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
20942 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
20943 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20944 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
20945 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20946 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
20947 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
20948 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20949 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
20950 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20951 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20953 2013-10-17 Joseph Myers <joseph@codesourcery.com>
20956 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
20957 make result into a quiet NaN.
20959 2013-10-16 Joseph Myers <joseph@codesourcery.com>
20961 * soft-fp/adddf3.c: Fix horizontal whitespace.
20962 * soft-fp/addsf3.c: Likewise.
20963 * soft-fp/addtf3.c: Likewise.
20964 * soft-fp/divdf3.c: Likewise.
20965 * soft-fp/divsf3.c: Likewise.
20966 * soft-fp/divtf3.c: Likewise.
20967 * soft-fp/double.h: Likewise.
20968 * soft-fp/eqdf2.c: Likewise.
20969 * soft-fp/eqsf2.c: Likewise.
20970 * soft-fp/eqtf2.c: Likewise.
20971 * soft-fp/extenddftf2.c: Likewise.
20972 * soft-fp/extended.h: Likewise.
20973 * soft-fp/extendsfdf2.c: Likewise.
20974 * soft-fp/extendsftf2.c: Likewise.
20975 * soft-fp/extendxftf2.c: Likewise.
20976 * soft-fp/fixdfdi.c: Likewise.
20977 * soft-fp/fixdfsi.c: Likewise.
20978 * soft-fp/fixdfti.c: Likewise.
20979 * soft-fp/fixsfdi.c: Likewise.
20980 * soft-fp/fixsfsi.c: Likewise.
20981 * soft-fp/fixsfti.c: Likewise.
20982 * soft-fp/fixtfdi.c: Likewise.
20983 * soft-fp/fixtfsi.c: Likewise.
20984 * soft-fp/fixtfti.c: Likewise.
20985 * soft-fp/fixunsdfdi.c: Likewise.
20986 * soft-fp/fixunsdfsi.c: Likewise.
20987 * soft-fp/fixunsdfti.c: Likewise.
20988 * soft-fp/fixunssfdi.c: Likewise.
20989 * soft-fp/fixunssfsi.c: Likewise.
20990 * soft-fp/fixunssfti.c: Likewise.
20991 * soft-fp/fixunstfdi.c: Likewise.
20992 * soft-fp/fixunstfsi.c: Likewise.
20993 * soft-fp/fixunstfti.c: Likewise.
20994 * soft-fp/floatdidf.c: Likewise.
20995 * soft-fp/floatdisf.c: Likewise.
20996 * soft-fp/floatditf.c: Likewise.
20997 * soft-fp/floatsidf.c: Likewise.
20998 * soft-fp/floatsisf.c: Likewise.
20999 * soft-fp/floatsitf.c: Likewise.
21000 * soft-fp/floattidf.c: Likewise.
21001 * soft-fp/floattisf.c: Likewise.
21002 * soft-fp/floattitf.c: Likewise.
21003 * soft-fp/floatundidf.c: Likewise.
21004 * soft-fp/floatundisf.c: Likewise.
21005 * soft-fp/floatunditf.c: Likewise.
21006 * soft-fp/floatunsidf.c: Likewise.
21007 * soft-fp/floatunsisf.c: Likewise.
21008 * soft-fp/floatunsitf.c: Likewise.
21009 * soft-fp/floatuntidf.c: Likewise.
21010 * soft-fp/floatuntisf.c: Likewise.
21011 * soft-fp/floatuntitf.c: Likewise.
21012 * soft-fp/fmadf4.c: Likewise.
21013 * soft-fp/fmasf4.c: Likewise.
21014 * soft-fp/fmatf4.c: Likewise.
21015 * soft-fp/gedf2.c: Likewise.
21016 * soft-fp/gesf2.c: Likewise.
21017 * soft-fp/getf2.c: Likewise.
21018 * soft-fp/ledf2.c: Likewise.
21019 * soft-fp/lesf2.c: Likewise.
21020 * soft-fp/letf2.c: Likewise.
21021 * soft-fp/muldf3.c: Likewise.
21022 * soft-fp/mulsf3.c: Likewise.
21023 * soft-fp/multf3.c: Likewise.
21024 * soft-fp/negdf2.c: Likewise.
21025 * soft-fp/negsf2.c: Likewise.
21026 * soft-fp/negtf2.c: Likewise.
21027 * soft-fp/op-1.h: Likewise.
21028 * soft-fp/op-2.h: Likewise.
21029 * soft-fp/op-4.h: Likewise.
21030 * soft-fp/op-8.h: Likewise.
21031 * soft-fp/op-common.h: Likewise.
21032 * soft-fp/quad.h: Likewise.
21033 * soft-fp/single.h: Likewise.
21034 * soft-fp/soft-fp.h: Likewise.
21035 * soft-fp/sqrtdf2.c: Likewise.
21036 * soft-fp/sqrtsf2.c: Likewise.
21037 * soft-fp/sqrttf2.c: Likewise.
21038 * soft-fp/subdf3.c: Likewise.
21039 * soft-fp/subsf3.c: Likewise.
21040 * soft-fp/subtf3.c: Likewise.
21041 * soft-fp/truncdfsf2.c: Likewise.
21042 * soft-fp/trunctfdf2.c: Likewise.
21043 * soft-fp/trunctfsf2.c: Likewise.
21044 * soft-fp/trunctfxf2.c: Likewise.
21045 * soft-fp/unorddf2.c: Likewise.
21046 * soft-fp/unordsf2.c: Likewise.
21047 * soft-fp/unordtf2.c: Likewise.
21049 2013-10-15 Joseph Myers <joseph@codesourcery.com>
21051 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
21052 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
21054 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
21056 * elf/dl-libc.c: Clear initfini list after freeing.
21058 2013-10-14 Joseph Myers <joseph@codesourcery.com>
21060 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
21061 * soft-fp/addsf3.c: Likewise.
21062 * soft-fp/addtf3.c: Likewise.
21063 * soft-fp/divdf3.c: Likewise.
21064 * soft-fp/divsf3.c: Likewise.
21065 * soft-fp/divtf3.c: Likewise.
21066 * soft-fp/double.h: Likewise.
21067 * soft-fp/eqdf2.c: Likewise.
21068 * soft-fp/eqsf2.c: Likewise.
21069 * soft-fp/eqtf2.c: Likewise.
21070 * soft-fp/extenddftf2.c: Likewise.
21071 * soft-fp/extended.h: Likewise.
21072 * soft-fp/extendsfdf2.c: Likewise.
21073 * soft-fp/extendsftf2.c: Likewise.
21074 * soft-fp/extendxftf2.c: Likewise.
21075 * soft-fp/fixdfdi.c: Likewise.
21076 * soft-fp/fixdfsi.c: Likewise.
21077 * soft-fp/fixdfti.c: Likewise.
21078 * soft-fp/fixsfdi.c: Likewise.
21079 * soft-fp/fixsfsi.c: Likewise.
21080 * soft-fp/fixsfti.c: Likewise.
21081 * soft-fp/fixtfdi.c: Likewise.
21082 * soft-fp/fixtfsi.c: Likewise.
21083 * soft-fp/fixtfti.c: Likewise.
21084 * soft-fp/fixunsdfdi.c: Likewise.
21085 * soft-fp/fixunsdfsi.c: Likewise.
21086 * soft-fp/fixunsdfti.c: Likewise.
21087 * soft-fp/fixunssfdi.c: Likewise.
21088 * soft-fp/fixunssfsi.c: Likewise.
21089 * soft-fp/fixunssfti.c: Likewise.
21090 * soft-fp/fixunstfdi.c: Likewise.
21091 * soft-fp/fixunstfsi.c: Likewise.
21092 * soft-fp/fixunstfti.c: Likewise.
21093 * soft-fp/floatdidf.c: Likewise.
21094 * soft-fp/floatdisf.c: Likewise.
21095 * soft-fp/floatditf.c: Likewise.
21096 * soft-fp/floatsidf.c: Likewise.
21097 * soft-fp/floatsisf.c: Likewise.
21098 * soft-fp/floatsitf.c: Likewise.
21099 * soft-fp/floattidf.c: Likewise.
21100 * soft-fp/floattisf.c: Likewise.
21101 * soft-fp/floattitf.c: Likewise.
21102 * soft-fp/floatundidf.c: Likewise.
21103 * soft-fp/floatundisf.c: Likewise.
21104 * soft-fp/floatunsidf.c: Likewise.
21105 * soft-fp/floatunsisf.c: Likewise.
21106 * soft-fp/floatuntidf.c: Likewise.
21107 * soft-fp/floatuntisf.c: Likewise.
21108 * soft-fp/floatuntitf.c: Likewise.
21109 * soft-fp/fmadf4.c: Likewise.
21110 * soft-fp/fmasf4.c: Likewise.
21111 * soft-fp/fmatf4.c: Likewise.
21112 * soft-fp/gedf2.c: Likewise.
21113 * soft-fp/gesf2.c: Likewise.
21114 * soft-fp/getf2.c: Likewise.
21115 * soft-fp/ledf2.c: Likewise.
21116 * soft-fp/lesf2.c: Likewise.
21117 * soft-fp/letf2.c: Likewise.
21118 * soft-fp/muldf3.c: Likewise.
21119 * soft-fp/mulsf3.c: Likewise.
21120 * soft-fp/multf3.c: Likewise.
21121 * soft-fp/negdf2.c: Likewise.
21122 * soft-fp/negsf2.c: Likewise.
21123 * soft-fp/negtf2.c: Likewise.
21124 * soft-fp/op-1.h: Likewise.
21125 * soft-fp/op-2.h: Likewise.
21126 * soft-fp/op-4.h: Likewise.
21127 * soft-fp/op-8.h: Likewise.
21128 * soft-fp/op-common.h: Likewise.
21129 * soft-fp/quad.h: Likewise.
21130 * soft-fp/single.h: Likewise.
21131 * soft-fp/soft-fp.h: Likewise.
21132 * soft-fp/sqrtdf2.c: Likewise.
21133 * soft-fp/sqrtsf2.c: Likewise.
21134 * soft-fp/sqrttf2.c: Likewise.
21135 * soft-fp/subdf3.c: Likewise.
21136 * soft-fp/subsf3.c: Likewise.
21137 * soft-fp/subtf3.c: Likewise.
21138 * soft-fp/truncdfsf2.c: Likewise.
21139 * soft-fp/trunctfdf2.c: Likewise.
21140 * soft-fp/trunctfsf2.c: Likewise.
21141 * soft-fp/trunctfxf2.c: Likewise.
21142 * soft-fp/unorddf2.c: Likewise.
21143 * soft-fp/unordsf2.c: Likewise.
21144 * soft-fp/unordtf2.c: Likewise.
21146 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
21149 * misc/error.c (error_tail): Fix possible buffer overflow.
21151 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
21154 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
21157 2013-10-14 P. J. McDermott <pj@pehjota.net>
21160 * elf/ldd.bash.in (try_trace): New function. Delete previous code
21161 testing pipefail option.
21163 2013-10-12 Joseph Myers <joseph@codesourcery.com>
21165 * soft-fp/double.h: Indent preprocessor directives inside #if.
21166 * soft-fp/extended.h: Likewise.
21167 * soft-fp/op-2.h: Likewise.
21168 * soft-fp/op-4.h: Likewise.
21169 * soft-fp/op-common.h: Likewise.
21170 * soft-fp/quad.h: Likewise.
21171 * soft-fp/single.h: Likewise.
21172 * soft-fp/soft-fp.h: Likewise.
21174 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
21176 * iconv/iconv_prog.c: Fix typos.
21177 * stdio-common/psiginfo-data.h: Likewise.
21179 2013-10-12 Reuben Thomas <rrt@sc3d.org>
21182 * locale/setlocale.c: Fix typo.
21184 2013-10-12 Joseph Myers <joseph@codesourcery.com>
21187 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
21188 signaling NaN arguments.
21189 * soft-fp/unordsf2.c (__unordsf2): Likewise.
21190 * soft-fp/unordtf2.c (__unordtf2): Likewise.
21193 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
21194 unordered operands.
21195 * soft-fp/gesf2.c (__gesf2): Likewise.
21196 * soft-fp/getf2.c (__getf2): Likewise.
21197 * soft-fp/ledf2.c (__ledf2): Likewise.
21198 * soft-fp/lesf2.c (__lesf2): Likewise.
21199 * soft-fp/letf2.c (__letf2): Likewise.
21201 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
21202 * soft-fp/eqsf2.c (__eqsf2): Likewise.
21203 * soft-fp/eqtf2.c (__eqtf2): Likewise.
21204 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
21205 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
21206 * soft-fp/fixdfti.c (__fixdfti): Likewise.
21207 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
21208 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
21209 * soft-fp/fixsfti.c (__fixsfti): Likewise.
21210 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
21211 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
21212 * soft-fp/fixtfti.c (__fixtfti): Likewise.
21213 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
21214 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
21215 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
21216 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
21217 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
21218 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
21219 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
21220 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
21221 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
21222 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
21223 * soft-fp/floatdisf.c (__floatdisf): Likewise.
21224 * soft-fp/floatsisf.c (__floatsisf): Likewise.
21225 * soft-fp/floattidf.c (__floattidf): Likewise.
21226 * soft-fp/floattisf.c (__floattisf): Likewise.
21227 * soft-fp/floattitf.c (__floattitf): Likewise.
21228 * soft-fp/floatundidf.c (__floatundidf): Likewise.
21229 * soft-fp/floatundisf.c (__floatundisf): Likewise.
21230 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
21231 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
21232 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
21233 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
21234 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
21235 * soft-fp/gesf2.c (__gesf2): Likewise.
21236 * soft-fp/getf2.c (__getf2): Likewise.
21237 * soft-fp/ledf2.c (__ledf2): Likewise.
21238 * soft-fp/lesf2.c (__lesf2): Likewise.
21239 * soft-fp/letf2.c (__letf2): Likewise.
21241 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
21242 Undefine and redefine.
21243 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
21244 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
21245 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
21246 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
21247 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21248 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
21249 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21250 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
21251 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21252 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
21253 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21254 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
21255 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21256 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
21257 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21260 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
21261 without decrementing exponent if mantissa >= that for the
21262 denominator, not >.
21263 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
21264 denominator, not >. Decrement exponent in < case instead of
21265 incrementing in >= case.
21266 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
21267 without decrementing exponent if mantissa >= that for the
21268 denominator, not >.
21270 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
21271 computing saturated result for unsigned overflow.
21273 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21274 Jeff Law <law@redhat.com>
21276 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
21277 (atan2Mp): Add systemtap probe marker.
21278 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
21279 (__ieee754_log): Add systemtap probe marker.
21280 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
21281 (atanMp): Add systemtap probe marker.
21282 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
21283 (tanMp): Add systemtap probe marker.
21284 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
21285 (__slowexp): Add systemtap probe marker.
21286 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
21287 (__slowpow): Add systemtap probe marker.
21288 * manual/probes.texi: Document probes.
21290 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
21293 * libio/fileops.c (_IO_new_file_write): Return count of bytes
21295 (_IO_new_file_xsputn): Don't return EOF if nothing has been
21297 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
21298 written to buffer but not flushed.
21299 * libio/iofwrite_u.c: Likewise.
21300 * libio/iopadn.c: Return bytes returned even if EOF was
21302 * libio/iowpadn.c: Likewise.
21303 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
21304 if _IO_padn does not write the whole buffer.
21305 [!COMPILE_WPRINTF] (PAD): Likewise.
21307 2013-10-10 David S. Miller <davem@davemloft.net>
21309 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
21312 2013-10-10 Joseph Myers <joseph@codesourcery.com>
21314 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
21315 instead of FSF address.
21316 * soft-fp/fixdfti.c: Likewise.
21317 * soft-fp/fixsfti.c: Likewise.
21318 * soft-fp/fixtfti.c: Likewise.
21319 * soft-fp/fixunsdfti.c: Likewise.
21320 * soft-fp/fixunssfti.c: Likewise.
21321 * soft-fp/fixunstfti.c: Likewise.
21322 * soft-fp/floattidf.c: Likewise.
21323 * soft-fp/floattisf.c: Likewise.
21324 * soft-fp/floattitf.c: Likewise.
21325 * soft-fp/floatuntidf.c: Likewise.
21326 * soft-fp/floatuntisf.c: Likewise.
21327 * soft-fp/floatuntitf.c: Likewise.
21328 * soft-fp/trunctfxf2.c: Likewise.
21330 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
21331 * soft-fp/fixdfti.c: Likewise.
21332 * soft-fp/fixsfti.c: Likewise.
21333 * soft-fp/fixtfti.c: Likewise.
21334 * soft-fp/fixunsdfti.c: Likewise.
21335 * soft-fp/fixunssfti.c: Likewise.
21336 * soft-fp/fixunstfti.c: Likewise.
21337 * soft-fp/floattidf.c: Likewise.
21338 * soft-fp/floattisf.c: Likewise.
21339 * soft-fp/floattitf.c: Likewise.
21340 * soft-fp/floatuntidf.c: Likewise.
21341 * soft-fp/floatuntisf.c: Likewise.
21342 * soft-fp/floatuntitf.c: Likewise.
21343 * soft-fp/trunctfxf2.c: Likewise.
21345 2013-10-10 David S. Miller <davem@davemloft.net>
21347 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21349 2013-10-10 Joseph Myers <joseph@codsourcery.com>
21351 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
21352 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
21353 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
21354 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
21355 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
21356 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
21357 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
21359 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
21360 for NaNs before doing comparisons on argument.
21361 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
21364 2013-10-10 Will Newton <will.newton@linaro.org>
21366 * malloc/hooks.c (memalign_check): Ensure the value of bytes
21367 passed to _int_memalign does not overflow.
21369 2013-10-10 Torvald Riegel <triegel@redhat.com>
21371 * scripts/bench.pl: Add include-sources directive.
21372 * benchtests/README: Update documentation.
21374 2013-10-10 Joseph Myers <joseph@codesourcery.com>
21376 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
21377 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
21378 instead of FP_INIT_ROUNDMODE.
21379 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
21380 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
21383 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
21384 copy class of input value.
21385 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
21386 not handle exceptions.
21387 * soft-fp/negsf2.c (__negsf2): Likewise.
21388 * soft-fp/negtf2.c (__negtf2): Likewise.
21389 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
21391 2013-10-09 Joseph Myers <joseph@codesourcery.com>
21393 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
21394 semicolon. From Linux kernel.
21396 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
21398 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
21400 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
21403 * manual/socket.texi: Added statement about buffer
21404 for gethostbyname2_r.
21406 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
21408 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
21409 Use .p2align directive instead, throughout.
21410 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
21411 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
21412 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
21413 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21414 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21415 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
21416 * sysdeps/x86_64/strchr.S: Likewise.
21417 * sysdeps/x86_64/strrchr.S: Likewise.
21419 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21421 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
21423 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
21425 * sysdeps/generic/math_private.h (__mpsin1): Remove
21427 (__mpcos1): Likewise.
21428 (__mpsin): New argument __range_reduce.
21429 (__mpcos): Likewise.
21430 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21431 (slow): Use __mpsin and __mpcos.
21435 (sloww1): Likewise.
21436 (sloww2): Likewise.
21437 (bsloww): Likewise.
21438 (bsloww1): Likewise.
21439 (bsloww2): Likewise.
21440 (cslow2): Likewise.
21441 (csloww): Likewise.
21442 (csloww1): Likewise.
21443 (csloww2): Likewise.
21444 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
21445 range_reduce. Merge in __mpsin1.
21446 (__mpcos): Likewise.
21447 (__mpsin1): Remove.
21448 (__mpcos1): Likewise.
21450 2013-10-07 Joseph Myers <joseph@codesourcery.com>
21452 * locale/loadlocale.c (_nl_intern_locale_data): Use
21454 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
21455 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
21456 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
21457 obstack data is appropriately aligned.
21458 (obstack_int32_grow_fast): Likewise.
21459 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
21460 * locale/programs/locfile.c (add_locale_uint32): Likewise.
21461 (add_locale_uint32_array): Likewise.
21463 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
21465 * benchtests/Makefile: Remove ARGLIST and RET variables.
21466 ($(objpfx)bench-%.c): Pass only function name to the script.
21467 * benchtests/README: Update documentation.
21468 * benchtests/acos-inputs: Add new directives.
21469 * benchtests/acosh-inputs: Likewise.
21470 * benchtests/asin-inputs: Likewise.
21471 * benchtests/asinh-inputs: Likewise.
21472 * benchtests/atan-inputs: Likewise.
21473 * benchtests/atanh-inputs: Likewise.
21474 * benchtests/cos-inputs: Likewise.
21475 * benchtests/cosh-inputs: Likewise.
21476 * benchtests/exp-inputs: Likewise.
21477 * benchtests/log-inputs: Likewise.
21478 * benchtests/pow-inputs: Likewise.
21479 * benchtests/rint-inputs: Likewise.
21480 * benchtests/sin-inputs: Likewise.
21481 * benchtests/sinh-inputs: Likewise.
21482 * benchtests/tan-inputs: Likewise.
21483 * benchtests/tanh-inputs: Likewise.
21484 * scripts/bench.pl: Add support for new directives.
21486 2013-10-07 Alan Modra <amodra@gmail.com>
21488 * README: Fix careless merge.
21490 2013-10-05 Alan Modra <amodra@gmail.com>
21492 * NEWS: Mention powerpc64le support and bugs fixed.
21493 * README: Both big-endian and little-endian powerpc64 supported.
21495 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21497 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
21498 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
21499 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
21500 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
21502 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
21504 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
21507 2013-10-04 Joseph Myers <joseph@codesourcery.com>
21509 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
21510 Move -mhard-float appending from
21511 ports/sysdeps/powerpc/powerpc32/Makefile.
21512 [$(with-fp) = yes] (ASFLAGS): Likewise.
21513 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
21514 * sysdeps/powerpc/nofpu: Move directory from
21515 ports/sysdeps/powerpc/nofpu.
21516 * sysdeps/powerpc/soft-fp: Move directory from
21517 ports/sysdeps/powerpc/soft-fp.
21518 * sysdeps/powerpc/powerpc32/405: Move directory from
21519 ports/sysdeps/powerpc/powerpc32/405.
21520 * sysdeps/powerpc/powerpc32/440: Move directory from
21521 ports/sysdeps/powerpc/powerpc32/440.
21522 * sysdeps/powerpc/powerpc32/464: Move directory from
21523 ports/sysdeps/powerpc/powerpc32/464.
21524 * sysdeps/powerpc/powerpc32/476: Move directory from
21525 ports/sysdeps/powerpc/powerpc32/476.
21526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
21527 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
21528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
21529 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
21530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
21531 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
21532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
21533 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
21534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
21535 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
21536 * README: Update for powerpc-*-linux-gnu software floating point
21539 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
21540 case to powerpc/powerpc32*.
21541 * sysdeps/unix/sysv/linux/configure: Regenerated.
21543 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
21544 (_FPU_MASK_OM): Define as 0x04.
21545 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
21546 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
21548 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
21550 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
21552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
21553 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
21555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
21556 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
21558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
21559 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
21560 and setcontext_e500.
21562 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
21564 * locale/iso-3166.def: Update iso-1366.def and related occurrences
21566 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21568 * manual/threads.texi (Default Thread Attributes): Fix typo.
21570 2013-10-04 Will Newton <will.newton@linaro.org>
21572 * malloc/Makefile: Add tst-memalign.
21573 * malloc/tst-memalign.c: New file.
21575 * malloc/tst-posix_memalign.c: Add comments.
21576 (do_test): Add comments and call free on all potentially
21577 allocated pointers. Add space after cast.
21579 * malloc/tst-pvalloc.c: Add comments.
21580 (do_test): Add comments and call free on all potentially
21581 allocated pointers. Remove duplicate check for NULL pointer.
21582 Add space after cast.
21584 * malloc/tst-valloc.c: Add comments.
21585 (do_test): Add comments and call free on all potentially
21586 allocated pointers. Remove duplicate check for NULL pointer.
21587 Add space after cast.
21589 2013-10-04 Alan Modra <amodra@gmail.com>
21591 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21592 Use stdint types in rather than __attribute__((mode())).
21593 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21595 2013-10-04 Alan Modra <amodra@gmail.com>
21597 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21598 Correct handling of unaligned relocs for little-endian.
21599 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21601 2013-10-04 Alan Modra <amodra@gmail.com>
21603 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
21604 * configure: Regenerate.
21605 * nptl/shlib-versions: Powerpc*le starts at 2.18.
21606 * shlib-versions: Likewise.
21608 2013-10-04 Alan Modra <amodra@gmail.com>
21610 * string/tester.c (test_memrchr): Increment reported test cycle.
21612 2013-10-04 Alan Modra <amodra@gmail.com>
21614 * string/test-memcpy.c (do_one_test): When reporting errors, print
21615 string address and don't overrun end of string.
21617 2013-10-04 Alan Modra <amodra@gmail.com>
21619 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
21620 insrdi. Make better use of reg selection to speed exit slightly.
21621 Schedule entry path a little better. Remove useless "are we done"
21622 checks on entry to main loop. Handle wrapping around zero address.
21623 Correct main loop count. Handle single left-over word from main
21624 loop inline rather than by using loop_small. Remove extra word
21625 case in loop_small caused by wrong loop count. Add little-endian
21627 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
21628 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
21630 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
21631 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
21632 support. Avoid rlwimi.
21633 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
21635 2013-10-04 Alan Modra <amodra@gmail.com>
21637 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
21638 insrdi. Formatting.
21639 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
21640 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
21641 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
21642 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21643 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
21644 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
21646 2013-10-04 Alan Modra <amodra@gmail.com>
21648 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
21649 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21650 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
21651 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
21652 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
21653 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21654 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21655 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
21656 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
21657 use of regs. Use power7 mtocrf. Tidy function tails.
21659 2013-10-04 Alan Modra <amodra@gmail.com>
21661 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
21662 Formatting. Consistently use rXXX register defines or rN defines.
21663 Use early exit labels that avoid restoring unused non-volatile regs.
21664 Make cr field use more consistent with rWORDn compares. Rename
21665 regs used as shift registers for unaligned loop, using rN defines
21666 for short lifetime/multiple use regs.
21667 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21668 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
21669 addi 1,1,64 to pop stack frame. Simplify return value code.
21670 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21672 2013-10-04 Alan Modra <amodra@gmail.com>
21674 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
21675 support. Correct typos, formatting. Optimize tail. Use insrdi
21676 rather than rlwimi.
21677 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
21678 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
21679 little-endian support. Correct typos.
21680 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
21681 rather than rlwimi.
21682 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
21683 in loop and entry code to keep "and." results.
21684 (strchr): Add little-endian support. Comment. Move cntlzd
21686 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
21688 2013-10-04 Alan Modra <amodra@gmail.com>
21690 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
21691 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
21692 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
21693 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
21695 2013-10-04 Alan Modra <amodra@gmail.com>
21697 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
21698 (rTMP): Define as r11.
21699 (strcmp): Add little-endian support. Optimise tail.
21700 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
21701 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21702 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
21703 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21704 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
21705 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21706 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21708 2013-10-04 Alan Modra <amodra@gmail.com>
21710 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
21711 little-endian support. Remove unnecessary "are we done" tests.
21712 Handle "s" wrapping around zero and extremely large "size".
21713 Correct main loop count. Handle single left-over word from main
21714 loop inline rather than by using small_loop. Correct comments.
21715 Delete "zero" tail, use "end_max" instead.
21716 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
21718 2013-10-04 Alan Modra <amodra@gmail.com>
21720 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
21721 support. Don't branch over align.
21722 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
21723 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
21724 support. Rearrange tmp reg use to suit. Comment.
21725 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
21727 2013-10-04 Alan Modra <amodra@gmail.com>
21729 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
21731 2013-10-04 Alan Modra <amodra@gmail.com>
21733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
21734 conditional form of branch and link when obtaining pc.
21735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
21737 2013-10-04 Alan Modra <amodra@gmail.com>
21739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
21741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
21742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
21744 2013-10-04 Alan Modra <amodra@gmail.com>
21746 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
21747 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
21748 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
21749 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
21750 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21751 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
21752 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
21753 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
21754 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
21755 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
21757 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
21758 Alistair Popple <alistair@ozlabs.au.ibm.com>
21759 Alan Modra <amodra@gmail.com>
21762 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
21763 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
21764 _dl_hwcap access for little-endian.
21765 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
21766 destroy vmx regs when saving unaligned.
21767 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
21768 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
21769 destroy vmx regs when saving unaligned.
21771 2013-10-04 Alan Modra <amodra@gmail.com>
21773 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
21774 Don't use a union to pack hi/low value.
21776 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
21778 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
21780 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21781 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
21782 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21783 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
21784 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
21786 2013-10-04 Alan Modra <amodra@gmail.com>
21788 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
21789 constants to usual value for .cst8 section, and remove redundant
21791 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
21792 constant for 0x1p52. Load little-endian words of double from
21793 correct stack offsets.
21795 2013-10-04 Alan Modra <amodra@gmail.com>
21797 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
21798 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
21799 words of double from correct stack offsets.
21800 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
21801 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
21802 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
21803 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
21804 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
21805 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
21806 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
21807 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
21808 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
21809 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
21810 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
21811 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
21812 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21813 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21814 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21815 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
21816 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
21818 2013-10-04 Alan Modra <amodra@gmail.com>
21820 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
21821 64-bit int/double union.
21822 (_FPU_SETCW): Likewise.
21823 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
21824 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
21826 2013-10-04 Alan Modra <amodra@gmail.com>
21828 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
21829 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
21831 2013-10-04 Alan Modra <amodra@gmail.com>
21833 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
21834 use vector int constants.
21835 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
21837 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
21839 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
21840 array with long long.
21841 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
21842 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
21843 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
21844 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
21845 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
21846 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
21847 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
21848 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
21849 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
21850 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
21851 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
21852 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
21853 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
21855 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
21857 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
21858 (__signbit): Likewise. Correct for little-endian.
21859 (__signbitl): Call __signbit.
21860 (lrint): Correct for little-endian.
21861 (lrintf): Call lrint.
21863 2013-10-04 Alan Modra <amodra@gmail.com>
21865 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
21866 union 32-bit int array member with 64-bit int array.
21867 (t515, tm256): Double rather than long double.
21868 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
21870 2013-10-04 Alan Modra <amodra@gmail.com>
21872 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
21874 (IEEE854_LONG_DOUBLE_BIAS): Delete.
21875 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
21876 version of math_ldbl.h.
21878 2013-10-04 Alan Modra <amodra@gmail.com>
21880 [BZ #15734], [BZ #15735]
21881 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
21882 all uses of ieee875 long double macros and unions. Simplify test
21883 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
21884 ldbl_extract_mantissa value for ix,iy exponents. Properly
21885 normalize after ldbl_extract_mantissa, and don't add hidden bit
21886 already handled. Don't treat low word of ieee854 mantissa like
21887 low word of IBM long double and mask off bit when testing for
21889 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
21890 all uses of ieee875 long double macros and unions. Simplify tests
21891 for 0.0L and inf. Correct double adjustment of k. Delete dead code
21892 adjusting ha,hb. Simplify code setting kld. Delete two600 and
21893 two1022, instead use their values. Recognise that tests for large
21894 "a" and small "b" are mutually exclusive. Rename vars. Comment.
21895 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
21896 Rewrite all uses of ieee875 long double macros and unions. Simplify
21897 test for 0.0L and nan. Correct negation.
21898 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
21899 ieee875 long double macros and unions. Correct output for large
21900 magnitude x. Correct absolute value calculation.
21901 (__erfcl): Likewise.
21902 * math/libm-test.inc: Add tests for errors discovered in IBM long
21903 double versions of fmodl, remainderl, erfl and erfcl.
21905 2013-10-04 Alan Modra <amodra@gmail.com>
21907 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
21908 all uses of ieee854 long double macros and unions. Simplify tests
21909 for long doubles that are fully specified by the high double.
21910 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
21912 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
21913 Remove dead code too.
21914 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
21915 (__ieee754_ynl): Likewise.
21916 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
21917 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
21918 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
21919 Remove dead code too.
21920 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
21921 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
21922 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
21923 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
21925 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
21927 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
21928 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
21929 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
21930 Comment on variable precision.
21931 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
21932 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21934 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
21935 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
21936 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
21937 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
21938 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
21940 2013-10-04 Alan Modra <amodra@gmail.com>
21942 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
21943 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
21944 all uses of ieee854 long double macros and unions.
21945 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
21946 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
21947 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
21948 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
21949 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
21950 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
21952 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
21953 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21954 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
21955 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21956 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
21957 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
21958 Simplify sign and nan test too.
21959 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
21960 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
21961 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
21962 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
21964 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
21965 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
21967 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21968 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
21969 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
21970 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
21971 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
21972 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
21974 2013-10-04 Alan Modra <amodra@gmail.com>
21976 * stdio-common/printf_size.c (__printf_size): Don't use
21977 union ieee854_long_double in fpnum union.
21978 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
21979 signbit macro to retrieve sign from long double.
21980 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
21981 retrieve sign from long double.
21982 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
21983 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
21984 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
21985 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
21986 * math/test-misc.c (main): Don't use union ieee854_long_double.
21988 2013-10-04 Alan Modra <amodra@gmail.com>
21991 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
21992 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
21993 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
21994 calculation. Remove unnecessary test for denormal exponent.
21995 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
21996 Correct handling of denormals. Avoid undefined shift behaviour.
21997 Correct normalisation of low mantissa when low double is denormal.
21998 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
21999 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
22000 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
22001 Correct normalisation of low mantissa. Test for overflow of high
22002 mantissa and normalise.
22003 (ldbl_nearbyint): Use more readable constant for two52.
22004 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
22005 (__mpn_construct_long_double): Fix test for overflow of high
22006 mantissa and correct normalisation. Avoid undefined shift.
22008 2013-10-04 Alan Modra <amodra@gmail.com>
22010 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
22011 (union ibm_extended_long_double): Define as an array of ieee754_double.
22012 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
22013 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
22014 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
22015 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22016 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22017 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
22018 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22019 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
22020 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
22021 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
22022 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
22024 2013-10-03 Joseph Myers <joseph@codesourcery.com>
22026 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
22027 page size instead of calling getpagesize.
22029 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
22030 (LOCFILE_ALIGN_MASK): Likewise.
22031 (LOCFILE_ALIGN_UP): Likewise.
22032 (LOCFILE_ALIGNED_P): Likewise.
22033 * locale/programs/ld-collate.c (collate_output): Use the new
22034 macros instead of __alignof__ (int32_t).
22035 * locale/weight.h (findidx): Likewise.
22037 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
22040 * manual/string.texi: Fix strncat and wcsncat.
22042 2013-10-03 Brooks Moses <bmoses@google.com>
22045 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
22046 * Makerules: ...here, and adjust associated comments.
22048 2013-10-02 Will Newton <will.newton@linaro.org>
22050 * malloc/Makefile: Add tst-pvalloc.
22051 * malloc/tst-pvalloc.c: New file.
22053 2013-10-02 Will Newton <will.newton@linaro.org>
22055 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
22056 improve test coverage.
22058 2013-10-02 Will Newton <will.newton@linaro.org>
22060 * malloc/Makefile: Add tst-posix_memalign.
22061 * malloc/tst-posix_memalign.c: New file.
22063 2013-10-01 Eric Blake <eblake@redhat.com>
22065 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
22066 Use __THROWNL rather than __THROW on static functions.
22068 2013-09-30 Petr Machata <pmachata@redhat.com>
22070 * elf/elf.h (R_AARCH64_ABS16): New macro.
22071 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
22072 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
22073 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
22074 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
22075 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
22076 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
22077 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
22078 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
22079 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
22080 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
22081 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
22082 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
22083 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
22084 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
22085 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
22086 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
22087 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
22088 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
22089 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
22090 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
22091 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
22092 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
22093 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
22094 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
22095 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
22096 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
22097 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
22098 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
22099 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
22100 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
22101 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
22102 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
22103 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
22104 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
22105 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
22106 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
22107 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
22108 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
22109 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
22110 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
22111 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
22112 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
22113 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
22114 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
22115 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
22116 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
22117 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
22118 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
22119 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
22120 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
22121 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
22122 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
22123 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
22124 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
22125 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
22126 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
22127 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
22128 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
22129 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
22130 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
22131 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
22132 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
22133 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
22134 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
22135 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
22136 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
22137 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
22138 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
22139 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
22140 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
22141 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
22142 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
22143 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
22144 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
22145 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
22146 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
22147 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
22148 (R_AARCH64_TLSDESC_LDR): Likewise.
22149 (R_AARCH64_TLSDESC_ADD): Likewise.
22150 (R_AARCH64_TLSDESC_CALL): Likewise.
22152 2013-09-30 Andreas Schwab <schwab@suse.de>
22155 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
22156 the nss database lookup.
22157 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22158 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22160 2013-09-28 Mike Frysinger <vapier@gentoo.org>
22162 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
22164 2013-09-28 P. J. McDermott <pj@pehjota.net>
22166 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
22167 ${Bash-specific parameter/pattern/string} parameter expansion.
22168 * sysdeps/unix/make-syscalls.sh: Likewise.
22170 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22172 * sysdeps/sh/stackguard-macros.h: New file.
22174 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
22176 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
22177 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
22178 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
22179 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
22180 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22181 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
22183 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22185 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
22186 Fix thread ID register.
22188 2013-09-25 Joseph Myers <joseph@codesourcery.com>
22190 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
22191 [POSIX || UNIX98]: Require rather than permitting all symbols from
22193 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
22194 element of struct sched_param.
22195 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
22196 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
22197 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
22198 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
22201 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
22203 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
22204 argument calculation.
22206 2013-09-24 Joseph Myers <joseph@codesourcery.com>
22208 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
22210 [POSIX] (pthread_attr_t): Do not require type.
22211 [POSIX] (pthread_cond_t): Likewise.
22212 [POSIX] (pthread_condattr_t): Likewise.
22213 [POSIX] (pthread_key_t): Likewise.
22214 [POSIX] (pthread_mutex_t): Likewise.
22215 [POSIX] (pthread_mutexattr_t): Likewise.
22216 [POSIX] (pthread_once_t): Likewise.
22217 [POSIX] (pthread_t): Likewise.
22218 [POSIX-based standards] (pthread_atfork): Expect function.
22220 2013-09-24 Joseph Myers <joseph@codesourcery.com>
22221 Richard Sandiford <richard@codesourcery.com>
22223 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
22224 (swap_endianness_p): New extern variable.
22225 (set_big_endian): New inline function.
22226 (maybe_swap_uint32): Likewise.
22227 (maybe_swap_uint32_array): Likewise.
22228 (maybe_swap_uint32_obstack): Likewise.
22229 * locale/programs/locfile.c: Include <stdbool.h>.
22230 (swap_endianness_p): New variable.
22231 (add_locale_uint32): Call maybe_swap_uint32.
22232 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
22233 (write_locale_data): Call maybe_swap_uint32_array.
22234 * locale/programs/ld-collate.c (obstack_int32_grow): Call
22236 (obstack_int32_grow_fast): Likewise.
22237 (output_weightwc): Call maybe_swap_uint32_obstack.
22238 (collate_output): Likewise.
22239 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
22240 (OPT_LITTLE_ENDIAN): Likewise.
22241 (options): Add --little-endian and --big-endian options.
22242 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
22243 * locale/programs/locarchive.c: Include "locfile.h".
22247 (create_archive): Use the new macros to access fields of
22248 structures directly mapped from or written to locale archives.
22249 (oldlocrecentcmp): Likewise.
22250 (enlarge_archive): Likewise.
22251 (insert_name): Likewise.
22252 (add_alias): Likewise.
22253 (add_locale): Likewise.
22254 (delete_locales_from_archive): Likewise.
22255 (show_archive_content): Likewise.
22256 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
22259 2013-09-24 Roland McGrath <roland@hack.frob.com>
22261 * manual/freemanuals.texi: Updated from (newly) canonical copy at
22262 http://www.gnu.org/doc/freemanuals.texi.
22263 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
22265 2013-09-24 Will Newton <will.newton@linaro.org>
22267 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
22270 2013-09-23 Joseph Myers <joseph@codesourcery.com>
22272 * locale/hashval.h (compute_hashval): Interpret bytes of key as
22275 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
22277 * manual/threads.texi (POSIX Threads): Fix a typo.
22279 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
22282 * string/tst-strcoll-overflow.c: New test case.
22283 * string/Makefile (xtests): Add tst-strcoll-overflow.
22284 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
22285 cache if string sizes may cause integer overflow.
22288 * string/strcoll_l.c (coll_seq): New members rule, idx,
22289 save_idx and back_us.
22290 (get_next_seq_nocache): New function.
22291 (do_compare_nocache): New function.
22292 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
22295 2013-09-23 Carlos O'Donell <carlos@redhat.com>
22298 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
22299 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
22300 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
22303 * elf/Makefile (tests): Add tst-ptrguard1.
22304 (tests-static): Add tst-ptrguard1-static.
22305 (tst-ptrguard1-ARGS): Define.
22306 (tst-ptrguard1-static-ARGS): Define.
22307 * elf/tst-ptrguard1.c: New file.
22308 * elf/tst-ptrguard1-static.c: New file.
22309 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
22310 * sysdeps/i386/stackguard-macros.h: Likewise.
22311 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
22312 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
22313 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
22314 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
22315 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
22316 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
22318 2013-09-23 Hector Marco <hecmargi@upv.es>
22319 Ismael Ripoll <iripoll@disca.upv.es>
22320 Carlos O'Donell <carlos@redhat.com>
22323 * sysdeps/generic/stackguard-macros.h: Define
22324 __pointer_chk_guard_local and POINTER_CHK_GUARD.
22325 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
22326 Define __pointer_chk_guard_local.
22327 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
22328 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
22330 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
22333 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
22335 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
22337 * include/string.h (__ffs): Declare as hidden.
22338 * string/ffs.c (__ffs): Define as hidden.
22339 * sysdeps/i386/ffs.c (__ffs): Likewise.
22340 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
22341 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
22342 * sysdeps/s390/ffs.c (__ffs): Likewise.
22343 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
22345 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
22347 * NEWS: Mention malloc probes.
22349 * malloc/arena.c (new_heap): New memory_heap_new probe.
22350 (grow_heap): New memory_heap_more probe.
22351 (shrink_heap): New memory_heap_less probe.
22352 (heap_trim): New memory_heap_free probe.
22353 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
22354 (systrim): New memory_sbrk_less probe.
22355 * manual/probes.texi: Document them.
22357 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
22358 * manual/probes.texi: Document it.
22360 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
22361 (__libc_realloc): Add memory_realloc_retry probe.
22362 (__libc_memalign): Add memory_memalign_retry probe.
22363 (__libc_valloc): Add memory_valloc_retry probe.
22364 (__libc_pvalloc): Add memory_pvalloc_retry probe.
22365 (__libc_calloc): Add memory_calloc_retry probe.
22366 * manual/probes.texi: Document them.
22368 * malloc/arena.c (get_free_list): Add probe
22369 memory_arena_reuse_free_list.
22370 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
22371 and memory_arena_reuse.
22372 (arena_get2) [!PER_THREAD]: Likewise.
22373 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
22374 memory_arena_reuse_realloc.
22375 * manual/probes.texi: Document them.
22377 * malloc/malloc.c (__libc_free): Add
22378 memory_mallopt_free_dyn_thresholds probe.
22379 (__libc_mallopt): Add multiple memory_mallopt probes.
22380 * manual/probes.texi: Document them.
22382 * malloc/malloc.c: Include stap-probe.h.
22383 (__libc_mallopt): Add memory_mallopt probe.
22384 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
22385 * manual/probes.texi: New.
22386 * manual/Makefile (chapters): Add probes.
22387 * manual/threads.texi: Set next node.
22389 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
22391 [BZ #15963, #13985]
22392 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
22393 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
22394 Add `Chinese' to `nan' entry name.
22396 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22398 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
22399 (POLYNOMIAL): Likewise.
22400 (TAYLOR_SINCOS): Likewise.
22401 (TAYLOR_SLOW): Likewise.
22402 (__sin): Use TAYLOR_SINCOS.
22404 (slow): Use TAYLOR_SLOW.
22406 (bsloww): Likewise.
22407 (csloww): Likewise.
22409 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22411 * stdlib/strtod_l.c: Fix buffer overrun.
22413 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22415 * benchtests/Makefile (bench): Add sincos.
22416 * benchtests/bench-sincos.c: New file.
22418 * math/libm-test.inc (cos_test_data): New test inputs.
22419 (sin_test_data): Likewise.
22421 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
22427 (sloww1): Likewise.
22428 (sloww2): Likewise.
22429 (bsloww1): Likewise.
22430 (bsloww2): Likewise.
22431 (cslow2): Likewise.
22432 (csloww1): Likewise.
22433 (csloww2): Likewise.
22435 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
22440 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
22444 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
22446 * config.h.in (HAVE_MIPS_NAN2008): New macro.
22447 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
22448 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
22449 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
22450 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
22451 * elf/cache.c (print_entry): Handle the new cache flags.
22453 2013-09-18 Joseph Myers <joseph@codesourcery.com>
22454 Aldy Hernandez <aldyh@redhat.com>
22456 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
22457 Change condition to [_SOFT_FLOAT].
22458 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
22459 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
22460 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
22461 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
22462 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
22463 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
22464 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
22465 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
22466 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
22467 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
22468 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
22469 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
22470 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
22471 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
22472 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
22473 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
22476 2013-09-18 Joseph Myers <joseph@codesourcery.com>
22478 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
22479 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
22480 (__longjmp): Use LOAD_GP to load saved GPRs.
22481 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
22482 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
22483 (__sigsetjmp): Use SAVE_GP to save GPRs.
22485 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
22486 Do not append -msoft-float.
22487 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
22489 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22491 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
22493 2013-09-17 Joseph Myers <joseph@codesourcery.com>
22496 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
22497 (_FPU_GETCW): Use initial "__" on variable and field names but not
22498 on macro parameter name.
22499 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
22500 parentheses around reference to macro parameter.
22502 2013-09-13 Richard Sandiford <richard@codesourcery.com>
22504 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
22506 (ctype_startup): Use uint32_t in cast and sizeof for
22509 2013-09-11 Jia Liu <proljc@gmail.com>
22511 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
22513 [__FreeBSD__]: Likewise.
22515 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
22517 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
22518 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
22519 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
22520 (strchr): Remove __strchr_sse42 ifunc selection.
22521 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
22522 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
22524 2013-09-11 Will Newton <will.newton@linaro.org>
22526 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
22527 parameter to RES. Remove hardcoded 1000 value.
22528 * benchtests/bench-skeleton.c (main): Pass RES parameter
22529 to TIMING_INIT and multiply result by 1000.
22531 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22533 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22535 2013-09-11 Andreas Schwab <schwab@suse.de>
22537 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
22539 (O_TMPFILE) [__USE_GNU]: Define.
22540 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
22543 2013-09-11 Will Newton <will.newton@linaro.org>
22546 * malloc/malloc.c (__libc_memalign): Check the value of bytes
22549 2013-09-11 Will Newton <will.newton@linaro.org>
22552 * malloc/malloc.c (__libc_valloc): Check the value of bytes
22555 2013-09-11 Will Newton <will.newton@linaro.org>
22558 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
22561 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
22563 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
22564 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22565 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22566 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22567 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22569 2013-09-10 Allan McRae <allan@archlinux.org>
22572 * manual/arith.texi (Parsing of Floats): Clarify
22576 * manual/install.texi (Running make install): Mention
22578 * INSTALL: Regenerated.
22580 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
22582 * csu/init-first.c (_init): Remove the !SHARED condition around
22583 FPU control word initialization.
22584 * elf/dl-support.c (_dl_fpu_control): New variable.
22585 (_dl_aux_init) <AT_FPUCW>: Initialize it.
22586 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
22587 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
22588 * math/test-fpucw-static.c: New file.
22589 * math/test-fpucw-ieee.c: New file.
22590 * math/test-fpucw-ieee-static.c: New file.
22591 * math/Makefile (tests): Add `test-fpucw-ieee' and
22593 (tests-static): New variable.
22594 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
22596 [($(build-shared),yes)]
22597 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
22599 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
22602 2013-09-09 Allan McRae <allan@archlinux.org>
22605 * manual/string.texi (Collation Functions): Fix typo in
22607 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
22610 * stdlib/isomac.c (get_null_defines): Fix memory leak.
22613 * libio/memstream.c (open_memstream): Fix memory leak.
22614 * libio/wmemstream.c (open_wmemstream): Likewise.
22617 * nscd/netgroupcache.c: Fix nesting of ifdefs.
22619 2013-09-09 Will Newton <will.newton@linaro.org>
22621 * malloc/Makefile: Add tst-realloc to tests.
22622 * malloc/tst-realloc.c: New file.
22624 2013-09-09 Allan McRae <allan@archlinux.org>
22627 * COPYING: Update from GNU website to fix FSF address.
22628 * COPYING.LIB: Likewise.
22630 2013-09-06 David S. Miller <davem@davemloft.net>
22632 * po/zh_TW.po: Update Chinese (traditional) translation from
22633 translation project.
22635 2013-09-06 Richard Sandiford <richard@codesourcery.com>
22636 Joseph Myers <joseph@codesourcery.com>
22638 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
22640 (obstack_chunk_alloc): New macro.
22641 (obstack_chunk_free): Likewise.
22642 (record_offset): New function.
22643 (init_locale_data): Likewise.
22644 (align_locale_data): Likewise.
22645 (add_locale_empty): Likewise.
22646 (add_locale_raw_data): Likewise.
22647 (add_locale_raw_obstack): Likewise.
22648 (add_locale_string): Likewise.
22649 (add_locale_wstring): Likewise.
22650 (add_locale_uint32): Likewise.
22651 (add_locale_uint32_array): Likewise.
22652 (add_locale_char): Likewise.
22653 (start_locale_structure): Likewise.
22654 (end_locale_structure): Likewise.
22655 (start_locale_prelude): Likewise.
22656 (end_locale_prelude): Likewise.
22657 (write_locale_data): Take locale_file structure rather than an
22659 * locale/programs/locfile.h: Include "obstack.h".
22660 (struct locale_file): Change to store locale file contents instead
22662 (init_locale_data): New prototype.
22663 (align_locale_data): Likewise.
22664 (add_locale_empty): Likewise.
22665 (add_locale_raw_data): Likewise.
22666 (add_locale_raw_obstack): Likewise.
22667 (add_locale_string): Likewise.
22668 (add_locale_wstring): Likewise.
22669 (add_locale_uint32): Likewise.
22670 (add_locale_uint32_array): Likewise.
22671 (add_locale_char): Likewise.
22672 (start_locale_structure): Likewise.
22673 (end_locale_structure): Likewise.
22674 (start_locale_prelude): Likewise.
22675 (end_locale_prelude): Likewise.
22676 (write_locale_data): Update prototype.
22677 * locale/programs/3level.h (struct TABLE): Remove result field.
22678 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
22679 Use new locale_file interface.
22680 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
22681 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
22682 * locale/programs/ld-address.c (address_output): Use new
22683 locale_file interface.
22684 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
22686 (collate_finish): Don't call collseq_table_finalize.
22687 (collate_output): Use new locale_file interface.
22688 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
22690 (NO_FINALIZE): Change to NO_ADD_LOCALE.
22691 (TABLE): Move defines earlier in file.
22692 (ELEMENT): Likewise.
22693 (DEFAULT): Likewise.
22694 (wctrans_table_add): Move macro and inline function earlier in
22696 (struct wctype_table): Move type earlier in file.
22697 (add_locale_wctype_table): New static prototype.
22698 (struct locale_ctype_t): Use logical types instead of struct iovec
22699 pointers for members.
22700 (ctype_output): Use new locale_file interface.
22701 (wctype_table_finalize): Change to add_locale_wctype_table. Use
22702 new locale_file interface.
22703 (allocate_arrays): Update for use of new locale_file interface.
22704 * locale/programs/ld-identification.c (identification_output): Use
22705 new locale_file interface.
22706 * locale/programs/ld-measurement.c (measurement_output): Likewise.
22707 * locale/programs/ld-messages.c (messages_output): Likewise.
22708 * locale/programs/ld-monetary.c (monetary_output): Likewise.
22709 * locale/programs/ld-name.c (name_output): Likewise.
22710 * locale/programs/ld-numeric.c (numeric_output): Likewise.
22711 * locale/programs/ld-paper.c (paper_output): Likewise.
22712 * locale/programs/ld-telephone.c (telephone_output): Likewise.
22713 * locale/programs/ld-time.c (time_output): Likewise.
22715 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22717 * benchtests/Makefile: Add memrchr benchmark.
22718 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
22719 benchmark as memrchr.
22720 * benchtests/bench-memrchr-ifunc.c: New file.
22721 * benchtests/bench-memrchr.c: New file.
22723 2013-09-06 Will Newton <will.newton@linaro.org>
22725 * benchtests/Makefile (string-bench): Add memcpy.
22727 2013-09-05 Carlos O'Donell <carlos@redhat.com>
22728 Cong Wang <amwang@redhat.com>
22731 * sysdeps/unix/sysv/linux/bits/in.h
22732 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
22733 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
22734 before __USE_KERNEL_IPV6_DEFS uses.
22735 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
22737 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
22738 sockaddr_in6, or ipv6_mreq.
22740 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22742 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
22743 memory access for final bytes in some large inputs.
22744 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
22746 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22748 * string/test-memrchr.c: New file.
22749 * string/test-memrchr-ifunc.c: New file.
22750 * string/Makefile: Add new memrchr testcase.
22752 2013-09-05 Mike Frysinger <vapier@gentoo.org>
22754 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
22755 fanotify_init returns EPERM.
22757 2013-09-04 Joseph Myers <joseph@codesourcery.com>
22759 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
22761 (top level): Treat second token from macro or constant entries for
22762 allowed headers as allowed.
22763 * include/complex.h: Condition internal declarations on
22765 * include/fenv.h: Condition include of <stdbool.h> and internal
22766 declarations on [!_ISOMAC].
22768 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
22771 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
22773 2013-09-04 Joseph Myers <joseph@codesourcery.com>
22775 * configure.in (--enable-versioning): Remove configure option.
22776 (libc_cv_asm_symver_directive): Remove configure test.
22777 (libc_cv_ld_version_script_option): Likewise.
22778 (VERSIONING): Remove variable and AC_SUBST.
22779 (DO_VERSIONING): Remove AC_DEFINE.
22780 * configure: Regenerated.
22781 * config.h.in (DO_VERSIONING): Remove macro.
22782 * Makerules [$(versioning) = yes]: Change conditionals to
22783 [$(build-shared) = yes].
22784 * config.make.in (versioning): Remove variable.
22785 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
22786 [$(build-shared) = yes].
22787 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
22788 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
22789 * elf/Makefile [$(versioning) = yes]: Change conditionals to
22790 [$(build-shared) = yes].
22791 * extra-lib.mk [$(versioning) = yes]: Likewise.
22792 * hurd/Makefile [$(versioning) = yes]: Likewise.
22793 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
22795 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
22797 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
22798 [SHARED && !NO_HIDDEN].
22799 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
22801 [SHARED && DO_VERSIONING]: Likewise..
22802 * libio/Makefile [$(versioning) = yes]: Change conditionals to
22803 [$(build-shared) = yes].
22804 * manual/install.texi (--disable-versioning): Remove
22806 * INSTALL: Regenerated.
22807 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
22809 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
22810 [$(build-shared) = yes].
22811 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
22812 * sysdeps/i386/i686/multiarch/strstr-c.c
22813 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
22814 [SHARED && !NO_HIDDEN].
22815 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
22816 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
22817 * sysdeps/powerpc/powerpc32/dl-machine.c
22818 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
22819 * sysdeps/powerpc/powerpc32/sysdep.h
22820 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
22821 to [SHARED && PIC && !NO_HIDDEN].
22822 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
22823 conditional to [SHARED].
22825 2013-09-04 Will Newton <will.newton@linaro.org>
22827 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
22828 * benchtests/bench-string.h: Include bench-timing.h instead
22829 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
22830 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
22831 call to HP_TIMING_DIFF_INIT.
22832 * benchtests/bench-memccpy.c: Use bench-timing.h macros
22833 instead of hp-timing.h macros.
22834 * benchtests/bench-memchr.c: Likewise.
22835 * benchtests/bench-memcmp.c: Likewise.
22836 * benchtests/bench-memcpy.c: Likewise.
22837 * benchtests/bench-memmem.c: Likewise.
22838 * benchtests/bench-memmove.c: Likewise.
22839 * benchtests/bench-memset.c: Likewise.
22840 * benchtests/bench-rawmemchr.c: Likewise.
22841 * benchtests/bench-strcasecmp.c: Likewise.
22842 * benchtests/bench-strcasestr.c: Likewise.
22843 * benchtests/bench-strcat.c: Likewise.
22844 * benchtests/bench-strchr.c: Likewise.
22845 * benchtests/bench-strcmp.c: Likewise.
22846 * benchtests/bench-strcpy.c: Likewise.
22847 * benchtests/bench-strcpy_chk.c: Likewise.
22848 * benchtests/bench-strlen.c: Likewise.
22849 * benchtests/bench-strncasecmp.c: Likewise.
22850 * benchtests/bench-strncat.c: Likewise.
22851 * benchtests/bench-strncmp.c: Likewise.
22852 * benchtests/bench-strncpy.c: Likewise.
22853 * benchtests/bench-strnlen.c: Likewise.
22854 * benchtests/bench-strpbrk.c: Likewise.
22855 * benchtests/bench-strrchr.c: Likewise.
22856 * benchtests/bench-strspn.c: Likewise.
22857 * benchtests/bench-strstr.c: Likewise.
22859 2013-09-04 Will Newton <will.newton@linaro.org>
22861 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
22863 2013-09-03 Joseph Myers <joseph@codesourcery.com>
22866 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
22867 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
22868 * math/libm-test.inc (lgamma_test_data): Add more tests.
22869 * sysdeps/i386/fpu/libm-test-ulps: Update.
22870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22872 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
22874 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
22875 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22877 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22878 Add strcmp-sse2-unaligned
22879 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
22881 2013-09-02 Mike Frysinger <vapier@gentoo.org>
22883 * Versions.def (libc): Add GLIBC_2.19.
22885 2013-09-02 Mike Frysinger <vapier@gentoo.org>
22887 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
22888 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
22890 2013-09-02 Joseph Myers <joseph@codesourcery.com>
22893 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
22894 intermediate calculations in recurrence.
22895 (__ieee754_ynf): Likewise.
22896 * math/libm-test.inc (jn_test_data): Do not allow spurious
22897 underflow exception. Add more tests.
22898 (yn_test_data): Add more tests.
22899 * sysdeps/i386/fpu/libm-test-ulps: Update.
22900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22902 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
22904 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
22906 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
22908 * csu/init-first.c: Fix then/than typos.
22909 * locale/programs/ld-collate.c: Likewise.
22910 * locale/programs/linereader.h: Likewise.
22911 * manual/charset.texi: Likewise.
22912 * manual/filesys.texi: Likewise.
22913 * manual/stdio.texi: Likewise.
22914 * manual/string.texi: Likewise.
22915 * stdlib/fmtmsg.c: Likewise.
22916 * sysdeps/i386/stpncpy.S: Likewise.
22917 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22918 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22919 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22920 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22922 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
22924 * elf/dl-open.c: Fix typos.
22925 * iconvdata/gbbig5.c: Likewise.
22926 * iconvdata/iso-2022-jp.c: Likewise.
22927 * iconv/gconv_int.h: Likewise.
22928 * iconv/loop.c: Likewise.
22929 * nis/rpcsvc/nis.h: Likewise.
22930 * resolv/ns_name.c: Likewise.
22931 * stdio-common/vfscanf.c: Likewise.
22932 * streams/stropts.h: Likewise.
22933 * sunrpc/rpc_thread.c: Likewise.
22934 * sysdeps/i386/strpbrk.S: Likewise.
22935 * sysdeps/ieee754/k_standard.c: Likewise.
22936 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22937 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22938 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
22939 * sysdeps/mach/hurd/profil.c: Likewise.
22940 * sysdeps/s390/dl-procinfo.h: Likewise.
22941 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
22942 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
22943 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
22944 * sysdeps/x86_64/dl-trampoline.S: Likewise.
22945 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22947 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
22949 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
22950 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
22952 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
22954 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
22955 aix specific files.
22956 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
22957 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
22958 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
22959 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
22960 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
22961 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
22962 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
22963 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
22965 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
22966 Roland McGrath <roland@hack.frob.com>
22968 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
22969 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
22971 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
22973 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
22974 __executable_start symbol instead of _start.
22976 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
22978 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
22979 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
22981 * sysdeps/gnu/ldsodefs.h: ... this new file.
22983 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
22984 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
22985 instead of ELFOSABI_LINUX.
22987 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
22988 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
22989 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
22990 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
22992 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
22993 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
22994 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
22996 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
22997 (ibm_extended_long_double): Add ieee_nan member.
22998 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
22999 (do_test): New function.
23001 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
23003 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
23004 functions, renamed from truncdfsf_test, trunctfsf_test,
23006 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
23008 (do_test): Run all these.
23010 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
23012 * argp/argp-help.c: Fix typos.
23013 * argp/argp-parse.c: Likewise.
23014 * debug/backtracesyms.c: Likewise.
23015 * elf/elf.h: Likewise.
23016 * malloc/malloc.c: Likewise.
23017 * nis/nis_print.c: Likewise.
23018 * resolv/res_comp.c: Likewise.
23019 * stdlib/stdlib.h: Likewise.
23020 * sunrpc/clnt_tcp.c: Likewise.
23021 * sunrpc/clnt_udp.c: Likewise.
23022 * sunrpc/clnt_unix.c: Likewise.
23023 * sysdeps/unix/bsd/ptsname.c: Likewise.
23024 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
23025 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
23026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
23028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
23030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
23032 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
23034 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23036 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
23037 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23039 2013-08-27 Mike Frysinger <vapier@gentoo.org>
23042 * dlfcn/Makefile (tests): Add bug-dl-leaf.
23043 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
23044 ($(objpfx)bug-dl-leaf): New rule.
23045 ($(objpfx)bug-dl-leaf.so): Likewise.
23046 ($(objpfx)bug-dl-leaf.out): Likewise.
23047 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
23048 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
23049 * dlfcn/bug-dl-leaf.c: New test.
23050 * dlfcn/bug-dl-leaf-lib.c: Likewise.
23051 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
23052 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
23053 (dlclose): Likewise.
23054 (dlmopen): Likewise.
23056 2013-08-27 Roland McGrath <roland@hack.frob.com>
23058 * include/netdb.h [!_ISOMAC]:
23059 Don't include <tls.h>.
23060 (h_errno, __libc_h_errno): Move declaration and macros out of
23063 * include/resolv.h [_RESOLV_H_]:
23064 Don't include <tls.h>.
23065 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
23066 * resolv/res_libc.c: Don't include <tls.h>.
23067 (_res): Use __attribute__ ((nocommon)) in place of
23068 __attribute__ ((section (".bss"))).
23070 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
23071 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
23073 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
23075 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
23076 only under [SIOCGIFCONF && SIOCGIFNETMASK].
23078 * resolv/res_mkquery.c: Include <sys/time.h>.
23080 * inet/ifreq.c: Moved to ...
23081 * sysdeps/unix/ifreq.c: ... here.
23082 * inet/ifreq.c: New file, true stub version.
23084 * socket/sa_len.c: New file.
23085 * socket/Makefile (aux): Add it.
23086 * sysdeps/unix/sysv/linux/Makefile
23087 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
23088 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
23089 and #include <socket/sa_len.c>.
23090 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
23091 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
23093 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
23094 * bits/socket.h: ... here.
23096 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
23097 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
23098 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
23100 2013-08-27 Andreas Schwab <schwab@suse.de>
23103 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
23104 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
23105 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
23106 * string/test-strcasecmp.c (test_main): Run tests in several
23108 * string/test-strncasecmp.c (test_main): Likewise.
23110 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
23111 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
23112 to __strcasecmp_nonascii and __strncasecmp_nonascii.
23113 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
23114 (__strncasecmp_ssse3) [PIC]: Likewise.
23116 2013-08-26 Roland McGrath <roland@hack.frob.com>
23118 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
23120 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
23121 instead of explicitly declaring xdecrypt.
23122 * nis/nss_nis/nis-publickey.c: Likewise.
23124 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23127 * nscd/aicache.c: Include res_hconf.h.
23128 (addhstaiX): Initialize res_hconf.
23130 2013-08-26 Andreas Schwab <schwab@suse.de>
23132 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
23133 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
23135 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23137 * nscd/aicache.c (addhstaiX): Fix indentation.
23139 2013-08-25 Mike Frysinger <vapier@gentoo.org>
23141 * configure.ac: Quote $build_pt_chown test.
23142 * configure: Regenerated.
23144 2013-08-23 Joseph Myers <joseph@codesourcery.com>
23147 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
23148 * math/s_cexpf.c (__cexpf): Likewise.
23149 * math/s_cexpl.c (__cexpl): Likewise.
23150 * math/libm-test.inc (cexp_test_data): Correct expected return
23151 value for NaN + i0. Add another test.
23153 2013-08-22 David S. Miller <davem@davemloft.net>
23155 * po/ca.po: Update Catalan translation from translation project.
23156 * po/uk.po: Add Ukrainian translations from translation project.
23158 2013-08-21 Joseph Myers <joseph@codesourcery.com>
23161 * math/s_fdim.c (__fdim): Check for infinite arguments if result
23162 is infinite, not alongside NaN test.
23163 * math/s_fdimf.c (__fdimf): Likewise.
23164 * math/s_fdiml.c (__fdiml): Likewise.
23165 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
23166 errno is unchanged.
23168 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
23170 * argp/argp-help.c: Fix typos.
23171 * crypt/speeds.c: Likewise.
23172 * csu/check_fds.c: Likewise.
23173 * elf/dl-load.c: Likewise.
23174 * elf/dl-open.c: Likewise.
23175 * elf/reldep3.c: Likewise.
23176 * elf/reldep.c: Likewise.
23177 * elf/sprof.c: Likewise.
23178 * iconv/iconv_charmap.c: Likewise.
23179 * iconv/skeleton.c: Likewise.
23180 * iconv/strtab.c: Likewise.
23181 * io/lockf64.c: Likewise.
23182 * libio/libioP.h: Likewise.
23183 * resolv/gai_notify.c: Likewise.
23184 * resolv/ns_name.c: Likewise.
23185 * resolv/ns_samedomain.c: Likewise.
23186 * resolv/res_send.c: Likewise.
23187 * stdlib/random.c: Likewise.
23188 * sunrpc/rpc/xdr.h: Likewise.
23189 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
23190 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
23191 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23192 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23193 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23194 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
23195 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
23196 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
23197 * sysdeps/mach/hurd/check_fds.c: Likewise.
23198 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
23199 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23200 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23201 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
23202 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23203 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
23204 * sysdeps/pthread/aio_notify.c: Likewise.
23205 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
23206 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
23207 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
23208 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23209 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
23211 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23213 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
23214 version if bit_Slow_SSE4_2 is set.
23215 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23216 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23218 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23221 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
23222 trampoline stack frame information.
23223 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
23224 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
23225 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
23226 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
23227 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
23228 * sysdeps/unix/sysv/linux/powerpc/init-first.c
23229 (_libc_vdso_platform_setup): Initialize the signal trampolines.
23230 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
23232 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
23233 interrupting a syscall and set with option SA_SIGINFO.
23235 2013-08-20 Joseph Myers <joseph@codesourcery.com>
23238 * math/s_cproj.c (__cproj): Only return an infinity if one part of
23239 argument is infinite.
23240 * math/s_cprojf.c (__cprojf): Likewise.
23241 * math/s_cprojl.c (__cprojl): Likewise.
23242 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
23243 * math/libm-test.inc (cproj_test_data): Add more tests.
23245 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
23247 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
23248 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
23249 size. Use __ffs to determine corresponding shift.
23251 2013-08-20 Joseph Myers <joseph@codesourcery.com>
23252 Roland McGrath <roland@hack.frob.com>
23254 * Makefile (INSTALL): Remove trailing blank lines from output of
23257 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23259 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
23260 Align 32 bit compat elf_greg to 8 bytes.
23262 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
23264 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
23266 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23268 * string/strcoll_l.c (coll_seq): New structure.
23269 (get_next_seq_cached): New function.
23270 (get_next_seq): New function.
23271 (do_compare): New function.
23272 (STRCOLL): Use GNU style definition. Simplify implementation
23273 by using get_next_seq, get_next_seq_cached and do_compare.
23275 2013-08-16 Florian Weimer <fweimer@redhat.com>
23279 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
23281 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
23283 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
23284 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
23285 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
23287 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
23288 GETDENTS_64BIT_ALIGNED.
23289 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
23290 * manual/filesys.texi (Reading/Closing Directory): Document
23291 ENAMETOOLONG return value of readdir_r. Recommend readdir more
23293 * manual/conf.texi (Limits for Files): Add portability note to
23294 NAME_MAX, PATH_MAX.
23295 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
23297 2013-08-13 Andreas Schwab <schwab@suse.de>
23300 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
23302 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
23303 LDBL_MAX_EXP >= 16384]: Add tests for it.
23305 2013-08-12 David S. Miller <davem@davemloft.net>
23307 * version.h (RELEASE): Set to "development".
23308 (VERSION): Set to "2.18.90".
23309 * NEWS: Add 2.19 section.
23311 2013-08-03 David S. Miller <davem@davemloft.net>
23313 * po/ko.po: Update Korean translation from translation project.
23315 2013-08-01 David S. Miller <davem@davemloft.net>
23317 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
23318 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
23321 2013-07-30 David S. Miller <davem@davemloft.net>
23323 * po/fr.po: Update French translation from translation project.
23325 2013-07-28 David S. Miller <davem@davemloft.net>
23327 * po/cs.po: Update Czech translation from translation project.
23329 * po/sv.po: Update Swedish translation from translation project.
23331 2013-07-27 David S. Miller <davem@davemloft.net>
23333 * po/eo.po: Update Esperanto translation from translation project.
23335 * po/vi.po: Update Vietnamese translation from translation project.
23337 * po/de.po: Update German translation from translation project.
23339 2013-07-26 David S. Miller <davem@davemloft.net>
23341 * po/bg.po: Update Bulgarian translation from translation project.
23343 * po/nl.po: Update Dutch translation from translation project.
23344 * po/pl.po: Update Polish translation from translation project.
23345 * po/ru.po: Update Russian translation from translation project.
23347 2013-07-24 David S. Miller <davem@davemloft.net>
23349 * po/libc.pot: Update.
23351 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23353 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
23354 variable page size.
23355 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
23356 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
23357 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
23359 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23361 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
23363 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23364 Andreas Schwab <schwab@suse.de>
23365 Roland McGrath <roland@hack.frob.com>
23366 Joseph Myers <joseph@codesourcery.com>
23367 Carlos O'Donell <carlos@redhat.com>
23370 * config.h.in: Define HAVE_PT_CHOWN.
23371 * config.make.in (build-pt-chown): New variable.
23372 * configure.in (--enable-pt_chown): New configure option.
23373 * configure: Regenerate.
23374 * login/Makefile: Include Makeconfig. Build pt_chown only if
23375 build-pt-chown is enabled.
23376 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
23377 pt_chown to fix pty ownership.
23378 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
23380 * manual/install.texi (Configuring and compiling): Mention
23381 --enable-pt_chown. Add @findex for grantpt.
23382 * INSTALL: Regenerate.
23384 2013-07-20 David S. Miller <davem@davemloft.net>
23386 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
23387 difference between 32-bit and 64-bit.
23389 2013-07-15 Carlos O'Donell <carlos@redhat.com>
23392 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
23393 Avoid system header dependency with -ffreestanding.
23394 ($(objpfx)bits/syscall%d): Likewise.
23396 2013-07-13 David S. Miller <davem@davemloft.net>
23398 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
23399 underflows from atanl/atan2l due to bug 15319.
23400 (casinh_test_data): Likewise.
23402 2013-07-07 David S. Miller <davem@davemloft.net>
23404 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
23406 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
23408 * sysdeps/i386/fpu/libm-test-ulps: Update.
23409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23411 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23413 * configure.in (--enable-lock-elision): Fix message text.
23414 * INSTALL: Regenerate.
23415 * configure: Regenerate.
23417 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23419 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23421 2013-07-03 Andreas Jaeger <aj@suse.de>
23423 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
23425 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
23426 (ptrace_peeksiginfo_args): Add.
23427 (__ptrace_peeksiginfo_flags): Add.
23428 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23429 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23430 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23432 2013-07-03 Allan McRae <allan@archlinux.org>
23434 * sysdeps/i386/fpu/libm-test-ulps: Update.
23436 2013-07-02 David S. Miller <davem@davemloft.net>
23438 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23440 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
23442 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23444 2013-07-02 Joseph Myers <joseph@codesourcery.com>
23446 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23449 2013-07-02 Andi Kleen <ak@linux.intel.com>
23451 * config.h.in (ENABLE_LOCK_ELISION): Add.
23452 * configure.in (--enable-lock-elision): Add option.
23453 * manual/install.texi: Document --enable lock elision.
23454 * configure: Regenerate
23455 * INSTALL: Regenerate.
23457 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
23459 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
23460 SSE4.2 strcasecmp for libc.a.
23461 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
23463 2013-07-02 Joseph Myers <joseph@codesourcery.com>
23466 * soft-fp/op-common.h (_FP_FMA): New macro.
23467 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
23468 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
23469 (_FP_MUL_MEAT_1_imm): ... here.
23470 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
23471 (_FP_MUL_MEAT_1_wide): ... here.
23472 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
23473 (_FP_MUL_MEAT_1_hard): ... here.
23474 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
23475 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
23476 (_FP_MUL_MEAT_2_wide): ... here.
23477 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
23478 (_FP_MUL_MEAT_2_wide_3mul): ... here.
23479 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
23480 (_FP_MUL_MEAT_2_gmp): ... here.
23481 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
23482 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
23483 (_FP_MUL_MEAT_4_wide): ... here.
23484 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
23485 (_FP_MUL_MEAT_4_gmp): ... here.
23486 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
23487 (_FP_WFRACBITS_DW_S): Likewise.
23488 (_FP_WFRACXBITS_DW_S): Likewise.
23489 (_FP_HIGHBIT_DW_S): Likewise.
23490 (FP_FMA_S): Likewise.
23491 (_FP_FRAC_HIGH_DW_S): Likewise.
23492 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
23493 (_FP_WFRACBITS_DW_D): Likewise.
23494 (_FP_WFRACXBITS_DW_D): Likewise.
23495 (_FP_HIGHBIT_DW_D): Likewise.
23496 (FP_FMA_D): Likewise.
23497 (_FP_FRAC_HIGH_DW_D): Likewise.
23498 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
23499 (_FP_WFRACBITS_DW_E): Likewise.
23500 (_FP_WFRACXBITS_DW_E): Likewise.
23501 (_FP_HIGHBIT_DW_E): Likewise.
23502 (FP_FMA_E): Likewise.
23503 (_FP_FRAC_HIGH_DW_E): Likewise.
23504 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
23505 (_FP_WFRACBITS_DW_Q): Likewise.
23506 (_FP_WFRACXBITS_DW_Q): Likewise.
23507 (_FP_HIGHBIT_DW_Q): Likewise.
23508 (FP_FMA_Q): Likewise.
23509 (_FP_FRAC_HIGH_DW_Q): Likewise.
23510 * soft-fp/fmasf4.c: New file.
23511 * soft-fp/fmadf4.c: Likewise.
23512 * soft-fp/fmatf4.c: Likewise.
23514 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23516 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
23517 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
23519 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
23521 (index_Slow_SSE4_2): Likewise.
23522 (index_Prefer_PMINUB_for_stringop): Likewise.
23523 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
23524 bit_Slow_SSE4_2 is set.
23525 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23526 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23528 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23530 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
23531 rtld_global._dl_hwcap2.
23532 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
23534 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
23535 POWER8 feature descriptions defined in _dl_hwcap2.
23536 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
23537 string handling for POWER8 feature bits.
23538 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
23539 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
23540 _dl_powerpc_cap_flags.
23541 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
23542 * sysdeps/powerpc/rtld-global-offsets.sym
23543 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
23544 _dl_hwcap2 in the rtld_global_ro structure.
23546 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23548 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
23549 hardware capabilities in support of AT_HWCAP2.
23550 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
23551 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
23553 (_dl_show_auxv): Add support for calling _dl_procinfo to display
23554 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
23555 explicitly the unknown a_type display mechanism is used.
23556 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
23557 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
23559 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
23560 to macro prototype for AT_HWCAP2 support.
23561 * sysdeps/i386/dl-procinfo.h: Likewise.
23562 * sysdeps/s390/dl-procinfo.h: Likewise.
23563 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
23564 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
23565 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
23566 return -1 for unknown a_type display fallback.
23567 * sysdeps/sparc/dl-procinfo.h: Likewise.
23568 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
23569 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
23571 2013-06-28 Joseph Myers <joseph@codesourcery.com>
23573 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
23574 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
23576 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
23579 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
23580 mprotect making __stack_prot writable.
23582 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
23583 Joseph Myers <joseph@codesourcery.com>
23585 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
23586 as being properly aligned.
23588 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
23590 * dlfcn/modstatic5.c: New file.
23591 * dlfcn/tststatic5.c: New file.
23592 * dlfcn/Makefile (tests): Add tststatic5.
23593 (tests-static): Likewise.
23594 (modules-names): Add modstatic5.
23595 (tststatic5-ENV): New variable.
23596 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
23599 * elf/dl-support.c (_dl_main_map): New variable.
23600 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
23601 (_dl_nns, _dl_load_adds): Set to 1.
23602 (_dl_initial_searchlist): Refer to _dl_main_map.
23603 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
23604 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
23605 call to _dl_get_origin.
23606 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
23608 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
23609 * dlfcn/modstatic3.c: New file.
23610 * dlfcn/tststatic3.c: New file.
23611 * dlfcn/tststatic4.c: New file.
23612 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
23613 (tests-static): Likewise.
23614 (modules-names): Add modstatic3.
23615 (tststatic3-ENV, tststatic4-ENV): New variables.
23616 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
23617 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
23619 2013-06-26 Joseph Myers <joseph@codesourcery.com>
23621 * configure.in (CC): Require GCC version 4.4 or later.
23622 * configure: Regenerated.
23623 * manual/install.texi (Tools for Compilation): Update GCC version
23625 * INSTALL: Regenerated.
23627 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23630 * string/test-memcmp.c (check2): New.
23631 (main): Call check2.
23633 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
23635 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
23638 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
23640 (dl_open_worker) [!SHARED]: ... here.
23642 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23644 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
23646 2013-06-25 Richard Henderson <rth@redhat.com>
23648 * locale/programs/locarchive.c: Include <libc-internal.h>
23650 2013-06-25 Joseph Myers <joseph@codesourcery.com>
23652 * manual/texinfo.tex: Update to version 2013-06-21.17, with
23653 trailing whitespace removed.
23655 2013-06-24 Mike Frysinger <vapier@gentoo.org>
23658 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
23659 * locale/programs/locarchive.c: Include libc-mmap.h.
23660 (prepare_address_space): Take two new outputs (the mmap base and len).
23661 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
23663 (create_archive): Declare new mmap base and len values for
23664 prepare_address_space, and store the result in ah.
23665 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
23666 (enlarge_archive): If ah->mmap_base is not NULL, use that and
23667 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
23668 Declare new mmap base and len values for
23669 prepare_address_space, and store the result in new_ah.
23670 (open_archive): Declare new mmap base and len values for
23671 prepare_address_space, and store the result in ah.
23672 (close_archive): If ah->mmap_base is not NULL, use that and
23673 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
23674 * sysdeps/generic/libc-mmap.h: New file.
23676 2013-06-24 Mike Frysinger <vapier@gentoo.org>
23678 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
23679 (ALIGN_UP): Likewise.
23680 (PTR_ALIGN_DOWN): Likewise.
23681 (PTR_ALIGN_UP): Likewise.
23683 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23685 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
23686 entry mapped to PPC_PLATFORM_POWER8.
23687 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
23689 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
23690 (_dl_string_platform): Add case for exporting platform position for
23692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
23693 search path to sysdeps/powerpc/powerpc32/power8 directory.
23694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
23695 search path to sysdeps/powerpc/powerpc64/power8 directory.
23696 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
23697 power7 directories.
23698 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
23699 power7 directories.
23701 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23703 * INSTALL: Regenerate.
23705 * nscd/connections.c (nscd_init): Fix comment.
23707 2013-06-22 Joseph Myers <joseph@codesourcery.com>
23709 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
23712 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
23713 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
23715 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
23717 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
23719 (DL_DST_REQ_STATIC): Remove macro.
23721 2013-06-21 Joseph Myers <joseph@codesourcery.com>
23724 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
23725 with a shift of 0 bits.
23727 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
23729 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
23732 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23735 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
23737 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23739 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
23740 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
23741 accepts -fno-tree-loop-distribute-patterns.
23742 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
23743 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
23745 * string/memset.c (memset): Likewise.
23746 * string/test-memmove.c (simple_memmove): Disable loop transformation
23748 * string/test-memset.c (simple_memset): Likewise.
23749 * benchtests/bench-memmove.c (simple_memmove): Likewise.
23750 * benchtests/bench-memset.c (simple_memset): Likewise.
23751 * configure: Regenerated.
23753 2013-06-20 Joseph Myers <joseph@codesourcery.com>
23755 * math/test-misc.c (main): Ignore fesetround failure when failures
23756 of subsequent rounding tests would be ignored.
23759 * math/fedisblxcpt.c (fedisableexcept): Return 0.
23760 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
23761 * math/fegetenv.c (__fegetenv): Return 0.
23762 * math/fegetexcept.c (fegetexcept): Return 0.
23763 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
23765 * math/feholdexcpt.c (feholdexcept): Return 0.
23766 * math/fesetenv.c (__fesetenv): Return 0.
23767 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
23768 argument FE_TONEAREST.
23769 * math/feupdateenv.c (__feupdateenv): Return 0.
23770 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
23772 2013-06-18 Roland McGrath <roland@hack.frob.com>
23774 * elf/rtld-Rules (rtld-compile-command.S): New variable.
23775 (rtld-compile-command.s, rtld-compile-command.c): New variables.
23776 ($(objpfx)rtld-%.os rules): Use them.
23778 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23780 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
23783 2013-06-17 Roland McGrath <roland@hack.frob.com>
23785 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
23786 length of target pattern, then descending length of dependency pattern.
23787 * configure.in (AWK): Require gawk 3.1.2 or newer.
23788 * manual/install.texi (Tools for Compilation): Say that we do.
23789 * configure: Regenerated.
23791 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
23792 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
23793 * scripts/sysd-rules.awk: ... this new script.
23794 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
23795 than a glob-style pattern.
23797 2013-06-17 Joseph Myers <joseph@codesourcery.com>
23799 * math/test-misc.c (main): Do not treat incorrectly rounded
23800 conversions as failure unless ROUNDING_TESTS passes.
23802 2013-06-15 Joseph Myers <joseph@codesourcery.com>
23805 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
23806 restore exception state around main square root computation, then
23807 check for inexactness explicitly.
23809 * math/libm-test.inc (fma_test_data): Add another test.
23811 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23813 * manual/threads.texi (Non-POSIX Extensions): New document
23814 node. Document pthread_getattr_default_np and
23815 pthread_setattr_default_np.
23817 * Versions.def (libpthread): Add GLIBC_2.18.
23818 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
23819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
23821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23823 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23825 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23827 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
23829 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23831 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23833 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
23835 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23838 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23840 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23841 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
23843 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23844 H.J. Lu <hjl.tools@gmail.com>
23847 * sysdeps/x86_64/rtld-memset.c: Remove file.
23848 * sysdeps/x86_64/rtld-memset.S: New file.
23850 2013-06-14 Joseph Myers <joseph@codesourcery.com>
23852 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
23853 (test_in_one_mode): Take arguments for whether the rounding mode
23854 is supported for each floating-point type.
23855 (do_test): Pass new arguments to test_in_one_mode using
23858 2013-06-13 Roland McGrath <roland@hack.frob.com>
23860 * posix/tst-waitid.c (do_test): Distinguish different instances of
23861 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
23862 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
23863 before entering the kernel for waitpid.
23865 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23867 * NEWS: Fix note on clock function precision. Text by Roland
23870 2013-06-13 Roland McGrath <roland@hack.frob.com>
23872 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
23873 it into place only when and if the sanity check passes.
23875 2013-06-13 Joseph Myers <joseph@codesourcery.com>
23877 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
23878 output for whether conversion result is exact. Take argument
23879 indicating whether type is IBM long double.
23880 (round_for_all): Change need_exact field to ibm_ld.
23881 * stdlib/tst-strtod-round.c (struct exactness): New type.
23882 (struct test): Change bool ld_ok field to struct exactness exact.
23883 (TEST): Update all definitions for change to field.
23884 (tests): Regenerate array contents.
23885 (test_in_one_mode): Take pointer to new field instead of old ld_ok
23886 field value. Check for IBM long double here.
23887 (do_test): Update calls to test_in_one_mode.
23889 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23892 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
23893 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
23895 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23898 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
23899 generated by the compiler on loop optimizations.
23900 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
23901 general definitions.
23903 2013-06-12 Joseph Myers <joseph@codesourcery.com>
23905 * math/bug-nextafter.c: Include <math-tests.h>.
23906 (main): Only test for exceptions if EXCEPTION_TESTS is true for
23908 * math/bug-nexttoward.c: Include <math-tests.h>.
23909 (main): Only test for exceptions if EXCEPTION_TESTS is true for
23911 * math/test-misc.c: Include <math-tests.h>.
23912 (main): Only test for exceptions if EXCEPTION_TESTS is true for
23915 2013-06-12 Andreas Jaeger <aj@suse.de>
23917 * po/ia.po: Update Interlingua translation from translation
23920 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
23922 * include/fenv.h: Include stdbool.h.
23923 (struct rm_ctx): New structure.
23924 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
23926 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
23927 (SET_RESTORE_ROUNDF): Likewise.
23928 (SET_RESTORE_ROUNDL): Likewise.
23929 (SET_RESTORE_ROUND_NOEX): Likewise.
23930 (SET_RESTORE_ROUND_NOEXF): Likewise.
23931 (SET_RESTORE_ROUND_NOEXL): Likewise.
23932 (SET_RESTORE_ROUND_53BIT): Likewise.
23933 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
23934 (libc_feresetround_noexf_ctx): Likewise.
23935 (libc_feresetround_noexl_ctx): Likewise.
23936 (libc_feholdsetround_53bit_ctx): Likewise.
23937 (libc_feresetround_53bit_ctx): Likewise.
23938 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
23939 (libc_feholdexcept_setround_sse_ctx): New function.
23940 (libc_fesetenv_sse_ctx): Likewise.
23941 (libc_feupdateenv_sse_ctx): Likewise.
23942 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
23943 (libc_feholdexcept_setround_387_ctx): Likewise.
23944 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
23945 (libc_feholdsetround_387_prec_ctx): Likewise.
23946 (libc_feholdsetround_387_ctx): Likewise.
23947 (libc_feholdsetround_387_53bit_ctx): Likewise.
23948 (libc_feholdsetround_sse_ctx): Likewise.
23949 (libc_feresetround_sse_ctx): Likewise.
23950 (libc_feresetround_387_ctx): Likewise.
23951 (libc_feupdateenv_387_ctx): Likewise.
23952 (libc_feholdexcept_setroundf_ctx): Define macro.
23953 (libc_fesetenvf_ctx): Likewise.
23954 (libc_feupdateenvf_ctx): Likewise.
23955 (libc_feholdsetroundf_ctx): Likewise.
23956 (libc_feresetroundf_ctx): Likewise.
23957 (libc_feholdexcept_setround_ctx): Likewise.
23958 (libc_fesetenv_ctx): Likewise.
23959 (libc_feupdateenv_ctx): Likewise.
23960 (libc_feholdsetround_ctx): Likewise.
23961 (libc_feresetround_ctx): Likewise.
23962 (libc_feholdexcept_setroundl_ctx): Likewise.
23963 (libc_feupdateenvl_ctx): Likewise.
23964 (libc_feholdsetroundl_ctx): Likewise.
23965 (libc_feresetroundl_ctx): Likewise.
23966 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
23967 (libc_feresetround_53bit_ctx): Likewise.
23969 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23971 * locale/iso-639.def: Convert to UTF-8.
23973 2013-06-11 Joseph Myers <joseph@codesourcery.com>
23975 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
23976 (EXCEPTION_TESTS_double): Likewise.
23977 (EXCEPTION_TESTS_long_double): Likewise.
23978 (EXCEPTION_TESTS): Likewise.
23979 * math/libm-test.inc (test_exceptions): Only test exceptions if
23980 EXCEPTION_TESTS (FLOAT).
23982 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23984 * benchtests/Makefile (string-bench): Add strcpy_chk and
23986 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
23987 * benchtests/bench-stpcpy_chk.c: New file.
23988 * benchtests/bench-strcpy_chk-ifunc.c: New file.
23989 * benchtests/bench-strcpy_chk.c: New file.
23990 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
23992 (do_test): Likewise.
23994 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23996 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
23997 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
23998 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
23999 with tabs where appropriate.
24000 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
24002 [PPC_PLATFORM_PPC440]: Likewise.
24003 [PPC_PLATFORM_PPC464]: Likewise.
24004 [PPC_PLATFORM_PPC476]: Likewise.
24005 (_dl_string_platform): Add support for detecting ppc405, ppc440,
24006 ppc464, and ppc476 platform strings merging from ports/
24009 2013-06-11 Andreas Schwab <schwab@suse.de>
24012 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
24013 (from_ucs4_idx): Regenerate.
24014 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
24015 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
24016 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
24017 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
24018 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
24019 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
24020 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
24021 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
24022 from FROM_LOOP and TO_LOOP specific macros.
24023 (BODY): Handle combining characters.
24024 * iconvdata/BIG5HKSCS.irreversible: Update.
24025 * iconvdata/BIG5HKSCS.precomposed: New file.
24026 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
24028 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
24030 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24032 * include/sys/time.h: Fix indentation and add copyright header.
24034 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
24035 (do_test): Likewise.
24036 * string/test-memchr.c (do_one_test): Likewise.
24037 (do_test): Likewise.
24038 * string/test-memcmp.c (do_one_test): Likewise.
24039 (do_test): Likewise.
24040 * string/test-memcpy.c (do_one_test): Likewise.
24041 (do_test): Likewise.
24042 * string/test-memmem.c (do_one_test): Likewise.
24043 (do_test): Likewise.
24044 (do_random_tests): Likewise.
24045 * string/test-memmove.c (do_one_test): Likewise.
24046 (do_test): Likewise.
24047 * string/test-memset.c (do_one_test): Likewise.
24048 (do_test): Likewise.
24049 * string/test-rawmemchr.c (do_one_test): Likewise.
24050 (do_test): Likewise.
24051 * string/test-strcasecmp.c (do_one_test): Likewise.
24052 (do_test): Likewise.
24053 * string/test-strcasestr.c (do_one_test): Likewise.
24054 (do_test): Likewise.
24055 * string/test-strcat.c (do_one_test): Likewise.
24056 (do_test): Likewise.
24057 * string/test-strchr.c (do_one_test): Likewise.
24058 (do_test): Likewise.
24059 * string/test-strcmp.c (do_one_test): Likewise.
24060 (do_test): Likewise.
24061 * string/test-strcpy.c (do_one_test): Likewise.
24062 (do_test): Likewise.
24063 * string/test-string.h: Likewise.
24064 (test_init): Likewise.
24065 * string/test-strlen.c (do_one_test): Likewise.
24066 (do_test): Likewise.
24067 * string/test-strncasecmp.c (do_one_test): Likewise.
24068 (do_test): Likewise.
24069 * string/test-strncat.c (do_one_test): Likewise.
24070 (do_test): Likewise.
24071 * string/test-strncmp.c (do_one_test): Likewise.
24072 (do_test_limit): Likewise.
24073 (do_test): Likewise.
24074 * string/test-strncpy.c (do_one_test): Likewise.
24075 (do_test): Likewise.
24076 * string/test-strnlen.c (do_one_test): Likewise.
24077 (do_test): Likewise.
24078 * string/test-strpbrk.c (do_one_test): Likewise.
24079 (do_test): Likewise.
24080 * string/test-strrchr.c (do_one_test): Likewise.
24081 (do_test): Likewise.
24082 * string/test-strspn.c (do_one_test): Likewise.
24083 (do_test): Likewise.
24084 * string/test-strstr.c (do_one_test): Likewise.
24085 (do_test): Likewise.
24087 * benchtests/Makefile (string-bench): Add string benchmarks.
24088 * benchtests/bench-bcopy-ifunc.c: New file.
24089 * benchtests/bench-bcopy.c: New file.
24090 * benchtests/bench-bzero-ifunc.c: New file.
24091 * benchtests/bench-bzero.c: New file.
24092 * benchtests/bench-memccpy-ifunc.c: New file.
24093 * benchtests/bench-memccpy.c: New file.
24094 * benchtests/bench-memchr-ifunc.c: New file.
24095 * benchtests/bench-memchr.c: New file.
24096 * benchtests/bench-memcmp-ifunc.c: New file.
24097 * benchtests/bench-memcmp.c: New file.
24098 * benchtests/bench-memmem-ifunc.c: New file.
24099 * benchtests/bench-memmem.c: New file.
24100 * benchtests/bench-memmove-ifunc.c: New file.
24101 * benchtests/bench-memmove.c: New file.
24102 * benchtests/bench-mempcpy-ifunc.c: New file.
24103 * benchtests/bench-mempcpy.c: New file.
24104 * benchtests/bench-memset-ifunc.c: New file.
24105 * benchtests/bench-memset.c: New file.
24106 * benchtests/bench-rawmemchr-ifunc.c: New file.
24107 * benchtests/bench-rawmemchr.c: New file.
24108 * benchtests/bench-stpcpy-ifunc.c: New file.
24109 * benchtests/bench-stpcpy.c: New file.
24110 * benchtests/bench-stpncpy-ifunc.c: New file.
24111 * benchtests/bench-stpncpy.c: New file.
24112 * benchtests/bench-strcasecmp-ifunc.c: New file.
24113 * benchtests/bench-strcasecmp.c: New file.
24114 * benchtests/bench-strcasestr-ifunc.c: New file.
24115 * benchtests/bench-strcasestr.c: New file.
24116 * benchtests/bench-strcat-ifunc.c: New file.
24117 * benchtests/bench-strcat.c: New file.
24118 * benchtests/bench-strchr-ifunc.c: New file.
24119 * benchtests/bench-strchr.c: New file.
24120 * benchtests/bench-strchrnul-ifunc.c: New file.
24121 * benchtests/bench-strchrnul.c: New file.
24122 * benchtests/bench-strcmp-ifunc.c: New file.
24123 * benchtests/bench-strcmp.c: New file.
24124 * benchtests/bench-strcpy-ifunc.c: New file.
24125 * benchtests/bench-strcpy.c: New file.
24126 * benchtests/bench-strcspn-ifunc.c: New file.
24127 * benchtests/bench-strcspn.c: New file.
24128 * benchtests/bench-strlen-ifunc.c: New file.
24129 * benchtests/bench-strlen.c: New file.
24130 * benchtests/bench-strncasecmp-ifunc.c: New file.
24131 * benchtests/bench-strncasecmp.c: New file.
24132 * benchtests/bench-strncat-ifunc.c: New file.
24133 * benchtests/bench-strncat.c: New file.
24134 * benchtests/bench-strncmp-ifunc.c: New file.
24135 * benchtests/bench-strncmp.c: New file.
24136 * benchtests/bench-strncpy-ifunc.c: New file.
24137 * benchtests/bench-strncpy.c: New file.
24138 * benchtests/bench-strnlen-ifunc.c: New file.
24139 * benchtests/bench-strnlen.c: New file.
24140 * benchtests/bench-strpbrk-ifunc.c: New file.
24141 * benchtests/bench-strpbrk.c: New file.
24142 * benchtests/bench-strrchr-ifunc.c: New file.
24143 * benchtests/bench-strrchr.c: New file.
24144 * benchtests/bench-strspn-ifunc.c: New file.
24145 * benchtests/bench-strspn.c: New file.
24146 * benchtests/bench-strstr-ifunc.c: New file.
24147 * benchtests/bench-strstr.c: New file.
24149 * benchtests/Makefile: Disable parallel execution of targets.
24150 (string-bench): Add memcpy.
24151 (benchset): New variable to store a list of benchmark sets.
24152 (bench-func): Renamed from bench.
24153 (bench-set): New target.
24154 (bench): Depend on bench-func and bench-set.
24155 * benchtests/README: Add section on benchmark sets.
24156 * benchtests/bench-memcpy-ifunc.c: New file.
24157 * benchtests/bench-memcpy.c: New file.
24158 * benchtests/bench-string.h: New file.
24160 2013-06-11 Andreas Schwab <schwab@suse.de>
24163 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
24164 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
24165 values in the triple.
24166 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
24167 terminator in the group key.
24169 2013-06-11 Andreas Jaeger <aj@suse.de>
24171 * po/zh_TW.po: Update Chinese (traditional) translation from
24172 translation project.
24174 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24176 * include/time.h (__clock_gettime): Add libc_hidden_proto.
24177 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
24178 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
24179 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24180 (clock_getcpuclockid): Likewise.
24181 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
24182 Add weak_alias and libc_hidden_def.
24183 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
24184 * rt/clock_gettime.c (clock_gettime): Rename to
24185 __clock_gettime. Add weak_alias and libc_hidden_def.
24186 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
24187 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
24188 __clock_nanosleep. Add weak_alias and libc_hidden_def.
24189 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
24190 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
24192 * rt/clock_settime.c (clock_settime): Rename to
24193 __clock_settime. Add weak_alias and libc_hidden_def.
24194 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
24196 2013-06-10 Joseph Myers <joseph@codesourcery.com>
24198 * mach/err_boot.sub: Remove trailing whitespace.
24199 * mach/err_ipc.sub: Likewise.
24200 * mach/err_mach.sub: Likewise.
24202 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
24203 (ROUNDING_TESTS_double): Likewise.
24204 (ROUNDING_TESTS_long_double): Likewise.
24205 (ROUNDING_TESTS): Likewise.
24206 * math/libm-test.inc: Include <math-tests.h>.
24207 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
24208 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
24209 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
24210 (IF_ROUND_INIT_FE_UPWARD): Likewise.
24212 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24214 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
24217 2013-06-08 Joseph Myers <joseph@codesourcery.com>
24219 * sysdeps/gnu/errlist.awk: Do not generate space at end of
24220 otherwise empty TRANS lines.
24221 * sysdeps/gnu/errlist.c: Regenerated.
24223 * catgets/gencat.c (error_print): Use (void) in function
24225 * crypt/crypt_util.c (__init_des): Likewise.
24226 * crypt/speeds.c (Stop): Likewise.
24228 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
24229 * inet/ruserpass.c (token): Likewise.
24230 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
24231 * intl/localealias.c (extend_alias_table): Likewise.
24232 * intl/plural-exp.c (init_germanic_plural): Likewise.
24233 * libio/fcloseall.c (__fcloseall): Likewise.
24234 * libio/genops.c (_IO_flush_all): Likewise.
24235 (_IO_flush_all_linebuffered): Likewise.
24236 (_IO_cleanup): Likewise.
24237 (_IO_iter_begin): Likewise.
24238 (_IO_iter_end): Likewise.
24239 (_IO_list_lock): Likewise.
24240 (_IO_list_unlock): Likewise.
24241 (_IO_list_resetlock): Likewise.
24242 * libio/getchar.c (getchar): Likewise.
24243 * libio/getchar_u.c (getchar_unlocked): Likewise.
24244 * libio/getwchar.c (getwchar): Likewise.
24245 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
24246 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
24247 * login/getpt.c (__getpt): Likewise.
24248 * login/tst-utmp.c (main): Likewise.
24249 * malloc/hooks.c (__malloc_check_init): Likewise.
24250 * malloc/malloc.c (__malloc_stats): Likewise.
24251 * malloc/mtrace.c (tr_break): Likewise.
24252 (mtrace): Likewise.
24253 (muntrace): Likewise.
24254 * misc/fstab.c (endfsent): Likewise.
24255 * misc/getclktck.c (__getclktck): Likewise.
24256 * misc/getdtsz.c (__getdtablesize): Likewise.
24257 * misc/gethostid.c (gethostid): Likewise.
24258 * misc/getpagesize.c (__getpagesize): Likewise.
24259 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
24260 (__get_nprocs): Likewise.
24261 (__get_phys_pages): Likewise.
24262 (__get_avphys_pages): Likewise.
24263 * misc/getttyent.c (getttyent): Likewise.
24264 (setttyent): Likewise.
24265 (endttyent): Likewise.
24266 * misc/getusershell.c (getusershell): Likewise.
24267 (endusershell): Likewise.
24268 (setusershell): Likewise.
24269 (initshells): Likewise.
24270 * misc/hsearch.c (__hdestroy): Likewise.
24271 * misc/sync.c (sync): Likewise.
24272 * misc/syslog.c (closelog_internal): Likewise.
24273 (closelog): Likewise.
24274 * misc/ttyslot.c (ttyslot): Likewise.
24275 * misc/vhangup.c (vhangup): Likewise.
24276 * posix/fork.c (__fork): Likewise.
24277 * posix/getegid.c (__getegid): Likewise.
24278 * posix/geteuid.c (__geteuid): Likewise.
24279 * posix/getgid.c (__getgid): Likewise.
24280 * posix/getpid.c (__getpid): Likewise.
24281 * posix/getppid.c (__getppid): Likewise.
24282 * posix/getuid.c (__getuid): Likewise.
24283 * posix/pause.c (pause): Likewise.
24284 * posix/setpgrp.c (setpgrp): Likewise.
24285 * posix/setsid.c (__setsid): Likewise.
24286 * posix/test-vfork.c (noop): Likewise.
24287 * resolv/gethnamaddr.c (_endhtent): Likewise.
24288 (_gethtent): Likewise.
24289 (ht_endhostent): Likewise.
24290 (gethostent): Likewise.
24291 (dns_service): Likewise.
24292 * stdlib/drand48.c (drand48): Likewise.
24293 * stdlib/lrand48.c (lrand48): Likewise.
24294 * stdlib/mrand48.c (mrand48): Likewise.
24295 * stdlib/rand.c (rand): Likewise.
24296 * stdlib/random.c (__random): Likewise.
24297 * stdlib/setenv.c (clearenv): Likewise.
24298 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
24299 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
24300 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
24301 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
24302 (__get_nprocs): Likewise.
24303 (__get_phys_pages): Likewise.
24304 (__get_avphys_pages): Likewise.
24305 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
24306 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
24307 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
24308 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
24309 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
24310 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
24311 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
24312 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
24313 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
24314 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
24315 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
24316 * sysdeps/mach/hurd/sync.c (sync): Likewise.
24317 * sysdeps/posix/clock.c (clock): Likewise.
24318 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
24319 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
24320 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
24321 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
24322 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
24323 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
24324 (__get_nprocs_conf): Likewise.
24325 (__get_phys_pages): Likewise.
24326 (__get_avphys_pages): Likewise.
24327 * time/clock.c (clock): Likewise.
24328 * time/tzset.c (__tzname_max): Likewise.
24330 2013-06-07 Joseph Myers <joseph@codesourcery.com>
24332 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
24333 (__bswap_32): Do not use "register".
24334 * crypt/crypt.c (_ufc_doit_r): Likewise.
24335 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
24336 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
24337 * gmon/gmon.c (__monstartup): Likewise.
24338 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
24339 * hurd/hurdmalloc.c (more_memory): Likewise.
24340 (malloc): Likewise.
24342 (realloc): Likewise.
24343 (malloc_fork_prepare): Likewise.
24344 (malloc_fork_parent): Likewise.
24345 (malloc_fork_child): Likewise.
24346 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
24347 (_svcauth_des): Likewise.
24348 * inet/inet_lnaof.c (inet_lnaof): Likewise.
24349 * inet/inet_net.c (inet_network): Likewise.
24350 * inet/inet_netof.c (inet_netof): Likewise.
24351 * inet/rcmd.c (__validuser2_sa): Likewise.
24352 * io/fts.c (fts_open): Likewise.
24353 (fts_load): Likewise.
24354 (fts_close): Likewise.
24355 (fts_read): Likewise.
24356 (fts_children): Likewise.
24357 (fts_build): Likewise.
24358 (fts_stat): Likewise.
24359 (fts_sort): Likewise.
24360 (fts_alloc): Likewise.
24361 (fts_lfree): Likewise.
24362 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
24363 (_IO_file_xsgetn): Likewise.
24364 (_IO_file_xsgetn_mmap): Likewise.
24365 * libio/iofopncook.c (_IO_cookie_read): Likewise.
24366 (_IO_cookie_write): Likewise.
24367 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
24368 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
24369 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
24370 * malloc/obstack.c (_obstack_begin): Likewise.
24371 (_obstack_begin_1): Likewise.
24372 (_obstack_newchunk): Likewise.
24373 (_obstack_allocated_p): Likewise.
24374 (obstack_free): Likewise.
24375 (_obstack_memory_used): Likewise.
24376 * misc/getttyent.c (getttynam): Likewise.
24377 (getttyent): Likewise.
24380 * misc/getusershell.c (initshells): Likewise.
24381 * misc/syslog.c (__vsyslog_chk): Likewise.
24382 * misc/ttyslot.c (ttyslot): Likewise.
24383 * nis/nis_hash.c (__nis_hash): Likewise.
24384 * posix/fnmatch_loop.c (FCT): Likewise.
24385 * posix/getconf.c (print_all): Likewise.
24387 * posix/getopt.c (exchange): Likewise.
24388 * posix/glob.c (globfree): Likewise.
24389 (prefix_array): Likewise.
24390 (__glob_pattern_type): Likewise.
24391 * resolv/arpa/nameser.h (NS_GET16): Likewise.
24392 (NS_GET32): Likewise.
24393 (NS_PUT16): Likewise.
24394 (NS_PUT32): Likewise.
24395 * resolv/gethnamaddr.c (getanswer): Likewise.
24396 (gethostbyname2): Likewise.
24397 (gethostbyaddr): Likewise.
24398 (_gethtent): Likewise.
24399 (_gethtbyname2): Likewise.
24400 (_gethtbyaddr): Likewise.
24401 * resolv/ns_print.c (dst_s_get_int16): Likewise.
24402 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
24403 * resolv/res_init.c (__res_vinit): Likewise.
24404 (net_mask): Likewise.
24405 * resolv/res_mkquery.c (outchar): Likewise.
24407 * stdio-common/printf_fp.c (outchar): Likewise.
24409 * stdio-common/printf_fphex.c (outchar): Likewise.
24411 * stdio-common/printf_size.c (outchar): Likewise.
24413 * stdio-common/test_rdwr.c (main): Likewise.
24414 * stdio-common/tfformat.c (matches): Likewise.
24415 * stdio-common/vfprintf.c (outchar): Likewise.
24416 (printf_unknown): Likewise.
24417 (buffered_vfprintf): Likewise.
24418 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
24419 * stdio-common/xbug.c (AppendToBuffer): Likewise.
24420 (ReadFile): Likewise.
24421 * stdlib/qsort.c (SWAP): Likewise.
24422 (_quicksort): Likewise.
24423 * stdlib/setenv.c (__add_to_environ): Likewise.
24424 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
24425 * stdlib/strtol_l.c (__strtol_l): Likewise.
24426 * stdlib/tst-strtod.c (main): Likewise.
24427 * stdlib/tst-strtol.c (main): Likewise.
24428 * stdlib/tst-strtoll.c (main): Likewise.
24429 * string/bits/string2.h (__strcmp_cc): Likewise.
24430 (__strcmp_cg): Likewise.
24431 (__strcspn_c1): Likewise.
24432 (__strcspn_c2): Likewise.
24433 (__strcspn_c3): Likewise.
24434 (__strspn_c1): Likewise.
24435 (__strspn_c2): Likewise.
24436 (__strspn_c3): Likewise.
24437 (__strsep_1c): Likewise.
24438 (__strsep_2c): Likewise.
24439 (__strsep_3c): Likewise.
24440 * string/memccpy.c (__memccpy): Likewise.
24441 * string/stpcpy.c (__stpcpy): Likewise.
24442 * string/strcmp.c (strcmp): Likewise.
24443 * string/strrchr.c (strrchr): Likewise.
24444 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
24446 * sysdeps/mach/hurd/getcwd.c
24447 (_hurd_canonicalize_directory_name_internal): Likewise.
24448 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
24449 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
24450 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
24451 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
24452 Likewise, in both definitions.
24453 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
24455 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
24456 64] (__bswap_64): Likewise.
24457 * time/test_time.c (main): Likewise.
24458 * time/tzfile.c (__tzfile_read): Likewise.
24459 (__tzfile_compute): Likewise.
24460 * time/tzset.c (__tzset_parse_tz): Likewise.
24461 (tzset_internal): Likewise.
24462 (compute_change): Likewise.
24463 * wcsmbs/wcscat.c (__wcscat): Likewise.
24464 * wcsmbs/wcschr.c (wcschr): Likewise.
24465 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
24466 * wcsmbs/wcscspn.c (wcscspn): Likewise.
24467 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
24468 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
24469 * wcsmbs/wcsspn.c (wcsspn): Likewise.
24470 * wcsmbs/wcsstr.c (wcsstr): Likewise.
24471 * wcsmbs/wmemchr.c (wmemchr): Likewise.
24472 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
24473 * wcsmbs/wmemset.c (wmemset): Likewise.
24475 2013-06-06 Joseph Myers <joseph@codesourcery.com>
24477 * scripts/config.guess: Update to version 2013-05-16.
24478 * scripts/config.sub: Update to version 2013-04-24.
24479 * scripts/install-sh: Update to version 2011-11-20.07.
24480 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
24481 * scripts/move-if-change: Update to version 2012-01-06 07:23.
24483 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
24485 * debug/fgetws_u_chk.c: Fix leading whitespaces.
24486 * elf/sln.c: Likewise.
24487 * hurd/hurd/ioctl.h: Likewise.
24488 * hurd/hurdmalloc.c: Likewise.
24489 * hurd/xattr.c: Likewise.
24490 * include/shlib-compat.h: Likewise.
24491 * inet/ruserpass.c: Likewise.
24492 * libio/iofgets_u.c: Likewise.
24493 * libio/iofgetws_u.c: Likewise.
24494 * locale/programs/ld-identification.c: Likewise.
24495 * locale/programs/ld-time.c: Likewise.
24496 * mach/msg-destroy.c: Likewise.
24497 * nss/nss_files/files-netgrp.c: Likewise.
24498 * resolv/res_data.c: Likewise.
24499 * soft-fp/op-1.h: Likewise.
24500 * soft-fp/op-2.h: Likewise.
24501 * soft-fp/op-4.h: Likewise.
24502 * soft-fp/op-common.h: Likewise.
24503 * stdio-common/printf_fphex.c: Likewise.
24504 * stdlib/strtod_l.c: Likewise.
24505 * sunrpc/rpc/clnt.h: Likewise.
24506 * sysdeps/generic/framestate.c: Likewise.
24507 * sysdeps/i386/bsd-_setjmp.S: Likewise.
24508 * sysdeps/i386/bsd-setjmp.S: Likewise.
24509 * sysdeps/i386/__longjmp.S: Likewise.
24510 * sysdeps/i386/setjmp.S: Likewise.
24511 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24512 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24513 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24514 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24515 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24516 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
24517 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24518 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24519 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24520 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24521 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
24522 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
24523 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
24524 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
24525 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
24526 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24527 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
24528 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
24529 * sysdeps/ieee754/support.c: Likewise.
24530 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24531 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
24532 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
24533 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
24534 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
24535 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
24536 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
24537 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
24538 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
24539 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
24540 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
24541 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
24542 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
24543 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
24544 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
24545 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
24546 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
24547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
24549 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
24551 * posix/transbug.c: Remove executable mode.
24553 2013-06-05 Joseph Myers <joseph@codesourcery.com>
24555 * crypt/speeds.c: Remove trailing whitespace.
24556 * dlfcn/default.c: Likewise.
24557 * elf/ifuncdep2.c: Likewise.
24558 * elf/ifuncmain1.c: Likewise.
24559 * elf/ifuncmain1vis.c: Likewise.
24560 * elf/testobj.h: Likewise.
24561 * elf/tst-stackguard1.c: Likewise.
24562 * gmon/sys/gmon.h: Likewise.
24563 * hurd/hurdmsg.c: Likewise.
24564 * hurd/new-fd.c: Likewise.
24565 * hurd/ports-get.c: Likewise.
24566 * iconvdata/ibm1008_420.c: Likewise.
24567 * inet/tst-getni1.c: Likewise.
24568 * inet/tst-getni2.c: Likewise.
24569 * libio/ioungetc.c: Likewise.
24570 * libio/wfiledoalloc.c: Likewise.
24571 * manual/libm-err-tab.pl: Likewise.
24572 * math/w_dremf.c: Likewise.
24573 * misc/ftruncate.c: Likewise.
24574 * posix/bug-glob2.c: Likewise.
24575 * posix/tst-pcre.c: Likewise.
24576 * posix/wait4.c: Likewise.
24577 * resolv/README: Likewise.
24578 * resolv/res_debug.h: Likewise.
24579 * resolv/tst-inet_ntop.c: Likewise.
24580 * setjmp/bug269-setjmp.c: Likewise.
24581 * soft-fp/extended.h: Likewise.
24582 * soft-fp/op-1.h: Likewise.
24583 * soft-fp/op-2.h: Likewise.
24584 * soft-fp/op-4.h: Likewise.
24585 * soft-fp/op-8.h: Likewise.
24586 * soft-fp/testit.c: Likewise.
24587 * stdio-common/bug16.c: Likewise.
24588 * stdlib/random.c: Likewise.
24589 * sunrpc/rpcsvc/rquota.x: Likewise.
24590 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
24591 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24592 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24593 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24594 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24595 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24596 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24597 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24598 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24599 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24600 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24601 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
24602 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24603 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
24604 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24605 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
24606 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
24607 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24608 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
24609 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24610 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24611 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24612 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
24613 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
24614 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
24615 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
24616 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24617 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24618 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24619 * sysdeps/ieee754/s_lib_version.c: Likewise.
24620 * sysdeps/mach/hurd/check_fds.c: Likewise.
24621 * sysdeps/mach/hurd/getsockname.c: Likewise.
24622 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
24623 * sysdeps/mach/hurd/recvfrom.c: Likewise.
24624 * sysdeps/powerpc/bits/link.h: Likewise.
24625 * sysdeps/powerpc/dl-procinfo.c: Likewise.
24626 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
24627 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
24628 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
24629 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24630 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
24631 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
24632 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24633 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
24634 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
24635 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
24636 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
24637 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
24638 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
24639 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
24640 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
24641 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
24642 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
24643 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
24644 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24645 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24646 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
24647 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24648 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
24649 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
24650 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
24651 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
24652 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24653 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24654 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
24655 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
24656 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
24657 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24658 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24659 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
24660 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24661 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
24662 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
24663 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
24664 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
24665 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
24666 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
24667 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
24668 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
24669 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
24670 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
24671 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
24672 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
24673 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
24674 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
24675 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24676 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24677 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24678 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24679 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
24680 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
24681 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
24682 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24683 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
24684 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
24685 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
24686 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
24687 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
24688 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24689 * sysdeps/powerpc/sysdep.h: Likewise.
24690 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24691 * sysdeps/s390/s390-64/sub_n.S: Likewise.
24692 * sysdeps/sh/dl-trampoline.S: Likewise.
24693 * sysdeps/sh/memset.S: Likewise.
24694 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
24695 * sysdeps/sh/strlen.S: Likewise.
24696 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
24697 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
24698 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
24699 * sysdeps/sparc/sparc32/rem.S: Likewise.
24700 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
24701 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
24702 * sysdeps/sparc/sparc32/strchr.S: Likewise.
24703 * sysdeps/sparc/sparc32/udiv.S: Likewise.
24704 * sysdeps/sparc/sparc32/urem.S: Likewise.
24705 * sysdeps/sparc/sparc64/add_n.S: Likewise.
24706 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
24707 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
24708 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
24709 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
24710 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
24711 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
24712 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
24713 * sysdeps/unix/bsd/times.c: Likewise.
24714 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
24715 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
24716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
24717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
24718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
24719 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
24720 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
24721 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
24722 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
24723 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
24724 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
24725 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
24726 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
24727 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
24728 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
24729 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
24730 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
24731 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
24732 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
24733 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
24734 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
24735 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
24736 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
24737 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
24738 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
24739 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
24740 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
24741 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24742 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
24743 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
24744 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
24745 * sysdeps/x86_64/strcspn.S: Likewise.
24747 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24749 * locale/C-translit.h: Revert #include <stdint.h> because this is a
24750 generated file. Regenerate properly from gen-translit.pl.
24751 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
24752 locale/C-translit.h.
24754 2013-06-05 Andreas Schwab <schwab@suse.de>
24757 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
24758 week as 6 instead of -1.
24759 * time/tst-strptime.c (day_tests): Add test case.
24761 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24763 * sysdeps/generic/math_private.h
24764 (libc_feholdexcept_setround_53bit): Replace with
24765 libc_feholdsetround_53bit.
24766 (libc_feupdateenv_53bit): Replace with
24767 libc_feresetround_53bit.
24768 (SET_RESTORE_ROUND_53BIT): Adjust.
24770 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
24772 * string/test-strchrnul.c: Add copyright header.
24774 * posix/tst-getaddrinfo4.c: Increase test timeout.
24776 2013-06-03 Carlos O'Donell <carlos@redhat.com>
24779 * math/libm-test.inc (MAX_EXP): Remove
24781 (ulp): Use MIN_EXP - MANT_DIG.
24782 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
24784 2013-05-31 Carlos O'Donell <carlos@redhat.com>
24786 * po/be.po: Revert last change.
24787 * po/zh_CN.po: Likewise.
24788 * po/header.pot: Likewise.
24790 2013-05-31 Joseph Myers <joseph@codesourcery.com>
24792 * Makefile ($(common-objpfx)linkobj/libc.so): Define
24793 link-libc-deps to empty as target-specific variable.
24794 * Makerules (link-libc-args): New variable.
24795 (libc-for-link): Likewise.
24796 (link-libc-deps): Likewise.
24797 (lib%.so): Depend on $(link-libc-deps). Link with
24799 (build-module): Link with $(link-libc-args).
24800 (build-module-asneeded): Likewise.
24801 (build-module-helper-objlist): Filter out $(link-libc-deps) from
24803 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
24804 target-specific variable.
24805 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
24806 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
24807 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
24809 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
24811 ($(objpfx)libpcprofile.so): Likewise.
24812 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
24814 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
24815 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
24816 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
24818 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
24819 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
24820 * login/Makefile ($(objpfx)libutil.so): Likewise.
24821 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
24822 * math/Makefile ($(objpfx)libm.so): Likewise.
24823 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
24824 $(objpfx)libnsl.so): Define libc-for-link as target-specific
24825 variable instead of depending directly on libc.
24826 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
24827 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
24829 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
24831 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
24832 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
24833 ($(objpfx)libanl.so): Likewise.
24834 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
24836 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
24838 * sysdeps/i386/fpu/Makefile: Remove file.
24839 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
24840 ($(objpfx)libm.so): Remove dependency on ld.so.
24842 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
24845 * nis/yp_xdr.c (XDRMAXNAME): Define.
24846 (XDRMAXRECORD): Define.
24847 (xdr_domainname): Use XDRMAXNAME.
24848 (xdr_mapname): Likewise.
24849 (xdr_peername): Likewise.
24850 (xdr_keydat): Use XDRMAXRECORD.
24851 (xdr_valdat): Likewise.
24853 2013-05-30 Jeff Law <law@redhat.com>
24856 * manual/errno.texi (ESTALE): Update to account for more than
24857 just NFS file systems.
24858 * sysdeps/gnu/errlist.c: Regenerated.
24860 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24863 * elf/Makefile (tests): Add tst-null-argv.
24864 (modules-names): Add tst-null-argv-lib.
24865 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
24866 (tst-null-argv-ENV): Set environment for tst-null-argv.
24867 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
24868 (RTLD_PROGNAME): New macro.
24869 * elf/tst-null-argv.c: New test case.
24870 * elf/tst-null-argv-lib.c: Library for test case.
24871 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
24872 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
24873 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
24874 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
24875 * elf/dl-init.c (call_init): Likewise.
24876 (_dl_init): Likewise.
24877 * elf/dl-load.c (print_search_path): Likewise.
24878 (_dl_map_object): Likewise.
24879 * elf/dl-lookup.c (do_lookup_x): Likewise.
24880 (add_dependency): Likewise.
24881 (_dl_lookup_symbol_x): Likewise.
24882 (_dl_debug_bindings): Likewise.
24883 * elf/dl-open.c (_dl_show_scope): Likewise.
24884 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
24885 * elf/dl-version.c (match_symbol): Likewise.
24886 (_dl_check_map_versions): Likewise.
24887 * elf/rtld.c (dl_main): Likewise.
24888 (print_unresolved): Use RTLD_PROGNAME.
24889 (print_missing_version): Likewise.
24890 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
24891 (elf_machine_rela): Likewise.
24892 * sysdeps/powerpc/powerpc32/dl-machine.c
24893 (__process_machine_rela): Likewise.
24894 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24896 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
24898 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
24900 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
24901 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
24903 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
24905 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
24907 2013-05-28 Carlos O'Donell <carlos@redhat.com>
24909 * po/be.po: Add descriptive title.
24910 * po/zh_CN.po: Likewise.
24911 * po/header.pot: Likewise.
24913 2013-05-28 Mike Frysinger <vapier@gentoo.org>
24915 * locale/programs/locarchive.c (create_archive): Inlucde fname in
24917 (enlarge_archive): Likewise.
24919 2013-05-28 Ben North <ben@redfrontdoor.org>
24921 * manual/arith.texi (frexp): It is the magnitude of the return
24922 value which lies in [0.5, 1), not the return value itself.
24924 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24926 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24928 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
24930 * stdio-common/bug26.c (main): Correct fscanf template.
24932 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
24933 declare _dl_skip_args.
24935 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
24938 * manual/platform.texi: Add missing @end deftypefun.
24940 2013-05-24 Joseph Myers <joseph@codesourcery.com>
24943 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
24944 bit of mantissa of 2^16382.
24945 * math/libm-test.inc (hypot_test_data): Add more tests.
24947 * math/libm-test.inc: Add drem and pow10 to list of tested
24949 (pow10_test): New function.
24950 (drem_test): Likewise.
24951 (drem_test_tonearest): Likewise.
24952 (drem_test_towardzero): Likewise.
24953 (drem_test_downward): Likewise.
24954 (drem_test_upward): Likewise.
24955 (main): Call the new functions.
24957 * math/libm-test.inc (finite_test_data): Remove.
24958 (finite_test): Run tests from isfinite_test_data.
24959 (gamma_test_data): Remove.
24960 (gamma_test): Run tests from lgamma_test_data.
24961 * sysdeps/i386/fpu/libm-test-ulps: Update.
24962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24964 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24966 * manual/platform.texi: Add PowerPC PPR function set documentation.
24967 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
24970 2013-05-24 Carlos O'Donell <carlos@redhat.com>
24972 * math/libm-test.inc (MAX_EXP): Define.
24974 (ulp): New function.
24975 (check_float_internal): Use ULPDIFF.
24976 (cpow_test): Disable failing test.
24977 (check_ulp): Test ulp() implemetnation.
24978 (main): Call check_ulp before starting tests.
24980 2013-05-24 Joseph Myers <joseph@codesourcery.com>
24982 * math/gen-libm-test.pl (generate_testfile): Do not handle
24983 START_DATA and END_DATA.
24984 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
24986 (acos_tonearest_test_data): Likewise.
24987 (acos_towardzero_test_data): Likewise.
24988 (acos_downward_test_data): Likewise.
24989 (acos_upward_test_data): Likewise.
24990 (acosh_test_data): Likewise.
24991 (asin_test_data): Likewise.
24992 (asin_tonearest_test_data): Likewise.
24993 (asin_towardzero_test_data): Likewise.
24994 (asin_downward_test_data): Likewise.
24995 (asin_upward_test_data): Likewise.
24996 (asinh_test_data): Likewise.
24997 (atan_test_data): Likewise.
24998 (atanh_test_data): Likewise.
24999 (atan2_test_data): Likewise.
25000 (cabs_test_data): Likewise.
25001 (cacos_test_data): Likewise.
25002 (cacosh_test_data): Likewise.
25003 (carg_test_data): Likewise.
25004 (casin_test_data): Likewise.
25005 (casinh_test_data): Likewise.
25006 (catan_test_data): Likewise.
25007 (catanh_test_data): Likewise.
25008 (cbrt_test_data): Likewise.
25009 (ccos_test_data): Likewise.
25010 (ccosh_test_data): Likewise.
25011 (ceil_test_data): Likewise.
25012 (cexp_test_data): Likewise.
25013 (cimag_test_data): Likewise.
25014 (clog_test_data): Likewise.
25015 (clog10_test_data): Likewise.
25016 (conj_test_data): Likewise.
25017 (copysign_test_data): Likewise.
25018 (cos_test_data): Likewise.
25019 (cos_tonearest_test_data): Likewise.
25020 (cos_towardzero_test_data): Likewise.
25021 (cos_downward_test_data): Likewise.
25022 (cos_upward_test_data): Likewise.
25023 (cosh_test_data): Likewise.
25024 (cosh_tonearest_test_data): Likewise.
25025 (cosh_towardzero_test_data): Likewise.
25026 (cosh_downward_test_data): Likewise.
25027 (cosh_upward_test_data): Likewise.
25028 (cpow_test_data): Likewise.
25029 (cproj_test_data): Likewise.
25030 (creal_test_data): Likewise.
25031 (csin_test_data): Likewise.
25032 (csinh_test_data): Likewise.
25033 (csqrt_test_data): Likewise.
25034 (ctan_test_data): Likewise.
25035 (ctan_tonearest_test_data): Likewise.
25036 (ctan_towardzero_test_data): Likewise.
25037 (ctan_downward_test_data): Likewise.
25038 (ctan_upward_test_data): Likewise.
25039 (ctanh_test_data): Likewise.
25040 (ctanh_tonearest_test_data): Likewise.
25041 (ctanh_towardzero_test_data): Likewise.
25042 (ctanh_downward_test_data): Likewise.
25043 (ctanh_upward_test_data): Likewise.
25044 (erf_test_data): Likewise.
25045 (erfc_test_data): Likewise.
25046 (exp_test_data): Likewise.
25047 (exp_tonearest_test_data): Likewise.
25048 (exp_towardzero_test_data): Likewise.
25049 (exp_downward_test_data): Likewise.
25050 (exp_upward_test_data): Likewise.
25051 (exp10_test_data): Likewise.
25052 (exp2_test_data): Likewise.
25053 (expm1_test_data): Likewise.
25054 (fabs_test_data): Likewise.
25055 (fdim_test_data): Likewise.
25056 (finite_test_data): Likewise.
25057 (floor_test_data): Likewise.
25058 (fma_test_data): Likewise.
25059 (fma_towardzero_test_data): Likewise.
25060 (fma_downward_test_data): Likewise.
25061 (fma_upward_test_data): Likewise.
25062 (fmax_test_data): Likewise.
25063 (fmin_test_data): Likewise.
25064 (fmod_test_data): Likewise.
25065 (fpclassify_test_data): Likewise.
25066 (frexp_test_data): Likewise.
25067 (gamma_test_data): Likewise.
25068 (hypot_test_data): Likewise.
25069 (ilogb_test_data): Likewise.
25070 (isfinite_test_data): Likewise.
25071 (isgreater_test_data): Likewise.
25072 (isgreaterequal_test_data): Likewise.
25073 (isinf_test_data): Likewise.
25074 (isless_test_data): Likewise.
25075 (islessequal_test_data): Likewise.
25076 (islessgreater_test_data): Likewise.
25077 (isnan_test_data): Likewise.
25078 (isnormal_test_data): Likewise.
25079 (issignaling_test_data): Likewise.
25080 (isunordered_test_data): Likewise.
25081 (j0_test_data): Likewise.
25082 (j1_test_data): Likewise.
25083 (jn_test_data): Likewise.
25084 (ldexp_test_data): Likewise.
25085 (lgamma_test_data): Likewise.
25086 (lrint_test_data): Likewise.
25087 (lrint_tonearest_test_data): Likewise.
25088 (lrint_towardzero_test_data): Likewise.
25089 (lrint_downward_test_data): Likewise.
25090 (lrint_upward_test_data): Likewise.
25091 (llrint_test_data): Likewise.
25092 (llrint_tonearest_test_data): Likewise.
25093 (llrint_towardzero_test_data): Likewise.
25094 (llrint_downward_test_data): Likewise.
25095 (llrint_upward_test_data): Likewise.
25096 (log_test_data): Likewise.
25097 (log10_test_data): Likewise.
25098 (log1p_test_data): Likewise.
25099 (log2_test_data): Likewise.
25100 (logb_test_data): Likewise.
25101 (logb_downward_test_data): Likewise.
25102 (lround_test_data): Likewise.
25103 (llround_test_data): Likewise.
25104 (modf_test_data): Likewise.
25105 (nearbyint_test_data): Likewise.
25106 (nextafter_test_data): Likewise.
25107 (nexttoward_test_data): Likewise.
25108 (pow_test_data): Likewise.
25109 (pow_tonearest_test_data): Likewise.
25110 (pow_towardzero_test_data): Likewise.
25111 (pow_downward_test_data): Likewise.
25112 (pow_upward_test_data): Likewise.
25113 (remainder_test_data): Likewise.
25114 (remainder_tonearest_test_data): Likewise.
25115 (remainder_towardzero_test_data): Likewise.
25116 (remainder_downward_test_data): Likewise.
25117 (remainder_upward_test_data): Likewise.
25118 (remquo_test_data): Likewise.
25119 (rint_test_data): Likewise.
25120 (rint_tonearest_test_data): Likewise.
25121 (rint_towardzero_test_data): Likewise.
25122 (rint_downward_test_data): Likewise.
25123 (rint_upward_test_data): Likewise.
25124 (round_test_data): Likewise.
25125 (scalb_test_data): Likewise.
25126 (scalbn_test_data): Likewise.
25127 (scalbln_test_data): Likewise.
25128 (signbit_test_data): Likewise.
25129 (sin_test_data): Likewise.
25130 (sin_tonearest_test_data): Likewise.
25131 (sin_towardzero_test_data): Likewise.
25132 (sin_downward_test_data): Likewise.
25133 (sin_upward_test_data): Likewise.
25134 (sincos_test_data): Likewise.
25135 (sinh_test_data): Likewise.
25136 (sinh_tonearest_test_data): Likewise.
25137 (sinh_towardzero_test_data): Likewise.
25138 (sinh_downward_test_data): Likewise.
25139 (sinh_upward_test_data): Likewise.
25140 (sqrt_test_data): Likewise.
25141 (tan_test_data): Likewise.
25142 (tan_tonearest_test_data): Likewise.
25143 (tan_towardzero_test_data): Likewise.
25144 (tan_downward_test_data): Likewise.
25145 (tan_upward_test_data): Likewise.
25146 (tanh_test_data): Likewise.
25147 (tgamma_test_data): Likewise.
25148 (trunc_test_data): Likewise.
25149 (y0_test_data): Likewise.
25150 (y1_test_data): Likewise.
25151 (yn_test_data): Likewise.
25152 (significand_test_data): Likewise.
25154 * math/gen-libm-test.pl (@functions): Remove variable.
25155 (generate_testfile): Don't handle START and END lines.
25156 * math/libm-test.inc (START): New macro.
25158 (END_COMPLEX): Likewise.
25159 (acos_test): Use END macro without arguments.
25160 (acos_test_tonearest): Likewise.
25161 (acos_test_towardzero): Likewise.
25162 (acos_test_downward): Likewise.
25163 (acos_test_upward): Likewise.
25164 (acosh_test): Likewise.
25165 (asin_test): Likewise.
25166 (asin_test_tonearest): Likewise.
25167 (asin_test_towardzero): Likewise.
25168 (asin_test_downward): Likewise.
25169 (asin_test_upward): Likewise.
25170 (asinh_test): Likewise.
25171 (atan_test): Likewise.
25172 (atanh_test): Likewise.
25173 (atan2_test): Likewise.
25174 (cabs_test): Likewise.
25175 (cacos_test): Use END_COMPLEX macro without arguments.
25176 (cacosh_test): Likewise.
25177 (carg_test): Use END macro without arguments.
25178 (casin_test): Use END_COMPLEX macro without arguments.
25179 (casinh_test): Likewise.
25180 (catan_test): Likewise.
25181 (catanh_test): Likewise.
25182 (cbrt_test): Use END macro without arguments.
25183 (ccos_test): Use END_COMPLEX macro without arguments.
25184 (ccosh_test): Likewise.
25185 (ceil_test): Use END macro without arguments.
25186 (cexp_test): Use END_COMPLEX macro without arguments.
25187 (cimag_test): Use END macro without arguments.
25188 (clog_test): Use END_COMPLEX macro without arguments.
25189 (clog10_test): Likewise.
25190 (conj_test): Likewise.
25191 (copysign_test): Use END macro without arguments.
25192 (cos_test): Likewise.
25193 (cos_test_tonearest): Likewise.
25194 (cos_test_towardzero): Likewise.
25195 (cos_test_downward): Likewise.
25196 (cos_test_upward): Likewise.
25197 (cosh_test): Likewise.
25198 (cosh_test_tonearest): Likewise.
25199 (cosh_test_towardzero): Likewise.
25200 (cosh_test_downward): Likewise.
25201 (cosh_test_upward): Likewise.
25202 (cpow_test): Use END_COMPLEX macro without arguments.
25203 (cproj_test): Likewise.
25204 (creal_test): Use END macro without arguments.
25205 (csin_test): Use END_COMPLEX macro without arguments.
25206 (csinh_test): Likewise.
25207 (csqrt_test): Likewise.
25208 (ctan_test): Likewise.
25209 (ctan_test_tonearest): Likewise.
25210 (ctan_test_towardzero): Likewise.
25211 (ctan_test_downward): Likewise.
25212 (ctan_test_upward): Likewise.
25213 (ctanh_test): Likewise.
25214 (ctanh_test_tonearest): Likewise.
25215 (ctanh_test_towardzero): Likewise.
25216 (ctanh_test_downward): Likewise.
25217 (ctanh_test_upward): Likewise.
25218 (erf_test): Use END macro without arguments.
25219 (erfc_test): Likewise.
25220 (exp_test): Likewise.
25221 (exp_test_tonearest): Likewise.
25222 (exp_test_towardzero): Likewise.
25223 (exp_test_downward): Likewise.
25224 (exp_test_upward): Likewise.
25225 (exp10_test): Likewise.
25226 (exp2_test): Likewise.
25227 (expm1_test): Likewise.
25228 (fabs_test): Likewise.
25229 (fdim_test): Likewise.
25230 (finite_test): Likewise.
25231 (floor_test): Likewise.
25232 (fma_test): Likewise.
25233 (fma_test_towardzero): Likewise.
25234 (fma_test_downward): Likewise.
25235 (fma_test_upward): Likewise.
25236 (fmax_test): Likewise.
25237 (fmin_test): Likewise.
25238 (fmod_test): Likewise.
25239 (fpclassify_test): Likewise.
25240 (frexp_test): Likewise.
25241 (gamma_test): Likewise.
25242 (hypot_test): Likewise.
25243 (ilogb_test): Likewise.
25244 (isfinite_test): Likewise.
25245 (isgreater_test): Likewise.
25246 (isgreaterequal_test): Likewise.
25247 (isinf_test): Likewise.
25248 (isless_test): Likewise.
25249 (islessequal_test): Likewise.
25250 (islessgreater_test): Likewise.
25251 (isnan_test): Likewise.
25252 (isnormal_test): Likewise.
25253 (issignaling_test): Likewise.
25254 (isunordered_test): Likewise.
25255 (j0_test): Likewise.
25256 (j1_test): Likewise.
25257 (jn_test): Likewise.
25258 (ldexp_test): Likewise.
25259 (lgamma_test): Likewise.
25260 (lrint_test): Likewise.
25261 (lrint_test_tonearest): Likewise.
25262 (lrint_test_towardzero): Likewise.
25263 (lrint_test_downward): Likewise.
25264 (lrint_test_upward): Likewise.
25265 (llrint_test): Likewise.
25266 (llrint_test_tonearest): Likewise.
25267 (llrint_test_towardzero): Likewise.
25268 (llrint_test_downward): Likewise.
25269 (llrint_test_upward): Likewise.
25270 (log_test): Likewise.
25271 (log10_test): Likewise.
25272 (log1p_test): Likewise.
25273 (log2_test): Likewise.
25274 (logb_test): Likewise.
25275 (logb_test_downward): Likewise.
25276 (lround_test): Likewise.
25277 (llround_test): Likewise.
25278 (modf_test): Likewise.
25279 (nearbyint_test): Likewise.
25280 (nextafter_test): Likewise.
25281 (nexttoward_test): Likewise.
25282 (pow_test): Likewise.
25283 (pow_test_tonearest): Likewise.
25284 (pow_test_towardzero): Likewise.
25285 (pow_test_downward): Likewise.
25286 (pow_test_upward): Likewise.
25287 (remainder_test): Likewise.
25288 (remainder_test_tonearest): Likewise.
25289 (remainder_test_towardzero): Likewise.
25290 (remainder_test_downward): Likewise.
25291 (remainder_test_upward): Likewise.
25292 (remquo_test): Likewise.
25293 (rint_test): Likewise.
25294 (rint_test_tonearest): Likewise.
25295 (rint_test_towardzero): Likewise.
25296 (rint_test_downward): Likewise.
25297 (rint_test_upward): Likewise.
25298 (round_test): Likewise.
25299 (scalb_test): Likewise.
25300 (scalbn_test): Likewise.
25301 (scalbln_test): Likewise.
25302 (signbit_test): Likewise.
25303 (sin_test): Likewise.
25304 (sin_test_tonearest): Likewise.
25305 (sin_test_towardzero): Likewise.
25306 (sin_test_downward): Likewise.
25307 (sin_test_upward): Likewise.
25308 (sincos_test): Likewise.
25309 (sinh_test): Likewise.
25310 (sinh_test_tonearest): Likewise.
25311 (sinh_test_towardzero): Likewise.
25312 (sinh_test_downward): Likewise.
25313 (sinh_test_upward): Likewise.
25314 (sqrt_test): Likewise.
25315 (tan_test): Likewise.
25316 (tan_test_tonearest): Likewise.
25317 (tan_test_towardzero): Likewise.
25318 (tan_test_downward): Likewise.
25319 (tan_test_upward): Likewise.
25320 (tanh_test): Likewise.
25321 (tgamma_test): Likewise.
25322 (trunc_test): Likewise.
25323 (y0_test): Likewise.
25324 (y1_test): Likewise.
25325 (yn_test): Likewise.
25326 (significand_test): Likewise.
25328 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
25331 * libio/genops.c (_IO_no_init): Initialize wide struct info.
25333 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
25336 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
25337 __ppc_mdoio and __ppc_mdoom.
25338 * manual/platform.texi: Document new functions __ppc_yield,
25339 __ppc_mdoio and __ppc_mdoom.
25341 2013-05-22 Carlos O'Donell <carlos@redhat.com>
25343 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
25344 (main): Mention "tls" pseudo-hwcap is legacy.
25345 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
25347 2013-05-22 Joseph Myers <joseph@codesourcery.com>
25349 * math/gen-libm-test.pl (parse_args): Output only string of
25350 arguments as text for test name, not full call or descriptions of
25351 tests for extra outputs.
25352 (generate_testfile): Do not pass function name to parse_args.
25353 Generate this_func variable from START.
25354 * math/libm-test.inc (struct test_f_f_data): Rename test_name
25356 (struct test_ff_f_data): Likewise.
25357 (test_ff_f_data_nexttoward): Likewise.
25358 (struct test_fi_f_data): Likewise.
25359 (struct test_fl_f_data): Likewise.
25360 (struct test_if_f_data): Likewise.
25361 (struct test_fff_f_data): Likewise.
25362 (struct test_c_f_data): Likewise.
25363 (struct test_f_f1_data): Likewise. Remove field extra_name.
25364 (struct test_fF_f1_data): Likewise.
25365 (struct test_ffI_f1_data): Likewise.
25366 (struct test_c_c_data): Rename test_name field to arg_str.
25367 (struct test_cc_c_data): Likewise.
25368 (struct test_f_i_data): Likewise.
25369 (struct test_ff_i_data): Likewise.
25370 (struct test_f_l_data): Likewise.
25371 (struct test_f_L_data): Likewise.
25372 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
25374 (COMMON_TEST_SETUP): New macro.
25375 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
25376 (COMMON_TEST_CLEANUP): Likewise.
25377 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
25378 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
25380 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
25381 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
25383 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
25384 (RUN_TEST_fff_f): Take argument string. Call new setup and
25386 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
25387 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
25389 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
25390 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
25392 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
25393 (RUN_TEST_fF_f1): Take argument string. Call new setup and
25395 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
25396 (RUN_TEST_fI_f1): Take argument string. Call new setup and
25398 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
25399 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
25401 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
25402 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
25404 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
25405 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
25407 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
25408 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
25410 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
25411 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
25413 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
25414 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
25416 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
25417 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
25419 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
25420 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
25422 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
25423 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
25425 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
25426 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
25428 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
25429 (RUN_TEST_fFF_11): Take argument string. Call new setup and
25431 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
25433 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
25435 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
25436 to _sifields.sigfault.
25437 (si_addr_lsb): Define new macro.
25438 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
25439 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25440 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
25442 2013-05-03 Carlos O'Donell <carlos at redhat.com>
25445 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
25447 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
25449 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
25450 loading the domain.
25452 2013-05-22 Joseph Myers <joseph@codesourcery.com>
25454 * math/gen-libm-test.pl (parse_args): Do not include expected
25455 result in test name.
25456 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
25457 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25458 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25459 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25460 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25463 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
25465 * benchtests/Makefile: Sort function entries.
25467 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
25468 tanh, asinh, acosh, atanh.
25469 * benchtests/acos-inputs: New file.
25470 * benchtests/acosh-inputs: New file.
25471 * benchtests/asin-inputs: New file.
25472 * benchtests/asinh-inputs: New file.
25473 * benchtests/atanh-inputs: New file.
25474 * benchtests/cosh-inputs: New file.
25475 * benchtests/log-inputs: New file.
25476 * benchtests/sinh-inputs: New file.
25477 * benchtests/tanh-inputs: New file.
25479 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
25482 * posix/tst-getaddrinfo4.c: New test.
25483 * posix/Makefile (tests): Add it.
25485 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25488 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
25489 when no services were used.
25490 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
25491 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
25493 2013-05-21 Andreas Schwab <schwab@suse.de>
25496 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
25497 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
25499 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
25500 redundant variable declarations and reallocation of buffer when
25501 parsing as IPv6 address. Always set NSS status when called from
25502 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
25503 buffer too small. Correct computation of needed size.
25504 * nss/Makefile (tests): Add test-digits-dots.
25505 * nss/test-digits-dots.c: New test.
25507 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25509 * benchtests/Makefile: Remove instructions for adding
25511 * benchtests/README: New file to explain how to execute and
25512 enhance the benchmark tests.
25514 2013-05-21 Andreas Schwab <schwab@suse.de>
25517 * setjmp/Makefile (tests): Add tst-sigsetjmp.
25518 * setjmp/tst-sigsetjmp.c: New test.
25520 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
25522 * sysdeps/x86_64/memset.S (memset): New implementation.
25523 (__bzero): Likewise.
25524 (__memset_tail): New function.
25526 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
25528 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
25529 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
25530 __memcpy_sse2_unaligned ifunc selection.
25531 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25532 Add memcpy-sse2-unaligned.S.
25533 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25534 Add: __memcpy_sse2_unaligned.
25536 2013-05-19 Joseph Myers <joseph@codesourcery.com>
25539 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25540 math_force_eval before restoring floating-point envrionment.
25541 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
25542 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
25544 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
25546 (__nearbyintl): Use math_force_eval before restoring
25547 floating-point environment.
25548 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
25550 * math/gen-libm-test.pl (special_functions): Remove.
25551 (parse_args): Don't handle TEST_extra. Handle functions with no
25553 * math/libm-test.inc (struct test_sincos_data): Replace with
25554 struct test_fFF_11_data.
25555 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
25556 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
25557 (sincos_test_data): Change element type to struct
25558 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
25559 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
25560 RUN_TEST_LOOP_sincos.
25561 * math/README.libm-test: Don't mention special handling of
25562 individual functions.
25563 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
25564 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25565 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25566 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25567 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25570 * math/gen-libm-test.pl (get_variable): Remove function.
25571 (parse_args): Don't show pointer parameters to call in test
25572 names. Use "extra output N" in test names for extra outputs
25573 rather than naming variables.
25575 2013-05-18 Joseph Myers <joseph@codesourcery.com>
25578 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
25579 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
25580 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
25582 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
25584 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
25587 * math/gen-libm-test.pl (@tests): Remove variable.
25588 ($count): Likewise.
25589 (new_test): Remove function.
25590 (show_exceptions): New function.
25591 (special_functions): Use show_exceptions instead of new_test.
25592 (parse_args): Likewise.
25593 (generate_testfile): Pass only function name in generated call to
25594 print_max_error or print_complex_max_error.
25595 (get_ulps): Do not handle complex tests specially.
25596 (output_test): Rename to ...
25597 (get_all_ulps_for_test): ... this. Return a string rather than
25598 printing to a file. Require ulps to be present.
25599 (output_ulps): Generate arrays rather than #defines.
25600 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
25601 (struct ulp_data): New type.
25602 (BUILD_COMPLEX_ULP): Remove macro.
25603 (compare_ulp_data): New function.
25604 (find_ulps): Likewise.
25605 (find_test_ulps): Likewise.
25606 (find_function_ulps): Likewise.
25607 (find_complex_function_ulps): Likewise.
25608 (print_max_error): Determine allowed ulps using
25609 find_function_ulps.
25610 (print_complex_max_error): Determine allowed ulps using
25611 find_complex_function_ulps.
25612 (check_float_internal): Determine max ulps using find_test_ulps.
25613 (check_float): Do not take max_ulp parameter. Update call to
25614 check_float_internal.
25615 (check_complex): Likewise.
25616 (check_int): Do not take max_ulp parameter.
25617 (check_long): Likewise.
25618 (check_bool): Likewise.
25619 (check_longlong): Likewise.
25620 (struct test_f_f_data): Remove max_ulp field.
25621 (struct test_ff_f_data): Likewise.
25622 (struct test_ff_f_data_nexttoward): Likewise.
25623 (struct test_fi_f_data): Likewise.
25624 (struct test_fl_f_data): Likewise.
25625 (struct test_if_f_data): Likewise.
25626 (struct test_fff_f_data): Likewise.
25627 (struct test_c_f_data): Likewise.
25628 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
25629 (struct test_fF_f1_data): Likewise.
25630 (struct test_ffI_f1_data): Likewise.
25631 (struct test_c_c_data): Remove max_ulp field.
25632 (struct test_cc_c_data): Likewise.
25633 (struct test_f_i_data): Likewise.
25634 (struct test_ff_i_data): Likewise.
25635 (struct test_f_l_data): Likewise.
25636 (struct test_f_L_data): Likewise.
25637 (struct test_sincos_data): Likewise.
25638 (RUN_TEST_f_f): Do not handle ulps.
25639 (RUN_TEST_LOOP_f_f): Likewise.
25640 (RUN_TEST_2_f): Likewise.
25641 (RUN_TEST_LOOP_2_f): Likewise.
25642 (RUN_TEST_fff_f): Likewise.
25643 (RUN_TEST_LOOP_fff_f): Likewise.
25644 (RUN_TEST_c_f): Likewise.
25645 (RUN_TEST_LOOP_c_f): Likewise.
25646 (RUN_TEST_f_f1): Likewise.
25647 (RUN_TEST_LOOP_f_f1): Likewise.
25648 (RUN_TEST_fF_f1): Likewise.
25649 (RUN_TEST_LOOP_fF_f1): Likewise.
25650 (RUN_TEST_fI_f1): Likewise.
25651 (RUN_TEST_LOOP_fI_f1): Likewise.
25652 (RUN_TEST_ffI_f1): Likewise.
25653 (RUN_TEST_LOOP_ffI_f1): Likewise.
25654 (RUN_TEST_c_c): Likewise.
25655 (RUN_TEST_LOOP_c_c): Likewise.
25656 (RUN_TEST_cc_c): Likewise.
25657 (RUN_TEST_LOOP_cc_c): Likewise.
25658 (RUN_TEST_f_i): Likewise.
25659 (RUN_TEST_LOOP_f_i): Likewise.
25660 (RUN_TEST_f_i_tg): Likewise.
25661 (RUN_TEST_LOOP_f_i_tg): Likewise.
25662 (RUN_TEST_ff_i_tg): Likewise.
25663 (RUN_TEST_LOOP_ff_i_tg): Likewise.
25664 (RUN_TEST_f_b): Likewise.
25665 (RUN_TEST_LOOP_f_b): Likewise.
25666 (RUN_TEST_f_b_tg): Likewise.
25667 (RUN_TEST_LOOP_f_b_tg): Likewise.
25668 (RUN_TEST_f_l): Likewise.
25669 (RUN_TEST_LOOP_f_l): Likewise.
25670 (RUN_TEST_f_L): Likewise.
25671 (RUN_TEST_LOOP_f_L): Likewise.
25672 (RUN_TEST_sincos): Likewise.
25673 (RUN_TEST_LOOP_sincos): Likewise.
25675 2013-05-17 Joseph Myers <joseph@codesourcery.com>
25679 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
25680 main case of finite arguments, set rounding mode to FE_TONEAREST
25681 and discard exceptions.
25682 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
25684 (remainder_tonearest_test_data): New variable.
25685 (remainder_test_tonearest): New function.
25686 (remainder_towardzero_test_data): New variable.
25687 (remainder_test_towardzero): New function.
25688 (remainder_downward_test_data): New variable.
25689 (remainder_test_downward): New function.
25690 (remainder_upward_test_data): New variable.
25691 (remainder_test_upward): New function.
25692 (main): Call the new test functions.
25694 * math/libm-test.inc (struct test_f_f1_data): Remove field
25696 (struct test_fF_f1_data): Likewise.
25697 (struct test_ffI_f1_data): Likewise.
25698 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
25699 based on value of EXTRA_EXPECTED.
25700 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
25701 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
25702 EXTRA_VAR based on value of EXTRA_EXPECTED.
25703 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
25704 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
25705 EXTRA_VAR based on value of EXTRA_EXPECTED.
25706 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
25707 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
25708 EXTRA_VAR based on value of EXTRA_EXPECTED.
25709 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
25710 * math/gen-libm-test.pl (parse_args): Don't output initializers
25711 for extra output values.
25713 * math/libm-test.inc (check_int): Expect result to be exactly
25714 equal to expected value and do not handle ulps.
25715 (check_long): Likewise.
25716 (check_longlong): Likewise.
25718 * math/libm-test.inc (ceil_test_data): Test for "inexact"
25720 (cimag_test_data): Likewise.
25721 (conj_test_data): Likewise.
25722 (copysign_test_data): Likewise.
25723 (cproj_test_data): Likewise.
25724 (creal_test_data): Likewise.
25725 (fabs_test_data): Likewise.
25726 (fdim_test_data): Likewise.
25727 (finite_test_data): Likewise.
25728 (floor_test_data): Likewise.
25729 (fmax_test_data): Likewise.
25730 (fmin_test_data): Likewise.
25731 (fmod_test_data): Likewise.
25732 (fpclassify_test_data): Likewise.
25733 (frexp_test_data): Likewise.
25734 (ilogb_test_data): Likewise.
25735 (isfinite_test_data): Likewise.
25736 (isgreater_test_data): Likewise.
25737 (isgreaterequal_test_data): Likewise.
25738 (isinf_test_data): Likewise.
25739 (isless_test_data): Likewise.
25740 (islessequal_test_data): Likewise.
25741 (islessgreater_test_data): Likewise.
25742 (isnan_test_data): Likewise.
25743 (isnormal_test_data): Likewise.
25744 (issignaling_test_data): Likewise.
25745 (isunordered_test_data): Likewise.
25746 (ldexp_test_data): Likewise.
25747 (lrint_test_data): Likewise.
25748 (lrint_test_data) [TEST_FLOAT]: Disable one test.
25749 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
25750 (lrint_tonearest_test_data): Test for "inexact" exceptions.
25751 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
25752 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
25753 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
25755 (lrint_towardzero_test_data): Test for "inexact" exceptions.
25756 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
25757 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
25758 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
25760 (lrint_downward_test_data): Test for "inexact" exceptions.
25761 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
25762 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
25763 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
25765 (lrint_upward_test_data): Test for "inexact" exceptions.
25766 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
25768 (llrint_test_data): Test for "inexact" exceptions.
25769 (llrint_test_data) [TEST_FLOAT]: Disable one test.
25770 (llrint_tonearest_test_data): Test for "inexact" exceptions.
25771 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
25772 (llrint_towardzero_test_data): Test for "inexact" exceptions.
25773 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
25774 (llrint_downward_test_data): Test for "inexact" exceptions.
25775 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
25776 (llrint_upward_test_data): Test for "inexact" exceptions.
25777 (logb_test_data): Likewise.
25778 (logb_downward_test_data): Likewise.
25779 (nextafter_test_data): Likewise.
25780 (nexttoward_test_data): Likewise.
25781 (remainder_test_data): Likewise.
25782 (remquo_test_data): Likewise.
25783 (scalbn_test_data): Likewise.
25784 (scalbln_test_data): Likewise.
25785 (signbit_test_data): Likewise.
25786 (sqrt_test_data): Likewise.
25787 (significand_test_data): Likewise.
25789 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
25792 * benchtests/bench-modf.c (struct args): Mark arg0 as
25794 * scripts/bench.pl: Mark members of struct args as volatile.
25796 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25799 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
25800 negative infinity on POWER6 or lower.
25801 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
25803 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
25806 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
25807 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
25808 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
25809 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
25810 (_FP_SETQNAN): New macro.
25811 (_FP_SETQNAN_SEMIRAW): Likewise.
25812 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
25813 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
25814 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
25815 (FP_EXTEND): Use _FP_FRAC_SNANP.
25816 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
25817 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
25819 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
25821 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
25824 2013-05-16 Joseph Myers <joseph@codesourcery.com>
25826 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
25827 with DIVIDE_BY_ZERO_EXCEPTION.
25828 (gamma_test_data): Likewise.
25829 (lgamma_test_data): Likewise.
25830 (log_test_data): Likewise.
25831 (log10_test_data): Likewise.
25832 (log2_test_data): Likewise.
25833 (tgamma_test_data): Likewise.
25835 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
25836 (acos_test_tonearest): Likewise.
25837 (acos_test_towardzero): Likewise.
25838 (acos_test_downward): Likewise.
25839 (acos_test_upward): Likewise.
25840 (acosh_test): Likewise.
25841 (asin_test): Likewise.
25842 (asin_test_tonearest): Likewise.
25843 (asin_test_towardzero): Likewise.
25844 (asin_test_downward): Likewise.
25845 (asin_test_upward): Likewise.
25846 (asinh_test): Likewise.
25847 (atan_test): Likewise.
25848 (atanh_test): Likewise.
25849 (atan2_test): Likewise.
25850 (cabs_test): Likewise.
25851 (cacos_test): Likewise.
25852 (cacosh_test): Likewise.
25853 (casin_test): Likewise.
25854 (casinh_test): Likewise.
25855 (catan_test): Likewise.
25856 (catanh_test): Likewise.
25857 (cbrt_test): Likewise.
25858 (ccos_test): Likewise.
25859 (ccosh_test): Likewise.
25860 (cexp_test): Likewise.
25861 (clog_test): Likewise.
25862 (clog10_test): Likewise.
25863 (cos_test): Likewise.
25864 (cos_test_tonearest): Likewise.
25865 (cos_test_towardzero): Likewise.
25866 (cos_test_downward): Likewise.
25867 (cos_test_upward): Likewise.
25868 (cosh_test): Likewise.
25869 (cosh_test_tonearest): Likewise.
25870 (cosh_test_towardzero): Likewise.
25871 (cosh_test_downward): Likewise.
25872 (cosh_test_upward): Likewise.
25873 (cpow_test): Likewise.
25874 (csin_test): Likewise.
25875 (csinh_test): Likewise.
25876 (csqrt_test): Likewise.
25877 (ctan_test): Likewise.
25878 (ctan_test_tonearest): Likewise.
25879 (ctan_test_towardzero): Likewise.
25880 (ctan_test_downward): Likewise.
25881 (ctan_test_upward): Likewise.
25882 (ctanh_test): Likewise.
25883 (ctanh_test_tonearest): Likewise.
25884 (ctanh_test_towardzero): Likewise.
25885 (ctanh_test_downward): Likewise.
25886 (ctanh_test_upward): Likewise.
25887 (erf_test): Likewise.
25888 (erfc_test): Likewise.
25889 (exp_test): Likewise.
25890 (exp_test_tonearest): Likewise.
25891 (exp_test_towardzero): Likewise.
25892 (exp_test_downward): Likewise.
25893 (exp_test_upward): Likewise.
25894 (exp10_test): Likewise.
25895 (exp2_test): Likewise.
25896 (expm1_test): Likewise.
25897 (fmod_test): Likewise.
25898 (gamma_test): Likewise.
25899 (hypot_test): Likewise.
25900 (j0_test): Likewise.
25901 (j1_test): Likewise.
25902 (jn_test): Likewise.
25903 (lgamma_test): Likewise.
25904 (log_test): Likewise.
25905 (log10_test): Likewise.
25906 (log1p_test): Likewise.
25907 (log2_test): Likewise.
25908 (logb_test_downward): Likewise.
25909 (pow_test): Likewise.
25910 (pow_test_tonearest): Likewise.
25911 (pow_test_towardzero): Likewise.
25912 (pow_test_downward): Likewise.
25913 (pow_test_upward): Likewise.
25914 (remainder_test): Likewise.
25915 (remquo_test): Likewise.
25916 (sin_test): Likewise.
25917 (sin_test_tonearest): Likewise.
25918 (sin_test_towardzero): Likewise.
25919 (sin_test_downward): Likewise.
25920 (sin_test_upward): Likewise.
25921 (sincos_test): Likewise.
25922 (sinh_test): Likewise.
25923 (sinh_test_tonearest): Likewise.
25924 (sinh_test_towardzero): Likewise.
25925 (sinh_test_downward): Likewise.
25926 (sinh_test_upward): Likewise.
25927 (sqrt_test): Likewise.
25928 (tan_test): Likewise.
25929 (tan_test_tonearest): Likewise.
25930 (tan_test_towardzero): Likewise.
25931 (tan_test_downward): Likewise.
25932 (tan_test_upward): Likewise.
25933 (tanh_test): Likewise.
25934 (tgamma_test): Likewise.
25935 (y0_test): Likewise.
25936 (y1_test): Likewise.
25937 (yn_test): Likewise.
25939 * math/gen-libm-test.pl (adjust_arg): Remove function.
25940 (special_function): Remove argument $in_func. Only handle
25941 generating output for tables of tests, not inside functions.
25942 (parse_args): Likewise.
25943 (generate_testfile): Remove variable $in_func. Update call to
25945 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
25946 (MINUS_ZERO_INIT): Rename macro to minus_zero.
25947 (PLUS_INFTY_INIT): Rename macro to plus_infty.
25948 (MINUS_INFTY_INIT): Rename macro to minus_infty.
25949 (QNAN_VALUE_INIT): Rename macro to qnan_value.
25950 (MAX_VALUE_INIT): Rename macro to max_value.
25951 (MIN_VALUE_INIT): Rename macro to min_value.
25952 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
25953 (plus_zero): Remove variable.
25954 (minus_zero): Likewise.
25955 (plus_infty): Likewise.
25956 (minus_infty): Likewise.
25957 (qnan_value): Likewise.
25958 (max_value): Likewise.
25959 (min_value): Likewise.
25960 (min_subnorm_value): Likewise.
25962 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25964 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
25965 uint64_t or uint32_t usage.
25966 * crypt/sha256-block.c: Likewise.
25967 * crypt/sha256-crypt.c: Likewise.
25968 * crypt/sha256.c: Likewise.
25969 * crypt/sha512-block.c: Likewise.
25970 * crypt/sha512-crypt.c: Likewise.
25971 * crypt/sha512.c: Likewise.
25972 * debug/backtrace-tst.c: Likewise.
25973 * debug/pcprofiledump.c: Likewise.
25974 * elf/cache.c: Likewise.
25975 * elf/dl-cache.c: Likewise.
25976 * elf/dl-misc.c: Likewise.
25977 * elf/dl-profile.c: Likewise.
25978 * elf/dl-support.c: Likewise.
25979 * elf/ldconfig.c: Likewise.
25980 * elf/sprof.c: Likewise.
25981 * iconv/dummy-repertoire.c: Likewise.
25982 * iconv/iconv_charmap.c: Likewise.
25983 * iconv/skeleton.c: Likewise.
25984 * iconvdata/8bit-generic.c: Likewise.
25985 * iconvdata/cp737.h: Likewise.
25986 * iconvdata/cp775.h: Likewise.
25987 * iconvdata/ibm1008.h: Likewise.
25988 * iconvdata/ibm1025.h: Likewise.
25989 * iconvdata/ibm1046.h: Likewise.
25990 * iconvdata/ibm1097.h: Likewise.
25991 * iconvdata/ibm1112.h: Likewise.
25992 * iconvdata/ibm1122.h: Likewise.
25993 * iconvdata/ibm1123.h: Likewise.
25994 * iconvdata/ibm1124.h: Likewise.
25995 * iconvdata/ibm1129.h: Likewise.
25996 * iconvdata/ibm1130.h: Likewise.
25997 * iconvdata/ibm1132.h: Likewise.
25998 * iconvdata/ibm1133.h: Likewise.
25999 * iconvdata/ibm1137.h: Likewise.
26000 * iconvdata/ibm1140.h: Likewise.
26001 * iconvdata/ibm1141.h: Likewise.
26002 * iconvdata/ibm1142.h: Likewise.
26003 * iconvdata/ibm1143.h: Likewise.
26004 * iconvdata/ibm1144.h: Likewise.
26005 * iconvdata/ibm1145.h: Likewise.
26006 * iconvdata/ibm1146.h: Likewise.
26007 * iconvdata/ibm1147.h: Likewise.
26008 * iconvdata/ibm1148.h: Likewise.
26009 * iconvdata/ibm1149.h: Likewise.
26010 * iconvdata/ibm1153.h: Likewise.
26011 * iconvdata/ibm1154.h: Likewise.
26012 * iconvdata/ibm1155.h: Likewise.
26013 * iconvdata/ibm1156.h: Likewise.
26014 * iconvdata/ibm1157.h: Likewise.
26015 * iconvdata/ibm1158.h: Likewise.
26016 * iconvdata/ibm1160.h: Likewise.
26017 * iconvdata/ibm1161.h: Likewise.
26018 * iconvdata/ibm1162.h: Likewise.
26019 * iconvdata/ibm1163.h: Likewise.
26020 * iconvdata/ibm1164.h: Likewise.
26021 * iconvdata/ibm1166.h: Likewise.
26022 * iconvdata/ibm1167.h: Likewise.
26023 * iconvdata/ibm12712.h: Likewise.
26024 * iconvdata/ibm1390.h: Likewise.
26025 * iconvdata/ibm1399.h: Likewise.
26026 * iconvdata/ibm16804.h: Likewise.
26027 * iconvdata/ibm4517.h: Likewise.
26028 * iconvdata/ibm4899.h: Likewise.
26029 * iconvdata/ibm4909.h: Likewise.
26030 * iconvdata/ibm4971.h: Likewise.
26031 * iconvdata/ibm5347.h: Likewise.
26032 * iconvdata/ibm803.h: Likewise.
26033 * iconvdata/ibm856.h: Likewise.
26034 * iconvdata/ibm901.h: Likewise.
26035 * iconvdata/ibm902.h: Likewise.
26036 * iconvdata/ibm9030.h: Likewise.
26037 * iconvdata/ibm9066.h: Likewise.
26038 * iconvdata/ibm921.h: Likewise.
26039 * iconvdata/ibm922.h: Likewise.
26040 * iconvdata/ibm9448.h: Likewise.
26041 * iconvdata/isiri-3342.h: Likewise.
26042 * iconvdata/jis0201.h: Likewise.
26043 * include/link.h: Likewise.
26044 * include/netdb.h: Likewise.
26045 * inet/check_native.c: Likewise.
26046 * inet/check_pf.c: Likewise.
26047 * inet/getipv4sourcefilter.c: Likewise.
26048 * inet/getnameinfo.c: Likewise.
26049 * inet/getsourcefilter.c: Likewise.
26050 * inet/htonl.c: Likewise.
26051 * inet/setipv4sourcefilter.c: Likewise.
26052 * inet/setsourcefilter.c: Likewise.
26053 * inet/test-inet6_opt.c: Likewise.
26054 * inet/tst-network.c: Likewise.
26055 * locale/C-collate.c: Likewise.
26056 * locale/C-ctype.c: Likewise.
26057 * locale/C-time.c: Likewise.
26058 * locale/C-translit.h: Likewise.
26059 * locale/loadarchive.c: Likewise.
26060 * locale/programs/3level.h: Likewise.
26061 * locale/programs/charmap.c: Likewise.
26062 * locale/programs/charmap.h: Likewise.
26063 * locale/programs/ld-address.c: Likewise.
26064 * locale/programs/ld-collate.c: Likewise.
26065 * locale/programs/ld-ctype.c: Likewise.
26066 * locale/programs/ld-identification.c: Likewise.
26067 * locale/programs/ld-measurement.c: Likewise.
26068 * locale/programs/ld-messages.c: Likewise.
26069 * locale/programs/ld-monetary.c: Likewise.
26070 * locale/programs/ld-name.c: Likewise.
26071 * locale/programs/ld-numeric.c: Likewise.
26072 * locale/programs/ld-paper.c: Likewise.
26073 * locale/programs/ld-telephone.c: Likewise.
26074 * locale/programs/ld-time.c: Likewise.
26075 * locale/programs/linereader.c: Likewise.
26076 * locale/programs/locale.c: Likewise.
26077 * locale/programs/locarchive.c: Likewise.
26078 * locale/programs/locfile.h: Likewise.
26079 * locale/programs/repertoire.c: Likewise.
26080 * locale/programs/simple-hash.c: Likewise.
26081 * locale/programs/simple-hash.h: Likewise.
26082 * malloc/memusage.c: Likewise.
26083 * malloc/memusagestat.c: Likewise.
26084 * nis/nis_defaults.c: Likewise.
26085 * nis/nis_hash.c: Likewise.
26086 * nis/nis_print.c: Likewise.
26087 * nis/nis_xdr.c: Likewise.
26088 * nscd/connections.c: Likewise.
26089 * nscd/hstcache.c: Likewise.
26090 * nscd/nscd_gethst_r.c: Likewise.
26091 * nscd/nscd_getserv_r.c: Likewise.
26092 * nscd/nscd_helper.c: Likewise.
26093 * nscd/servicescache.c: Likewise.
26094 * nss/makedb.c: Likewise.
26095 * nss/nss_db/db-XXX.c: Likewise.
26096 * nss/nss_db/db-initgroups.c: Likewise.
26097 * nss/nss_db/db-netgrp.c: Likewise.
26098 * nss/nss_files/files-network.c: Likewise.
26099 * nss/nss_files/files-parse.c: Likewise.
26100 * posix/bug-regex5.c: Likewise.
26101 * posix/fnmatch_loop.c: Likewise.
26102 * posix/regcomp.c: Likewise.
26103 * posix/regexec.c: Likewise.
26104 * posix/tst-rfc3484-2.c: Likewise.
26105 * posix/tst-rfc3484-3.c: Likewise.
26106 * posix/tst-rfc3484.c: Likewise.
26107 * resolv/nss_dns/dns-canon.c: Likewise.
26108 * resolv/nss_dns/dns-network.c: Likewise.
26109 * resolv/res_init.c: Likewise.
26110 * resolv/res_mkquery.c: Likewise.
26111 * resolv/tst-aton.c: Likewise.
26112 * stdlib/cxa_atexit.c: Likewise.
26113 * stdlib/cxa_finalize.c: Likewise.
26114 * stdlib/gen-fpioconst.c: Likewise.
26115 * stdlib/strtol_l.c: Likewise.
26116 * string/tst-endian.c: Likewise.
26117 * sunrpc/auth_des.c: Likewise.
26118 * sunrpc/clnt_udp.c: Likewise.
26119 * sunrpc/rtime.c: Likewise.
26120 * sunrpc/svcauth_des.c: Likewise.
26121 * sunrpc/xdr.c: Likewise.
26122 * sunrpc/xdr_intXX_t.c: Likewise.
26123 * sunrpc/xdr_rec.c: Likewise.
26124 * sysdeps/generic/ldconfig.h: Likewise.
26125 * sysdeps/generic/ldsodefs.h: Likewise.
26126 * sysdeps/generic/memusage.h: Likewise.
26127 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
26128 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
26129 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
26130 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
26131 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26132 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26133 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
26134 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
26135 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26136 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26137 * sysdeps/posix/getaddrinfo.c: Likewise.
26138 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26139 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26140 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
26141 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26142 * sysdeps/powerpc/test-gettimebase.c: Likewise.
26143 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
26144 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
26145 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
26146 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
26147 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
26148 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26149 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26150 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
26151 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
26152 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
26153 * sysdeps/x86_64/dl-tls.h: Likewise.
26154 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
26155 * time/alt_digit.c: Likewise.
26156 * time/era.c: Likewise.
26157 * wcsmbs/tst-c16c32-1.c: Likewise.
26159 2013-05-16 Joseph Myers <joseph@codesourcery.com>
26161 * math/libm-test.inc (struct test_sincos_data): New type.
26162 (RUN_TEST_LOOP_sincos): New macro.
26163 (sincos_test_data): New variable.
26164 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
26166 2013-05-16 Richard Henderson <rth@redhat.com>
26168 * math/atest-exp2.c (LIMB64): New macro.
26169 (CONSTSZ): New macro.
26170 (mp_exp1, mp_exp_m1, mp_log2): New variables.
26172 (print_mpn_fp): ... to function scope.
26173 (read_mpn_hex): Remove.
26174 (get_log2): Remove.
26175 (exp2_mpn): Use mp_log2.
26176 (main): Use mp_exp1.
26178 2013-05-16 Joseph Myers <joseph@codesourcery.com>
26180 * math/libm-test.inc: Remove comment about not testing "inexact"
26182 (INEXACT_EXCEPTION): New macro.
26183 (NO_INEXACT_EXCEPTION): Likewise.
26184 (INVALID_EXCEPTION_OK): Update value.
26185 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26186 (OVERFLOW_EXCEPTION_OK): Likewise.
26187 (UNDERFLOW_EXCEPTION_OK): Likewise.
26188 (IGNORE_ZERO_INF_SIGN): Likewise.
26189 (ERRNO_UNCHANGED): Likewise.
26190 (ERRNO_EDOM): Likewise.
26191 (ERRNO_ERANGE): Likewise.
26192 (test_exceptions): Handle testing "inexact" exceptions.
26193 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
26194 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
26195 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
26196 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
26198 (rint_towardzero_test_data): Likewise.
26199 (rint_downward_test_data): Likewise.
26200 (rint_upward_test_data): Likewise.
26202 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
26203 with OVERFLOW_EXCEPTION.
26204 (exp10_test_data): Likewise.
26205 (exp2_test_data): Likewise.
26206 (expm1_test_data): Likewise.
26207 (lgamma_test_data): Likewise.
26208 (pow_test_data): Likewise.
26209 (tgamma_test_data): Likewise.
26210 (yn_test_data): Remove duplicate test of overflow.
26212 * math/libm-test.inc (struct test_cc_c_data): New type.
26213 (RUN_TEST_LOOP_cc_c): New macro.
26214 (cpow_test_data): New variable.
26215 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
26217 * math/libm-test.inc (struct test_f_L_data): New type.
26218 (RUN_TEST_LOOP_f_L): New macro.
26219 (llrint_test_data): New variable.
26220 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
26221 (llrint_tonearest_test_data): New variable.
26222 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
26223 (llrint_towardzero_test_data): New variable.
26224 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
26225 (llrint_downward_test_data): New variable.
26226 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
26227 (llrint_upward_test_data): New variable.
26228 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
26229 (llround_test_data): New variable.
26230 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
26232 2013-05-13 Peter Collingbourne <pcc@google.com>
26234 * math/atest-exp2.c (get_log2): Remove const attribute.
26236 2013-05-15 Joseph Myers <joseph@codesourcery.com>
26238 * math/libm-test.inc (struct test_f_l_data): New type.
26239 (RUN_TEST_LOOP_f_l): New macro.
26240 (lrint_test_data): New variable.
26241 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
26242 (lrint_tonearest_test_data): New variable.
26243 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
26244 (lrint_towardzero_test_data): New variable.
26245 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
26246 (lrint_downward_test_data): New variable.
26247 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
26248 (lrint_upward_test_data): New variable.
26249 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
26250 (lround_test_data): New variable.
26251 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
26253 2013-05-15 Peter Collingbourne <pcc@google.com>
26255 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
26256 (EXTRACT_WORDS64) Use where appropriate.
26257 (INSERT_WORDS64) Likewise.
26259 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
26260 constraints with x constraints.
26261 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
26263 * malloc/obstack.c (_obstack_compat): Add initializer.
26265 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
26267 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
26268 si_trapno and add si_addr_lsb to _sifields.sigfault.
26269 (si_trapno): Remove macro.
26270 (si_addr_lsb): Define new macro.
26271 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
26273 2013-05-15 Joseph Myers <joseph@codesourcery.com>
26275 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
26276 instead of TEST_f_l.
26277 (llrint_test_tonearest): Likewise.
26278 (llrint_test_towardzero): Likewise.
26279 (llrint_test_downward): Likewise.
26280 (llrint_test_upward): Likewise.
26281 (llround_test): Likewise.
26283 * math/libm-test.inc (struct test_f_i_data): Add comment.
26284 (RUN_TEST_LOOP_f_b): New macro.
26285 (RUN_TEST_LOOP_f_b_tg): Likewise.
26286 (finite_test_data): New variable.
26287 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
26288 (isfinite_test_data): New variable.
26289 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26290 (isinf_test_data): New variable.
26291 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26292 (isnan_test_data): New variable.
26293 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26294 (isnormal_test_data): New variable.
26295 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26296 (issignaling_test_data): New variable.
26297 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26298 (signbit_test_data): New variable.
26299 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26301 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
26302 with INVALID_EXCEPTION.
26303 (acosh_test_data): Likewise.
26304 (asin_test_data): Likewise.
26305 (atanh_test_data): Likewise.
26306 (fmod_test_data): Likewise.
26307 (log_test_data): Likewise.
26308 (log10_test_data): Likewise.
26309 (log2_test_data): Likewise.
26310 (pow_test_data): Likewise.
26311 (sqrt_test_data): Likewise.
26312 (y0_test_data): Likewise.
26313 (y1_test_data): Likewise.
26314 (yn_test_data): Likewise.
26316 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
26319 * math/libm-test.inc (struct test_ff_i_data): New type.
26320 (RUN_TEST_LOOP_ff_i_tg): New macro.
26321 (isgreater_test_data): New variable.
26322 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26323 (isgreaterequal_test_data): New variable.
26324 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26325 (isless_test_data): New variable.
26326 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26327 (islessequal_test_data): New variable.
26328 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26329 (islessgreater_test_data): New variable.
26330 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26331 (isunordered_test_data): New variable.
26332 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26334 2013-05-14 David S. Miller <davem@davemloft.net>
26336 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26338 2013-05-14 Joseph Myers <joseph@codesourcery.com>
26340 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
26342 * math/libm-test.inc (struct test_fF_f1_data): Change type of
26344 (struct test_f_i_data): Change type of max_ulp to int.
26346 * math/libm-test.inc (test_ffI_f1_data): New type.
26347 (RUN_TEST_LOOP_ffI_f1): New macro.
26348 (remquo_test_data): New variable.
26349 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
26351 * setjmp/tst-setjmp-fp.c: New file.
26352 * setjmp/Makefile (tests): Add tst-setjmp-fp.
26353 (link-libm): New variable.
26354 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
26356 * math/libm-test.inc (struct test_f_i_data): New type.
26357 (RUN_TEST_LOOP_f_i): New macro.
26358 (RUN_TEST_LOOP_f_i_tg): Likewise.
26359 (fpclassify_test_data): New variable.
26360 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
26361 (ilogb_test_data): New variable.
26362 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
26364 * math/libm-test.inc (scalbln_test): Correct function name in END
26367 * math/libm-test.inc (struct test_f_f1_data): Add comment.
26368 (RUN_TEST_LOOP_fI_f1): New macro.
26369 (frexp_test_data): New variable.
26370 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
26372 * math/libm-test.inc (struct test_fF_f1_data): New type.
26373 (RUN_TEST_LOOP_fF_f1): New macro.
26374 (modf_test_data): New variable.
26375 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
26377 * math/libm-test.inc (struct test_f_f1_data): New type.
26378 (RUN_TEST_LOOP_f_f1): New macro.
26379 (gamma_test_data): New variable.
26380 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
26381 (lgamma_test_data): New variable.
26382 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
26384 2013-05-13 Carlos O'Donell <carlos@redhat.com>
26386 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
26387 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
26388 (main): Comment "tls" pseudo-hwcap.
26390 2013-05-13 Joseph Myers <joseph@codesourcery.com>
26392 * math/libm-test.inc (struct test_fl_f_data): New type.
26393 (RUN_TEST_LOOP_fl_f): New variable.
26394 (scalbln_test_data): New variable.
26395 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
26397 * math/libm-test.inc (struct test_fi_f_data): New type.
26398 (RUN_TEST_LOOP_fi_f): New macro.
26399 (ldexp_test_data): New variable.
26400 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
26401 (scalbn_test_data): New variable.
26402 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
26404 * math/libm-test.inc (struct test_c_f_data): New type.
26405 (RUN_TEST_LOOP_c_f): New macro.
26406 (cabs_test_data): New variable.
26407 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
26408 (carg_test_data): New variable.
26409 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
26410 (cimag_test_data): New variable.
26411 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
26412 (creal_test_data): New variable.
26413 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
26415 * math/libm-test.inc (struct test_if_f_data): New type.
26416 (RUN_TEST_LOOP_if_f): New macro.
26417 (jn_test_data): New variable.
26418 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
26419 (yn_test_data): New variable.
26420 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
26422 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
26424 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26426 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
26427 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
26429 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26431 * benchtests/Makefile (CPPFLAGS-nonlib): Add
26432 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
26433 (bench-deps): Add bench-timing.h.
26434 * benchtests-bench-skeleton.c: Include bench-timing.h.
26435 (main): Use TIMING_* macros instead of clock_gettime.
26436 * benchtests/bench-timing.h: New file.
26439 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
26440 Renamed from _LIB_VERSION.
26441 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
26443 2013-05-12 Joseph Myers <joseph@codesourcery.com>
26445 * math/libm-test.inc (struct test_fff_f_data): New type.
26446 (RUN_TEST_LOOP_fff_f): New macro.
26447 (fma_test_data): New variable.
26448 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
26449 (fma_towardzero_test_data): New variable.
26450 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
26451 (fma_downward_test_data): New variable.
26452 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
26453 (fma_upward_test_data): New variable.
26454 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
26456 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
26457 (struct test_c_c_data): New type.
26458 (RUN_TEST_LOOP_c_c): New macro.
26459 (cacos_test_data): New variable.
26460 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
26461 (cacosh_test_data): New variable.
26462 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
26463 (casin_test_data): New variable.
26464 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
26465 (casinh_test_data): New variable.
26466 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
26467 (catan_test_data): New variable.
26468 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
26469 (catanh_test_data): New variable.
26470 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
26471 (ccos_test_data): New variable.
26472 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
26473 (ccosh_test_data): New variable.
26474 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
26475 (cexp_test_data): New variable.
26476 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
26477 (clog_test_data): New variable.
26478 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
26479 (clog10_test_data): New variable.
26480 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
26481 (conj_test_data): New variable.
26482 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
26483 (cproj_test_data): New variable.
26484 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
26485 (csin_test_data): New variable.
26486 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
26487 (csinh_test_data): New variable.
26488 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
26489 (csqrt_test_data): New variable.
26490 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
26491 (ctan_test_data): New variable.
26492 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
26493 (ctan_tonearest_test_data): New variable.
26494 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
26495 (ctan_towardzero_test_data): New variable.
26496 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
26497 (ctan_downward_test_data): New variable.
26498 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
26499 (ctan_upward_test_data): New variable.
26500 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
26501 (ctanh_test_data): New variable.
26502 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
26503 (ctanh_tonearest_test_data): New variable.
26504 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
26505 (ctanh_towardzero_test_data): New variable.
26506 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
26507 (ctanh_downward_test_data): New variable.
26508 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
26509 (ctanh_upward_test_data): New variable.
26510 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
26511 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
26514 * math/libm-test.inc (struct test_ff_f_data): New type.
26515 (struct test_ff_f_data_nexttoward): Likewise.
26516 (RUN_TEST_LOOP_2_f): New macro.
26517 (RUN_TEST_LOOP_ff_f): Likewise.
26518 (atan2_test_data): New variable.
26519 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
26520 (copysign_test_data): New variable.
26521 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
26522 (fdim_test_data): New variable.
26523 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
26524 (fmax_test_data): New variable.
26525 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
26526 (fmin_test_data): New variable.
26527 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
26528 (fmod_test_data): New variable.
26529 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
26530 (hypot_test_data): New variable.
26531 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
26532 (nextafter_test_data): New variable.
26533 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
26534 (nexttoward_test_data): New variable.
26535 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
26536 (pow_test_data): New variable.
26537 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
26538 (pow_tonearest_test_data): New variable.
26539 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
26540 (pow_towardzero_test_data): New variable.
26541 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
26542 (pow_downward_test_data): New variable.
26543 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
26544 (pow_upward_test_data): New variable.
26545 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
26546 (remainder_test_data): New variable.
26547 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
26548 (scalb_test_data): New variable.
26549 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
26550 * sysdeps/i386/fpu/libm-test-ulps: Update.
26552 2013-05-11 Joseph Myers <joseph@codesourcery.com>
26554 * math/libm-test.inc (fma_test): Use max_value instead of local
26556 (nextafter_test): Likewise.
26558 * math/libm-test.inc (acos_towardzero_test_data): New variable.
26559 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26560 (acos_downward_test_data): New variable.
26561 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26562 (acos_upward_test_data): New variable.
26563 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26564 (acosh_test_data): New variable.
26565 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
26566 (asin_test_data): New variable.
26567 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
26568 (asin_tonearest_test_data): New variable.
26569 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26570 (asin_towardzero_test_data): New variable.
26571 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26572 (asin_downward_test_data): New variable.
26573 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26574 (asin_upward_test_data): New variable.
26575 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26576 (asinh_test_data): New variable.
26577 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
26578 (atan_test_data): New variable.
26579 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
26580 (atanh_test_data): New variable.
26581 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
26582 (cbrt_test_data): New variable.
26583 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
26584 (ceil_test_data): New variable.
26585 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
26586 (cos_test_data): New variable.
26587 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
26588 (cos_tonearest_test_data): New variable.
26589 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26590 (cos_towardzero_test_data): New variable.
26591 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26592 (cos_downward_test_data): New variable.
26593 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26594 (cos_upward_test_data): New variable.
26595 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26596 (cosh_test_data): New variable.
26597 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
26598 (cosh_tonearest_test_data): New variable.
26599 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26600 (cosh_towardzero_test_data): New variable.
26601 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26602 (cosh_downward_test_data): New variable.
26603 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26604 (cosh_upward_test_data): New variable.
26605 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26606 (erf_test_data): New variable.
26607 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
26608 (erfc_test_data): New variable.
26609 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
26610 (exp_test_data): New variable.
26611 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
26612 (exp_tonearest_test_data): New variable.
26613 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26614 (exp_towardzero_test_data): New variable.
26615 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26616 (exp_downward_test_data): New variable.
26617 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26618 (exp_upward_test_data): New variable.
26619 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26620 (exp10_test_data): New variable.
26621 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
26622 (exp2_test_data): New variable.
26623 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
26624 (expm1_test_data): New variable.
26625 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
26626 (fabs_test_data): New variable.
26627 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
26628 (floor_test_data): New variable.
26629 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
26630 (j0_test_data): New variable.
26631 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
26632 (j1_test_data): New variable.
26633 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
26634 (log_test_data): New variable.
26635 (log_test): Run tests with RUN_TEST_LOOP_f_f.
26636 (log10_test_data): New variable.
26637 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
26638 (log1p_test_data): New variable.
26639 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
26640 (log2_test_data): New variable.
26641 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
26642 (logb_test_data): New variable.
26643 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
26644 (logb_downward_test_data): New variable.
26645 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26646 (nearbyint_test_data): New variable.
26647 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
26648 (rint_test_data): New variable.
26649 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
26650 (rint_tonearest_test_data): New variable.
26651 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26652 (rint_towardzero_test_data): New variable.
26653 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26654 (rint_downward_test_data): New variable.
26655 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26656 (rint_upward_test_data): New variable.
26657 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26658 (round_test_data): New variable.
26659 (round_test): Run tests with RUN_TEST_LOOP_f_f.
26660 (sin_test_data): New variable.
26661 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
26662 (sin_tonearest_test_data): New variable.
26663 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26664 (sin_towardzero_test_data): New variable.
26665 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26666 (sin_downward_test_data): New variable.
26667 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26668 (sin_upward_test_data): New variable.
26669 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26670 (sinh_test_data): New variable.
26671 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
26672 (sinh_tonearest_test_data): New variable.
26673 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26674 (sinh_towardzero_test_data): New variable.
26675 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26676 (sinh_downward_test_data): New variable.
26677 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26678 (sinh_upward_test_data): New variable.
26679 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26680 (sqrt_test_data): New variable.
26681 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
26682 (tan_test_data): New variable.
26683 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
26684 (tan_tonearest_test_data): New variable.
26685 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26686 (tan_towardzero_test_data): New variable.
26687 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26688 (tan_downward_test_data): New variable.
26689 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26690 (tan_upward_test_data): New variable.
26691 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26692 (tanh_test_data): New variable.
26693 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
26694 (tgamma_test_data): New variable.
26695 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
26696 (trunc_test_data): New variable.
26697 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
26698 (y0_test_data): New variable.
26699 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
26700 (y1_test_data): New variable.
26701 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
26702 (significand_test_data): New variable.
26703 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
26705 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
26708 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
26710 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
26712 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
26714 2013-05-10 Andreas Jaeger <aj@suse.de>
26717 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
26718 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
26720 2013-05-10 Joseph Myers <joseph@codesourcery.com>
26722 * math/gen-libm-test.pl (adjust_arg): New function.
26723 (special_functions): Handle generating output in both functions
26725 (parse_args): Likewise.
26726 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
26727 $in_func argument to parse_args.
26728 * math/libm-test.inc (struct test_f_f_data): New type.
26729 (IF_ROUND_INIT_): New macro.
26730 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
26731 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
26732 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
26733 (IF_ROUND_INIT_FE_UPWARD): Likewise.
26734 (ROUND_RESTORE_): Likewise.
26735 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
26736 (ROUND_RESTORE_FE_TONEAREST): Likewise.
26737 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
26738 (ROUND_RESTORE_FE_UPWARD): Likewise.
26739 (RUN_TEST_LOOP_f_f): New macro.
26740 (acos_test_data): New variable.
26741 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
26742 (acos_tonearest_test_data): New variable.
26743 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26745 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26747 * benchtests/bench-skeleton.c (startup): Fix coding style.
26749 2013-05-10 Joseph Myers <joseph@codesourcery.com>
26752 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
26753 negative infinity argument.
26754 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
26755 negative infinity argument.
26756 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
26757 negative infinity argument.
26758 * math/libm-test.inc (tgamma_test): Expect errno to be set for
26761 2013-05-10 Florian Weimer <fweimer@redhat.com>
26763 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
26764 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
26765 * iconv/iconv_prog.c (main): Likewise.
26766 * locale/programs/charmap-dir.c (charmap_readdir)
26767 (fopen_uncompressed): Likewise.
26768 * locale/programs/locfile.c (siblings_uncached)
26769 (write_locale_data): Use lstat64 instead of lstat.
26770 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
26773 2013-05-10 Andreas Jaeger <aj@suse.de>
26776 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
26778 Include <locale.h>.
26780 2013-05-09 Carlos O'Donell <carlos@redhat.com>
26782 * elf/dl-close.c (_dl_close_worker): Add comments.
26784 2013-05-09 Joseph Myers <joseph@codesourcery.com>
26787 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
26789 (__ieee754_rem_pio2l): Update comments.
26792 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
26794 (__ieee754_rem_pio2l): Update comments.
26796 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
26797 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
26799 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
26802 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
26803 (M_PI_34_LOG10El): Likewise.
26804 (M_PI2_LOG10El): Likewise.
26805 (M_PI4_LOG10El): Likewise.
26806 (M_PI_LOG10El): Likewise.
26808 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26810 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26812 2013-05-08 Joseph Myers <joseph@codesourcery.com>
26814 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
26815 (MINUS_ZERO_INIT): Likewise.
26816 (PLUS_INFTY_INIT): Likewise.
26817 (MINUS_INFTY_INIT): Likewise.
26818 (QNAN_VALUE_INIT): Likewise.
26819 (MAX_VALUE_INIT): Likewise.
26820 (MIN_VALUE_INIT): Likewise.
26821 (MIN_SUBNORM_VALUE_INIT): Likewise.
26822 (plus_zero): Initialize with PLUS_ZERO_INIT.
26823 (minus_zero): Initialize with MINUS_ZERO_INIT.
26824 (plus_infty): Initialize with PLUS_INFTY_INIT.
26825 (minus_infty): Initialize with MINUS_INFTY_INIT.
26826 (qnan_value): Initialize with QNAN_VALUE_INIT.
26827 (max_value): Initialize with MAX_VALUE_INIT.
26828 (min_value): Initialize with MIN_VALUE_INIT.
26829 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
26831 * math/libm-test.inc (RUN_TEST_if_f): New macro.
26832 (jn_test): Use TEST_if_f instead of TEST_ff_f.
26833 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
26834 (yn_test): Use TEST_if_f instead of TEST_ff_f.
26836 * math/libm-test.inc (RUN_TEST_f_f): New macro.
26837 (RUN_TEST_2_f): Likewise.
26838 (RUN_TEST_ff_f): Likewise.
26839 (RUN_TEST_fi_f): Likewise.
26840 (RUN_TEST_fl_f): Likewise.
26841 (RUN_TEST_fff_f): Likewise.
26842 (RUN_TEST_c_f): Likewise.
26843 (RUN_TEST_f_f1): Likewise.
26844 (RUN_TEST_fF_f1): Likewise.
26845 (RUN_TEST_fI_f1): Likewise.
26846 (RUN_TEST_ffI_f1): Likewise.
26847 (RUN_TEST_c_c): Likewise.
26848 (RUN_TEST_cc_c): Likewise.
26849 (RUN_TEST_f_i): Likewise.
26850 (RUN_TEST_f_i_tg): Likewise.
26851 (RUN_TEST_ff_i_tg): Likewise.
26852 (RUN_TEST_f_b): Likewise.
26853 (RUN_TEST_f_b_tg): Likewise.
26854 (RUN_TEST_f_l): Likewise.
26855 (RUN_TEST_f_L): Likewise.
26856 (RUN_TEST_sincos): Likewise.
26857 * math/gen-libm-test.pl (new_test): Take new argument to indicate
26858 whether to show exceptions. Do not include ");\n" in return
26860 (special_functions): Output call to RUN_TEST_sincos instead of
26861 check_float calls. Update calls to new_test.
26862 (parse_args): Output call to single RUN_TEST_* macro instead of
26863 check_* calls and other assignments. Update calls to new_test.
26869 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
26870 input to result for tgamma overflow.
26871 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
26872 (gamma_coeff): New variable.
26873 (NCOEFF): New macro.
26874 (gamma_positive): New function.
26875 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
26876 underflow here. Use gamma_positive instead of exp (lgamma) for
26878 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
26879 (gamma_coeff): New variable.
26880 (NCOEFF): New macro.
26881 (gammaf_positive): New function.
26882 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
26883 underflow here. Use gamma_positive instead of exp (lgamma) for
26885 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
26886 (gamma_coeff): New variable.
26887 (NCOEFF): New macro.
26888 (gammal_positive): New function.
26889 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
26890 underflow here. Use gamma_positive instead of exp (lgamma) for
26892 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
26893 (gamma_coeff): New variable.
26894 (NCOEFF): New macro.
26895 (gammal_positive): New function.
26896 (__ieee754_gammal_r): Handle positive infinity, overflow and
26897 underflow here. Handle NaN the same as positive infinity. Remove
26898 check x < 0xffffffff for negative integers. Use gamma_positive
26899 instead of exp (lgamma) for other arguments.
26900 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
26901 (gamma_coeff): New variable.
26902 (NCOEFF): New macro.
26903 (gammal_positive): New function.
26904 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
26905 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
26906 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
26907 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
26908 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
26909 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
26910 * sysdeps/generic/math_private.h (__gamma_productf): New
26912 (__gamma_product): Likewise.
26913 (__gamma_productl): Likewise.
26914 * math/Makefile (libm-calls): Add gamma_product.
26915 * math/libm-test.inc (tgamma_test): Add more tests.
26916 * sysdeps/i386/fpu/libm-test-ulps: Update.
26917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26919 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
26921 * benchtests/bench-skeleton.c (main): Preheat CPU.
26923 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
26925 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
26927 2013-05-07 Roland McGrath <roland@hack.frob.com>
26929 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
26930 and _dl_skip_args_internal.
26932 2013-05-07 Carlos O'Donell <carlos@redhat.com>
26934 * manual/message.texi (Message Translation): Talk about users.
26935 Message to key mapping impacts design.
26937 2013-05-06 Roland McGrath <roland@hack.frob.com>
26939 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
26941 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
26943 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
26944 * sysdeps/wordsize-64/glob64.c: ... here.
26946 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
26947 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
26950 * debug/getlogin_r_chk.c: Moved to ...
26951 * login/getlogin_r_chk.c: ... here.
26952 * debug/Makefile (routines): Move getlogin_r_chk to ...
26953 * login/Makefile (routines): ... here.
26954 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
26955 * login/Versions (libc: GLIBC_2.4): ... here.
26957 * io/poll.c (__poll): Renamed from poll.
26958 Add libc_hidden_def.
26959 (poll): Define as weak alias.
26961 * debug/ptsname_r_chk.c: Moved to ...
26962 * login/ptsname_r_chk.c: ... here.
26963 * debug/Makefile (routines): Move ptsname_r_chk to ...
26964 * login/Makefile (routines): ... here.
26965 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
26966 * login/Versions (libc: GLIBC_2.4): ... here.
26968 * posix/getlogin.c: Moved to ...
26969 * login/getlogin.c: ... here.
26970 * posix/getlogin_r.c: Moved to ...
26971 * login/getlogin_r.c: ... here.
26972 * posix/getlogin_r.c: Moved to ...
26973 * login/getlogin_r.c: ... here.
26974 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
26975 * login/Makefile (routines): ... here.
26976 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
26977 * login/Versions (libc: GLIBC_2.0): ... here.
26979 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
26980 (setrlimit): Define as weak alias.
26982 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
26983 Call __ names for open, ftruncate, and close.
26984 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
26985 (truncate): Define as weak alias.
26987 2013-05-06 Joseph Myers <joseph@codesourcery.com>
26989 * math/gen-libm-test.pl (parse_args): Initialize x before each
26990 test of frexp, modf and remquo.
26992 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
26993 test signgam value.
26995 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26999 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
27001 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27003 2013-05-06 Roland McGrath <roland@hack.frob.com>
27005 * elf/dl-writev.h: New file.
27006 * elf/dl-misc.c: Include it.
27007 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
27008 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
27010 2013-05-04 Joseph Myers <joseph@codesourcery.com>
27012 * math/libm-test.inc (noXFails): Remove variable.
27013 (noXPasses): Likewise.
27014 (BUILD_COMPLEX_INT): Remove macro.
27015 (print_screen): Remove xfail argument.
27016 (print_screen_max_error): Likewise.
27017 (update_stats): Likewise.
27018 (print_max_error): Likewise. Update calls to other affected
27020 (print_complex_max_error): Likewise.
27021 (test_single_exception): Update calls to print_screen.
27022 (test_single_errno): Likewise.
27023 (check_float_internal): Remove xfail argument. Update calls to
27024 other affected functions.
27025 (check_float): Likewise.
27026 (check_complex): Likewise.
27027 (check_int): Likewise.
27028 (check_long): Likewise.
27029 (check_bool): Likewise.
27030 (check_longlong): Likewise.
27031 (main): Don't print noXFails and noXPasses.
27032 * math/gen-libm-test.pl (top level): Don't mention expected
27033 failure handling in comment.
27034 (new_test): Don't handle expected failures.
27035 (parse_args): Don't mention expected failure handling in comment.
27036 (generate_testfile): Don't handle expected failures.
27037 (parse_ulps): Likewise.
27038 (print_ulps_file): Likewise.
27039 (get_failure): Remove function.
27040 (output_test): Don't handle expected failures.
27041 * make/README.libm-test: Don't mention expected failure handling.
27043 * math/libm-test.inc (plus_zero): Make const. Add initializer.
27044 (minus_zero): Likewise.
27045 (plus_infty): Likewise.
27046 (minus_infty): Likewise.
27047 (qnan_value): Likewise.
27048 (max_value): Likewise.
27049 (min_value): Likewise.
27050 (min_subnorm_value): Likewise.
27051 (initialize): Do not initialize those variables dynamically.
27053 2013-05-03 Roland McGrath <roland@hack.frob.com>
27055 * io/open.c (__open_2): Moved to ...
27056 * io/open_2.c: ... this new file.
27057 * io/open64.c (__open64_2): Moved to ...
27058 * io/open64_2.c: ... this new file.
27059 * io/openat.c (__openat_2): Moved to ...
27060 * io/openat_2.c: ... this new file.
27061 * io/openat64.c (__openat64_2): Moved to ...
27062 * io/openat64_2.c: ... this new file.
27063 * io/Makefile (routines): Add them.
27064 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
27065 * sysdeps/unix/sysv/linux/open_2.c: File removed.
27066 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
27067 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
27068 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
27069 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
27070 (__openat64): Add hidden_ver.
27071 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
27072 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
27074 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
27075 Separately conditionalize setting of GLRO(dl_sysinfo) so
27076 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
27077 as well, but the actual setting is only under [NEED_DL_SYSINFO].
27079 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27081 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
27082 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
27084 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
27085 * sysdeps/unix/sysv/linux/powerpc/init-first.c
27086 (_libc_vdso_platform_setup): Add __vdso_time initialization.
27087 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
27088 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
27090 2013-05-03 Joseph Myers <joseph@codesourcery.com>
27092 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
27093 test signgam value.
27095 * math/libm-test.inc (hypot_test): Do not use
27096 IGNORE_ZERO_INF_SIGN.
27098 2013-05-03 Andreas Jaeger <aj@suse.de>
27100 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
27102 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
27103 (PF_MAX): Adjust for VSOCK change.
27105 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27107 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27109 2013-05-02 Carlos O'Donell <carlos@redhat.com>
27112 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
27113 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
27114 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
27116 2013-05-02 David S. Miller <davem@davemloft.net>
27118 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27120 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
27122 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
27124 2013-05-01 Roland McGrath <roland@hack.frob.com>
27126 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
27128 2013-05-01 Richard Smith <richard@metafoo.co.uk>
27131 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
27132 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
27133 Use __attribute__ ((__gnu_inline__)).
27134 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
27135 Don't use __attribute__ ((__gnu_inline__)).
27137 2013-05-01 Joseph Myers <joseph@codesourcery.com>
27140 * math/s_catan.c (__catan): Handle small real or imaginary part of
27141 input specially to avoid spurious underflow.
27142 * math/s_catanf.c (__catanf): Likewise.
27143 * math/s_catanh.c (__catanh): Likewise.
27144 * math/s_catanhf.c (__catanhf): Likewise.
27145 * math/s_catanhl.c (__catanhl): Likewise.
27146 * math/s_catanl.c (__catanl): Likewise.
27147 * math/libm-test.inc (catan_test): Add more tests.
27148 (catanh_test): Likewise.
27149 * sysdeps/i386/fpu/libm-test-ulps: Update.
27150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27152 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27154 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27156 2013-04-30 Joseph Myers <joseph@codesourcery.com>
27159 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
27160 accurately for denominator in atan2.
27161 * math/s_catanf.c (__catanf): Likewise.
27162 * math/s_catanh.c (__catanh): Likewise.
27163 * math/s_catanhf.c (__catanhf): Likewise.
27164 * math/s_catanhl.c (__catanhl): Likewise.
27165 * math/s_catanl.c (__catanl): Likewise.
27166 * math/libm-test.inc (catan_test): Add more tests.
27167 (catanh_test): Likewise.
27168 * sysdeps/i386/fpu/libm-test-ulps: Update.
27169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27171 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27173 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
27175 * benchtests/Makefile (bench): Remove slow benchmarks.
27176 * benchtests/atan-inputs: Add slow benchmark inputs.
27177 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
27178 (BENCH_FUNC): Accept variant offset.
27180 * benchtests/bench-skeleton.c (main): Run benchmark for each
27182 * benchtests/cos-inputs: Add slow benchmark inputs.
27183 * benchtests/exp-inputs: Likewise.
27184 * benchtests/pow-inputs: Likewise.
27185 * benchtests/sin-inputs: Likewise.
27186 * benchtests/slowatan-inputs: Remove.
27187 * benchtests/slowatan.c: Remove.
27188 * benchtests/slowcos-inputs: Remove.
27189 * benchtests/slowcos.c: Remove.
27190 * benchtests/slowexp-inputs: Remove.
27191 * benchtests/slowexp.c: Remove.
27192 * benchtests/slowpow-inputs: Remove.
27193 * benchtests/slowpow.c: Remove.
27194 * benchtests/slowsin-inputs: Remove.
27195 * benchtests/slowsin.c: Remove.
27196 * benchtests/slowtan-inputs: Remove.
27197 * benchtests/slowtan.c: Remove.
27198 * benchtests/tan-inputs: Add slow benchmark inputs.
27199 * scripts/bench.pl: Parse comments and directives.
27201 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
27203 ($(objpfx)bench-%.c): Remove *-ITER.
27204 * benchtests/bench-modf.c: Remove definition of ITER.
27205 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
27206 (main): Loop for DURATION seconds instead of fixed number of
27208 * scripts/bench.pl: Don't expect iterations in parameters.
27210 2013-04-29 Roland McGrath <roland@hack.frob.com>
27212 * io/fchdir.c (__fchdir): Renamed from fchdir.
27213 (fchdir): Define as weak alias.
27215 2013-04-29 Joseph Myers <joseph@codesourcery.com>
27217 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
27218 (ERRNO_EDOM): Likewise.
27219 (ERRNO_ERANGE): Likewise.
27220 (noErrnoTests): New variable.
27221 (init_max_error): Set errno to 0.
27222 (test_single_errno): New function.
27223 (test_errno): Likewise.
27224 (check_float_internal): Call test_errno. Set errno to 0.
27225 (check_complex): Refer to errno tests in comment.
27226 (check_int): Call test_errno. Set errno to 0.
27227 (check_long): Likewise.
27228 (check_bool): Likewise.
27229 (check_longlong): Likewise.
27230 (cos_test): Use ERRNO_* flags for errno tests instead of
27232 (expm1_test): Likewise.
27233 (fmod_test): Likewise.
27234 (ilogb_test): Likewise.
27235 (lgamma_test): Likewise.
27236 (pow_test): Likewise.
27237 (remainder_test): Likewise.
27238 (sin_test): Likewise.
27239 (tan_test): Likewise.
27240 (yn_test): Likewise.
27241 (initialize): Set errno to 0.
27242 (main): Print number of errno tests.
27243 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
27245 2013-04-29 Andreas Jaeger <aj@suse.de>
27248 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
27252 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
27253 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
27257 * stdlib/random.c (__initstate): Return NULL if
27261 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
27262 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
27265 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27267 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27269 2013-04-29 Joseph Myers <joseph@codesourcery.com>
27271 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
27272 of individual tests.
27273 (casin_test): Likewise.
27274 (casinh_test): Likewise.
27276 2013-04-27 Joseph Myers <joseph@codesourcery.com>
27279 * math/s_catan.c (__catan): Handle arguments with large real or
27280 imaginary part separately without squaring.
27281 * math/s_catanf.c (__catanf): Likewise.
27282 * math/s_catanh.c (__catanh): Likewise.
27283 * math/s_catanhf.c (__catanhf): Likewise.
27284 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27286 (__catanhl): Handle arguments with large real or imaginary part
27287 separately without squaring.
27288 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27290 (__catanl): Handle arguments with large real or imaginary part
27291 separately without squaring.
27292 * math/libm-test.inc (catan_test): Add more tests.
27293 (catanh_test): Likewise.
27294 * sysdeps/i386/fpu/libm-test-ulps: Update.
27295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27297 2013-04-27 Andreas Jaeger <aj@suse.de>
27300 * stdlib/stdlib.h: Update guards for qecvt.
27301 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
27304 2013-04-27 Allan McRae <allan@archlinux.org>
27306 * sysdeps/i386/fpu/libm-test-ulps: Update.
27308 2013-04-26 Joseph Myers <joseph@codesourcery.com>
27311 * math/s_catan.c: Include <float.h>.
27312 (__catan): Ensure underflow exception occurs for underflowed
27314 * math/s_catanf.c: Include <float.h>.
27315 (__catanf): Ensure underflow exception occurs for underflowed
27317 * math/s_catanh.c: Include <float.h>.
27318 (__catanh): Ensure underflow exception occurs for underflowed
27320 * math/s_catanhf.c: Include <float.h>.
27321 (__catanhf): Ensure underflow exception occurs for underflowed
27323 * math/s_catanhl.c: Include <float.h>.
27324 (__catanhl): Ensure underflow exception occurs for underflowed
27326 * math/s_catanl.c: Include <float.h>.
27327 (__catanl): Ensure underflow exception occurs for underflowed
27329 * math/libm-test.inc (catan_test): Add more tests.
27330 (catanh_test): Likewise.
27333 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
27334 underflowed result.
27335 * math/s_ccoshf.c (__ccoshf): Likewise.
27336 * math/s_ccoshl.c (__ccoshl): Likewise.
27337 * math/s_csin.c (__csin): Likewise.
27338 * math/s_csinf.c (__csinf): Likewise.
27339 * math/s_csinh.c (__csinh): Likewise.
27340 * math/s_csinhf.c (__csinhf): Likewise.
27341 * math/s_csinhl.c (__csinhl): Likewise.
27342 * math/s_csinl.c (__csinl): Likewise.
27343 * math/libm-test.inc (ccos_test): Add more tests.
27344 (ccosh_test): Likewise.
27345 (csin_test): Likewise.
27346 (csinh_test): Likewise.
27348 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27350 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
27351 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
27352 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
27353 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
27354 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
27355 powerpc/power5+/fpu folders.
27356 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
27359 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
27361 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27363 2013-04-25 Joseph Myers <joseph@codesourcery.com>
27365 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
27366 additions to variable.
27367 [$(config-machine) = x86_64] (modules-names): Likewise.
27368 ($(objpfx)tst-audit3): Remove dependency.
27369 ($(objpfx)tst-audit3.out): Likewise.
27370 ($(objpfx)tst-audit4): Likewise.
27371 ($(objpfx)tst-audit4.out): Likewise.
27372 ($(objpfx)tst-audit5): Likewise.
27373 ($(objpfx)tst-audit5.out): Likewise.
27374 ($(objpfx)tst-audit6): Likewise.
27375 ($(objpfx)tst-audit6.out): Likewise.
27376 ($(objpfx)tst-audit7): Likewise.
27377 ($(objpfx)tst-audit7.out): Likewise.
27378 (tst-audit3-ENV): Remove variable.
27379 (tst-audit4-ENV): Likewise.
27380 (tst-audit5-ENV): Likewise.
27381 (tst-audit6-ENV): Likewise.
27382 (tst-audit7-ENV): Likewise.
27383 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
27384 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
27385 addition to variable.
27386 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
27387 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
27388 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
27389 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
27390 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
27391 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
27392 tst-audit3, tst-audit4 and tst-audit5.
27393 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
27394 tst-audit6 and tst-audit7.
27395 [$(subdir) = elf] (modules-names): Add audit modules for those
27397 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
27398 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
27399 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
27400 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
27401 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
27402 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
27403 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
27404 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
27405 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
27406 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
27407 [$(subdir) = elf] (tst-audit3-ENV): New variable.
27408 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
27409 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
27410 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
27411 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
27412 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
27414 [$(subdir) = elf && $(config-cflags-avx) = yes]
27415 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
27416 [$(subdir) = elf && $(config-cflags-avx) = yes]
27417 (CFLAGS-tst-auditmod4a.c): Likewise.
27418 [$(subdir) = elf && $(config-cflags-avx) = yes]
27419 (CFLAGS-tst-auditmod4b.c): Likewise.
27420 [$(subdir) = elf && $(config-cflags-avx) = yes]
27421 (CFLAGS-tst-auditmod6b.c): Likewise.
27422 [$(subdir) = elf && $(config-cflags-avx) = yes]
27423 (CFLAGS-tst-auditmod6c.c): Likewise.
27424 [$(subdir) = elf && $(config-cflags-avx) = yes]
27425 (CFLAGS-tst-auditmod7b.c): Likewise.
27426 * elf/tst-audit3.c: Move to ...
27427 * sysdeps/x86_64/tst-audit3.c: ... here.
27428 * elf/tst-audit4.c: Move to ...
27429 * sysdeps/x86_64/tst-audit4.c: ... here.
27430 * elf/tst-audit5.c: Move to ...
27431 * sysdeps/x86_64/tst-audit5.c: ... here.
27432 * elf/tst-audit6.c: Move to ...
27433 * sysdeps/x86_64/tst-audit6.c: ... here.
27434 * elf/tst-audit7.c: Move to ...
27435 * sysdeps/x86_64/tst-audit7.c: ... here.
27436 * elf/tst-auditmod3a.c: Move to ...
27437 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
27438 * elf/tst-auditmod3b.c: Move to ...
27439 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
27440 * elf/tst-auditmod4a.c: Move to ...
27441 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
27442 * elf/tst-auditmod4b.c: Move to ...
27443 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
27444 * elf/tst-auditmod5a.c: Move to ...
27445 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
27446 * elf/tst-auditmod5b.c: Move to ...
27447 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
27448 * elf/tst-auditmod6a.c: Move to ...
27449 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
27450 * elf/tst-auditmod6b.c: Move to ...
27451 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
27452 * elf/tst-auditmod6c.c: Move to ...
27453 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
27454 * elf/tst-auditmod7a.c: Move to ...
27455 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
27456 * elf/tst-auditmod7b.c: Move to ...
27457 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
27459 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
27462 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
27463 define unconditionally.
27464 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
27465 define unconditionally.
27466 (INT8_C, INT16_C, etc.): Likewise.
27468 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
27470 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
27471 __ehdr_start with hidden visibility.
27473 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
27475 2013-04-24 Carlos O'Donell <carlos@redhat.com>
27477 * math/libm-test.inc (cos_test): Use accurate hex constants.
27478 (sincost_test): Likewise.
27480 2013-04-24 Joseph Myers <joseph@codesourcery.com>
27482 * math/libm-test.inc (catan_test): Add more tests.
27483 (catanh_test): Likewise.
27485 * math/s_catanf.c (__catanf): Use suffixed floating-point
27487 * math/s_catanhf.c (__catanhf): Likewise.
27488 * math/s_catanhl.c (__catanhl): Likewise.
27489 * math/s_catanl.c (__catanl): Likewise.
27492 * math/s_catan.c (__catan): Calculate imaginary part of result
27493 with log1p not log unless computing log of number close to 0.
27494 * math/s_catanf.c (__catanf): Likewise.
27495 * math/s_catanl.c (__catanl): Likewise.
27496 * math/s_catanh.c (__catanh): Calculate real part of result with
27497 log1p not log unless computing log of number close to 0.
27498 * math/s_catanhf.c (__catanhf): Likewise.
27499 * math/s_catanhl.c (__catanhl): Likewise.
27500 * math/libm-test.inc (catan_test): Add more tests.
27501 (catanh_test): Likewise.
27502 * sysdeps/i386/fpu/libm-test-ulps: Update.
27503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27505 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
27507 * benchtests/Makefile: Mention files in which fast and slow
27508 paths of math functions are implemented.
27510 2013-04-23 Roland McGrath <roland@hack.frob.com>
27512 * sysdeps/posix/timespec_get.c: New file.
27514 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27516 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
27518 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
27520 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
27521 powerpc/power5/fpu folders.
27522 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
27523 * benchtests/Makefile: Add modf testcase.
27524 * benchtests/bench-modf.c: New file: Benchmark test for mo
27526 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
27529 * time/Makefile (tests): Add tst-strptime-whitespace.
27530 * time/strptime_l.c (get_number): Use ISSPACE.
27531 (__strptime_internal): Likewise.
27532 * time/tst-strptime-whitespace.c: New test case.
27534 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
27536 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
27538 (_nss_files_init): Set it here.
27540 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
27542 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
27543 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
27546 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
27548 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
27550 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27552 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
27555 2013-04-21 David S. Miller <davem@davemloft.net>
27557 * po/ru.po: Update Russion translation from translation project.
27559 2013-04-17 Adam Conrad <adconrad@0c3.net>
27561 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
27564 2013-04-17 Carlos O'Donell <carlos@redhat.com>
27566 * configure.in: Remove i386 configure warning. Remove i386 case.
27567 * configure: Regenerate.
27568 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
27569 Add example to error message.
27570 * sysdeps/i386/configure: Regenerate.
27572 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
27574 * benchtests/Makefile (bench): Add cos, tan, slowcos and
27576 * benchtests/cos-inputs: New file.
27577 * benchtests/slowcos-inputs: New file.
27578 * benchtests/slowcos.c: New file.
27579 * benchtests/slowtan-inputs: New file.
27580 * benchtests/slowtan.c: New file.
27581 * benchtests/tan-inputs: New file.
27583 2013-04-16 Roland McGrath <roland@hack.frob.com>
27585 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
27588 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27590 * benchtests/Makefile: Include cppflags-iterator.mk to add
27591 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
27593 * Makefile.in (bench-clean): New target.
27594 * benchtests/Makefile (bench-clean): Likewise.
27596 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
27598 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
27600 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
27602 * stdio-common/tstdiomisc.c: Fix coding-style violation.
27604 2013-04-15 Andreas Schwab <schwab@suse.de>
27606 * nscd/grpcache.c (cache_addgr): Properly check for short write.
27607 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27608 * nscd/pwdcache.c (cache_addpw): Likewise.
27609 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
27612 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27614 * benchtests/Makefile (bench): Write all output to
27615 bench-out.tmp together.
27617 2013-04-15 Andreas Schwab <schwab@suse.de>
27619 * nscd/nscd.c (main): Don't fork again after closing files.
27621 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27623 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
27625 * benchtests/Rules (bench-deps): Collect dependencies into a
27626 single variable. Add Makefile to dependencies.
27627 ($(objpfx)bench-%.c): Depend on bench-deps.
27629 2013-04-12 Roland McGrath <roland@hack.frob.com>
27630 Xavier Roche <roche+kml2@exalead.com>
27633 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
27634 just that it's a file descriptor.
27635 * manual/llio.texi (Synchronizing AIO Operations): Update description
27636 for EBADF error from aio_fsync.
27638 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
27640 * Rules (bench): Move target definition...
27641 * benchtests/Makefile: ... here.
27643 2013-04-11 Carlos O'Donell <carlos@redhat.com>
27645 * math/libm-test.inc (cos_test): Fix PI/2 test.
27646 (sincos_test): Likewise.
27647 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
27648 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
27650 2013-04-11 Andreas Schwab <schwab@suse.de>
27653 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
27654 accept exponent character only when digits were seen.
27655 * stdio-common/Makefile (tests): Add bug26.
27656 * stdio-common/bug26.c: New file.
27659 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
27662 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27664 * Makeconfig (rtld-prefix): Define built linker prefix.
27665 * Rules (run-bench): Use it.
27666 * math/Makefile (run-regen-ulps): Likewise.
27668 * Rules (bench): Remove eval.
27670 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27671 Roland McGrath <roland@hack.frob.com>
27672 Ondrej Bilka <neleai@seznam.cz>
27675 * time/getdate.c: Include ctype.h and alloca.h.
27676 (__getdate_r): Trim leading and trailing spaces of input.
27677 * time/tst-getdate.c (tests): Add tests with leading and
27680 2013-04-08 Roland McGrath <roland@hack.frob.com>
27683 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
27684 when computing value.
27686 2013-04-06 Carlos O'Donell <carlos@redhat.com>
27688 * math/README.libm-test (How can I generate "libm-test-ulps"?):
27689 Use testrun.sh to run libm tests.
27692 * elf/dl-open.c (dl_open_worker): memset all of seen array.
27694 2013-04-06 Marko Myllynen <myllynen@redhat.com>
27697 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
27699 2013-04-06 Carlos O'Donell <carlos@redhat.com>
27701 * Makefile.in (regen-ulps): New target.
27702 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
27703 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
27704 [ifneq (no,$(PERL)] (regen-ulps): New target.
27705 [ifeq (no,$(PERL)] (regen-ulps): New target.
27706 * math/libm-test.inc (ulps_file_name): Define.
27707 (output_dir): New variable.
27708 (options): Add "output-dir" option.
27709 (parse_opt): Handle 'o' case.
27710 (main): If output_dir is non-NULL use it as a prefix
27712 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
27714 2013-04-06 Carlos O'Donell <carlos@redhat.com>
27716 [BZ #10060, #10062]
27717 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
27718 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
27719 fail configure if __sync_val_compare_and_swap is not inlined.
27720 * sysdeps/i386/configure: Regenerate.
27721 * configure.in: Build for i686 when configured for i386.
27722 * configure: Regenerate.
27723 * README: Remove i386 reference.
27725 2013-04-06 Carlos O'Donell <carlos@redhat.com>
27727 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
27728 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27730 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
27732 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
27733 (lmsnanval): New variables.
27734 (F): Add conversion tests.
27735 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
27736 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
27738 * stdio-common/tstdiomisc.c (F): Properly collect individual
27741 [BZ #14686, #15336]
27742 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
27743 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
27744 Instead, use input NaN values or generate a qNaN by arithmetic
27745 operation. Also fix bugs to comply with the standard.
27746 * math/libm-test.inc (remainder_test): Add more tests.
27748 [BZ #15335, #15342]
27749 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
27750 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
27751 input NaN values or generate a qNaN by arithmetic operation.
27753 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
27756 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
27759 2013-04-03 Joseph Myers <joseph@codesourcery.com>
27762 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
27763 underflowed result.
27764 * math/s_cexpf.c (__cexpf): Likewise.
27765 * math/s_cexpl.c (__cexpl): Likewise.
27766 * math/libm-test.inc (cexp_test): Add more tests.
27768 2013-04-03 Andreas Schwab <schwab@suse.de>
27771 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
27772 order arrays from heap if bigger than alloca cutoff.
27774 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
27776 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
27777 (SNAN_TESTS_double): Refer to GCC PR56831.
27778 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
27781 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
27783 * Rules (bench): Move bench.out after the run is complete.
27785 * Rules (bench): Echo currently running benchmark.
27787 * benchtests/Makefile (bench): Add atan and slowatan.
27788 * benchtests/atan-inputs: New file.
27789 * benchtests/slowatan-inputs: New file.
27790 * benchtests/slowatan.c: New file.
27792 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
27793 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
27797 * sysdeps/unix/sysv/linux/kernel-features.h
27798 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
27799 __ASSUME_XFS_RESTRICTED_CHOWN.
27800 * sysdeps/unix/sysv/linux/pathconf.c
27801 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
27802 Save and restore errno.
27804 2013-04-02 Joseph Myers <joseph@codesourcery.com>
27807 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
27808 arguments using __kernel_casinh.
27809 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
27810 arguments using __kernel_casinhf.
27811 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
27812 arguments using __kernel_casinhl.
27813 * math/libm-test.inc (cacosh_test): Add more tests.
27814 * sysdeps/i386/fpu/libm-test-ulps: Update.
27815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27817 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
27819 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
27820 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
27822 * bench/Makefile (bench): Add sin and slowsin.
27823 * benchtests/sin-inputs: New file.
27824 * benchtests/slowsin-inputs: New file.
27825 * benchtests/slowsin.c: New file.
27827 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
27828 (bench): Add slowexp and slowpow.
27829 (exp-ITER): Increase iterations.
27830 (pow-ITER): Likewise.
27831 * benchtests/exp-inputs: Change input.
27832 * benchtests/pow-inputs: Likewise.
27833 * benchtests/slowexp-inputs: New file.
27834 * benchtests/slowexp.c: New file.
27835 * benchtests/slowpow-inputs: New file.
27836 * benchtests/slowpow.c: New file.
27838 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27840 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
27842 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
27843 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
27844 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
27845 * benchtests/Makefile: Add rint benchtest.
27846 * benchtests/rint-inputs: Input for rint benchtest.
27848 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
27850 * Versions.def (libm): Add GLIBC_2.18.
27851 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
27852 hidden libm prototypes.
27853 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
27854 * math/Makefile (libm-calls): Add s_issignaling.
27855 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
27856 __issignalingf, __issignalingl. Adjust all libm.abilist files.
27857 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
27859 * math/math.h [__USE_GNU] (issignaling): New macro.
27860 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
27861 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
27862 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
27863 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
27864 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
27865 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
27866 * manual/arith.texi (issignaling): New section.
27867 * manual/libm-err-tab.pl (@all_functions): Update comment.
27868 * math/gen-libm-test.pl (parse_args): Apply special handling for
27870 * math/libm-test.inc (print_float, issignaling_test): New
27872 (check_float_internal): Add issignaling checks.
27873 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
27874 default definition.
27875 * sysdeps/powerpc/math-tests.h: New file.
27876 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
27878 * math/test-snan.c (TEST_FUNC): Likewise.
27880 2013-03-30 David S. Miller <davem@davemloft.net>
27882 * po/de.po: Update from translation team.
27884 2013-03-30 Joseph Myers <joseph@codesourcery.com>
27887 * math/k_casinh.c (__kernel_casinh): Handle arguments with
27888 imaginary part less than 1.0 and real part less than 0.5
27890 * math/k_casinhf.c (__kernel_casinhf): Likewise.
27891 * math/k_casinhl.c (__kernel_casinhl): Likewise.
27892 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
27893 (cacos_test): Add more tests.
27894 (casin_test): Likewise.
27895 (casinh_test): Likewise.
27896 * sysdeps/i386/fpu/libm-test-ulps: Update.
27897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27899 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27901 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
27902 ONE with its value.
27904 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
27905 (__pow_mp): Replace ONE and MONE with their values.
27906 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27907 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
27908 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27909 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
27910 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27911 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27913 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
27915 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
27916 (__pow_mp): Replace ZERO and MZERO with their values.
27917 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
27918 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27919 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27920 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27921 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27922 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
27925 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
27927 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
27929 2013-03-28 Roland McGrath <roland@hack.frob.com>
27931 * include/stdlib.h [!SHARED] (__call_tls_dtors):
27932 Declare with __attribute__ ((weak)).
27933 * stdlib/exit.c (__libc_atexit) [!SHARED]:
27934 Call __call_tls_dtors only if it's not NULL.
27936 2013-03-28 Roland McGrath <roland@hack.frob.com>
27938 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
27939 didn't do it already, then set _dl_phdr and _dl_phnum based on the
27940 magic __ehdr_start linker symbol if it's defined.
27941 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
27942 them up here if it was already done.
27944 * elf/dl-support.c (_dl_phdr): Make pointer to const.
27945 (_dl_aux_init): Use const in cast when setting it.
27946 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
27947 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
27948 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
27950 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
27952 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
27953 * csu/libc-tls.c: Nor here.
27954 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
27956 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
27957 (__libc_message): Never call vsyslog.
27959 2013-03-28 Alan Modra <amodra@gmail.com>
27961 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
27963 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
27966 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27969 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
27971 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27973 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27976 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
27977 Don't add gid passed as argument.
27979 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
27981 2013-03-27 Joseph Myers <joseph@codesourcery.com>
27984 * math/k_casinh.c (__kernel_casinh): Handle arguments with
27985 imaginary part between 1.0 and 1.5 and real part less than 0.5
27987 * math/k_casinhf.c (__kernel_casinhf): Likewise.
27988 * math/k_casinhl.c (__kernel_casinhl): Likewise.
27989 * math/libm-test.inc (cacos_test): Add more tests.
27990 (casin_test): Likewise.
27991 (casinh_test): Likewise.
27992 * sysdeps/i386/fpu/libm-test-ulps: Update.
27993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27995 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27997 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
28000 (denorm): Likewise.
28001 (__dbl_mp): Likewise.
28002 (add_magnitudes): Likewise.
28003 (sub_magnitudes): Likewise.
28011 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
28013 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
28014 (__dubcos): Likewise.
28015 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
28016 (__ieee754_acos): Likewise.
28017 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
28018 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
28019 (__exp1): Likewise.
28020 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28021 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28023 (my_log2): Likewise.
28024 (checkint): Likewise.
28025 * sysdeps/ieee754/dbl-64/e_remainder.c
28026 (__ieee754_remainder): Likewise.
28027 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28028 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
28029 (bsloww): Likewise.
28030 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28032 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
28033 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
28034 MANTISSA_STORE_T to store computations on mantissa. Use
28035 macros for rounding and division.
28036 (denorm): Likewise.
28037 (__dbl_mp): Likewise.
28038 (add_magnitudes): Likewise.
28039 (sub_magnitudes): Likewise.
28042 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
28043 powers of two in terms of TWOPOW macro.
28044 (mp_no): Make type of mantissa as MANTISSA_T.
28045 [!RADIXI]: Define RADIXI.
28046 [!TWO52]: Define TWO52.
28047 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
28049 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28051 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
28052 llroundl symbol when building for PPC32.
28054 2013-03-24 Mark H Weaver <mhw@netris.org>
28056 * manual/arith.texi (Normalization Functions): Fix prototypes for
28057 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
28059 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28062 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
28063 high value to check if expl overflow.
28064 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
28065 to check for underflow and overflow.
28066 * math/libm-test.inc: Add exp test.
28068 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
28071 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
28074 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28076 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
28079 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
28081 * math/gen-libm-test.pl (parse_args, special_functions): Properly
28082 wrap blocks consisting of several statements.
28084 * sysdeps/generic/math-tests.h: New file.
28085 * sysdeps/i386/fpu/math-tests.h: Likewise.
28086 * math/test-snan.c: Include it.
28087 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
28089 2013-03-21 Joseph Myers <joseph@codesourcery.com>
28092 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
28093 (__ieee754_j0l): Do not improve calculations using cos of twice
28094 input for inputs above LDBL_MAX / 2.0L.
28095 (__ieee754_y0l): Likewise.
28096 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
28097 (__ieee754_j1l): Do not improve calculations using cos of twice
28098 input for inputs above LDBL_MAX / 2.0L.
28099 (__ieee754_y1l): Likewise.
28100 * math/libm-test.inc (j0_test): Add another test.
28101 (j1_test): Likewise.
28102 (y0_test): Likewise.
28103 (y1_test): Likewise.
28104 * sysdeps/i386/fpu/libm-test-ulps: Update.
28106 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28108 * Rules ($(objpfx)bench-%.c): Include code from a C source
28111 2013-03-21 Joseph Myers <joseph@codesourcery.com>
28114 * math/k_casinh.c (__kernel_casinh): Handle arguments with
28115 imaginary part 1.0 and real part less than 0.5 specially.
28116 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28117 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28118 * math/libm-test.inc (cacos_test): Add more tests.
28119 (casin_test): Likewise.
28120 (casinh_test): Likewise.
28121 * sysdeps/i386/fpu/libm-test-ulps: Update.
28122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28124 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28126 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
28127 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
28129 2013-03-20 Joseph Myers <joseph@codesourcery.com>
28131 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
28132 * config.make.in (config-cflags-sse4): Remove variable.
28133 (config-cflags-avx): Likewise.
28134 (config-cflags-sse2avx): Likewise.
28135 (config-cflags-novzeroupper): Likewise.
28136 (config-asflags-i686): Likewise.
28137 (have-mfma4): Likewise.
28138 (have-as-vis3): Likewise.
28140 * configure.in (MIG): Do not AC_SUBST.
28141 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
28142 (libc_cv_cc_sse4): Do not AC_SUBST.
28143 (libc_cv_cc_avx): Likewise.
28144 (libc_cv_cc_sse2avx): Likewise.
28145 (libc_cv_cc_novzeroupper): Likewise.
28146 (libc_cv_cc_fma4): Likewise.
28147 (libc_cv_as_i686): Likewise.
28148 (libc_cv_sparc_as_vis3): Likewise.
28149 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
28151 (config-asflags-i686): Likewise.
28152 (config-cflags-avx): Likewise.
28153 (config-cflags-sse2avx): Likewise.
28154 (have-mfma4): Likewise.
28155 (config-cflags-novzeroupper): Likewise.
28156 * sysdeps/mach/configure.in (MIG): Likewise.
28157 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
28158 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
28160 (config-cflags-avx): Likewise.
28161 (config-cflags-sse2avx): Likewise.
28162 (have-mfma4): Likewise.
28163 (config-cflags-novzeroupper): Likewise.
28164 * configure: Regenerated.
28165 * sysdeps/i386/configure: Likewise.
28166 * sysdeps/mach/configure: Likewise.
28167 * sysdeps/sparc/configure: Likewise.
28168 * sysdeps/x86_64/configure: Likewise.
28170 2013-03-20 Roland McGrath <roland@hack.frob.com>
28173 * locale/programs/localedef.c (options): Put N_ translation marker
28174 on argument names, not just descriptions.
28176 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28178 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
28180 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
28183 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
28185 2013-03-19 Roland McGrath <roland@hack.frob.com>
28187 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
28188 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
28189 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
28190 [!BEFORE_ABORT] (before_abort): New function.
28191 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
28192 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
28193 (writev_for_fatal): New function.
28194 (WRITEV_FOR_FATAL): New macro; call that.
28195 (backtrace_and_maps): New function.
28196 (BEFORE_ABORT): New macro; call that.
28197 (struct str_list): Type removed.
28198 (__libc_message, __libc_fatal): Functions removed.
28199 Include <sysdeps/posix/libc_fatal.c> instead.
28201 2013-03-19 Joseph Myers <joseph@codesourcery.com>
28203 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
28205 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
28208 2013-03-19 Andreas Schwab <schwab@suse.de>
28210 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
28211 * sysdeps/gnu/configure: Regenerate.
28213 * configure.in: Substitute libc_cv_rtlddir.
28214 * configure: Regenerate.
28215 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
28216 * Makeconfig (rtlddir, inst_rtlddir): New variables.
28217 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
28218 * elf/Makefile (install-others, CFLAGS-interp.c)
28219 (ldso_install, common-ldd-rewrite): Likewise.
28220 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
28221 $(inst_slibdir)/$(rtld-installed-name).
28222 * scripts/rellns-sh: Add -p option.
28223 * Makerules (make-shlib-link): Use rellns-sh to get relative name
28226 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28228 * manual/nptl.texi: Renamed to ...
28229 * manual/threads.texi: ... this.
28230 * manual/Makefile (chapters): Update.
28232 2013-03-18 Roland McGrath <roland@hack.frob.com>
28235 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
28236 on argument names, not just descriptions.
28237 * malloc/memusagestat.c (options): Likewise.
28238 * nss/getent.c (options): Likewise.
28240 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
28243 * iconv/iconv_prog.c (options): Put N_ translation marker
28244 on argument names, not just descriptions.
28245 * iconv/iconvconfig.c (options): Likewise.
28247 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
28249 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
28250 implementation which is faster on all x86_64 architectures.
28251 Tested on AMD, Intel Nehalem, SNB, IVB.
28252 * sysdeps/x86_64/strnlen.S: Likewise.
28254 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28255 Remove all multiarch strlen and strnlen versions.
28256 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
28257 Remove strlen and strnlen related parts.
28259 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
28260 Inline strlen part.
28261 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
28263 * sysdeps/x86_64/multiarch/strlen.S: Remove.
28264 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
28265 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
28266 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
28267 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28268 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
28270 2013-03-17 Carlos O'Donell <carlos@redhat.com>
28272 * manual/memory.texi (Malloc Tunable Parameters):
28273 Sort parameters alphabetically. Add comments for missing entries.
28275 2013-03-17 David S. Miller <davem@davemloft.net>
28277 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28279 2013-03-16 Joseph Myers <joseph@codesourcery.com>
28282 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
28283 for arguments at most half maximum finite value.
28284 * math/libm-test.inc (j0_test): Add more tests.
28285 (j1_test): Likewise.
28286 (y0_test): Likewise.
28287 (y1_test): Likewise.
28288 * sysdeps/i386/fpu/libm-test-ulps: Update.
28289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28292 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
28293 1 / x and functions P and Q for arguments above 0x1p256L.
28294 (__ieee754_y0l): Likewise.
28295 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
28296 (__ieee754_y1l): Likewise.
28297 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
28298 (j1_test): Likewise.
28299 (y0_test): Likewise.
28300 (y1_test): Likewise.
28302 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
28304 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
28307 2013-03-15 Roland McGrath <roland@hack.frob.com>
28309 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
28310 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
28311 zero since it's initialized to EXEC_PAGESIZE.
28313 * sysdeps/unix/sysv/linux/ldsodefs.h
28314 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
28315 * sysdeps/generic/ldsodefs.h: ... here.
28317 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
28319 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
28321 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
28323 * math/test-snan.c: Renamed from
28324 sysdeps/powerpc/fpu/test-powerpc-snan.c.
28325 * math/Makefile (tests): Add test-snan.
28326 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
28329 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
28330 SUFFIX. Initialize qNaN_var with __builtin_nan family of
28332 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
28333 __builtin_nan family of functions.
28334 * math/libm-test.inc (initialize): Initialize qnan_value with
28335 __builtin_nan family of functions.
28336 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
28338 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
28340 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
28341 storage class. Initialize qNaN_var and sNaN_var with
28342 __builtin_nan and __builtin_nans families of functions,
28345 * math/libm-test.inc (acosh_test): Also test with qNaN input.
28346 (sqrt_test): Remove duplicate test with qNaN input.
28347 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
28348 (round_test, signbit_test, significand_test): Note missing +/-Inf
28349 as well as qNaN tests.
28351 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
28352 qNaN_var. Fix a few strings, too.
28353 * math/libm-test.inc (nan_value): Rename to qnan_value.
28354 * math/gen-libm-test.pl (%beautify): Adjust to that.
28355 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
28356 * math/test-misc.c (main): Likewise.
28357 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
28358 to __qnan_bytes, and __qnan_union, respectively.
28359 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
28361 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
28362 and lqnanval, respectively.
28363 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
28364 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
28365 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
28366 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
28368 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
28369 * math/test-misc.c (main) [__x86_64__]: Enable test for long
28372 * math/test-misc.c (main): Fix copy'n'pastos.
28373 * misc/tst-efgcvt.c (special): Likewise.
28375 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
28376 Remove declarations.
28378 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28380 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
28381 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
28382 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
28383 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
28385 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28387 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
28388 macro to return vdso values correctly in IFUNC implementations.
28389 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
28390 Optimization by using IFUNC.
28392 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28393 Richard Henderson <rth@redhat.com>
28394 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28396 * Makefile.in (bench): New target.
28397 * NEWS: Mention the benchmark framework.
28398 * Rules (bench): Likewise.
28399 (binaries-bench): Generate binaries for functions to
28401 * benchtests/Makefile: New makefile for benchmark tests.
28402 * benchtests/bench-skeleton.c: New skeleton file for benchmark
28404 * benchtests/exp-inputs: New input file for EXP function.
28405 * benchtests/pow-inputs: New input file for POW function.
28406 * scripts/bench.pl: New script to generate source files for
28407 benchmark programs.
28409 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28411 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
28412 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
28413 computations on mantissa. Use macros for rounding and
28415 (denorm): Likewise.
28416 (__dbl_mp): Likewise.
28417 (add_magnitudes): Likewise.
28418 (sub_magnitudes): Likewise.
28421 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
28422 powers of two in terms of TWOPOW macro.
28423 (mp_no): Make type of mantissa as MANTISSA_T.
28424 [!RADIXI]: Define RADIXI.
28425 [!TWO52]: Define TWO52.
28426 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
28428 * manual/nptl.texi (cindex): Modify threads to pthreads.
28430 2013-03-15 Joseph Myers <joseph@codesourcery.com>
28432 * sysdeps/x86_64/preconfigure: Regenerated.
28434 2013-03-14 Joseph Myers <joseph@codesourcery.com>
28437 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
28439 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
28440 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
28442 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
28443 * math/libm-test.inc (j0_test): Do not allow one spurious
28444 underflow exception.
28445 (y1_test): Likewise.
28447 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28449 * manual/Makefile (chapters): Add nptl.
28450 * manual/debug.texi (Debugging Support): Add link to Threads
28452 * manual/nptl.texi: New file.
28454 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
28456 2013-03-14 Petr Baudis <pasky@ucw.cz>
28458 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
28459 for non-NULL pointer before the memory validity test. Pointed
28460 out by Holger Brunck <holger.brunck@keymile.com>.
28462 2013-03-13 Andreas Schwab <schwab@suse.de>
28464 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
28467 2013-03-13 Joseph Myers <joseph@codesourcery.com>
28469 * timezone/zic.c: Update from tzcode 2013b.
28471 2013-03-12 Carlos O'Donell <carlos@redhat.com>
28473 * manual/install.texi (Configuring and compiling):
28474 Mention i686 and i586.
28475 * INSTALL: Regenerate.
28477 2013-03-12 Roland McGrath <roland@hack.frob.com>
28479 * sysdeps/init_array/elf-init.c: New file.
28481 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
28482 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
28484 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
28485 __gmon_start__ as global, but as static with a .preinit_array pointer.
28486 * sysdeps/init_array/gmon-start.c: New file. Use that.
28487 * sysdeps/init_array/crti.S: New file, empty except for comments.
28488 * sysdeps/init_array/crtn.S: Likewise.
28490 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
28492 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
28494 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28495 Remove Prefer_SSE_for_memop.
28496 * sysdeps/x86_64/multiarch/init-arch.h: Remove
28497 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
28498 HAS_PREFER_SSE_FOR_MEMOP.
28499 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
28501 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28502 Remove bzero, memset ifunc support.
28503 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
28504 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
28505 * sysdeps/x86_64/multiarch/memset.S: Likewise.
28506 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28508 2013-03-11 Andreas Schwab <schwab@suse.de>
28511 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
28513 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
28514 (GLIBC_2.16): Remove pthread_atfork.
28516 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
28518 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
28519 (ptestcases.h): Likewise.
28521 2013-03-08 Roland McGrath <roland@hack.frob.com>
28523 * Makeconfig ($(common-objpfx)config.status): Depend on
28524 sysdeps/*/preconfigure{,.in} too.
28526 2013-03-08 Joseph Myers <joseph@codesourcery.com>
28528 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
28529 (__free_hook): Use void * instead of __malloc_ptr_t.
28530 (__malloc_hook): Likewise.
28531 (__realloc_hook): Likewise.
28532 (__memalign_hook): Likewise.
28533 (__after_morecore_hook): Likewise.
28534 * malloc/arena.c (save_malloc_hook): Likewise.
28535 (save_free_hook): Likewise.
28536 * malloc/hooks.c (malloc_hook_ini): Likewise.
28537 (realloc_hook_ini): Likewise.
28538 (memalign_hook_ini): Likewise.
28539 * malloc/malloc.c (malloc_hook_ini): Likewise.
28540 (realloc_hook_ini): Likewise.
28541 (memalign_hook_ini): Likewise.
28542 (__free_hook): Likewise.
28543 (__malloc_hook): Likewise.
28544 (__realloc_hook): Likewise.
28545 (__memalign_hook): Likewise.
28546 (__libc_malloc): Likewise.
28547 (__libc_free): Likewise.
28548 (__libc_realloc): Likewise.
28549 (__libc_memalign): Likewise.
28550 (__libc_valloc): Likewise.
28551 (__libc_pvalloc): Likewise.
28552 (__libc_calloc): Likewise.
28553 (__posix_memalign): Likewise.
28554 * malloc/morecore.c (__sbrk): Likewise.
28555 (__default_morecore): Likewise.
28557 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
28559 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
28560 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
28561 __malloc_ptrdiff_t.
28563 * malloc/malloc.h (__malloc_size_t): Remove macro.
28564 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
28566 (old_memalign_hook): Likewise.
28567 (old_realloc_hook): Likewise.
28568 (struct hdr): Likewise.
28570 (mallochook): Likewise.
28571 (memalignhook): Likewise.
28572 (reallochook): Likewise.
28573 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
28574 (tr_old_realloc_hook): Likewise.
28575 (tr_old_memalign_hook): Likewise.
28576 (tr_mallochook): Likewise.
28577 (tr_reallochook): Likewise.
28578 (tr_memalignhook): Likewise.
28580 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28582 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
28583 default_ldbl_pack and using as default implementation.
28584 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
28586 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
28587 redundant definition.
28588 (ldbl_insert_mantissa): Likewise.
28589 (ldbl_canonicalize): Likewise.
28590 (ldbl_nearbyint): Likewise.
28591 (ldbl_pack): Rename to ldbl_pack_ppc.
28592 (ldbl_unpack): Rename to ldbl_unpack_ppc.
28593 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
28594 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
28596 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
28598 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
28599 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
28600 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
28601 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
28602 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
28603 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
28604 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
28605 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
28607 2013-03-07 Andreas Jaeger <aj@suse.de>
28609 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28612 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
28614 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
28615 Include mpa.h and declare __MPEXP.
28616 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
28617 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
28618 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
28619 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
28620 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
28621 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
28622 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
28624 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
28625 (__slowpow): Use long double EXPL and LOGL functions to
28627 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
28628 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
28629 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
28630 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
28631 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
28632 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
28634 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
28635 intermediate variable to calculate exponent.
28637 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
28641 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
28642 [!NO__SQR]: Define __sqr.
28643 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
28644 and NO__SQR. Remove all code except __mul and __sqr. Include
28645 sysdeps/ieee754/dbl-64/mpa.c.
28646 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28649 * posix/Makefile (tests): Add tst-pathconf.
28650 * posix/tst-pathconf.c: New test case.
28651 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
28653 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
28655 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
28657 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
28659 2013-03-06 Andreas Jaeger <aj@suse.de>
28661 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
28662 definition via __MAP_ANONYMOUS.
28664 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
28665 it's not part of Linux headers.
28667 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
28668 (MAP_HUGE_MASK): Define.
28670 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28672 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28673 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28675 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28676 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28678 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28679 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
28681 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28683 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
28684 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
28685 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
28686 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
28687 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
28688 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
28690 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
28693 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28694 Handle f2fs and efivarfs.
28696 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
28699 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
28700 (EFIVARFS_MAGIC): Add.
28701 (F2FS_LINK_MAX): Add.
28703 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
28705 * stdio-common/vfprintf.c: Replace __builtin_expect with
28708 2013-03-06 Joseph Myers <joseph@codesourcery.com>
28711 * sysdeps/generic/bp-sym.h: Remove file.
28712 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
28713 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
28714 <bp-sym.h> and <bp-asm.h>.
28715 (__longjmp): Don't use BP_SYM.
28716 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
28718 (memcpy): Don't use BP_SYM.
28719 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
28720 <bp-sym.h> and <bp-asm.h>.
28721 (memcpy): Don't use BP_SYM.
28722 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
28724 (memcpy): Don't use BP_SYM.
28725 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
28727 (memset): Don't use BP_SYM.
28728 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28729 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28730 (__bzero): Don't use BP_SYM.
28731 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28732 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28733 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
28734 <bp-sym.h> and <bp-asm.h>.
28735 (memcmp): Don't use BP_SYM. Remove comment about bounded
28737 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
28738 <bp-sym.h> and <bp-asm.h>.
28739 (memcpy): Don't use BP_SYM.
28740 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
28741 <bp-sym.h> and <bp-asm.h>.
28742 (memset): Don't use BP_SYM.
28743 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28744 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28745 (__bzero): Don't use BP_SYM.
28746 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28747 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28748 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
28749 <bp-sym.h> and <bp-asm.h>.
28750 (strncmp): Don't use BP_SYM. Remove comment about bounded
28752 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
28753 <bp-sym.h> and <bp-asm.h>.
28754 (memcpy): Don't use BP_SYM.
28755 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
28756 <bp-sym.h> and <bp-asm.h>.
28757 (memset): Don't use BP_SYM.
28758 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28759 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28760 (__bzero): Don't use BP_SYM.
28761 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28762 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28763 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
28764 <bp-sym.h> and <bp-asm.h>.
28765 (__memchr): Don't use BP_SYM.
28766 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
28767 <bp-sym.h> and <bp-asm.h>.
28768 (memcmp): Don't use BP_SYM. Remove comment about bounded
28770 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
28771 <bp-sym.h> and <bp-asm.h>.
28772 (memcpy): Don't use BP_SYM.
28773 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
28774 <bp-sym.h> and <bp-asm.h>.
28775 (__mempcpy): Don't use BP_SYM.
28776 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
28777 <bp-sym.h> and <bp-asm.h>.
28778 (__memrchr): Don't use BP_SYM.
28779 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
28780 <bp-sym.h> and <bp-asm.h>.
28781 (memset): Don't use BP_SYM.
28782 (__bzero): Likewise.
28783 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
28784 <bp-sym.h> and <bp-asm.h>.
28785 (__rawmemchr): Don't use BP_SYM.
28786 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
28787 <bp-sym.h> and <bp-asm.h>.
28788 (__STRCMP): Don't use BP_SYM.
28789 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
28790 <bp-sym.h> and <bp-asm.h>.
28791 (strchr): Don't use BP_SYM.
28792 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
28793 <bp-sym.h> and <bp-asm.h>.
28794 (__strchrnul): Don't use BP_SYM.
28795 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
28796 <bp-sym.h> and <bp-asm.h>.
28797 (strlen): Don't use BP_SYM.
28798 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
28799 <bp-sym.h> and <bp-asm.h>.
28800 (strncmp): Don't use BP_SYM. Remove comment about bounded
28802 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
28803 <bp-sym.h> and <bp-asm.h>.
28804 (__strnlen): Don't use BP_SYM.
28805 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
28806 <bp-sym.h> and <bp-asm.h>.
28807 (__GI__setjmp): Don't use BP_SYM.
28808 (_setjmp): Likewise.
28809 (__sigsetjmp): Likewise.
28810 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
28811 (L(start_addresses)): Don't use BP_SYM.
28812 (_start): Likewise.
28813 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
28815 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
28816 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
28817 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28818 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28819 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
28821 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
28822 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
28823 about bounded pointers.
28824 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28825 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28826 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
28828 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
28829 about bounded pointers. Remove GKM FIXME comments.
28830 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28831 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
28833 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
28834 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
28835 Remove GKM FIXME comments.
28836 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28837 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28838 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
28840 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
28841 about bounded pointers. Remove GKM FIXME comment.
28842 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
28844 (strncmp): Don't use BP_SYM. Remove comment about bounded
28846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
28847 <bp-sym.h> and <bp-asm.h>.
28848 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
28849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
28850 <bp-sym.h> and <bp-asm.h>.
28851 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
28854 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
28856 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
28859 2013-03-05 David S. Miller <davem@davemloft.net>
28861 * po/es.po: Update from translation team.
28863 2013-03-05 Andreas Jaeger <aj@suse.de>
28865 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
28866 <bits/mman-linux.h>.
28867 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28869 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
28870 <bits/mman-linux.h> to end of file.
28871 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28873 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
28874 <bits/mman-linux.h> to end of file.
28875 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28877 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
28878 <bits/mman-linux.h> to end of file.
28880 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
28881 (MCL_CURRENT, MCL_FUTURE): Define here.
28883 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28886 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
28888 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28890 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28892 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
28893 fourth parameter needed for rt_sigprocmask syscall.
28894 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
28895 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
28896 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
28897 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
28898 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
28899 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
28901 2013-03-04 Joseph Myers <joseph@codesourcery.com>
28904 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
28905 comment about bounded pointers.
28906 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
28907 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
28909 2013-03-04 Andreas Jaeger <aj@suse.de>
28911 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
28912 common definitions.
28914 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
28915 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
28916 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
28917 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
28918 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
28919 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
28921 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28924 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
28925 __ieee754_sqrl instead of __sqrl.
28927 2013-03-01 Joseph Myers <joseph@codesourcery.com>
28929 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
28930 * sysdeps/powerpc/fpu_control.h: ... here.
28931 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
28932 * sysdeps/powerpc/bits/fenvinline.h: ... here.
28933 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
28934 * sysdeps/powerpc/bits/mathinline.h: ... here.
28936 2013-03-01 Roland McGrath <roland@hack.frob.com>
28938 * elf/dl-hwcaps.c (_dl_important_hwcaps):
28939 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
28940 to just [NEED_DL_SYSINFO_DSO].
28941 * elf/dl-support.c: Likewise.
28942 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
28943 * elf/rtld.c (dl_main): Likewise.
28944 * elf/setup-vdso.h (setup_vdso): Likewise.
28945 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
28946 * sysdeps/unix/sysv/linux/dl-sysdep.c
28947 (_dl_discover_osversion): Likewise.
28949 2013-03-01 Carlos O'Donell <carlos@redhat.com>
28951 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
28952 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
28954 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
28956 * NEWS: Mention libm performance improvements and non-x86 PI
28959 * csu/libc-start.c (__pthread_initialize_minimal): Change
28960 function arguments.
28961 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
28963 2013-02-28 Joseph Myers <joseph@codesourcery.com>
28966 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
28967 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
28968 <bp-sym.h> and <bp-asm.h>.
28969 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28970 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
28972 (memcpy): Don't use BP_SYM.
28973 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
28975 (__mpn_add_n): Don't use BP_SYM.
28976 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
28977 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
28979 (__mpn_addmul_1): Don't use BP_SYM.
28980 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28981 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
28983 (_setjmp): Don't use BP_SYM.
28984 (__novmx_setjmp): Likewise.
28985 (__GI__setjmp): Likewise.
28986 (__vmx_setjmp): Likewise.
28987 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
28989 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
28990 (__bzero): Don't use BP_SYM.
28991 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28992 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28993 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
28994 <bp-sym.h> and <bp-asm.h>.
28995 (memcpy): Don't use BP_SYM.
28996 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
28997 <bp-sym.h> and <bp-asm.h>.
28998 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28999 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
29000 <bp-sym.h> and <bp-asm.h>.
29001 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29002 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
29004 (__mpn_lshift): Don't use BP_SYM.
29005 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29006 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
29008 (memset): Don't use BP_SYM.
29009 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29010 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29011 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
29013 (__mpn_mul_1): Don't use BP_SYM.
29014 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29015 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
29016 <bp-sym.h> and <bp-asm.h>.
29017 (memcmp): Don't use BP_SYM.
29018 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
29019 <bp-sym.h> and <bp-asm.h>.
29020 (memcpy): Don't use BP_SYM.
29021 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
29022 <bp-sym.h> and <bp-asm.h>.
29023 (memset): Don't use BP_SYM.
29024 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
29025 <bp-sym.h> and <bp-asm.h>.
29026 (strncmp): Don't use BP_SYM.
29027 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
29028 <bp-sym.h> and <bp-asm.h>.
29029 (memcpy): Don't use BP_SYM.
29030 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
29031 <bp-sym.h> and <bp-asm.h>.
29032 (memset): Don't use BP_SYM.
29033 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
29034 <bp-sym.h> and <bp-asm.h>.
29035 (__memchr): Don't use BP_SYM.
29036 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
29037 <bp-sym.h> and <bp-asm.h>.
29038 (memcmp): Don't use BP_SYM.
29039 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
29040 <bp-sym.h> and <bp-asm.h>.
29041 (memcpy): Don't use BP_SYM.
29042 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
29043 <bp-sym.h> and <bp-asm.h>.
29044 (__mempcpy): Don't use BP_SYM.
29045 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
29046 <bp-sym.h> and <bp-asm.h>.
29047 (__memrchr): Don't use BP_SYM.
29048 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
29049 <bp-sym.h> and <bp-asm.h>.
29050 (memset): Don't use BP_SYM.
29051 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
29052 <bp-sym.h> and <bp-asm.h>.
29053 (__rawmemchr): Don't use BP_SYM.
29054 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
29055 <bp-sym.h> and <bp-asm.h>.
29056 (__STRCMP): Don't use BP_SYM.
29057 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
29058 <bp-sym.h> and <bp-asm.h>.
29059 (strchr): Don't use BP_SYM.
29060 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
29061 <bp-sym.h> and <bp-asm.h>.
29062 (__strchrnul): Don't use BP_SYM.
29063 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
29064 <bp-sym.h> and <bp-asm.h>.
29065 (strlen): Don't use BP_SYM.
29066 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
29067 <bp-sym.h> and <bp-asm.h>.
29068 (strncmp): Don't use BP_SYM.
29069 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
29070 <bp-sym.h> and <bp-asm.h>.
29071 (__strnlen): Don't use BP_SYM.
29072 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
29074 (__mpn_rshift): Don't use BP_SYM.
29075 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29076 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
29077 <bp-sym.h> and <bp-asm.h>.
29078 (__sigsetjmp): Don't use BP_SYM.
29079 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
29080 (L(start_addresses)): Don't use BP_SYM.
29081 (_start): Likewise.
29082 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
29084 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
29085 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29086 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29087 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
29089 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
29090 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29091 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29092 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
29094 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
29096 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29097 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
29099 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
29101 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29102 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29103 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
29105 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
29107 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
29109 (strncmp): Don't use BP_SYM,
29110 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
29112 (__mpn_sub_n): Don't use BP_SYM.
29113 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29114 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
29116 (__mpn_submul_1): Don't use BP_SYM.
29117 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
29119 <bp-sym.h> and <bp-asm.h>.
29120 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
29121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
29122 <bp-sym.h> and <bp-asm.h>.
29123 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
29126 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29128 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
29129 Use ZK to minimize writes to Z.
29130 (sub_magnitudes): Simplify code a bit.
29131 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
29132 Use ZK to minimize writes to Z.
29133 (sub_magnitudes): Simplify code a bit.
29135 2013-02-27 Roland McGrath <roland@hack.frob.com>
29137 * csu/gmon-start.c: Add special exception to license text.
29139 2013-02-27 Richard Henderson <rth@redhat.com>
29141 * scripts/config.guess: Update from config.git.
29142 * scripts/config.sub: Likewise.
29144 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29146 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
29148 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
29150 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
29152 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
29154 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
29156 2013-02-26 Roland McGrath <roland@hack.frob.com>
29158 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
29159 [$(build-shared = yes].
29161 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29163 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
29164 (__mul): Reduce iterations for calculating mantissa.
29166 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
29168 (__mpranred): Likewise.
29171 * malloc/memusagestat.c (main): Draw graphs for heap and stack
29172 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
29174 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
29176 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
29177 Define __attribute__.
29179 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29181 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
29183 * posix/regex_internal.h (__attribute): Remove.
29184 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
29185 (re_string_context_at): Likewise.
29186 (bitset_not): Use __attribute__ and mark function as possibly
29188 (bitset_merge): Likewise.
29189 (bitset_mask): Likewise.
29190 (re_string_char_size_at): Likewise.
29191 (re_string_wchar_at): Likewise.
29192 (re_string_elem_size_at): Likewise.
29194 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29196 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
29200 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
29204 (denorm): Likewise.
29205 (__dbl_mp): Likewise.
29206 (add_magnitudes): Likewise.
29207 (sub_magnitudes): Likewise.
29211 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
29214 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
29217 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
29220 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
29221 up changes with default code.
29222 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
29225 2013-02-24 Allan McRae <allan@archlinux.org>
29227 * manual/socket.texi (The Internet Namespace): Order menu items
29228 to match that in the file.
29230 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
29231 node listing of the info page menu.
29233 2013-02-21 Joseph Myers <joseph@codesourcery.com>
29236 * sysdeps/i386/bp-asm.h: Remove file.
29237 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
29238 (PARMS): Do not use macros from bp-asm.h.
29242 (__mpn_add_n): Do not use BP_SYM
29243 * sysdeps/i386/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/bsd-_setjmp.S: Do not include "bp-sym.h" and
29251 (PARMS): Do not use macros from bp-asm.h.
29252 (SIGMSK): Likewise.
29253 (_setjmp): Likewise. Do not use BP_SYM.
29254 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
29256 (PARMS): Do not use macros from bp-asm.h.
29257 (SIGMSK): Likewise.
29258 (setjmp): Likewise. Do not use BP_SYM.
29259 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
29261 (PARMS): Do not use macros from bp-asm.h.
29262 (__frexp): Do not use BP_SYM.
29264 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
29266 (PARMS): Do not use macros from bp-asm.h.
29267 (__frexpf): Do not use BP_SYM.
29268 (frexpf): Likewise.
29269 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
29271 (PARMS): Do not use macros from bp-asm.h.
29272 (__frexpl): Do not use BP_SYM.
29273 (frexpl): Likewise.
29274 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
29276 (PARMS): Do not use macros from bp-asm.h.
29277 (__remquo): Do not use BP_SYM.
29278 (remquo): Likewise.
29279 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
29281 (PARMS): Do not use macros from bp-asm.h.
29282 (__remquof): Do not use BP_SYM.
29283 (remquof): Likewise.
29284 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
29286 (PARMS): Do not use macros from bp-asm.h.
29287 (__remquol): Do not use BP_SYM.
29288 (remquol): Likewise.
29289 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
29291 (PARMS): Do not use macros from bp-asm.h.
29294 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
29295 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
29297 (PARMS): Do not use macros from bp-asm.h.
29298 (strlen): Do not use BP_SYM.
29299 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
29301 (PARMS): Do not use macros from bp-asm.h.
29305 (__mpn_add_n): Do not use BP_SYM.
29306 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
29308 (PARMS): Do not use macros from bp-asm.h.
29311 (__mpn_addmul_1): Do not use BP_SYM.
29312 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
29315 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
29317 (PARMS): Do not use macros from bp-asm.h.
29320 (__mpn_lshift): Do not use BP_SYM.
29321 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
29323 (PARMS): Do not use macros from bp-asm.h.
29327 (memcpy): Likewise. Do not use BP_SYM.
29328 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
29329 libc_hidden_def and weak_alias.
29330 (mempcpy): Do not use BP_SYM in weak_alias.
29331 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
29333 (PARMS): Do not use macros from bp-asm.h.
29336 [!BZERO_P] (CHR): Likewise.
29337 (memset): Likewise. Do not use BP_SYM.
29338 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
29340 (PARMS): Do not use macros from bp-asm.h.
29343 (__mpn_mul_1): Do not use BP_SYM.
29344 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
29346 (PARMS): Do not use macros from bp-asm.h.
29349 (__mpn_rshift): Do not use BP_SYM.
29350 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
29352 (PARMS): Do not use macros from bp-asm.h.
29355 (strchr): Likewise. Do not use BP_SYM.
29356 (index): Do not use BP_SYM in weak_alias.
29357 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
29359 (PARMS): Do not use macros from bp-asm.h.
29362 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
29363 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
29365 (PARMS): Do not use macros from bp-asm.h.
29366 (strlen): Do not use BP_SYM.
29367 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
29369 (PARMS): Do not use macros from bp-asm.h.
29373 (__mpn_sub_n): Do not use BP_SYM.
29374 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
29376 (PARMS): Do not use macros from bp-asm.h.
29379 (__mpn_submul_1): Do not use BP_SYM.
29380 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
29382 (PARMS): Do not use macros from bp-asm.h.
29386 (__mpn_add_n): Do not use BP_SYM.
29387 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
29390 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
29392 (PARMS): Do not use macros from bp-asm.h.
29395 (memcmp): Do not use BP_SYM.
29396 (bcmp): Do not use BP_SYM in weak_alias.
29397 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
29399 (PARMS): Do not use macros from bp-asm.h.
29403 (memcpy): Likewise. Do not use BP_SYM.
29404 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
29406 (PARMS): Do not use macros from bp-asm.h.
29410 (memmove): Likewise. Do not use BP_SYM.
29411 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
29413 (PARMS): Do not use macros from bp-asm.h.
29417 (__mempcpy): Likewise. Do not use BP_SYM.
29418 (mempcpy): Do not use BP_SYM in weak_alias.
29419 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
29421 (PARMS): Do not use macros from bp-asm.h.
29424 [!BZERO_P] (CHR): Likewise.
29425 (memset): Likewise. Do not use BP_SYM.
29426 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
29428 (PARMS): Do not use macros from bp-asm.h.
29430 (strcmp): Do not use BP_SYM.
29431 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
29433 (PARMS): Do not use macros from bp-asm.h.
29436 [USE_AS_STRTOK_R] (SAVE): Likewise.
29437 (FUNCTION): Likewise. Do not use BP_SYM.
29438 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
29440 (strtok_r): Likewise.
29441 (__GI___strtok_r): Likewise.
29442 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
29443 (PARMS): Do not use macros from bp-asm.h.
29446 (__mpn_lshift): Do not use BP_SYM.
29447 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
29448 (PARMS): Do not use macros from bp-asm.h.
29451 (__memchr): Do not use BP_SYM.
29452 (memchr): Do not use BP_SYM in weak_alias.
29453 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
29454 (PARMS): Do not use macros from bp-asm.h.
29457 (memcmp): Do not use BP_SYM.
29458 (bcmp): Do not use BP_SYM in weak_alias.
29459 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
29460 (PARMS): Do not use macros from bp-asm.h.
29463 (__mpn_mul_1): Do not use BP_SYM.
29464 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
29466 (PARMS): Do not use macros from bp-asm.h.
29469 (__rawmemchr): Do not use BP_SYM.
29470 (rawmemchr): Do not use BP_SYM in weak_alias.
29471 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
29472 (PARMS): Do not use macros from bp-asm.h.
29475 (__mpn_rshift): Do not use BP_SYM.
29476 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
29477 (PARMS): Do not use macros from bp-asm.h.
29478 (SIGMSK): Likewise.
29479 (__sigsetjmp): Likewise. Do not use BP_SYM.
29480 * sysdeps/i386/start.S: Do not include "bp-sym.h".
29481 (_start): Do not use BP_SYM.
29482 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
29483 (PARMS): Do not use macros from bp-asm.h.
29486 (__stpcpy): Likewise. Do not use BP_SYM.
29487 (stpcpy): Do not use BP_SYM in weak_alias.
29488 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
29490 (PARMS): Do not use macros from bp-asm.h.
29494 (__stpncpy): Likewise. Do not use BP_SYM.
29495 (stpncpy): Do not use BP_SYM in weak_alias.
29496 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
29497 (PARMS): Do not use macros from bp-asm.h.
29500 (strchr): Likewise. Do not use BP_SYM.
29501 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
29503 (PARMS): Do not use macros from bp-asm.h.
29506 (__strchrnul): Likewise. Do not use BP_SYM.
29507 (strchrnul): Do not use BP_SYM in weak_alias.
29508 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
29510 (PARMS): Do not use macros from bp-asm.h.
29512 (strcspn): Do not use BP_SYM.
29513 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
29515 (PARMS): Do not use macros from bp-asm.h.
29518 (strpbrk): Likewise. Do not use BP_SYM.
29519 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
29521 (PARMS): Do not use macros from bp-asm.h.
29524 (strrchr): Likewise. Do not use BP_SYM.
29525 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
29526 (PARMS): Do not use macros from bp-asm.h.
29528 (strspn): Do not use BP_SYM.
29529 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
29530 (PARMS): Do not use macros from bp-asm.h.
29534 (FUNCTION): Likewise. Do not use BP_SYM.
29535 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
29537 (strtok_r): Likewise.
29538 (__GI___strtok_r): Likewise.
29539 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
29540 (PARMS): Do not use macros from bp-asm.h.
29544 (__mpn_sub_n): Do not use BP_SYM.
29545 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
29547 (PARMS): Do not use macros from bp-asm.h.
29550 (__mpn_submul_1): Do not use BP_SYM.
29551 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
29553 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
29555 (PARMS): Do not use macros from bp-asm.h.
29560 (__clone): Do not use BP_SYM.
29561 (clone): Do not use BP_SYM in weak_alias.
29562 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
29564 (PARMS): Do not use macros from bp-asm.h.
29566 (__mmap64): Do not use BP_SYM.
29567 (mmap64): Do not use BP_SYM in weak_alias.
29568 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29569 <bp-sym.h> and <bp-asm.h>.
29570 (PARMS): Do not use macros from bp-asm.h.
29571 (__posix_fadvise64_l64): Do not use BP_SYM.
29572 * sysdeps/unix/sysv/linux/i386/semtimedop.S
29573 (PARMS): Do not use macros from bp-asm.h.
29575 (semtimedop): Do not use BP_SYM.
29576 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
29579 2013-02-21 Allan McRae <allan@archlinux.org>
29581 * manual/message.texi (Charset conversion in gettext):
29582 Move @end statement to beginning of line.
29584 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29586 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
29588 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
29591 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
29592 (denorm): Likewise.
29593 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
29594 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
29596 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29598 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
29599 tail-call to the resolved function if pltexit isn't needed.
29601 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29603 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
29604 or Y being zero as being unlikely.
29605 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
29608 2013-02-20 Carlos O'Donell <carlos@redhat.com>
29610 * manual/nss.texi (System Databases and Name Service Switch):
29611 Remove frobnicate @pxref.
29613 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
29615 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
29616 __attribute__ ((unused)) to __attribute__ ((__unused__)).
29618 2013-02-20 Petr Machata <pmachata@redhat.com>
29620 * elf/elf.h (R_ARM_TARGET1): New macro.
29621 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
29622 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
29623 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
29624 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
29625 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
29626 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
29627 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
29628 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
29629 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
29630 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
29631 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
29632 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
29633 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
29634 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
29635 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
29636 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
29637 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
29638 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
29639 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
29640 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
29641 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
29642 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
29643 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
29644 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
29645 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
29646 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
29647 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
29648 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
29649 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
29650 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
29651 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
29652 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
29653 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
29654 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
29655 (R_ARM_THM_GOT_BREL12): Likewise.
29656 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
29657 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
29658 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
29659 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
29660 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
29661 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
29662 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
29663 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
29664 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
29666 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
29668 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
29669 __attribute_used__ to __attribute__ ((unused)).
29671 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29673 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
29675 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
29676 comment formatting.
29677 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
29679 2013-02-19 Joseph Myers <joseph@codesourcery.com>
29682 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
29684 (ENTER): Remove both macro definitions.
29686 (CHECK_BOUNDS_LOW): Likewise.
29687 (CHECK_BOUNDS_HIGH): Likewise.
29688 (CHECK_BOUNDS_BOTH): Likewise.
29689 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
29690 (RETURN_BOUNDED_POINTER): Likewise.
29691 (RETURN_NULL_BOUNDED_POINTER): Likewise.
29692 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
29693 (POP_ERRNO_LOCATION_RETURN): Likewise.
29694 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
29695 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29696 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
29698 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29699 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
29700 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
29701 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
29702 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
29703 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
29704 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
29705 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
29706 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
29707 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
29708 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
29709 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
29710 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29711 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
29713 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29714 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
29716 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29717 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
29718 * sysdeps/i386/i586/memset.S (memset): Likewise.
29719 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
29720 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29721 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
29723 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29724 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
29725 Change uses of L(2) to L(out).
29726 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
29727 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
29728 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
29729 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29730 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
29732 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29733 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
29735 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29736 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
29737 (RETURN): Do not use macro LEAVE.
29738 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
29739 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
29740 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
29741 * sysdeps/i386/i686/memset.S (memset): Likewise.
29742 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
29743 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
29744 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29745 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
29747 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29748 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
29749 L(1_2) and L(1_3) into L(1).
29750 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
29751 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
29752 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29753 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
29754 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29755 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
29756 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
29757 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29758 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
29760 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
29761 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29762 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
29763 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
29764 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
29765 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29766 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
29767 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
29768 * sysdeps/i386/strcspn.S (strcspn): Likewise.
29769 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
29770 * sysdeps/i386/strrchr.S (strrchr): Likewise.
29771 * sysdeps/i386/strspn.S (strspn): Likewise.
29772 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
29774 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29775 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
29776 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
29777 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
29778 L(1_3) into L(1_1).
29779 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
29780 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29781 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
29783 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29785 2013-02-19 Jakub Jelinek <jakub@redhat.com>
29787 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
29790 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29792 * math/atest-exp.c (exp_mpn): Remove ROUND.
29793 * math/atest-exp2.c (exp_mpn): Likewise.
29794 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
29796 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
29797 * stdlib/tst-tls-atexit-lib.c: Likewise.
29798 * stdlib/tst-tls-atexit.c: Likewise.
29800 2013-02-18 Mike Frysinger <vapier@gentoo.org>
29802 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
29803 and __attribute_alloc_size__.
29805 2013-02-18 Mike Frysinger <vapier@gentoo.org>
29807 * include/programs/xmalloc.h: Change __attribute_alloc_size to
29808 __attribute_alloc_size__.
29809 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
29810 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
29812 2013-02-18 Mike Frysinger <vapier@gentoo.org>
29814 * include/programs/xmalloc.h: New file.
29815 * catgets/gencat.c: Include it.
29816 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
29817 * elf/pldd.c: Likewise.
29818 * iconv/iconv_charmap.c: Likewise.
29819 * iconv/iconvconfig.c: Likewise.
29820 * iconv/strtab.c: Likewise.
29821 * locale/programs/locale.c: Likewise.
29822 * locale/programs/localedef.h: Likewise.
29823 * locale/programs/simple-hash.c: Likewise.
29824 * nscd/nscd.h: Likewise.
29825 * nss/makedb.c: Likewise.
29826 * sysdeps/generic/ldconfig.h: Likewise.
29828 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29830 * Versions.def: Add GLIBC_2.18.
29831 * include/link.h (struct link_map): New member l_tls_dtor_count.
29832 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
29833 (__call_tls_dtors): Likewise.
29834 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
29835 __cxa_thread_atexit_impl.
29836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29840 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
29842 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
29844 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29845 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
29847 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
29849 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29850 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29852 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
29853 (tests): Add test case tst-tls-atexit.
29854 (modules-names): Add shared library for tst-tls-atexit.
29855 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
29856 (GLIBC_PRIVATE): Add __call_tls_dtors.
29857 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
29859 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
29860 * stdlib/tst-tls-atexit.c: New test case.
29861 * stdlib/tst-tls-atexit-lib.c: New test case.
29863 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
29865 * elf/Versions (ld): Add _dl_find_dso_for_object.
29866 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
29867 * elf/dl-open.c (_dl_find_dso_for_object): New function.
29868 (dl_open_worker): Use _dl_find_dso_for_object.
29869 * elf/dl-sym.c (do_sym): Likewise.
29870 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
29872 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29874 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
29875 Syntactic changes only.
29876 (_dl_runtime_profile): Do a tail-call to the resolved function.
29878 2013-02-17 Joseph Myers <joseph@codesourcery.com>
29881 * sysdeps/x86_64/bp-asm.h: Remove file.
29882 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
29883 <bp-sym.h> and <bp-asm.h>.
29884 (__clone): Do not use BP_SYM.
29885 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
29886 <bp-sym.h> and <bp-asm.h>.
29887 * sysdeps/unix/x86_64/sysdep.S: Likewise.
29888 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
29890 (_setjmp): Do not use BP_SYM.
29891 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
29893 (setjmp): Do not use BP_SYM.
29894 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
29896 (mempcpy): Do not use BP_SYM in weak_alias.
29897 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
29899 (strchr): Do not use BP_SYM.
29900 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
29902 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
29903 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
29904 (_start): Do not use BP_SYM.
29905 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
29907 (strcat): Do not use BP_SYM.
29908 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
29910 (STRCMP): Do not use BP_SYM.
29911 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
29913 (STRCPY): Do not use BP_SYM.
29914 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
29916 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
29918 (FUNCTION): Do not use BP_SYM.
29919 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
29921 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
29923 2013-02-17 Andreas Jaeger <aj@suse.de>
29925 * time/Versions: Sort entries.
29926 * string/Versions: Likewise.
29927 * resolv/Versions: Likewise.
29928 * posix/Versions: Likewise.
29929 * iconv/Versions: Likewise.
29930 * elf/Versions: Likewise.
29931 * wcsmbs/Versions: Likewise.
29933 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29935 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
29936 loop termination condition.
29938 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
29939 variable to calculate EZ.
29942 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
29943 the lower precision input.
29945 2013-02-15 Joseph Myers <joseph@codesourcery.com>
29948 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
29949 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
29950 (run-via-rtld-prefix): Do not handle %-bp tests.
29951 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
29952 (all-object-suffixes): Remove .ob.
29953 (bppfx): Remove variable.
29954 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
29955 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
29956 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
29957 [$(build-bounded) = yes] (libtype.ob): Likewise.
29958 * Makerules (elide-routines.ob): Remove variable.
29959 (do-tests-clean): Do not handle *-bp.out.
29960 (common-mostlyclean): Do not handle *-bp and *-bp.out.
29961 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
29962 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
29963 (tests): Do not include $(tests-bp.out).
29964 (xtests): Do not include $(xtests-bp.out).
29965 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
29966 [$(build-bounded) = yes] ($(addprefix
29967 $(objpfx),$(binaries-bounded))): Remove rule.
29968 ($(objpfx)%-bp.out): Remove rule.
29969 * config.make.in (build-bounded): Remove variable.
29970 * crypt/Makefile [$(build-bounded) = yes]
29971 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
29972 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
29973 append to variable.
29974 [$(build-bounded) = yes] (install-lib): Likewise.
29975 [$(build-bounded) = yes] (generated): Likewise.
29976 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
29978 * intl/Makefile [$(build-bounded) = yes]
29979 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
29980 * math/Makefile [$(build-bounded) = yes]
29981 ($(tests:%=$(objpfx)%-bp): Likewise.
29982 * misc/Makefile [$(build-bounded) = yes]
29983 ($(objpfx)tst-tsearch-bp): Likewise.
29984 * nptl/Makeconfig (bounded-thread-library): Remove variable.
29985 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
29987 * string/Makefile (o-objects.ob): Remove variable.
29988 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
29989 (CFLAGS-.ob): Remove variable.
29990 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
29991 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
29992 both definitions of variable.
29993 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
29994 (ASFLAGS-.ob): Remove variable.
29996 2013-02-14 Joseph Myers <joseph@codesourcery.com>
29999 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
30000 Remove __BOUNDED_POINTERS__ from condition.
30001 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
30002 * string/bits/string2.h [!__NO_STRING_INLINES &&
30003 !__BOUNDED_POINTERS__]: Likewise.
30004 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
30006 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
30007 Remove conditional code.
30008 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
30009 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
30010 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
30014 * csu/libc-start.c: Do not include <bp-sym.h>.
30015 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
30016 * elf/dl-open.c: Do not include <bp-sym.h>.
30017 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
30018 * math/fegetenv.c: Do not include <bp-sym.h>.
30019 (fegetenv): Do not use BP_SYM in versioned symbols.
30020 * nptl/sysdeps/pthread/bits/libc-lockP.h
30021 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
30023 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30024 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
30025 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30026 (__pthread_mutex_destroy): Likewise.
30027 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30028 (__pthread_mutex_lock): Likewise.
30029 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30030 (__pthread_mutex_trylock): Likewise.
30031 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30032 (__pthread_mutex_unlock): Likewise.
30033 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30034 (__pthread_mutexattr_init): Likewise.
30035 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30036 (__pthread_mutexattr_destroy): Likewise.
30037 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30038 (__pthread_mutexattr_settype): Likewise.
30039 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30040 (__pthread_rwlock_init): Likewise.
30041 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30042 (__pthread_rwlock_destroy): Likewise.
30043 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30044 (__pthread_rwlock_rdlock): Likewise.
30045 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30046 (__pthread_rwlock_tryrdlock): Likewise.
30047 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30048 (__pthread_rwlock_wrlock): Likewise.
30049 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30050 (__pthread_rwlock_trywrlock): Likewise.
30051 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30052 (__pthread_rwlock_unlock): Likewise.
30053 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30054 (__pthread_key_create): Likewise.
30055 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30056 (__pthread_setspecific): Likewise.
30057 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30058 (__pthread_getspecific): Likewise.
30059 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
30061 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30062 (_pthread_cleanup_push_defer): Likewise.
30063 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30064 (_pthread_cleanup_pop_restore): Likewise.
30065 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30066 (pthread_setcancelstate): Likewise.
30067 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
30069 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
30070 (memchr): Do not use BP_SYM in weak_alias.
30071 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
30072 (fegetenv): Do not use BP_SYM in versioned symbols.
30073 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
30074 (fesetenv): Do not use BP_SYM in versioned symbols.
30075 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
30076 (feupdateenv): Do not use BP_SYM in versioned symbols.
30077 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
30078 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
30079 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
30080 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
30081 (open64): Do not use BP_SYM in weak_alias.
30082 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
30083 (fegetenv): Do not use BP_SYM in versioned symbols.
30084 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
30085 (fesetenv): Do not use BP_SYM in versioned symbols.
30086 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
30087 (feupdateenv): Do not use BP_SYM in versioned symbols.
30088 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
30089 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
30090 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
30091 (feraiseexcept): Do not use BP_SYM in versioned symbols.
30092 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
30093 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
30094 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
30096 (__libc_start_main): Do not use BP_SYM.
30098 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30100 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
30101 redundant return line.
30103 (denorm): Likewise.
30104 (dbl_mp): Likewise.
30105 (sub_magnitudes): Likewise.
30111 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
30113 (denorm): Likewise.
30114 (dbl_mp): Likewise.
30115 (sub_magnitudes): Likewise.
30122 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
30124 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
30125 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
30128 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
30129 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
30130 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
30131 of __mul for squares.
30132 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
30134 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
30136 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
30137 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30139 2013-02-13 Joseph Myers <joseph@codesourcery.com>
30142 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
30144 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
30145 prototype or function definition. Rename ubp_* variables and
30146 parameters. Remove argv definitions conditional on
30147 [__BOUNDED_POINTERS__].
30148 * debug/backtrace.c (__backtrace): Do not use __unbounded.
30149 * elf/dl-runtime.c (_dl_fixup): Likewise.
30150 * include/set-hooks.h (RUN_HOOK): Likewise.
30151 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
30153 * string/strcpy.c (strcpy): Do not use __unbounded.
30154 * sysdeps/generic/frame.h (struct layout): Likewise.
30155 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
30156 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
30157 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
30158 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
30159 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
30160 (__backtrace): Likewise.
30161 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
30163 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
30164 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
30165 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
30167 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
30168 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
30169 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
30170 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
30171 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
30172 Do not use __unbounded.
30173 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
30174 Rename __unboundedrlimits parameter to rlimits in prototype.
30175 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
30176 Do not use __unbounded.
30177 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
30178 not use __ptrvalue.
30179 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
30180 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
30181 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
30182 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
30183 __ptrvalue or __unbounded.
30184 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
30185 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
30187 (__new_msgctl): Do not use __ptrvalue.
30188 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
30190 (__libc_msgrcv): Do not use __ptrvalue.
30191 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
30192 startup_info): Do not use __unbounded.
30193 (__libc_start_main): Likewise. Rename ubp_* variables and
30194 parameters. Remove argv definitions conditional on
30195 [__BOUNDED_POINTERS__].
30196 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
30198 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
30200 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
30202 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
30204 (__new_shmctl): Do not use __ptrvalue.
30205 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
30206 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
30208 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
30209 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
30210 (__libc_sigaction): Likewise.
30211 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
30212 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
30214 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
30216 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
30218 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
30220 * string/mempcpy.c: Implement by calling memcpy.
30222 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
30224 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
30226 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
30229 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
30230 values in the mantissa.
30232 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
30233 minimize writes to Z.
30234 (sub_magnitudes): Simplify code a bit.
30236 2013-02-12 Roland McGrath <roland@hack.frob.com>
30238 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
30239 from the message. The linker prefixes all warnings with that already.
30241 2013-02-12 Andreas Schwab <schwab@suse.de>
30244 * posix/regexec.c (extend_buffers): Add parameter min_len.
30245 (check_matching): Pass minimum needed length.
30246 (clean_state_log_if_needed): Likewise.
30247 (get_subexp): Likewise.
30248 * posix/Makefile (tests): Add bug-regex34.
30249 (bug-regex34-ENV): Define.
30250 * posix/bug-regex34.c: New file.
30253 * posix/regcomp.c (parse_bracket_exp): When looking up collating
30254 elements compare against the byte sequence of it, not its name.
30255 * posix/Makefile (tests): Add bug-regex35.
30256 (bug-regex35-ENV): Define.
30257 * posix/bug-regex35.c: New file.
30259 2013-02-11 Tom de Vries <tom@codesourcery.com>
30261 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
30263 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
30264 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
30265 (CHECK_EOL): Add undef.
30267 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
30269 * bits/stdlib-bsearch.h: New file.
30270 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
30271 * stdlib/stdlib.h: Likewise.
30273 2013-02-11 Roland McGrath <roland@hack.frob.com>
30275 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
30276 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
30278 * manual/search.texi (Array Search Function): Add missing const in
30280 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
30281 declaration to use rlim_t.
30282 (Basic Scheduling Functions): Remove erroneous const from
30283 sched_getparam prototype. Remove erroneous * from
30284 sched_get_priority_max and sched_get_priority_min prototypes.
30285 (Resource Usage): Fix summary @comment on vtimes to refer to
30286 sys/vtimes.h rather than vtimes.h.
30287 Add missing *s in vtimes prototype.
30288 (Limits on Resources): Fix ulimit prototype to return long int.
30289 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
30290 prototypes to use long int rather than double.
30291 (BSD Random): Fix initstate and setstate to use char *, not void *.
30292 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
30293 prototype to make second argument 'struct aiocb64 *const[]'.
30294 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
30295 (Status of AIO Operations): Remove erroneous const in aio_return and
30296 aio_return64 prototypes.
30297 (Synchronizing I/O): Fix sync prototype to return void.
30298 * manual/startup.texi (Suboptions): Remove an erroneous const in
30299 getsubopt prototype.
30300 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
30301 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
30302 use size_t rather than int.
30303 (Scanning All Users): Likewise for getpwent_r.
30304 (Setting Groups): Add missing const to setgroups prototype.
30305 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
30306 * manual/socket.texi (Host Names): Fix gethostbyaddr and
30307 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
30308 'const void *' rather than 'const char *'.
30309 (Host Address Functions): Likewise for inet_ntop.
30310 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
30311 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
30312 ssize_t for return value.
30313 (Sending Data): Likewise for send, sendto, sendmsg.
30314 (Socket Option Functions): Add a missing const in setsockopt prototype.
30315 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
30316 use wchar_t for the argument.
30317 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
30318 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
30320 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
30321 double/float/long double for second argument.
30322 Fix return types of significand, significandf, significandl.
30323 * manual/filesys.texi (Setting Permissions): Use mode_t for second
30324 argument in fchmod prototype.
30325 (File Owner): Use uid_t and gid_t in fchown prototype.
30326 (File Times): Add const to utimes, futimes, and lutimes prototypes.
30327 (Making Special Files): Use mode_t and dev_t in mknod prototype.
30328 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
30329 use 'const struct dirent **' as argument types to CMP function pointer
30331 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
30332 (File Times): Fix summary magic @comment for struct utimbuf and utime
30333 to refer to utime.h, not time.h.
30334 * manual/string.texi (Argz Functions): Add missing const in
30335 argz_extract and argz_next prototypes.
30336 (Finding Tokens in a String): Likewise for basename.
30337 (String/Array Comparison): Fix typo in wcscasecmp prototype.
30338 (Copying and Concatenation): Fix typo in wmemmove prototype.
30339 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
30340 (Signal Stack): Remove erroneous const in sigstack prototype.
30341 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
30343 (Simple Calendar Time): Likewise for stime.
30344 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
30346 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
30347 say sys/sysctl.h instead.
30348 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
30349 and vsyslog prototypes.
30351 2013-02-11 Tom de Vries <tom@codesourcery.com>
30353 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
30356 2013-02-11 Roland McGrath <roland@hack.frob.com>
30358 * misc/sys/mman.h: Fix typo in mremap comment.
30360 2013-02-08 Roland McGrath <roland@hack.frob.com>
30362 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
30363 the '\0' terminator.
30365 2013-02-08 Joseph Myers <joseph@codesourcery.com>
30368 * debug/segfault.c: Don't include <bp-checks.h>.
30369 * sysdeps/generic/bp-checks.h: Remove file.
30370 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
30371 (__GETDENTS): Don't use CHECK_N.
30372 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
30373 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
30374 (__getgroups): Don't use CHECK_N.
30375 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
30376 (setgroups): Don't use CHECK_N.
30377 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
30378 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
30379 (__libc_msgrcv): Don't use CHECK_N.
30380 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
30381 (__libc_msgsnd): Don't use CHECK_N.
30382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
30384 (__libc_pread): Don't use CHECK_N.
30385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
30386 include <bp-checks.h>.
30387 (__libc_pread64): Don't use CHECK_N.
30388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
30389 include <bp-checks.h>.
30390 (__libc_pwrite): Don't use CHECK_N.
30391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
30392 include <bp-checks.h>.
30393 (__libc_pwrite64): Don't use CHECK_N.
30394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
30396 (__libc_pread): Don't use CHECK_N.
30397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
30398 include <bp-checks.h>.
30399 (__libc_pread64): Don't use CHECK_N.
30400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
30401 include <bp-checks.h>.
30402 (__libc_pwrite): Don't use CHECK_N.
30403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
30404 include <bp-checks.h>.
30405 (__libc_pwrite64): Don't use CHECK_N.
30406 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
30407 (do_pread): Don't use CHECK_N.
30408 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
30409 (do_pread64): Don't use CHECK_N.
30410 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
30411 (do_pwrite): Don't use CHECK_N.
30412 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
30413 (do_pwrite64): Don't use CHECK_N.
30414 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
30415 (__libc_readv): Don't use CHECK_N.
30416 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
30417 (semop): Don't use CHECK_N.
30418 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
30420 (semtimedop): Don't use CHECK_N.
30421 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
30422 (__libc_pread): Don't use CHECK_N.
30423 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
30425 (__libc_pread64): Don't use CHECK_N.
30426 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
30428 (__libc_pwrite): Don't use CHECK_N.
30429 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
30431 (__libc_pwrite64): Don't use CHECK_N.
30432 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
30434 (__libc_msgrcv): Don't use CHECK_N.
30435 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
30436 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
30437 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
30438 (__libc_writev): Don't use CHECK_N.
30440 2013-02-08 Roland McGrath <roland@hack.frob.com>
30442 * string/strcpy.c: Removed unused variable.
30444 * Makeconfig (+sysdep-includes): Define with := rather than =.
30445 Use an existing include/ subdir of each sysdeps dir before it.
30447 2013-02-08 Carlos O'Donell <carlos@redhat.com>
30449 * nscd/connection.c (register_traced_file): Comment function.
30450 [HAVE_INOTIFY] (union __inev): Define.
30451 [HAVE_INOTIFY] (inotify_check_files): New function.
30452 [HAVE_INOTIFY] (clear_db_cache): Likewise.
30453 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
30455 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
30457 2013-02-08 Carlos O'Donell <carlos@redhat.com>
30459 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
30460 loaded if not already and that a failure is permanent.
30462 2013-02-08 Carlos O'Donell <carlos@redhat.com>
30465 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
30466 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
30468 2013-02-08 Joseph Myers <joseph@codesourcery.com>
30471 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
30472 (CHECK_1_NULL_OK): Likewise.
30473 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
30474 (__fxstat): Do not use CHECK_1.
30475 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
30477 (___fxstat64): Do not use CHECK_1.
30478 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
30480 (__fxstatat): Do not use CHECK_1.
30481 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
30483 (__fxstatat64): Do not use CHECK_1.
30484 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
30486 (__fxstat): Do not use CHECK_1.
30487 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
30489 (__fxstatat): Do not use CHECK_1.
30490 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
30492 (__getresgid): Do not use CHECK_1.
30493 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
30495 (__getresuid): Do not use CHECK_1.
30496 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
30498 (__lxstat): Do not use CHECK_1.
30499 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
30501 (__old_msgctl): Do not use CHECK_1.
30502 (__new_msgctl): Likewise.
30503 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
30505 (__new_setrlimit): Do not use CHECK_1.
30506 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
30508 (__old_shmctl): Do not use CHECK_1.
30509 (__new_shmctl): Likewise.
30510 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
30512 (__xstat): Do not use CHECK_1.
30513 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
30514 (__lxstat): Do not use CHECK_1.
30515 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
30517 (___lxstat64): Do not use CHECK_1.
30518 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
30519 (__old_msgctl): Do not use CHECK_1.
30520 (__new_msgctl): Likewise.
30521 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
30523 (__gettimeofday): Do not use CHECK_1.
30524 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
30525 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
30526 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
30528 (__gettimeofday): Do not use CHECK_1.
30529 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
30530 (__old_shmctl): Do not use CHECK_1_NULL_OK.
30531 (__new_shmctl): Do not use CHECK_1.
30532 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
30534 (do_sigtimedwait): Do not use CHECK_1.
30535 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
30537 (do_sigwaitinfo): Do not use CHECK_1.
30538 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
30540 (msgctl): Do not use CHECK_1.
30541 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
30543 (shmctl): Do not use CHECK_1.
30544 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
30545 (ustat): Do not use CHECK_1.
30546 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
30548 (__fxstat): Do not use CHECK_1.
30549 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
30551 (__fxstatat): Do not use CHECK_1.
30552 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
30554 (__lxstat): Do not use CHECK_1.
30555 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
30557 (__xstat): Do not use CHECK_1.
30558 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
30559 (__xstat): Do not use CHECK_1.
30560 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
30561 (___xstat64): Do not use CHECK_1.
30564 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
30566 (CHECK_BOUNDS_HIGH): Likewise.
30567 * string/strcpy.c: Do not include <bp-checks.h>.
30568 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
30570 2013-02-07 Roland McGrath <roland@hack.frob.com>
30572 * nscd/nscd-client.h (__nscd_drop_map_ref):
30573 Add __attribute__ ((unused)).
30574 * nis/nss-nisplus.h (niserr2nss): Likewise.
30576 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
30577 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
30579 * csu/libc-tls.c (init_static_tls, init_slotinfo):
30580 Remove inline keyword.
30581 * include/rounding-mode.h (round_away): Likewise.
30582 * libio/wfileops.c (adjust_wide_data): Likewise.
30583 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
30584 (__m128i_strloadu_tolower): Likewise.
30585 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
30586 (__m128i_strloadu_tolower): Likewise.
30587 * time/mktime.c (ydhms_diff): Likewise.
30588 * locale/elem-hash.h (elem_hash): Likewise.
30589 * locale/setlocale.c (setdata): Likewise.
30590 * posix/regex_internal.h (re_string_char_size_at): Likewise.
30591 (re_string_wchar_at): Likewise.
30592 (bitset_not, bitset_merge, bitset_mask): Likewise.
30593 [!(__GNUC__ > 3)] (inline): Remove macro.
30594 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
30595 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
30596 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
30597 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
30598 * string/memcmp.c (memcmp_bytes): Likewise.
30599 * locale/programs/locarchive.c (compute_hashval): Likewise.
30600 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
30601 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
30602 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
30603 * nss/getent.c (print_rpc, print_protocols): Likewise.
30604 (print_passwd, print_group, print_aliases): Likewise.
30605 * nis/nss-nisplus.h (niserr2nss): Likewise.
30606 * nscd/connections.c (restart_p): Likewise.
30607 Change return type to bool.
30609 2013-02-05 Roland McGrath <roland@hack.frob.com>
30611 * Makeconfig (all-Depend-files): Add existing
30612 $(sorted-subdirs:=/Depend) files.
30613 (all-subdirs): Remove nss.
30614 * sysdeps/unix/inet/Subdirs: Add it here instead.
30615 * hesiod/Depend: New file.
30617 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
30618 instead of calling alloca.
30620 * io/lseek.c (__lseek): Rename to __libc_lseek.
30621 Define __lseek as an alias.
30623 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
30625 2013-02-04 Carlos O'Donell <carlos@redhat.com>
30627 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
30628 else clause and remove check for non-standard endianness.
30630 2013-02-04 David S. Miller <davem@davemloft.net>
30632 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30634 2013-02-04 Joseph Myers <joseph@codesourcery.com>
30637 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
30638 (__ubp_memchr): Remove prototype.
30639 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
30640 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
30641 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
30642 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
30643 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
30645 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
30646 (__ubp_memchr): Likewise.
30647 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
30648 (__ubp_memchr): Likewise.
30649 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
30650 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
30651 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
30652 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
30654 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
30655 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
30656 (__getcwd): Do not use CHECK_STRING.
30657 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
30659 (__real_chown): Do not use CHECK_STRING.
30660 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
30662 (fchownat): Do not use CHECK_STRING.
30663 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
30665 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
30667 (__lchown): Do not use CHECK_STRING.
30668 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
30669 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
30670 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
30671 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
30672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30673 include <bp-checks.h>.
30674 (truncate64): Do not use CHECK_STRING.
30675 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
30677 (__real_chown): Do not use CHECK_STRING.
30678 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
30680 (__lchown): Do not use CHECK_STRING.
30681 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
30683 (__chown): Do not use CHECK_STRING.
30684 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
30686 (truncate64): Do not use CHECK_STRING.
30687 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
30689 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
30690 (__xmknod): Do not use CHECK_STRING.
30691 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
30693 (__xmknodat): Do not use CHECK_STRING.
30694 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
30695 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
30697 2013-02-04 Andreas Schwab <schwab@suse.de>
30700 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
30701 * include/netdb.h: Likewise for h_errno.
30702 * elf/tst-stackguard1.c: Include <tls.h>.
30704 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
30706 * elf/link.h (struct link_map): Extend the l_addr comment.
30707 * include/link.h (struct link_map): Likewise.
30709 2013-02-01 Joseph Myers <joseph@codesourcery.com>
30712 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
30713 (BOUNDED_1): Remove macro.
30714 * debug/backtrace.c: Don't include <bp-checks.h>.
30715 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
30716 (__backtrace): Likewise.
30717 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
30719 (__backtrace): Don't use BOUNDED_1.
30720 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
30722 (__backtrace): Don't use BOUNDED_1.
30723 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
30724 (__backtrace): Don't use BOUNDED_1.
30725 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
30726 (shmat): Don't use BOUNDED_N.
30728 2013-01-31 Joseph Myers <joseph@codesourcery.com>
30731 * sysdeps/generic/bp-start.h: Remove file.
30732 * csu/libc-start.c: Don't include <bp-start.h>.
30733 (LIBC_START_MAIN): Set up __environ directly instead of using
30734 INIT_ARGV_and_ENVIRON.
30735 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
30739 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
30741 (CHECK_FCNTL): Likewise.
30742 (CHECK_N_PAGES): Likewise.
30745 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
30747 (CHECK_SIGSET_NULL_OK): Likewise.
30748 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
30750 (sigpending): Don't use CHECK_SIGSET.
30751 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
30753 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30754 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
30756 (do_sigsuspend): Don't use CHECK_SIGSET.
30757 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
30759 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
30760 (do_sigwait): Don't use CHECK_SIGSET.
30761 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
30763 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
30764 include <bp-checks.h>.
30765 (sigpending): Don't use CHECK_SIGSET.
30766 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
30767 include <bp-checks.h>.
30768 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30769 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
30771 (sigpending): Don't use CHECK_SIGSET.
30772 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
30774 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30777 * sysdeps/generic/bp-semctl.h: Remove file.
30778 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
30779 <bp-checks.h> and <bp-semctl.h>.
30780 (__old_semctl): Don't use CHECK_SEMCTL.
30781 (__new_semctl): Likewise.
30782 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
30784 (__old_semctl): Don't use CHECK_SEMCTL.
30785 (__new_semctl): Likewise.
30786 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
30787 <bp-checks.h> and <bp-semctl.h>.
30788 (__old_semctl): Don't use CHECK_SEMCTL.
30789 (__new_semctl): Likewise.
30790 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
30791 <bp-checks.h> and <bp-semctl.h>.
30792 (semctl): Don't use CHECK_SEMCTL.
30795 * Makerules (elide-bp-thunks): Remove variable.
30796 (elide-routines.oS): Don't use $(elide-bp-thunks).
30797 (elide-routines.os): Likewise.
30798 (elide-routines.o): Likewise.
30799 (elide-routines.op): Likewise.
30800 (elide-routines.og): Likewise.
30801 (objects): Don't use $(bp-thunks).
30802 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
30804 (common-generated): Do not add s-proto-bp.d.
30805 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
30808 Do not generate makefile rules for bounded-pointer thunks.
30809 * sysdeps/generic/bp-thunks.h: Remove file.
30810 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
30811 * sysdeps/unix/s-proto-bp.S: Likewise.
30814 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
30815 parts of result separately when argument is not close to line from
30816 -i to i and one part of argument is small.
30817 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30818 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30819 * math/libm-test.inc (cacos_test): Add more tests.
30820 (casin_test): Likewise.
30821 (casinh_test): Likewise.
30822 * sysdeps/i386/fpu/libm-test-ulps: Update.
30823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30825 2013-01-31 David S. Miller <davem@davemloft.net>
30827 * po/de.po: Update from translation team.
30829 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
30831 * time/tzfile.c: Include stdint.h for SIZE_MAX.
30833 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
30835 * configure.in (_AC_PROG_CC_C89): New definition.
30836 * configure: Regenerate.
30838 * configure.in (AC_PROG_CPP): New definition.
30839 * configure: Regenerate.
30841 2013-01-23 Joseph Myers <joseph@codesourcery.com>
30843 * debug/tst-backtrace.h: New file.
30844 * debug/tst-backtrace2.c: Include tst-backtrace.h.
30845 (ret): Remove variable.
30847 (FAIL): Remove macro.
30848 (NO_INLINE): Likewise.
30849 (fn1): Use match function instead of strstr.
30850 * debug/tst-backtrace3.c: Include tst-backtrace.h.
30851 (ret): Remove variable.
30853 (FAIL): Remove macro.
30854 (NO_INLINE): Likewise.
30855 (fn): Use match function instead of strstr.
30856 * debug/tst-backtrace4.c: Include tst-backtrace.h.
30857 (ret): Remove variable.
30859 (FAIL): Remove macro.
30860 (NO_INLINE): Likewise.
30861 (handle_signal): Use match function instead of strstr.
30862 * debug/tst-backtrace5.c: Include tst-backtrace.h.
30863 (ret): Remove variable.
30865 (FAIL): Remove macro.
30866 (NO_INLINE): Likewise.
30867 (handle_signal): Use match function instead of strstr.
30869 2013-01-23 Roland McGrath <roland@hack.frob.com>
30871 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
30873 2013-01-23 David S. Miller <davem@davemloft.net>
30875 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
30876 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
30877 argument of CAS if possible.
30878 * sysdeps/sparc/sparc64/bits/atomic.h
30879 (__arch_compare_and_exchange_val_32_acq): Likewise.
30880 (__arch_compare_and_exchange_val_64_acq): Likewise.
30882 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
30884 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
30885 * sysdeps/posix/ulimit.c: ... this.
30886 Include <limits.h>.
30887 * sysdeps/unix/bsd/ulimit.c: Remove file.
30889 2013-01-23 Adam Conrad <adconrad@0c3.net>
30891 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
30892 (LDFLAGS-tst-array5): Likewise.
30894 2013-01-23 Joseph Myers <joseph@codesourcery.com>
30897 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
30898 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
30899 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
30900 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
30902 2013-01-21 David S. Miller <davem@davemloft.net>
30904 * sysdeps/sparc/backtrace.c: New file.
30905 * sysdeps/sparc/sparc32/backtrace.h: New file.
30906 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
30907 * sysdeps/sparc/sparc64/backtrace.h: New file.
30908 * sysdeps/sparc/sparc64/backtrace.c: Delete.
30909 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
30912 2013-01-21 Andreas Schwab <schwab@suse.de>
30915 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
30918 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
30920 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
30922 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30924 2013-01-18 Joseph Myers <joseph@codesourcery.com>
30925 Mark Mitchell <mark@codesourcery.com>
30926 Tom de Vries <tom@codesourcery.com>
30927 Paul Pluzhnikov <ppluzhnikov@google.com>
30929 * debug/tst-backtrace2.c: New file.
30930 * debug/tst-backtrace3.c: Likewise.
30931 * debug/tst-backtrace4.c: Likewise.
30932 * debug/tst-backtrace5.c: Likewise.
30933 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
30934 (CFLAGS-tst-backtrace3.c): Likewise.
30935 (CFLAGS-tst-backtrace4.c): Likewise.
30936 (CFLAGS-tst-backtrace5.c): Likewise.
30937 (LDFLAGS-tst-backtrace2): Likewise.
30938 (LDFLAGS-tst-backtrace3): Likewise.
30939 (LDFLAGS-tst-backtrace4): Likewise.
30940 (LDFLAGS-tst-backtrace5): Likewise.
30941 (tests): Add new tests tst-backtrace2, tst-backtrace3,
30942 tst-backtrace4 and tst-backtrace5.
30944 2013-01-18 Anton Blanchard <anton@samba.org>
30945 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30947 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
30948 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
30949 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
30950 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
30951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30952 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
30953 "+r" and remove output regs list as redundant. Add explicit inline
30954 asm to specify register of return val to work around compiler codegen
30955 bug. Remove (int) cast on return value. Add return type parameter to
30956 use in macro so that this macro does not truncate return value for
30958 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
30959 pass to INTERNAL_VSYSCALL_NCS.
30960 (INLINE_VSYSCALL): Add 'long int' as return type to
30961 INTERNAL_VSYSCALL_NCS macro invocation.
30962 (INTERNAL_VSYSCALL): Add 'long int' as return type to
30963 INTERNAL_VSYSCALL_NCS macro invocation.
30964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30966 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
30969 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
30970 Fix application of SIMD FP exception mask.
30972 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
30973 mp_no from a power of two.
30974 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
30975 __mpexp_twomm1. Use __pow_mp.
30977 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
30980 2013-01-17 David S. Miller <davem@davemloft.net>
30982 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30984 2013-01-17 Joseph Myers <joseph@codesourcery.com>
30987 * include/complex.h: Condition contents on [!_COMPLEX_H].
30988 (__kernel_casinhf): New prototype.
30989 (__kernel_casinh): Likewise.
30990 (__kernel_casinhl): Likewise.
30991 * math/Makefile (libm_calls): Add k_casinh.
30992 * math/k_casinh.c: New file.
30993 * math/k_casinhf.c: Likewise.
30994 * math/k_casinhl.c: Likewise.
30995 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
30996 finite nonzero arguments.
30997 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
30998 finite nonzero arguments.
30999 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
31000 finite nonzero arguments.
31001 * math/s_casinh.c: Do not include <float.h>.
31002 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
31003 * math/s_casinhf.c: Do not include <float.h>.
31004 (__casinhf): Move code for finite nonzero arguments to
31006 * math/s_casinhl.c: Do not include <float.h>.
31007 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
31009 (__casinhl): Move code for finite nonzero arguments to
31011 * math/libm-test.inc (cacos_test): Add more tests.
31012 * sysdeps/i386/fpu/libm-test-ulps: Update.
31013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31015 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
31017 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
31018 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
31019 [!HAVE_MREMAP]: Remove [defined linux] case.
31020 * malloc/arena.c: Do not include <malloc-sysdep.h>.
31022 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
31024 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
31026 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
31028 * elf/elf.h (R_386_SIZE32): New relocation.
31029 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
31031 (elf_machine_rela): Likewise.
31032 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
31033 R_X86_64_SIZE64 and R_X86_64_SIZE32.
31035 2013-01-17 Joseph Myers <joseph@codesourcery.com>
31037 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
31038 (FP_FAST_FMA): Do not define.
31039 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
31040 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
31041 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
31042 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
31043 !_SOFT_FLOAT]: Likewise.
31044 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
31045 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
31047 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
31048 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
31049 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
31050 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
31051 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
31052 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
31055 2013-01-16 Andreas Schwab <schwab@suse.de>
31058 * include/stdlib.h (__mktemp): Add declaration.
31059 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
31060 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
31062 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31064 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
31066 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
31067 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
31068 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
31070 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
31071 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
31073 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
31075 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
31076 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
31077 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
31079 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
31080 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
31082 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
31084 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
31086 2013-01-15 David S. Miller <davem@davemloft.net>
31088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31089 trunc{,f} to libm-sysdep_routes.
31090 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
31093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
31094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
31096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
31098 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
31099 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
31100 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
31101 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
31102 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
31103 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
31104 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
31105 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
31107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31108 nearbyint{,f} to libm-sysdep_routes.
31109 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
31112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
31114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
31116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
31118 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
31119 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
31120 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
31122 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
31123 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
31125 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
31126 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
31127 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
31129 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
31130 libc_feholdexcept and libc_fesetenv.
31132 2013-01-15 Mike Frysinger <vapier@gentoo.org>
31134 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
31136 2013-01-14 David S. Miller <davem@davemloft.net>
31138 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
31139 (SPARC_ASM_VIS2_IFUNC): Likewise.
31140 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
31141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
31142 use of 'siam' instruction.
31143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
31145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
31147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
31149 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
31150 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
31151 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
31152 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
31153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
31155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
31157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
31159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
31161 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
31162 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
31163 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
31164 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
31165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
31167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
31168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
31171 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
31172 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
31173 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
31174 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
31175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
31176 routines to libm-sysdep_routines.
31177 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31180 fdim/fdimf to libm-sysdep_routines.
31181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
31183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
31184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
31186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
31187 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
31188 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
31189 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
31190 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
31191 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
31192 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
31194 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31196 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
31197 to optimize copies.
31199 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
31200 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31201 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31203 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
31204 local variable MPTWO.
31205 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
31208 2013-01-13 Mike Frysinger <vapier@gentoo.org>
31210 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
31213 2013-01-13 Mike Frysinger <vapier@gentoo.org>
31215 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
31217 2013-01-13 Mike Frysinger <vapier@gentoo.org>
31219 * manual/pattern.texi (glob_t): Document gl_flags.
31220 (glob64_t): Likewise.
31222 2013-01-11 David S. Miller <davem@davemloft.net>
31224 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
31225 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
31226 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
31227 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
31228 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
31229 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
31230 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
31231 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
31232 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
31233 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
31234 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
31235 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
31236 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
31238 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
31239 sparc V9 rather than using V8 code.
31240 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31241 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31243 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
31245 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
31248 2013-01-11 Roland McGrath <roland@hack.frob.com>
31250 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
31251 not in the main loop.
31252 * configure: Regenerated.
31254 2013-01-11 Joseph Myers <joseph@codesourcery.com>
31256 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
31257 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
31259 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
31260 [!__GLIBC_HAVE_LONG_LONG] case.
31261 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
31262 condition to just #else.
31263 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
31264 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
31265 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
31266 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
31268 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
31269 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
31270 #elif condition to just #else.
31271 * sysdeps/unix/sysv/linux/sys/sysmacros.h
31272 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
31273 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
31274 #elif condition to just #else.
31276 2013-01-11 Steve Ellcey <sellcey@mips.com>
31278 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
31279 (EF_MIPS_ARCH_64): Fix value.
31280 (EF_MIPS_ARCH_32R2): New.
31281 (EF_MIPS_ARCH_64R2): New.
31283 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
31285 * Makeconfig (+link-pie-before-libc): New.
31286 (+link-pie-after-libc): Likewise.
31287 (+link-pie-tests): Likewise.
31288 (+link-pie): Rewritten.
31289 (link-before-libc): Remove $(config-LDFLAGS).
31290 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
31291 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
31292 (config-LDFLAGS): Renamed to ...
31293 (rtld-LDFLAGS): This.
31294 (rtld-tests-LDFLAGS): New macro.
31295 (link-libc-rpath-link): Likewise.
31296 (link-libc-tests-rpath-link): Likewise.
31297 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
31298 (link-libc): Prepand $(link-libc-rpath-link).
31299 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
31300 (test-program-prefix): New macro.
31301 (test-via-rtld-prefix): Likewise.
31302 (test-program-cmd): Likewise.
31303 (host-test-program-cmd): Likewise.
31304 * Makefile ($(common-objpfx)testrun.sh): Replace
31305 $(run-program-prefix) with $(test-program-prefix).
31306 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
31308 ($(common-objpfx)shlib.lds): Likewise.
31309 (build-module-helper): Likewise.
31310 ($(common-objpfx)format.lds): Likewise.
31311 * Rules (binaries-pie-tests): New.
31312 (binaries-pie-notests): Likewise.
31313 (binaries-pie): Rewritten.
31314 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
31315 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
31316 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
31317 (make-test-out): Replace $(host-built-program-cmd) with
31318 $(host-test-program-cmd).
31319 * config.make.in (build-hardcoded-path-in-tests): New variable.
31320 * configure.in (--enable-hardcoded-path-in-tests): New configure
31322 (hardcoded_path_in_tests): New AC_SUBST.
31323 * configure: Regenerated.
31324 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
31325 $(built-program-cmd) with $(test-program-cmd).
31326 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
31327 (test_program_cmd): This.
31328 * elf/Makefile ($(objpfx)order.out): Run test with
31329 $(test-program-prefix).
31330 ($(objpfx)order2.out): Likewise.
31331 ($(objpfx)tst-initorder.out): Likewise.
31332 ($(objpfx)tst-initorder2.out): Likewise.
31333 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
31334 $(test-program-cmd).
31335 ($(objpfx)tst-array1-static.out): Likewise.
31336 ($(objpfx)tst-array2.out): Likewise.
31337 ($(objpfx)tst-array3.out): Likewise.
31338 ($(objpfx)tst-array4.out): Likewise.
31339 ($(objpfx)tst-array5.out): Likewise.
31340 ($(objpfx)tst-array5-static.out): Likewise.
31341 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
31342 $(test-program-cmd).
31343 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
31344 $(run-program-prefix) with $(test-program-prefix).
31345 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
31346 (test_program_prefix): This.
31347 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
31348 $(run-program-prefix) with $(test-program-prefix).
31349 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
31350 (test_program_prefix): This.
31351 * iconvdata/tst-tables.sh: Likewise.
31352 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
31353 $(run-program-prefix) with $(test-program-prefix).
31354 ($(objpfx)tst-translit.out): Likewise.
31355 ($(objpfx)tst-gettext2.out): Likewise.
31356 ($(objpfx)tst-gettext4.out): Likewise.
31357 ($(objpfx)tst-gettext6.out): Likewise.
31358 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
31359 (test_program_prefix): This.
31360 * intl/tst-gettext2.sh: Likewise.
31361 * intl/tst-gettext4.sh Likewise.
31362 * intl/tst-gettext6.sh: Likewise.
31363 * intl/tst-translit.sh: Likewise.
31364 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
31365 with $(test-program-cmd).
31366 * libio/Makefile ($(objpfx)test-freopen.out): Replace
31367 $(run-program-prefix) with $(test-program-prefix).
31368 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
31369 (test_program_prefix): This.
31370 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
31371 $(run-program-prefix) with $(test-program-prefix).
31372 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
31373 (test_program_prefix): This.
31374 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
31375 * posix/Makefile ($(objpfx)globtest.out): Replace
31376 $(run-via-rtld-prefix) and $(test-wrapper) with
31377 $(test-program-prefix) and $(test-via-rtld-prefix).
31378 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
31379 $(test-program-prefix).
31380 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
31381 $(host-test-program-cmd).
31382 (tst-spawn-ARGS): Likewise.
31383 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
31384 $(test-program-prefix).
31385 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
31386 (test_via_rtld_prefix): This.
31387 (test_wrapper): Renamed to ...
31388 (test_program_prefix): This.
31389 (run_program_prefix): Replaced by test_program_prefix.
31390 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
31391 (test_program_prefix): This.
31392 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
31393 with $(host-test-program-cmd).
31394 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
31395 $(run-program-prefix) with $(test-program-prefix).
31396 ($(objpfx)tst-printf.out): Likewise.
31397 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
31398 $(test-program-cmd).
31399 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
31400 (test_program_prefix): This.
31401 * stdio-common/tst-unbputc.sh: Likewise.
31402 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
31403 $(run-program-prefix) with $(test-program-prefix).
31404 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
31405 (test_program_prefix): This.
31406 * string/Makefile ($(objpfx)tst-svc.out): Replace
31407 $(built-program-cmd) with $(test-program-cmd).
31409 2013-01-11 Andreas Jaeger <aj@suse.de>
31412 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
31413 value. Sync with Linux 3.7.
31415 2013-01-10 David S. Miller <davem@davemloft.net>
31417 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
31418 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31419 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31421 2013-01-10 Roland McGrath <roland@hack.frob.com>
31423 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
31425 * configure: Regenerated.
31427 2013-01-10 David S. Miller <davem@davemloft.net>
31429 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
31430 sparc V9 rather than using V8 code.
31431 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31432 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31434 2013-01-10 Roland McGrath <roland@hack.frob.com>
31436 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
31437 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
31438 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
31439 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
31440 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
31441 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
31442 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
31443 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
31444 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
31445 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
31446 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
31447 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
31448 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
31449 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
31450 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
31451 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
31452 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
31453 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
31454 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
31455 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
31456 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
31457 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
31458 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
31459 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
31460 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
31461 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
31462 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
31464 2013-01-10 David S. Miller <davem@davemloft.net>
31466 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31468 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
31470 * posix/Makefile (tests-static): New variable.
31471 (tests): Add $(tests-static).
31472 (tst-exec-static-ARGS): New variable.
31473 (tst-spawn-static-ARGS): Likewise.
31474 * posix/tst-exec-static.c: New file.
31475 * posix/tst-spawn-static.c: Likewise.
31476 * posix/tst-exec.c: Support run directly.
31477 * posix/tst-spawn.c: Likewise.
31479 2013-01-10 Joseph Myers <joseph@codesourcery.com>
31481 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
31483 * math/bits/mathcalls.h (llrint): Likewise.
31484 (llround): Likewise.
31485 * stdlib/stdlib.h (struct drand48_data): Likewise.
31486 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
31487 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
31488 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
31490 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
31492 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
31493 (elf_greg_t): Likewise.
31494 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
31495 (__jmp_buf): Likewise.
31496 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
31498 (llrint): Likewise, for all definitions.
31499 (llrintl): Likewise.
31501 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
31502 Remove [__GNUC__] condition.
31503 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
31504 condition to just [__USE_ISOC99].
31505 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
31507 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
31510 * sysdeps/unix/sysv/linux/x86/bits/environments.h
31511 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
31513 (_POSIX_V6_ILP32_OFF32): Likewise.
31514 (_XBS5_ILP32_OFF32): Likewise.
31515 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
31516 (__ILP32_OFFBIG_LDFLAGS): Likewise.
31518 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31520 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
31522 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
31523 doubles __mpexp_twomm1. Adjust usage.
31524 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
31527 2013-01-10 Andreas Schwab <schwab@suse.de>
31530 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
31531 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
31533 2013-01-09 David S. Miller <davem@davemloft.net>
31536 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
31537 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
31538 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
31539 (TCP_FASTOPEN): Define.
31540 (tcp_repair_opt): New structure.
31541 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
31543 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
31544 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
31545 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
31546 (tcp_cookie_transactions): New structure.
31548 2013-01-09 Anton Blanchard <anton@samba.org>
31550 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
31551 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
31552 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
31553 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
31555 2013-01-09 Joseph Myers <joseph@codesourcery.com>
31557 * include/features.h (__USE_ANSI): Remove.
31559 2013-01-09 Roland McGrath <roland@hack.frob.com>
31561 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
31563 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
31565 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
31567 * sysdeps/s390/fpu/libm-test-ulps: Update.
31569 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31571 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
31575 (denorm): Likewise.
31576 (__mp_dbl): Likewise.
31577 (__dbl_mp): Likewise.
31578 (add_magnitudes): Likewise.
31579 (sub_magnitudes): Likewise.
31585 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
31589 (denorm): Likewise.
31590 (__mp_dbl): Likewise.
31591 (__dbl_mp): Likewise.
31592 (add_magnitudes): Likewise.
31593 (sub_magnitudes): Likewise.
31599 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
31603 (denorm): Likewise.
31604 (__mp_dbl): Likewise.
31605 (__dbl_mp): Likewise.
31606 (add_magnitudes): Likewise.
31607 (sub_magnitudes): Likewise.
31614 2013-01-08 Joseph Myers <joseph@codesourcery.com>
31616 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
31617 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
31618 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
31619 2 && __USE_EXTERN_INLINES]: Likewise.
31621 2013-01-08 Andreas Jaeger <aj@suse.de>
31624 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
31626 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
31627 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
31629 2013-01-07 Anton Blanchard <anton@samba.org>
31631 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
31632 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
31633 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
31634 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
31635 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
31636 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31637 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
31638 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
31639 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31640 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31641 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31642 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31643 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
31644 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31645 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
31646 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31647 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31648 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31649 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
31650 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
31651 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
31652 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
31653 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31654 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
31655 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
31656 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
31657 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31658 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
31659 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
31660 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
31661 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
31662 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31663 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31664 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31665 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31666 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31667 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31668 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31669 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
31670 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
31671 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
31672 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31673 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31675 2013-01-07 Joseph Myers <joseph@codesourcery.com>
31677 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
31678 (__MALLOC_PMT): Likewise.
31679 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
31680 [__GNUC__], only on [_LIBC].
31681 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
31682 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
31683 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
31684 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
31685 forward declaration.
31686 (realloc_hook_ini): Likewise.
31687 (memalign_hook_ini): Likewise.
31688 (__libc_memalign): Do not use __MALLOC_PMT in variable
31690 (__libc_valloc): Likewise.
31691 (__libc_pvalloc): Likewise.
31692 (__libc_calloc): Likewise.
31693 (__posix_memalign): Likewise.
31696 * math/s_casinh.c: Include <float.h>.
31697 (__casinh): Do not do computation with squaring and square root
31698 for large arguments.
31699 * math/s_casinhf.c: Include <float.h>.
31700 (__casinhf): Do not do computation with squaring and square root
31701 for large arguments.
31702 * math/s_casinhl.c: Include <float.h>.
31703 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
31704 (__casinhl): Do not do computation with squaring and square root
31705 for large arguments.
31706 * math/libm-test.inc (casin_test): Add more tests.
31707 (casinh_test): Likewise.
31708 * sysdeps/i386/fpu/libm-test-ulps: Update.
31709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31711 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
31713 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
31714 (__x86_64_raw_data_cache_size): Likewise.
31715 (__x86_64_data_cache_size_half): Likewise.
31716 (__x86_64_raw_data_cache_size_half): Likewise.
31717 (__x86_64_shared_cache_size): Likewise.
31718 (__x86_64_raw_shared_cache_size): Likewise.
31719 (__x86_64_shared_cache_size_half): Likewise.
31720 (__x86_64_raw_shared_cache_size_half): Likewise.
31721 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
31723 (__x86_data_cache_size): This.
31724 (__x86_64_raw_data_cache_size): Renamed to ...
31725 (__x86_raw_data_cache_size): This.
31726 (__x86_64_data_cache_size_half): Renamed to ...
31727 (__x86_data_cache_size_half): This.
31728 (__x86_64_raw_data_cache_size_half): Renamed to ...
31729 (__x86_raw_data_cache_size_half): This.
31730 (__x86_64_shared_cache_size): Renamed to ...
31731 (__x86_shared_cache_size): This.
31732 (__x86_64_raw_shared_cache_size): Renamed to ...
31733 (__x86_raw_shared_cache_size): This.
31734 (__x86_64_shared_cache_size_half): Renamed to ...
31735 (__x86_shared_cache_size_half): This.
31736 (__x86_64_raw_shared_cache_size_half): Renamed to ...
31737 (__x86_raw_shared_cache_size_half): This.
31738 * sysdeps/x86_64/memcpy.S: Updated.
31739 * sysdeps/x86_64/memset.S: Likewise.
31740 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
31741 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31742 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31744 2013-01-04 David S. Miller <davem@davemloft.net>
31746 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31748 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
31750 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
31751 1 to avoid redefinition warning.
31752 (__USE_GNU): Don't define.
31753 (init_signaling_nan): Protoize.
31755 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31757 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31759 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
31760 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
31761 (__cpymn): Likewise.
31762 (norm): Remove commented code.
31763 (denorm): Likewise.
31764 (__mp_dbl): Likewise.
31766 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
31767 (__cpymn): Likewise.
31768 (norm): Remove commented code.
31769 (denorm): Likewise.
31770 (__mp_dbl): Likewise.
31773 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
31774 mp_no value for 1.0 and 2.0.
31775 (norm): Use RADIXI instead of radixi.d.
31776 (denorm): Likewise.
31777 (__mul): Use 0.0 instead of zero.d.
31778 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
31779 mp_no value for 1.0 and 2.0.
31780 (norm): Use RADIXI instead of radixi.d.
31781 (denorm): Likewise.
31782 (__mul): Use 0.0 instead of zero.d.
31784 2013-01-04 Joseph Myers <joseph@codesourcery.com>
31787 * math/s_casinh.c (__casinh): Reduce finite argument to first
31788 quadrant then set signs of results at the end.
31789 * math/s_casinhf.c (__casinhf): Likewise.
31790 * math/s_casinhl.c (__casinhl): Likewise.
31791 * math/libm-test.inc (casin_test): Add more tests.
31792 (casinh_test): Likewise.
31793 * sysdeps/i386/fpu/libm-test-ulps: Update.
31794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31796 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31798 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
31800 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
31802 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
31804 (denorm): Likewise.
31805 (__mp_dbl): Likewise.
31808 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
31809 and adjust the header comment.
31811 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
31812 variable name from declaration.
31814 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
31816 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31817 Initialize COMMON_CPUID_INDEX_7 element.
31818 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
31819 (CPUID_RTM): Likewise.
31820 (HAS_RTM): Likewise.
31821 (COMMON_CPUID_INDEX_7): New enum.
31823 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
31826 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
31827 size is zero, record memory as freed.
31829 2013-01-03 Andreas Jaeger <aj@suse.de>
31831 * po/ia.po: Add new Interlingua translation.
31833 2012-01-03 Allan McRae <allan@archlinux.org>
31835 * locale/programs/localedef.c: Fix description of '--posix' flag.
31837 2013-01-02 Joseph Myers <joseph@codesourcery.com>
31839 * NEWS: Update dates in second copyright notice.
31840 * README: Update copyright dates in example.
31841 * manual/libc.texinfo: Update copyright dates.
31842 * scripts/test-installation.pl: Update copyright date in --version
31845 * hurd/ctty-input.c: Fix copyright notice formatting.
31846 * hurd/ctty-output.c: Likewise.
31847 * hurd/dtable.c: Likewise.
31848 * hurd/hurd-raise.c: Likewise.
31849 * hurd/hurdprio.c: Likewise.
31850 * hurd/msgportdemux.c: Likewise.
31851 * misc/sys/file.h: Likewise.
31852 * misc/sys/ioctl.h: Likewise.
31853 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
31854 * sysdeps/mach/hurd/chdir.c: Likewise.
31855 * sysdeps/mach/hurd/fchdir.c: Likewise.
31856 * sysdeps/mach/hurd/rename.c: Likewise.
31857 * sysdeps/mach/hurd/rmdir.c: Likewise.
31858 * sysdeps/mach/hurd/seekdir.c: Likewise.
31859 * sysdeps/mach/hurd/setsid.c: Likewise.
31860 * sysdeps/posix/wait3.c: Likewise.
31862 * All files with FSF copyright notices: Update copyright dates
31863 using scripts/update-copyrights.
31864 * intl/plural.c: Regenerated.
31865 * locale/programs/charmap-kw.h: Likewise.
31866 * locale/programs/locfile-kw.h: Likewise.
31868 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
31870 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
31873 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
31874 calculation loop and add branch prediction.
31876 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
31877 check access beyond bounds of m1np.
31879 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
31881 (__inv): Remove local variable MPTWO to use the global
31883 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
31884 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
31886 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
31887 MP3HALFS static const.
31889 2013-01-01 David S. Miller <davem@davemloft.net>
31891 * po/ca.po: Update from translation team.
31893 2013-01-01 Joseph Myers <joseph@codesourcery.com>
31895 * scripts/update-copyrights: New file.
31896 * Makeconfig: Reformat copyright notice.
31897 * ctype/ctype.h: Likewise.
31898 * debug/swprintf_chk.c: Likewise.
31899 * elf/dl-cache.c: Likewise.
31900 * elf/dl-debug.c: Likewise.
31901 * elf/dl-object.c: Likewise.
31902 * grp/initgroups.c: Likewise.
31903 * hurd/Makefile: Likewise.
31904 * hurd/hurd/signal.h: Likewise.
31905 * hurd/hurdfault.c: Likewise.
31906 * hurd/hurdioctl.c: Likewise.
31907 * hurd/hurdlookup.c: Likewise.
31908 * hurd/intr-msg.c: Likewise.
31909 * iconv/gconv_open.c: Likewise.
31910 * libio/swprintf.c: Likewise.
31911 * locale/lc-ctype.c: Likewise.
31912 * locale/nl_langinfo.c: Likewise.
31913 * mach/Machrules: Likewise.
31914 * mach/Makefile: Likewise.
31915 * malloc/obstack.h: Likewise.
31916 * manual/Makefile: Likewise.
31917 * manual/tsort.awk: Likewise.
31918 * misc/bits/stab.def: Likewise.
31919 * nis/nis_print_group_entry.c: Likewise.
31920 * nis/nis_table.c: Likewise.
31921 * nis/nss_compat/compat-pwd.c: Likewise.
31922 * nis/nss_compat/compat-spwd.c: Likewise.
31923 * po/Makefile: Likewise.
31924 * posix/fnmatch.c: Likewise.
31925 * posix/regex.h: Likewise.
31926 * resolv/Makefile: Likewise.
31927 * resolv/nss_dns/dns-network.c: Likewise.
31928 * resolv/res_hconf.c: Likewise.
31929 * scripts/gen-sorted.awk: Likewise.
31930 * soft-fp/soft-fp.h: Likewise.
31931 * stdio-common/printf.h: Likewise.
31932 * stdlib/monetary.h: Likewise.
31933 * stdlib/random.c: Likewise.
31934 * stdlib/random_r.c: Likewise.
31935 * sysdeps/generic/Makefile: Likewise.
31936 * sysdeps/gnu/Makefile: Likewise.
31937 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
31938 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31939 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31940 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31941 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31942 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31943 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31944 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31945 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31946 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31947 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31948 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31949 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
31950 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
31951 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
31952 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
31953 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31954 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31955 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31956 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31957 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
31958 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
31959 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
31960 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
31961 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
31962 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
31963 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
31964 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
31965 * sysdeps/mach/hurd/errnos.awk: Likewise.
31966 * sysdeps/mach/hurd/fork.c: Likewise.
31967 * sysdeps/mach/hurd/getcwd.c: Likewise.
31968 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
31969 * sysdeps/mach/hurd/mmap.c: Likewise.
31970 * sysdeps/mach/hurd/utimes.c: Likewise.
31971 * sysdeps/mach/hurd/xmknod.c: Likewise.
31972 * sysdeps/posix/profil.c: Likewise.
31973 * sysdeps/posix/readdir_r.c: Likewise.
31974 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31975 * sysdeps/powerpc/bits/setjmp.h: Likewise.
31976 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
31977 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
31978 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31979 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
31980 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31981 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31982 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31983 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
31984 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31985 * sysdeps/pthread/lio_listio.c: Likewise.
31986 * sysdeps/sparc/dl-procinfo.h: Likewise.
31987 * sysdeps/unix/i386/sysdep.S: Likewise.
31988 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
31989 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
31990 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
31991 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
31992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31993 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
31994 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
31995 * sysdeps/unix/sysv/linux/speed.c: Likewise.
31996 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
31997 * sysdeps/wordsize-32/divdi3.c: Likewise.
31998 * time/sys/time.h: Likewise.
31999 * wcsmbs/Makefile: Likewise.
32001 2013-01-01 David S. Miller <davem@davemloft.net>
32003 * po/fr.po: Update from translation team.
32005 * catgets/gencat.c: Update copyright year.
32006 * csu/version.c: Likewise.
32007 * debug/catchsegv.sh: Likewise.
32008 * debug/pcprofiledump.c: Likewise.
32009 * debug/xtrace.sh: Likewise.
32010 * elf/ldconfig.c: Likewise.
32011 * elf/ldd.bash.in: Likewise.
32012 * elf/pldd.c: Likewise.
32013 * elf/sotruss.ksh: Likewise.
32014 * elf/sprof.c: Likewise.
32015 * iconv/iconv_prog.c: Likewise.
32016 * iconv/iconvconfig.c: Likewise.
32017 * locale/programs/locale.c: Likewise.
32018 * locale/programs/localedef.c: Likewise.
32019 * login/programs/pt_chown.c: Likewise.
32020 * malloc/memusage.sh: Likewise.
32021 * malloc/memusagestat.c: Likewise.
32022 * malloc/mtrace.pl: Likewise.
32023 * nscd/nscd.c: Likewise.
32024 * nss/getent.c: Likewise.
32025 * nss/makedb.c: Likewise.
32026 * posix/getconf.c: Likewise.
32028 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32030 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
32033 2012-12-30 Mike Frysinger <vapier@gentoo.org>
32035 * math/bits/mathcalls.h (modf): Use __nonnull.
32037 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
32039 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
32040 (split): Use macro CN instead of the bare value.
32041 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
32043 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
32044 instead of the bare value.
32045 (power1): Likewise.
32047 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32049 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
32051 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32053 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
32055 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
32056 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
32057 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
32058 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
32060 2012-12-28 Andreas Jaeger <aj@suse.de>
32062 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
32063 values are from Linux 3.7.
32065 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
32066 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
32068 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32070 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
32073 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
32075 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
32076 variables with preprocessor constants.
32077 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32078 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32079 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32081 2012-12-27 Bruno Haible <bruno@clisp.org>
32084 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
32087 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
32089 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
32090 and use variable directly.
32091 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
32093 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
32095 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
32096 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
32098 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
32099 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
32100 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
32101 include directive. Remove local variable MPONE.
32102 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
32103 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
32104 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32106 2012-12-25 David S. Miller <davem@davemloft.net>
32108 * version.h (RELEASE): Set to "development".
32109 (VERSION): Set to "2.17.90".
32110 * NEWS: Add 2.18 section.
32112 2012-12-21 David S. Miller <davem@davemloft.net>
32114 * po/hr.po: Update from translation team.
32116 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32118 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
32120 2012-12-19 Steve Ellcey <sellcey@mips.com>
32122 * NEWS: Mention new memcpy for MIPS.
32124 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32126 * manual/contrib.texi (Contributors): Spelling correction.
32128 2012-12-15 David S. Miller <davem@davemloft.net>
32130 * po/ru.po: Update from translation team.
32132 2012-12-13 David S. Miller <davem@davemloft.net>
32134 * NEWS: Mention IFUNC testsuite enhancements.
32136 * po/pl.po: Update from translation team.
32137 * po/bg.po: Likewise.
32139 * manual/contrib.texi (Contributors): Update entries for Hongjiu
32140 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
32142 2012-12-11 David S. Miller <davem@davemloft.net>
32144 * po/sv.po: Update from translation team.
32146 * po/vi.po: Update from translation team.
32148 * po/cs.po: Update from translation team.
32150 * po/de.po: Update from translation team.
32151 * po/eo.po: Likewise.
32152 * po/nl.po: Likewise.
32154 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
32157 * manual/argp.texi (Argp Helper Functions): Move node to follow
32158 Argp Parsing State.
32161 * manual/conf.texi (Limits on File System Capacity): Mention if
32162 terminating null is included in the max size.
32164 2012-12-10 Andreas Jaeger <aj@suse.de>
32166 * po/cs.po: Update from translation team.
32168 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
32170 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
32171 void pointer and cast to uintptr_t.
32172 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
32174 * sysdeps/s390/s390-64/memcpy.S: Likewise.
32175 * sysdeps/s390/s390-64/memset.S: Likewise.
32177 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
32180 * menual/message.texi (Message Translation): Fix typos.
32181 (Helper programs for gettext): Likewise.
32183 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
32186 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
32189 2012-12-07 David S. Miller <davem@davemloft.net>
32191 * po/libc.pot: Update.
32193 2012-12-07 Richard Henderson <rth@redhat.com>
32196 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
32197 normal/normal case to before the switch.
32198 (_FP_DIV): Likewise.
32200 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
32201 Mike Frysinger <vapier@gentoo.org>
32203 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
32204 check for __NR_fadvise64_64.
32206 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
32208 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
32209 0, not just to plain "0" as a statement.
32210 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
32213 2012-12-06 Joseph Myers <joseph@codesourcery.com>
32215 * NEWS: Use sourceware.org in Bugzilla URL.
32217 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
32219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
32220 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
32222 * stdio-common/tst-put-error.c (do_test): Add newline to the
32223 padded test to ensure flush.
32225 2012-12-05 Jeff Law <law@redhat.com>
32227 * sunrpc/etc.rpc (fedfs_admin): Add entry.
32229 2012-12-05 Joseph Myers <joseph@codesourcery.com>
32231 * README: Don't refer to ports add-on as distributed separately.
32232 Mention AArch64 in list of systems supported in the ports add-on.
32234 * LICENSES: Add more non-FSF copyright and license notices.
32236 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
32239 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
32241 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
32242 10000 as width of padded output.
32244 2012-12-04 Joseph Myers <joseph@codesourcery.com>
32246 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
32248 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
32249 variable LX with __attribute__ ((unused)).
32250 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
32252 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
32253 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32254 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
32255 with __attribute__ ((unused)).
32257 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
32259 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
32261 2012-12-04 Joseph Myers <joseph@codesourcery.com>
32263 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
32264 (CFLAGS-nldbl-acos.c): New variable.
32265 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
32266 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
32267 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
32268 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
32269 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
32270 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
32271 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
32272 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
32273 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
32274 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
32275 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
32276 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
32277 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
32278 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
32279 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
32280 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
32281 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
32282 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
32283 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
32284 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
32285 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
32286 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
32287 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
32288 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
32289 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
32290 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
32291 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
32292 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
32293 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
32294 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
32295 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
32296 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
32297 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
32298 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
32299 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
32300 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
32301 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
32302 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
32303 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
32304 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
32305 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
32306 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
32307 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
32308 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
32309 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
32310 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
32311 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
32312 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
32313 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
32314 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
32315 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
32316 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
32317 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
32318 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
32319 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
32320 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
32321 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
32322 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
32323 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
32324 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
32325 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
32326 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
32327 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
32328 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
32329 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
32330 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
32331 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
32332 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
32333 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
32334 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
32335 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
32336 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
32337 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
32338 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
32339 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
32340 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
32341 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
32342 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
32343 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
32344 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
32345 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
32346 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
32347 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
32348 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
32349 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
32350 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
32351 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
32352 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
32353 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
32354 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
32355 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
32356 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
32357 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
32358 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
32359 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
32360 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
32361 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
32363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32364 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
32367 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
32368 whole low double instead of just low 47 bits when splitting values
32371 2012-12-03 Allan McRae <allan@archlinux.org>
32373 * manual/stdio.texi (Predefined Printf Handlers): Remove
32374 @hsep and @vsep usage.
32376 2012-12-03 Mike Frysinger <vapier@gentoo.org>
32378 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
32379 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
32381 2012-12-03 Jeff Law <law@redhat.com>
32383 * time/sys/time.h (settimeofday): Do not mark TV argument
32386 2012-12-01 Mike Frysinger <vapier@gentoo.org>
32388 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
32389 when currently writing and seek to current position when not.
32390 * libio/Makefile (tests): Remove bug-fclose1.
32391 * libio/bug-fclose1.c: Delete.
32393 2012-12-01 Joseph Myers <joseph@codesourcery.com>
32395 * manual/arith.texi (feenableexcept): Fix typo.
32396 (fedisableexcept): Likewise.
32398 2012-11-30 Roland McGrath <roland@hack.frob.com>
32400 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
32401 second, differently-typed declaration, rather than a cast.
32403 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32405 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
32406 * include/rpc/svc.h: ... here.
32408 2012-11-30 Aurelien Jarno <aurel32@debian.org>
32411 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
32412 depending n and resplen2 to catch cases where answer
32415 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
32417 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
32418 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
32420 2012-11-29 Mike Frysinger <vapier@gentoo.org>
32422 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
32424 2012-11-29 Roland McGrath <roland@hack.frob.com>
32426 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
32428 2012-11-28 Jeff Law <law@redhat.com>
32431 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
32432 dataset_temporary. Track alloca usage into alloca_used.
32433 If dataset is large allocate and release it via malloc/free.
32435 2012-06-04 Florian Weimer <fweimer@redhat.com>
32438 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
32440 2012-11-28 David S. Miller <davem@davemloft.net>
32442 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32444 2012-11-28 Joseph Myers <joseph@codesourcery.com>
32447 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
32448 of pi/2 rounded to nearest to 64 bits.
32449 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
32450 nearest to 64 bits.
32451 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
32454 2012-11-28 Jeff Law <law@redhat.com>
32455 Martin Osvald <mosvald@redhat.com>
32458 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
32459 * sunrpc/svc.c: Include time.h.
32460 (__svc_accept_failed): New function.
32461 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
32462 any reason other than EINTR, call __svc_accept_failed.
32463 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
32464 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
32466 2012-11-28 Andreas Schwab <schwab@suse.de>
32468 * scripts/abilist.awk: Also handle indirect functions in .opd
32471 2012-11-28 Joseph Myers <joseph@codesourcery.com>
32474 * sysdeps/x86/fpu/powl_helper.c: New file.
32475 * sysdeps/x86/fpu/Makefile: Likewise.
32476 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
32478 (__ieee754_powl): Use __powl_helper for finite arguments except
32479 integer exponents below 8.
32480 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
32482 (__ieee754_powl): Use __powl_helper for finite arguments except
32483 integer exponents below 8.
32484 * math/libm-test.inc (pow_test): Add more tests and enable some
32485 previously disabled tests.
32486 * sysdeps/i386/fpu/libm-test-ulps: Update.
32487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32489 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32490 Carlos O'Donell <carlos_odonell@mentor.com>
32492 * nss/makedb.c (is_prime): Assert that input is odd and greater
32493 than 4. Note that fact in a comment too.
32494 (next_prime): Add 4 to input.
32496 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
32499 * libio/Makefile (tests): Add test case tst-fwrite-error.
32500 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
32501 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
32502 * libio/tst-fwrite-error.c: New test case.
32504 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
32506 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
32507 before casting to void *.
32508 * include/libc-internal.h (__pointer_type): New macro.
32509 (__integer_if_pointer_type_sub): Likewise.
32510 (__integer_if_pointer_type): Likewise.
32511 (cast_to_integer): Likewise.
32512 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
32513 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
32514 before casting to atomic64_t.
32515 (atomic_exchange_acq): Likewise.
32516 (__arch_exchange_and_add_body): Likewise.
32517 (__arch_add_body): Likewise.
32518 (atomic_add_negative): Likewise.
32519 (atomic_add_zero): Likewise.
32521 2012-11-26 Joseph Myers <joseph@codesourcery.com>
32523 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
32524 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
32525 (add_fdes): Likewise.
32526 (linear_search_fdes): Likewise.
32527 (binary_search_unencoded_fdes): Likewise.
32529 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
32531 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
32533 2012-11-24 Adam Conrad <adconrad@0c3.net>
32535 * configure.in: Autodetect C++ header directories.
32536 * configure: Regenerated.
32538 2012-11-23 Mike Frysinger <vapier@gentoo.org>
32540 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
32542 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
32544 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32546 2012-11-22 Joseph Myers <joseph@codesourcery.com>
32548 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
32549 LDBL_MANT_DIG == 106]: Disable some tests.
32550 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
32552 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
32556 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
32557 input for small inputs. Return +/- pi/2 for large inputs.
32558 * math/libm-test.inc (atan_test): Add more tests.
32560 * sysdeps/generic/unwind-dw2-fde-glibc.c
32561 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
32562 __attribute__ ((unused)).
32565 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
32566 x * y if x and y are nonzero and z is zero.
32569 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
32570 nonzero exponents with absolute value below 0x1p-117 to +/-
32574 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
32575 up arguments below 2**-450, not just those below 2**-500.
32576 * math/libm-test.inc (hypot_test): Add another test.
32579 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
32580 Return a+b for ratio over 2**120, not 2**60.
32581 * math/libm-test.inc (hypot_test): Add another test.
32583 * math/libm-test.inc (clog_test): Use
32584 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
32585 (clog10_test): Likewise.
32588 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
32590 2012-11-22 Andreas Schwab <schwab@suse.de>
32592 * sysdeps/i386/fpu/libm-test-ulps: Update.
32594 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
32596 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
32597 printf output with newline.
32599 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
32602 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
32603 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
32604 -z nodlopen, -z initfirst and -z execstack support.
32605 * configure: Regenerated.
32607 * elf/elf.h (DF_1_NODIRECT): New macro.
32608 (DF_1_IGNMULDEF): Likewise.
32609 (DF_1_NOKSYMS): Likewise.
32610 (DF_1_NOHDR): Likewise.
32611 (DF_1_EDITED): Likewise.
32612 (DF_1_NORELOC): Likewise.
32613 (DF_1_SYMINTPOSE): Likewise.
32614 (DF_1_GLOBAUDIT): Likewise.
32615 (DF_1_SINGLETON): Likewise.
32616 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
32617 DT_1_SUPPORTED_MASK bits.
32618 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
32620 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
32622 * sysdeps/unix/make-syscalls.sh: Document prefixes.
32624 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
32626 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
32629 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
32630 (sendmmsg): Move declarations...
32631 * socket/sys/socket.h: ... here.
32632 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
32633 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
32635 * socket/recvmmsg.c: ... this new file.
32636 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
32637 (sendmmsg): Rename to __sendmmsg, create weak alias and make
32638 definition of __sendmmsg hidden.
32639 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
32640 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
32641 Move ENOSYS stub into and include it from...
32642 * socket/sendmmsg.c: ... this new file.
32643 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
32644 (sysdep_routines): Move recvmmsg and sendmmsg...
32645 * socket/Makefile (routines): ... here.
32646 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
32647 (GLIBC_PRIVATE): Add __sendmmsg.
32648 * include/sys/socket.h (__sendmmsg): Add declarations.
32649 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
32652 2012-11-20 Joseph Myers <joseph@codesourcery.com>
32654 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
32655 variable I1 with __attribute__ ((unused)).
32656 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
32658 2012-11-19 Joseph Myers <joseph@codesourcery.com>
32660 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
32661 DUMMY variables with __attribute__ ((unused)).
32663 * bits/byteswap.h: Include <bits/types.h>.
32664 (__bswap_64): Use __uint64_t instead of unsigned long long int.
32666 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
32668 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
32669 string_t. Do not manually set errno.
32670 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
32671 length with __strnlen. Make sure to both set errno and return it on
32674 2012-11-19 David S. Miller <davem@davemloft.net>
32676 With help from Joseph Myers.
32677 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
32678 very large arguments properly.
32679 * math/libm-test.inc (atan_test): New tests.
32680 (atan2_test): New tests.
32681 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32682 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32684 2012-11-19 Joseph Myers <joseph@codesourcery.com>
32687 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
32690 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
32691 [POSIX] (EADDRNOTAVAIL): Likewise.
32692 [POSIX] (EAFNOSUPPORT): Likewise.
32693 [POSIX] (EALREADY): Likewise.
32694 [POSIX] (ECONNABORTED): Likewise.
32695 [POSIX] (ECONNREFUSED): Likewise.
32696 [POSIX] (ECONNRESET): Likewise.
32697 [POSIX] (EDESTADDRREQ): Likewise.
32698 [POSIX] (EDQUOT): Likewise.
32699 [POSIX] (EHOSTUNREACH): Likewise.
32700 [POSIX] (EIDRM): Likewise.
32701 [POSIX] (EISCONN): Likewise.
32702 [POSIX] (ELOOP): Likewise.
32703 [POSIX] (EMULTIHOP): Likewise.
32704 [POSIX] (ENETDOWN): Likewise.
32705 [POSIX] (ENETUNREACH): Likewise.
32706 [POSIX] (ENOBUFS): Likewise.
32707 [POSIX] (ENODATA): Likewise.
32708 [POSIX] (ENOLINK): Likewise.
32709 [POSIX] (ENOMSG): Likewise.
32710 [POSIX] (ENOPROTOOPT): Likewise.
32711 [POSIX] (ENOSR): Likewise.
32712 [POSIX] (ENOSTR): Likewise.
32713 [POSIX] (ENOTCONN): Likewise.
32714 [POSIX] (ENOTSOCK): Likewise.
32715 [POSIX] (EOPNOTSUPP): Likewise.
32716 [POSIX] (EOVERFLOW): Likewise.
32717 [POSIX] (EPROTO): Likewise.
32718 [POSIX] (EPROTONOSUPPORT): Likewise.
32719 [POSIX] (EPROTOTYPE): Likewise.
32720 [POSIX] (ESTALE): Likewise.
32721 [POSIX] (ETIME): Likewise.
32722 [POSIX] (ETXTBSY): Likewise.
32723 [POSIX] (EWOULDBLOCK): Likewise.
32724 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
32725 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
32726 [POSIX] (SEEK_CUR): Likewise.
32727 [POSIX] (SEEK_END): Likewise.
32728 [POSIX || UNIX98] (mode_t): Do not require.
32729 [POSIX] (off_t): Likewise.
32730 [POSIX] (pid_t): Likewise.
32731 [POSIX] (sys/stat.h): Do not allow header.
32732 [POSIX] (unistd.h): Likewise.
32733 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
32734 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
32735 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
32736 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
32738 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
32739 sigevent): Specify elements.
32740 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
32742 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
32743 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
32745 * conform/data/cpio.h-data [POSIX]: Disable whole file.
32746 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
32747 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
32748 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
32749 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
32750 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
32751 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
32752 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
32753 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
32754 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
32755 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
32756 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
32757 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
32758 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
32760 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
32762 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
32764 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
32766 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
32767 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
32768 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
32769 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
32770 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
32771 Specify lower bound on value.
32772 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
32773 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
32774 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
32775 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
32776 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
32777 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
32778 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
32779 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
32781 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
32783 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
32784 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
32785 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
32786 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
32787 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
32788 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
32789 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
32790 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
32791 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
32792 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
32793 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
32794 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
32795 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
32796 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
32797 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
32798 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
32800 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
32802 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
32803 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
32804 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
32805 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
32806 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
32807 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
32809 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
32810 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
32811 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
32812 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
32813 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
32814 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
32815 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
32817 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
32818 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
32819 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
32820 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
32821 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
32822 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
32823 specify as optional.
32824 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
32825 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
32826 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
32827 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
32828 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
32829 [XPG3] (NL_LANGMAX): Likewise.
32830 [POSIX || XPG3] (NL_MSGMAX): Likewise.
32831 [POSIX || XPG3] (NL_NMAX): Likewise.
32832 [POSIX || XPG3] (NL_SETMAX): Likewise.
32833 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
32834 [XPG3] (NZERO): Likewise.
32835 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
32836 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
32837 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
32838 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
32839 (REG_ERANGE): Expect.
32840 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
32842 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
32843 Use (void) in prototype.
32844 [POSIX] (*_t): Allow.
32845 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
32846 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
32847 (WRDE_BADVAL): Expect.
32849 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
32851 [XPG3 || XPG4] (O_RSYNC): Likewise.
32852 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
32854 [XPG3 || XPG4] (pthread_sigmask): Likewise.
32855 [XPG3 || XPG4] (sigqueue): Likewise.
32856 [XPG3 || XPG4] (sigtimedwait): Likewise.
32857 [XPG3 || XPG4] (sigwaitinfo): Likewise.
32858 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
32859 [XPG3 || XPG4] (vsnprintf): Likewise.
32860 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
32862 [XPG3 || XPG4] (blksize_t): Likewise.
32863 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
32865 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
32866 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
32867 [XPG3 || XPG4] (struct itimerspec): Likewise.
32868 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
32869 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
32870 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
32871 [XPG3 || XPG4] (clockid_t): Likewise.
32872 [XPG3 || XPG4] (timer_t): Likewise.
32873 [XPG3 || XPG4] (clock_getres): Likewise.
32874 [XPG3 || XPG4] (clock_gettime): Likewise.
32875 [XPG3 || XPG4] (clock_settime): Likewise.
32876 [XPG3 || XPG4] (nanosleep): Likewise.
32877 [XPG3 || XPG4] (timer_create): Likewise.
32878 [XPG3 || XPG4] (timer_delete): Likewise.
32879 [XPG3 || XPG4] (timer_gettime): Likewise.
32880 [XPG3 || XPG4] (timer_getoverrun): Likewise.
32881 [XPG3 || XPG4] (timer_settime): Likewise.
32882 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
32883 [XPG3 || XPG4] (getlogin_r): Likewise.
32884 [XPG3 || XPG4] (pread): Likewise.
32885 [XPG3 || XPG4] (pthread_atfork): Likewise.
32886 [XPG3 || XPG4] (pwrite): Likewise.
32889 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
32892 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
32894 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
32895 finalizing MALLSTREAM.
32897 * sysdeps/mach/hurd/syncfs.c: New file.
32899 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32902 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
32903 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
32904 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
32905 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
32906 (_nss_dns_gethostbyname4_r): Likewise.
32907 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
32908 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
32910 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
32913 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
32915 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
32917 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
32918 * elf/cache.c (print_entry): Print ",AArch64" for
32921 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
32922 * elf/cache.c (print_entry): Print ",hard-float" for
32925 2012-11-18 David S. Miller <davem@davemloft.net>
32927 With help from Joseph Myers.
32928 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
32930 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
32932 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
32933 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
32935 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
32936 * math/libm-test.inc (y0_test): New tests.
32937 (y1_test): New tests.
32938 * sysdeps/i386/fpu/libm-test-ulps: Update.
32939 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32940 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32942 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
32944 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
32946 * configure: Regenerated.
32948 2012-11-17 David S. Miller <davem@davemloft.net>
32951 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
32952 nonzero exponents with absolute value below 0x1p-128 to +/-
32955 2012-11-17 Joseph Myers <joseph@codesourcery.com>
32957 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
32959 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
32961 * posix/getconf-speclist.c: New file.
32962 * posix/posix-envs.def: Likewise.
32963 * posix/confstr.c (START_ENV_GROUP): New macro.
32964 (END_ENV_GROUP): Likewise.
32965 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
32966 (KNOWN_PRESENT_ENV_STRING): Likewise.
32967 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
32968 (UNKNOWN_ENVIRONMENT): Likewise.
32969 (confstr): Include posix-envs.def instead of handling
32970 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
32971 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
32972 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
32973 (END_ENV_GROUP): Likewise.
32974 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
32975 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
32976 (UNKNOWN_ENVIRONMENT): Likewise.
32977 (__sysconf): Include posix-envs.def instead of handling associated
32978 cases directly here.
32979 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
32980 preprocessing getconf-speclist.c rather than running getconf or
32981 generating empty file.
32983 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
32985 * scripts/check-local-headers.sh: Ignore 'mach' headers.
32987 2012-11-16 Andrej Lajovic <natrij@gmail.com>
32990 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
32992 2012-11-16 David S. Miller <davem@davemloft.net>
32994 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
32995 smaller than LDBL_EPSILON/2.0L, just return xm1.
32997 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
32999 * elf/tst-array1.c (init): Set constructor priority to 1000.
33000 (fini): Set destructor priority to 1000.
33001 * elf/tst-array2dep.c: Likewise.
33003 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33006 * libio/fileops.c (_IO_new_file_write): Correctly return error.
33007 (_IO_new_file_xsputn): Also return EOF if none of the input
33008 data was written when overflow failed.
33009 * libio/iopadn.c (_IO_padn): Likewise.
33010 * libio/iowpadn.c (_IO_wpadn): Likewise.
33011 * stdio-common/tst-put-error.c: Add copyright notice.
33012 (do_test): Add case for printing padded string.
33013 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
33014 _IO_padn returned error.
33015 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
33016 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
33019 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33021 * libio/libioP.h: Add comment note that the references to C++
33022 bits are now obsolete.
33024 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33026 * math/libm-test.inc (check_complex): Use asprintf.
33028 2012-11-14 Joseph Myers <joseph@codesourcery.com>
33030 * debug/pcprofiledump.c (print_version): Update copyright year.
33031 * malloc/memusagestat.c (print_version): Likewise.
33033 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
33036 * elf/Makefile (tests): Add tst-audit8.
33037 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
33038 ($(objpfx)tst-audit8.out): New target.
33039 (tst-audit8-ENV): New variable.
33040 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
33041 audit if l_reloc_result is NULL.
33042 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
33043 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
33044 * elf/tst-audit8.c: New file.
33046 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33048 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
33049 * misc/Makefile (CFLAGS-select.c): Define.
33050 * posix/Makefile (CFLAGS-pause.c): Define.
33052 2012-11-13 David S. Miller <davem@davemloft.net>
33054 * crypt/Makefile: Move test targets after toplevel Rules
33055 inclusion. Grab any necessary sysdep routines when linking.
33056 * crypt/md5.c (md5_process_block): Remove define, we will always
33057 name it __md5_process_block.
33058 (md5_finish_ctx): Update md5_process_block call.
33059 (md5_stream): Likewise.
33060 (md5_process_bytes): Likewise.
33061 (md5_process_block): Rename to __md5_process_block and move to ...
33062 * crypt/md5-block.c: ... here.
33063 * crypt/sha256.c (sha256_process_block): Move to ...
33064 * crypt/sha256-block.c: ... here.
33065 * crypt/sha512.c (sha512_process_block): Move to ...
33066 * crypt/sha512-block.c: ... here.
33067 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
33069 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
33070 * sysdeps/sparc/sparc64/multiarch/Makefile
33071 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
33073 (localedef-aux): Add md5 crypto assembler when in locale subdir.
33074 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
33076 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
33077 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
33078 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
33079 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
33080 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
33081 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
33082 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
33083 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
33084 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
33086 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
33087 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
33089 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
33091 2012-11-13 Joseph Myers <joseph@codesourcery.com>
33093 * timezone/tzselect.ksh: Update from tzcode git revision
33094 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
33095 * timezone/zdump.c: Likewise.
33096 * timezone/zic.c: Likewise.
33097 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
33098 in TZVERSION setting, not $(PKGVERSION).
33099 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
33100 REPORT_BUGS_TO settings.
33103 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
33106 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33108 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
33109 detection to immediately after _FP_ROUND().
33110 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
33113 2012-11-11 David S. Miller <davem@davemloft.net>
33115 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
33117 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
33118 __close rather than their public counterparts.
33120 2012-11-10 Joseph Myers <joseph@codesourcery.com>
33122 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
33124 [UNIX98] (sem_timedwait): Do not expect.
33125 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
33126 [XPG4 || UNIX98] (sockatmark): Do not expect.
33127 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
33128 (clock_getcpuclockid): Do not expect.
33129 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
33130 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
33132 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
33133 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
33134 [UNIX98] (vwscanf): Likewise.
33135 [UNIX98] (vswscanf): Likewise.
33137 2012-11-09 Joseph Myers <joseph@codesourcery.com>
33139 * timezone/version.h: Remove file.
33140 * timezone/README: Do not refer to version.h.
33141 * timezone/Makefile ($(objpfx)zic.o): New dependency on
33142 $(objpfx)version.h.
33143 ($(objpfx)zdump.o): Likewise.
33144 ($(objpfx)version.h): New target.
33146 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
33148 * timezone/README: Don't mention modification to tzselect.ksh.
33149 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
33150 work on unmodified tzselect.ksh. Substitute version numbers in
33153 * Makefile (format-me): Remove.
33154 (INSTALL): Adjust indentation. Use commands directly instead of
33155 using $(format-me).
33157 * aclocal.m4 (ACX_PKGVERSION): New macro.
33158 (ACX_BUGURL): Likewise.
33159 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
33160 (PKGVERSION): New AC_DEFINE_UNQUOTED.
33161 (REPORT_BUGS_TO): Likewise.
33162 * configure: Regenerated.
33163 * config.h.in (PKGVERSION): New macro.
33164 (REPORT_BUGS_TO): Likewise.
33165 * config.make.in (PKGVERSION): New variable.
33166 (PKGVERSION_TEXI): Likewise.
33167 (REPORT_BUGS_TO): Likewise.
33168 (REPORT_BUGS_TEXI): Likewise.
33169 * Makefile (format-me): Use -I$(common-objpfx)manual.
33170 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
33171 ($(common-objpfx)manual/%): New target.
33172 (manual/%): Remove target.
33173 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
33174 (print_version): Use PKGVERSION.
33175 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
33176 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
33177 and REPORT_BUGS_TO.
33178 ($(objpfx)xtrace): Likewise.
33179 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
33180 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
33181 (print_version): Use PKGVERSION.
33182 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
33183 (do_version): Use PKGVERSION.
33184 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
33186 (common-ldd-rewrite): Likewise.
33187 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
33188 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
33189 (print_version): Use PKGVERSION.
33190 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
33191 * elf/pldd.c (argp_program_bug_address): Remove variable.
33192 (more_help): New function.
33193 (argp): Use more_help.
33194 (print_version): Use PKGVERSION.
33195 * elf/sln.c (main): Use PKGVERSION.
33196 (usage): Use REPORT_BUGS_TO.
33197 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
33198 (top level): Use PKGVERSION.
33199 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
33200 (print_version): Use PKGVERSION.
33201 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
33202 (print_version): Use PKGVERSION.
33203 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
33204 (print_version): Use PKGVERSION.
33205 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
33206 (print_version): Use PKGVERSION.
33207 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
33208 (print_version): Use PKGVERSION.
33209 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
33210 (print_version): Use PKGVERSION.
33211 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
33213 ($(objpfx)memusage): Likewise.
33214 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
33215 (do_version): Use PKGVERSION.
33216 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
33217 (print_version): Use PKGVERSION.
33218 * malloc/mtrace.pl ($PACKAGE): Remove variable.
33219 ($PKGVERSION): New variable.
33220 ($REPORT_BUGS_TO): Likewise.
33221 (usage): Use $REPORT_BUGS_TO.
33222 (top level): Use $PKGVERSION.
33223 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
33224 ($(objpfx)pkgvers.texi): New rule.
33225 ($(objpfx)stamp-pkgvers): Likewise.
33226 * manual/install.texi: Include pkgvers.texi.
33227 (--with-pkgversion): Document new configure option.
33228 (--with-bugurl): Likewise.
33229 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
33230 than necessarily for this particular distribution. Use
33231 REPORT_BUGS_TO for where to report bugs.
33232 * INSTALL: Regenerated.
33233 * manual/libc.texinfo: Include pkgvers.texi.
33234 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
33235 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
33236 (print_version): Use PKGVERSION.
33237 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
33238 (print_version): Use PKGVERSION.
33239 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
33240 (print_version): Use PKGVERSION.
33241 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
33242 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
33244 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
33245 (print_version): Use PKGVERSION.
33246 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
33247 (print_version): Use PKGVERSION.
33248 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
33251 * timezone/checktab.awk: Update from tzcode 2012i.
33252 * timezone/ialloc.c: Likewise.
33253 * timezone/private.h: Likewise.
33254 * timezone/scheck.c: Likewise.
33255 * timezone/tzfile.h: Likewise.
33256 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
33257 (TZVERSION): Hardcode tzcode version number.
33258 * timezone/zdump.c: Update from tzcode 2012i.
33259 * timezone/zic.c: Likewise.
33260 * timezone/version.h: New file.
33261 * timezone/README: Describe version.h. Update upstream location.
33264 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
33265 (mktemp): Enable declaration.
33266 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
33267 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
33268 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
33269 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
33271 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
33273 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
33275 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
33277 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
33279 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
33283 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
33284 offset in buffer as u_int32_t not u_long. Consistently use memcpy
33285 for copies of such integer values.
33286 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33287 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33289 2012-11-09 Andreas Jaeger <aj@suse.de>
33291 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
33292 definitions and declarations that are provided by
33293 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
33295 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33297 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
33298 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
33299 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
33302 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33304 * elf/elf.h: Update comment before AArch64 relocations.
33306 2012-11-07 David S. Miller <davem@davemloft.net>
33308 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
33309 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33310 (__start_context): Declare.
33311 (__makecontext_ret): Delete.
33312 (__makecontext): Hook up __start_context instead of
33314 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
33315 (sysdep_routines): Add __start_context when in stdlib.
33317 2012-11-07 Joseph Myers <joseph@codesourcery.com>
33319 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
33320 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
33321 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
33323 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
33324 (READELF): New variable. Use it instead of hardcoded "readelf".
33326 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
33328 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
33329 * sysdeps/x86/Makefile: Here.
33330 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
33331 * sysdeps/x86/tst-xmmymm.sh: This.
33333 2012-11-07 Joseph Myers <joseph@codesourcery.com>
33335 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
33337 [UNIX98] (pthread_barrier_t): Do not expect.
33338 [UNIX98] (pthread_barrierattr_t): Likewise.
33339 [UNIX98] (pthread_spinlock_t): Likewise.
33340 [UNIX98] (pthread_barrier_destroy): Likewise.
33341 [UNIX98] (pthread_barrier_init): Likewise.
33342 [UNIX98] (pthread_barrier_wait): Likewise.
33343 [UNIX98] (pthread_barrierattr_destroy): Likewise.
33344 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
33345 [UNIX98] (pthread_barrierattr_init): Likewise.
33346 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
33347 [UNIX98] (pthread_getcpuclockid): Likewise.
33348 [UNIX98] (pthread_mutex_timedlock): Likewise.
33349 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
33350 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
33351 [UNIX98] (pthread_sigmask): Likewise.
33352 [UNIX98] (pthread_spin_destroy): Likewise.
33353 [UNIX98] (pthread_spin_init): Likewise.
33354 [UNIX98] (pthread_spin_lock): Likewise.
33355 [UNIX98] (pthread_spin_trylock): Likewise.
33356 [UNIX98] (pthread_spin_unlock): Likewise.
33357 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
33359 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
33360 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
33361 [XPG3 || XPG4] (pthread_cond_t): Likewise.
33362 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
33363 [XPG3 || XPG4] (pthread_key_t): Likewise.
33364 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
33365 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
33366 [XPG3 || XPG4] (pthread_once_t): Likewise.
33367 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
33368 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
33369 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
33370 [XPG3 || XPG4] (pthread_t): Likewise.
33372 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
33374 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
33376 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
33377 Change function return type to int.
33379 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
33380 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
33381 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
33382 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
33383 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
33384 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
33385 [!POSIX] (posix_madvise): Likewise.
33386 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
33388 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
33389 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
33390 (mode_t): Likewise.
33391 (posix_mem_offset): Likewise.
33392 (posix_typed_mem_get_info): Likewise.
33393 (posix_typed_mem_open): Likewise.
33395 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
33396 Change condition to [XOPEN2K8].
33398 * conform/conformtest.pl: Preprocess allow-header data with -x c
33399 instead of from stdin.
33400 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
33401 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
33402 [C99-based standards] (cerfc): Likewise.
33403 [C99-based standards] (cexp2): Likewise.
33404 [C99-based standards] (cexpm1): Likewise.
33405 [C99-based standards] (clog10): Likewise.
33406 [C99-based standards] (clog1p): Likewise.
33407 [C99-based standards] (clog2): Likewise.
33408 [C99-based standards] (clgamma): Likewise.
33409 [C99-based standards] (ctgamma): Likewise.
33410 [C99-based standards] (cerff): Likewise.
33411 [C99-based standards] (cerfcf): Likewise.
33412 [C99-based standards] (cexp2f): Likewise.
33413 [C99-based standards] (cexpm1f): Likewise.
33414 [C99-based standards] (clog10f): Likewise.
33415 [C99-based standards] (clog1pf): Likewise.
33416 [C99-based standards] (clog2f): Likewise.
33417 [C99-based standards] (clgammaf): Likewise.
33418 [C99-based standards] (ctgammaf): Likewise.
33419 [C99-based standards] (cerfl): Likewise.
33420 [C99-based standards] (cerfcl): Likewise.
33421 [C99-based standards] (cexp2l): Likewise.
33422 [C99-based standards] (cexpm1l): Likewise.
33423 [C99-based standards] (clog10l): Likewise.
33424 [C99-based standards] (clog1pl): Likewise.
33425 [C99-based standards] (clog2l): Likewise.
33426 [C99-based standards] (clgammal): Likewise.
33427 [C99-based standards] (ctgammal): Likewise.
33428 * conform/data/inttypes.h-data [C99-based standards]: Include
33429 stdint.h-data. Remove all expectations for stdint.h contents.
33430 [C99-based standards] (PRI*): Do not allow.
33431 [C99-based standards] (SCN*): Likewise.
33432 [C99-based standards] (*_t): Likewise.
33433 [C99-based-standards] (PRId8): Expect macro.
33434 [C99-based-standards] (PRIi8): Likewise.
33435 [C99-based-standards] (PRIo8): Likewise.
33436 [C99-based-standards] (PRIu8): Likewise.
33437 [C99-based-standards] (PRIx8): Likewise.
33438 [C99-based-standards] (PRIX8): Likewise.
33439 [C99-based-standards] (SCNd8): Likewise.
33440 [C99-based-standards] (SCNi8): Likewise.
33441 [C99-based-standards] (SCNo8): Likewise.
33442 [C99-based-standards] (SCNu8): Likewise.
33443 [C99-based-standards] (SCNx8): Likewise.
33444 [C99-based-standards] (PRIdLEAST8): Likewise.
33445 [C99-based-standards] (PRIiLEAST8): Likewise.
33446 [C99-based-standards] (PRIoLEAST8): Likewise.
33447 [C99-based-standards] (PRIuLEAST8): Likewise.
33448 [C99-based-standards] (PRIxLEAST8): Likewise.
33449 [C99-based-standards] (PRIXLEAST8): Likewise.
33450 [C99-based-standards] (SCNdLEAST8): Likewise.
33451 [C99-based-standards] (SCNiLEAST8): Likewise.
33452 [C99-based-standards] (SCNoLEAST8): Likewise.
33453 [C99-based-standards] (SCNuLEAST8): Likewise.
33454 [C99-based-standards] (SCNxLEAST8): Likewise.
33455 [C99-based-standards] (PRIdFAST8): Likewise.
33456 [C99-based-standards] (PRIiFAST8): Likewise.
33457 [C99-based-standards] (PRIoFAST8): Likewise.
33458 [C99-based-standards] (PRIuFAST8): Likewise.
33459 [C99-based-standards] (PRIxFAST8): Likewise.
33460 [C99-based-standards] (PRIXFAST8): Likewise.
33461 [C99-based-standards] (SCNdFAST8): Likewise.
33462 [C99-based-standards] (SCNiFAST8): Likewise.
33463 [C99-based-standards] (SCNoFAST8): Likewise.
33464 [C99-based-standards] (SCNuFAST8): Likewise.
33465 [C99-based-standards] (SCNxFAST8): Likewise.
33466 [C99-based-standards] (PRId16): Likewise.
33467 [C99-based-standards] (PRIi16): Likewise.
33468 [C99-based-standards] (PRIo16): Likewise.
33469 [C99-based-standards] (PRIu16): Likewise.
33470 [C99-based-standards] (PRIx16): Likewise.
33471 [C99-based-standards] (PRIX16): Likewise.
33472 [C99-based-standards] (SCNd16): Likewise.
33473 [C99-based-standards] (SCNi16): Likewise.
33474 [C99-based-standards] (SCNo16): Likewise.
33475 [C99-based-standards] (SCNu16): Likewise.
33476 [C99-based-standards] (SCNx16): Likewise.
33477 [C99-based-standards] (PRIdLEAST16): Likewise.
33478 [C99-based-standards] (PRIiLEAST16): Likewise.
33479 [C99-based-standards] (PRIoLEAST16): Likewise.
33480 [C99-based-standards] (PRIuLEAST16): Likewise.
33481 [C99-based-standards] (PRIxLEAST16): Likewise.
33482 [C99-based-standards] (PRIXLEAST16): Likewise.
33483 [C99-based-standards] (SCNdLEAST16): Likewise.
33484 [C99-based-standards] (SCNiLEAST16): Likewise.
33485 [C99-based-standards] (SCNoLEAST16): Likewise.
33486 [C99-based-standards] (SCNuLEAST16): Likewise.
33487 [C99-based-standards] (SCNxLEAST16): Likewise.
33488 [C99-based-standards] (PRIdFAST16): Likewise.
33489 [C99-based-standards] (PRIiFAST16): Likewise.
33490 [C99-based-standards] (PRIoFAST16): Likewise.
33491 [C99-based-standards] (PRIuFAST16): Likewise.
33492 [C99-based-standards] (PRIxFAST16): Likewise.
33493 [C99-based-standards] (PRIXFAST16): Likewise.
33494 [C99-based-standards] (SCNdFAST16): Likewise.
33495 [C99-based-standards] (SCNiFAST16): Likewise.
33496 [C99-based-standards] (SCNoFAST16): Likewise.
33497 [C99-based-standards] (SCNuFAST16): Likewise.
33498 [C99-based-standards] (SCNxFAST16): Likewise.
33499 [C99-based-standards] (PRId32): Likewise.
33500 [C99-based-standards] (PRIi32): Likewise.
33501 [C99-based-standards] (PRIo32): Likewise.
33502 [C99-based-standards] (PRIu32): Likewise.
33503 [C99-based-standards] (PRIx32): Likewise.
33504 [C99-based-standards] (PRIX32): Likewise.
33505 [C99-based-standards] (SCNd32): Likewise.
33506 [C99-based-standards] (SCNi32): Likewise.
33507 [C99-based-standards] (SCNo32): Likewise.
33508 [C99-based-standards] (SCNu32): Likewise.
33509 [C99-based-standards] (SCNx32): Likewise.
33510 [C99-based-standards] (PRIdLEAST32): Likewise.
33511 [C99-based-standards] (PRIiLEAST32): Likewise.
33512 [C99-based-standards] (PRIoLEAST32): Likewise.
33513 [C99-based-standards] (PRIuLEAST32): Likewise.
33514 [C99-based-standards] (PRIxLEAST32): Likewise.
33515 [C99-based-standards] (PRIXLEAST32): Likewise.
33516 [C99-based-standards] (SCNdLEAST32): Likewise.
33517 [C99-based-standards] (SCNiLEAST32): Likewise.
33518 [C99-based-standards] (SCNoLEAST32): Likewise.
33519 [C99-based-standards] (SCNuLEAST32): Likewise.
33520 [C99-based-standards] (SCNxLEAST32): Likewise.
33521 [C99-based-standards] (PRIdFAST32): Likewise.
33522 [C99-based-standards] (PRIiFAST32): Likewise.
33523 [C99-based-standards] (PRIoFAST32): Likewise.
33524 [C99-based-standards] (PRIuFAST32): Likewise.
33525 [C99-based-standards] (PRIxFAST32): Likewise.
33526 [C99-based-standards] (PRIXFAST32): Likewise.
33527 [C99-based-standards] (SCNdFAST32): Likewise.
33528 [C99-based-standards] (SCNiFAST32): Likewise.
33529 [C99-based-standards] (SCNoFAST32): Likewise.
33530 [C99-based-standards] (SCNuFAST32): Likewise.
33531 [C99-based-standards] (SCNxFAST32): Likewise.
33532 [C99-based-standards] (PRId64): Likewise.
33533 [C99-based-standards] (PRIi64): Likewise.
33534 [C99-based-standards] (PRIo64): Likewise.
33535 [C99-based-standards] (PRIu64): Likewise.
33536 [C99-based-standards] (PRIx64): Likewise.
33537 [C99-based-standards] (PRIX64): Likewise.
33538 [C99-based-standards] (SCNd64): Likewise.
33539 [C99-based-standards] (SCNi64): Likewise.
33540 [C99-based-standards] (SCNo64): Likewise.
33541 [C99-based-standards] (SCNu64): Likewise.
33542 [C99-based-standards] (SCNx64): Likewise.
33543 [C99-based-standards] (PRIdLEAST64): Likewise.
33544 [C99-based-standards] (PRIiLEAST64): Likewise.
33545 [C99-based-standards] (PRIoLEAST64): Likewise.
33546 [C99-based-standards] (PRIuLEAST64): Likewise.
33547 [C99-based-standards] (PRIxLEAST64): Likewise.
33548 [C99-based-standards] (PRIXLEAST64): Likewise.
33549 [C99-based-standards] (SCNdLEAST64): Likewise.
33550 [C99-based-standards] (SCNiLEAST64): Likewise.
33551 [C99-based-standards] (SCNoLEAST64): Likewise.
33552 [C99-based-standards] (SCNuLEAST64): Likewise.
33553 [C99-based-standards] (SCNxLEAST64): Likewise.
33554 [C99-based-standards] (PRIdFAST64): Likewise.
33555 [C99-based-standards] (PRIiFAST64): Likewise.
33556 [C99-based-standards] (PRIoFAST64): Likewise.
33557 [C99-based-standards] (PRIuFAST64): Likewise.
33558 [C99-based-standards] (PRIxFAST64): Likewise.
33559 [C99-based-standards] (PRIXFAST64): Likewise.
33560 [C99-based-standards] (SCNdFAST64): Likewise.
33561 [C99-based-standards] (SCNiFAST64): Likewise.
33562 [C99-based-standards] (SCNoFAST64): Likewise.
33563 [C99-based-standards] (SCNuFAST64): Likewise.
33564 [C99-based-standards] (SCNxFAST64): Likewise.
33565 [C99-based-standards] (PRIdMAX): Likewise.
33566 [C99-based-standards] (PRIiMAX): Likewise.
33567 [C99-based-standards] (PRIoMAX): Likewise.
33568 [C99-based-standards] (PRIuMAX): Likewise.
33569 [C99-based-standards] (PRIxMAX): Likewise.
33570 [C99-based-standards] (PRIXMAX): Likewise.
33571 [C99-based-standards] (SCNdMAX): Likewise.
33572 [C99-based-standards] (SCNiMAX): Likewise.
33573 [C99-based-standards] (SCNoMAX): Likewise.
33574 [C99-based-standards] (SCNuMAX): Likewise.
33575 [C99-based-standards] (SCNxMAX): Likewise.
33576 [C99-based-standards] (PRIdPTR): Likewise.
33577 [C99-based-standards] (PRIiPTR): Likewise.
33578 [C99-based-standards] (PRIoPTR): Likewise.
33579 [C99-based-standards] (PRIuPTR): Likewise.
33580 [C99-based-standards] (PRIxPTR): Likewise.
33581 [C99-based-standards] (PRIXPTR): Likewise.
33582 [C99-based-standards] (SCNdPTR): Likewise.
33583 [C99-based-standards] (SCNiPTR): Likewise.
33584 [C99-based-standards] (SCNoPTR): Likewise.
33585 [C99-based-standards] (SCNuPTR): Likewise.
33586 [C99-based-standards] (SCNxPTR): Likewise.
33587 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
33589 * conform/data/stdint.h-data: Update comments to clarify
33591 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
33593 [C99-based standards] (INT8_MAX): Likewise.
33594 [C99-based standards] (INT16_MIN): Likewise.
33595 [C99-based standards] (INT16_MAX): Likewise.
33596 [C99-based standards] (INT32_MIN): Likewise.
33597 [C99-based standards] (INT32_MAX): Likewise.
33598 [C99-based standards] (INT64_MIN): Likewise.
33599 [C99-based standards] (INT64_MAX): Likewise.
33600 [C99-based standards] (UINT8_MAX): Likewise.
33601 [C99-based standards] (UINT16_MAX): Likewise.
33602 [C99-based standards] (UINT32_MAX): Likewise.
33603 [C99-based standards] (UINT64_MAX): Likewise.
33604 [C99-based standards] (INT_LEAST8_MIN): Likewise.
33605 [C99-based standards] (INT_LEAST8_MAX): Likewise.
33606 [C99-based standards] (INT_LEAST16_MIN): Likewise.
33607 [C99-based standards] (INT_LEAST16_MAX): Likewise.
33608 [C99-based standards] (INT_LEAST32_MIN): Likewise.
33609 [C99-based standards] (INT_LEAST32_MAX): Likewise.
33610 [C99-based standards] (INT_LEAST64_MIN): Likewise.
33611 [C99-based standards] (INT_LEAST64_MAX): Likewise.
33612 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
33613 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
33614 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
33615 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
33616 [C99-based standards] (INT_FAST8_MIN): Likewise.
33617 [C99-based standards] (INT_FAST8_MAX): Likewise.
33618 [C99-based standards] (INT_FAST16_MIN): Likewise.
33619 [C99-based standards] (INT_FAST16_MAX): Likewise.
33620 [C99-based standards] (INT_FAST32_MIN): Likewise.
33621 [C99-based standards] (INT_FAST32_MAX): Likewise.
33622 [C99-based standards] (INT_FAST64_MIN): Likewise.
33623 [C99-based standards] (INT_FAST64_MAX): Likewise.
33624 [C99-based standards] (UINT_FAST8_MAX): Likewise.
33625 [C99-based standards] (UINT_FAST16_MAX): Likewise.
33626 [C99-based standards] (UINT_FAST32_MAX): Likewise.
33627 [C99-based standards] (UINT_FAST64_MAX): Likewise.
33628 [C99-based standards] (INTPTR_MIN): Likewise.
33629 [C99-based standards] (INTPTR_MAX): Likewise.
33630 [C99-based standards] (UINTPTR_MAX): Likewise.
33631 [C99-based standards] (INTMAX_MIN): Likewise.
33632 [C99-based standards] (INTMAX_MAX): Likewise.
33633 [C99-based standards] (UINTMAX_MAX): Likewise.
33634 [C99-based standards] (PTRDIFF_MIN): Likewise.
33635 [C99-based standards] (PTRDIFF_MAX): Likewise.
33636 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
33637 [C99-based standards] (SIZE_MAX): Likewise.
33638 [C99-based standards] (WCHAR_MAX): Likewise.
33639 [C99-based standards] (WINT_MAX): Likewise.
33640 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
33641 constraint on value.
33642 [C99-based standards] (WCHAR_MIN): Likewise.
33643 [C99-based standards] (WINT_MIN): Likewise.
33644 [C99-based standards] (*_t): Allow.
33645 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
33646 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
33647 Include math.h-data and complex.h-data. Remove all expectations
33648 of math.h and complex.h contents.
33649 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
33651 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
33652 (struct tm): Expect tag.
33653 [C99-based-standards] (wcstof): Expect function.
33654 [C99-based-standards] (wcstold): Likewise.
33655 [C99-based-standards] (wcstoll): Likewise.
33656 [C99-based-standards] (wcstoull): Likewise.
33657 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
33658 macro-int-constant. Specify type.
33659 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
33660 constraint on value.
33661 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
33663 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
33665 [ISO C standards]: Do not allow headers.
33666 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
33667 wcs[abcdefghijklmnopqrstuvwxyz]*.
33668 [ISO C standards] (*_t): Do not allow.
33669 * conform/data/wctype.h-data [C99-based standards] (iswblank):
33671 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
33672 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
33674 [ISO C standards]: Do not allow headers.
33675 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
33676 is[abcdefghijklmnopqrstuvwxyz]*.
33677 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
33678 to[abcdefghijklmnopqrstuvwxyz]*.
33679 [ISO C standards] (*_t): Do not allow.
33680 * conform/data/stdalign.h-data: New file.
33681 * conform/data/stdbool.h-data: Likewise.
33682 * conform/data/stdnoreturn.h-data: Likewise.
33684 2012-11-07 Roland McGrath <roland@hack.frob.com>
33687 * manual/filesys.texi (Directory Entries): Typo fix.
33688 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
33690 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33692 * elf/elf.h (EM_AARCH64): New macro.
33693 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
33694 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
33695 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
33696 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
33697 (R_AARCH64_TLSDESC): Likewise.
33698 (NT_ARM_TLS): Likewise.
33699 (NT_ARM_HW_BREAK): Likewise.
33700 (NT_ARM_HW_WATCH): Likewise.
33702 2012-11-07 Joseph Myers <joseph@codesourcery.com>
33705 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
33706 (__ieee754_powl): Saturate nonzero exponents with absolute value
33707 below 0x1p-79 to +/- 0x1p-79.
33708 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
33709 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
33710 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
33711 nonzero exponents with absolute value below 0x1p-32 to +/-
33713 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
33714 (__ieee754_powl): Saturate nonzero exponents with absolute value
33715 below 0x1p-79 to +/- 0x1p-79.
33716 * math/libm-test.inc (pow_test): Add more tests.
33718 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33720 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
33721 _dl_s390_cap_flags with kernel. Increase string length.
33722 (_dl_s390_platforms): Add z196 and zEC12.
33724 2012-11-07 Joseph Myers <joseph@codesourcery.com>
33726 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
33727 Change XOPEN21K to XOPEN2K.
33729 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
33731 * string/memmove.c: Use memcpy when possible.
33733 2012-11-06 Andreas Jaeger <aj@suse.de>
33735 * po/eo.po: Update from translation team.
33737 2012-11-06 Joseph Myers <joseph@codesourcery.com>
33740 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
33741 exponent and small x and y exponents, scale x or y up. Increase
33742 by 2 the exponent used in scaling up.
33743 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33744 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33745 * math/libm-test.inc (fma_test): Add more tests.
33746 (fma_test_towardzero): Likewise.
33747 (fma_test_downward): Likewise.
33748 (fma_test_upward): Likewise.
33750 2012-11-05 Joseph Myers <joseph@codesourcery.com>
33753 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
33757 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
33758 namespace for names of struct fields.
33759 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
33761 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
33762 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
33764 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
33767 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
33769 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
33771 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
33775 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
33778 2012-11-04 Joseph Myers <joseph@codesourcery.com>
33781 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
33782 definitely overflow as x * y not x * y + z.
33783 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33784 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33785 * math/libm-test.inc (fma_test): Add more tests.
33786 (fma_test_towardzero): Likewise.
33787 (fma_test_downward): Likewise.
33788 (fma_test_upward): Likewise.
33790 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
33794 * include/stub-tag.h: Remove file.
33795 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
33797 * manual/maint.texi (Porting): Don't reference it.
33798 * Makerules ($(objpfx)stubs): Likewise.
33799 * dirent/closedir.c: Don't include <stub-tag.h>.
33800 * dirent/dirfd.c: Likewise.
33801 * dirent/fdopendir.c: Likewise.
33802 * dirent/getdents.c: Likewise.
33803 * dirent/getdents64.c: Likewise.
33804 * dirent/opendir.c: Likewise.
33805 * dirent/readdir.c: Likewise.
33806 * dirent/readdir64.c: Likewise.
33807 * dirent/readdir64_r.c: Likewise.
33808 * dirent/readdir_r.c: Likewise.
33809 * dirent/rewinddir.c: Likewise.
33810 * dirent/seekdir.c: Likewise.
33811 * dirent/telldir.c: Likewise.
33812 * gmon/profil.c: Likewise.
33813 * grp/setgroups.c: Likewise.
33814 * inet/if_index.c: Likewise.
33815 * io/access.c: Likewise.
33816 * io/chdir.c: Likewise.
33817 * io/chmod.c: Likewise.
33818 * io/chown.c: Likewise.
33819 * io/close.c: Likewise.
33820 * io/dup.c: Likewise.
33821 * io/dup2.c: Likewise.
33822 * io/dup3.c: Likewise.
33823 * io/euidaccess.c: Likewise.
33824 * io/faccessat.c: Likewise.
33825 * io/fchdir.c: Likewise.
33826 * io/fchmod.c: Likewise.
33827 * io/fchmodat.c: Likewise.
33828 * io/fchown.c: Likewise.
33829 * io/fchownat.c: Likewise.
33830 * io/fcntl.c: Likewise.
33831 * io/flock.c: Likewise.
33832 * io/fstatfs.c: Likewise.
33833 * io/fstatfs64.c: Likewise.
33834 * io/fstatvfs.c: Likewise.
33835 * io/fstatvfs64.c: Likewise.
33836 * io/futimens.c: Likewise.
33837 * io/fxstat.c: Likewise.
33838 * io/fxstat64.c: Likewise.
33839 * io/fxstatat.c: Likewise.
33840 * io/fxstatat64.c: Likewise.
33841 * io/getcwd.c: Likewise.
33842 * io/isatty.c: Likewise.
33843 * io/lchmod.c: Likewise.
33844 * io/lchown.c: Likewise.
33845 * io/link.c: Likewise.
33846 * io/linkat.c: Likewise.
33847 * io/lseek.c: Likewise.
33848 * io/lseek64.c: Likewise.
33849 * io/lxstat64.c: Likewise.
33850 * io/mkdir.c: Likewise.
33851 * io/mkdirat.c: Likewise.
33852 * io/mkfifo.c: Likewise.
33853 * io/mkfifoat.c: Likewise.
33854 * io/open.c: Likewise.
33855 * io/open64.c: Likewise.
33856 * io/openat.c: Likewise.
33857 * io/openat64.c: Likewise.
33858 * io/pipe.c: Likewise.
33859 * io/pipe2.c: Likewise.
33860 * io/poll.c: Likewise.
33861 * io/posix_fadvise.c: Likewise.
33862 * io/posix_fadvise64.c: Likewise.
33863 * io/posix_fallocate.c: Likewise.
33864 * io/posix_fallocate64.c: Likewise.
33865 * io/read.c: Likewise.
33866 * io/readlink.c: Likewise.
33867 * io/readlinkat.c: Likewise.
33868 * io/rmdir.c: Likewise.
33869 * io/sendfile.c: Likewise.
33870 * io/sendfile64.c: Likewise.
33871 * io/statfs.c: Likewise.
33872 * io/statfs64.c: Likewise.
33873 * io/statvfs.c: Likewise.
33874 * io/statvfs64.c: Likewise.
33875 * io/symlink.c: Likewise.
33876 * io/symlinkat.c: Likewise.
33877 * io/ttyname.c: Likewise.
33878 * io/ttyname_r.c: Likewise.
33879 * io/umask.c: Likewise.
33880 * io/unlink.c: Likewise.
33881 * io/unlinkat.c: Likewise.
33882 * io/utime.c: Likewise.
33883 * io/utimensat.c: Likewise.
33884 * io/write.c: Likewise.
33885 * io/xmknod.c: Likewise.
33886 * io/xmknodat.c: Likewise.
33887 * io/xstat.c: Likewise.
33888 * io/xstat64.c: Likewise.
33889 * login/getpt.c: Likewise.
33890 * login/grantpt.c: Likewise.
33891 * login/unlockpt.c: Likewise.
33892 * math/e_acoshl.c: Likewise.
33893 * math/e_acosl.c: Likewise.
33894 * math/e_asinl.c: Likewise.
33895 * math/e_atan2l.c: Likewise.
33896 * math/e_atanhl.c: Likewise.
33897 * math/e_coshl.c: Likewise.
33898 * math/e_expl.c: Likewise.
33899 * math/e_fmodl.c: Likewise.
33900 * math/e_gammal_r.c: Likewise.
33901 * math/e_hypotl.c: Likewise.
33902 * math/e_j0l.c: Likewise.
33903 * math/e_j1l.c: Likewise.
33904 * math/e_jnl.c: Likewise.
33905 * math/e_lgammal_r.c: Likewise.
33906 * math/e_log10l.c: Likewise.
33907 * math/e_log2l.c: Likewise.
33908 * math/e_logl.c: Likewise.
33909 * math/e_powl.c: Likewise.
33910 * math/e_rem_pio2l.c: Likewise.
33911 * math/e_sinhl.c: Likewise.
33912 * math/e_sqrtl.c: Likewise.
33913 * math/fclrexcpt.c: Likewise.
33914 * math/fedisblxcpt.c: Likewise.
33915 * math/feenablxcpt.c: Likewise.
33916 * math/fegetenv.c: Likewise.
33917 * math/fegetexcept.c: Likewise.
33918 * math/fegetround.c: Likewise.
33919 * math/feholdexcpt.c: Likewise.
33920 * math/fesetenv.c: Likewise.
33921 * math/fesetround.c: Likewise.
33922 * math/feupdateenv.c: Likewise.
33923 * math/fgetexcptflg.c: Likewise.
33924 * math/fraiseexcpt.c: Likewise.
33925 * math/fsetexcptflg.c: Likewise.
33926 * math/ftestexcept.c: Likewise.
33927 * math/k_cosl.c: Likewise.
33928 * math/k_rem_pio2l.c: Likewise.
33929 * math/k_sinl.c: Likewise.
33930 * math/k_tanl.c: Likewise.
33931 * math/s_asinhl.c: Likewise.
33932 * math/s_atanl.c: Likewise.
33933 * math/s_cbrtl.c: Likewise.
33934 * math/s_erfl.c: Likewise.
33935 * math/s_expm1l.c: Likewise.
33936 * math/s_log1pl.c: Likewise.
33937 * math/s_tanhl.c: Likewise.
33938 * misc/acct.c: Likewise.
33939 * misc/brk.c: Likewise.
33940 * misc/chflags.c: Likewise.
33941 * misc/chroot.c: Likewise.
33942 * misc/fchflags.c: Likewise.
33943 * misc/fgetxattr.c: Likewise.
33944 * misc/flistxattr.c: Likewise.
33945 * misc/fremovexattr.c: Likewise.
33946 * misc/fsetxattr.c: Likewise.
33947 * misc/fsync.c: Likewise.
33948 * misc/ftruncate.c: Likewise.
33949 * misc/futimes.c: Likewise.
33950 * misc/futimesat.c: Likewise.
33951 * misc/getdomain.c: Likewise.
33952 * misc/getdtsz.c: Likewise.
33953 * misc/gethostid.c: Likewise.
33954 * misc/gethostname.c: Likewise.
33955 * misc/getloadavg.c: Likewise.
33956 * misc/getpagesize.c: Likewise.
33957 * misc/getsysstats.c: Likewise.
33958 * misc/getxattr.c: Likewise.
33959 * misc/gtty.c: Likewise.
33960 * misc/ioctl.c: Likewise.
33961 * misc/lgetxattr.c: Likewise.
33962 * misc/listxattr.c: Likewise.
33963 * misc/llistxattr.c: Likewise.
33964 * misc/lremovexattr.c: Likewise.
33965 * misc/lsetxattr.c: Likewise.
33966 * misc/lutimes.c: Likewise.
33967 * misc/madvise.c: Likewise.
33968 * misc/mincore.c: Likewise.
33969 * misc/mlock.c: Likewise.
33970 * misc/mlockall.c: Likewise.
33971 * misc/mmap.c: Likewise.
33972 * misc/mprotect.c: Likewise.
33973 * misc/msync.c: Likewise.
33974 * misc/munlock.c: Likewise.
33975 * misc/munlockall.c: Likewise.
33976 * misc/munmap.c: Likewise.
33977 * misc/preadv.c: Likewise.
33978 * misc/preadv64.c: Likewise.
33979 * misc/ptrace.c: Likewise.
33980 * misc/pwritev.c: Likewise.
33981 * misc/pwritev64.c: Likewise.
33982 * misc/readv.c: Likewise.
33983 * misc/reboot.c: Likewise.
33984 * misc/remap_file_pages.c: Likewise.
33985 * misc/removexattr.c: Likewise.
33986 * misc/revoke.c: Likewise.
33987 * misc/select.c: Likewise.
33988 * misc/setdomain.c: Likewise.
33989 * misc/setegid.c: Likewise.
33990 * misc/seteuid.c: Likewise.
33991 * misc/sethostid.c: Likewise.
33992 * misc/sethostname.c: Likewise.
33993 * misc/setregid.c: Likewise.
33994 * misc/setreuid.c: Likewise.
33995 * misc/setxattr.c: Likewise.
33996 * misc/sstk.c: Likewise.
33997 * misc/stty.c: Likewise.
33998 * misc/swapoff.c: Likewise.
33999 * misc/swapon.c: Likewise.
34000 * misc/sync.c: Likewise.
34001 * misc/syncfs.c: Likewise.
34002 * misc/syscall.c: Likewise.
34003 * misc/truncate.c: Likewise.
34004 * misc/ualarm.c: Likewise.
34005 * misc/usleep.c: Likewise.
34006 * misc/ustat.c: Likewise.
34007 * misc/utimes.c: Likewise.
34008 * misc/vhangup.c: Likewise.
34009 * misc/writev.c: Likewise.
34010 * posix/_exit.c: Likewise.
34011 * posix/alarm.c: Likewise.
34012 * posix/execve.c: Likewise.
34013 * posix/fexecve.c: Likewise.
34014 * posix/fork.c: Likewise.
34015 * posix/fpathconf.c: Likewise.
34016 * posix/getaddrinfo.c: Likewise.
34017 * posix/getegid.c: Likewise.
34018 * posix/geteuid.c: Likewise.
34019 * posix/getgid.c: Likewise.
34020 * posix/getgroups.c: Likewise.
34021 * posix/getlogin.c: Likewise.
34022 * posix/getlogin_r.c: Likewise.
34023 * posix/getpgid.c: Likewise.
34024 * posix/getpid.c: Likewise.
34025 * posix/getppid.c: Likewise.
34026 * posix/getresgid.c: Likewise.
34027 * posix/getresuid.c: Likewise.
34028 * posix/getsid.c: Likewise.
34029 * posix/getuid.c: Likewise.
34030 * posix/glob64.c: Likewise.
34031 * posix/nanosleep.c: Likewise.
34032 * posix/pathconf.c: Likewise.
34033 * posix/pause.c: Likewise.
34034 * posix/posix_madvise.c: Likewise.
34035 * posix/pread.c: Likewise.
34036 * posix/pread64.c: Likewise.
34037 * posix/pwrite.c: Likewise.
34038 * posix/pwrite64.c: Likewise.
34039 * posix/sched_getaffinity.c: Likewise.
34040 * posix/sched_getp.c: Likewise.
34041 * posix/sched_gets.c: Likewise.
34042 * posix/sched_primax.c: Likewise.
34043 * posix/sched_primin.c: Likewise.
34044 * posix/sched_rr_gi.c: Likewise.
34045 * posix/sched_setaffinity.c: Likewise.
34046 * posix/sched_setp.c: Likewise.
34047 * posix/sched_sets.c: Likewise.
34048 * posix/sched_yield.c: Likewise.
34049 * posix/setgid.c: Likewise.
34050 * posix/setlogin.c: Likewise.
34051 * posix/setpgid.c: Likewise.
34052 * posix/setresgid.c: Likewise.
34053 * posix/setresuid.c: Likewise.
34054 * posix/setsid.c: Likewise.
34055 * posix/setuid.c: Likewise.
34056 * posix/sleep.c: Likewise.
34057 * posix/spawni.c: Likewise.
34058 * posix/sysconf.c: Likewise.
34059 * posix/times.c: Likewise.
34060 * posix/wait.c: Likewise.
34061 * posix/wait3.c: Likewise.
34062 * posix/wait4.c: Likewise.
34063 * posix/waitpid.c: Likewise.
34064 * resolv/gai_sigqueue.c: Likewise.
34065 * resource/getpriority.c: Likewise.
34066 * resource/getrlimit.c: Likewise.
34067 * resource/getrusage.c: Likewise.
34068 * resource/nice.c: Likewise.
34069 * resource/setpriority.c: Likewise.
34070 * resource/setrlimit.c: Likewise.
34071 * resource/ulimit.c: Likewise.
34072 * rt/aio_cancel.c: Likewise.
34073 * rt/aio_fsync.c: Likewise.
34074 * rt/aio_read.c: Likewise.
34075 * rt/aio_sigqueue.c: Likewise.
34076 * rt/aio_suspend.c: Likewise.
34077 * rt/aio_write.c: Likewise.
34078 * rt/clock_getres.c: Likewise.
34079 * rt/clock_gettime.c: Likewise.
34080 * rt/clock_nanosleep.c: Likewise.
34081 * rt/clock_settime.c: Likewise.
34082 * rt/lio_listio.c: Likewise.
34083 * rt/mq_close.c: Likewise.
34084 * rt/mq_getattr.c: Likewise.
34085 * rt/mq_notify.c: Likewise.
34086 * rt/mq_open.c: Likewise.
34087 * rt/mq_receive.c: Likewise.
34088 * rt/mq_send.c: Likewise.
34089 * rt/mq_setattr.c: Likewise.
34090 * rt/mq_timedreceive.c: Likewise.
34091 * rt/mq_timedsend.c: Likewise.
34092 * rt/mq_unlink.c: Likewise.
34093 * rt/shm_open.c: Likewise.
34094 * rt/shm_unlink.c: Likewise.
34095 * rt/timer_create.c: Likewise.
34096 * rt/timer_delete.c: Likewise.
34097 * rt/timer_getoverr.c: Likewise.
34098 * rt/timer_gettime.c: Likewise.
34099 * rt/timer_settime.c: Likewise.
34100 * setjmp/__longjmp.c: Likewise.
34101 * setjmp/setjmp.c: Likewise.
34102 * signal/kill.c: Likewise.
34103 * signal/killpg.c: Likewise.
34104 * signal/raise.c: Likewise.
34105 * signal/sigaction.c: Likewise.
34106 * signal/sigaltstack.c: Likewise.
34107 * signal/sigblock.c: Likewise.
34108 * signal/sigignore.c: Likewise.
34109 * signal/sigintr.c: Likewise.
34110 * signal/signal.c: Likewise.
34111 * signal/sigpause.c: Likewise.
34112 * signal/sigpending.c: Likewise.
34113 * signal/sigqueue.c: Likewise.
34114 * signal/sigreturn.c: Likewise.
34115 * signal/sigset.c: Likewise.
34116 * signal/sigsetmask.c: Likewise.
34117 * signal/sigstack.c: Likewise.
34118 * signal/sigsuspend.c: Likewise.
34119 * signal/sigtimedwait.c: Likewise.
34120 * signal/sigvec.c: Likewise.
34121 * signal/sigwait.c: Likewise.
34122 * signal/sigwaitinfo.c: Likewise.
34123 * signal/sysv_signal.c: Likewise.
34124 * socket/accept.c: Likewise.
34125 * socket/accept4.c: Likewise.
34126 * socket/bind.c: Likewise.
34127 * socket/connect.c: Likewise.
34128 * socket/getpeername.c: Likewise.
34129 * socket/getsockname.c: Likewise.
34130 * socket/getsockopt.c: Likewise.
34131 * socket/isfdtype.c: Likewise.
34132 * socket/listen.c: Likewise.
34133 * socket/recv.c: Likewise.
34134 * socket/recvfrom.c: Likewise.
34135 * socket/recvmsg.c: Likewise.
34136 * socket/send.c: Likewise.
34137 * socket/sendmsg.c: Likewise.
34138 * socket/sendto.c: Likewise.
34139 * socket/setsockopt.c: Likewise.
34140 * socket/shutdown.c: Likewise.
34141 * socket/sockatmark.c: Likewise.
34142 * socket/socket.c: Likewise.
34143 * socket/socketpair.c: Likewise.
34144 * stdio-common/ctermid.c: Likewise.
34145 * stdio-common/cuserid.c: Likewise.
34146 * stdio-common/remove.c: Likewise.
34147 * stdio-common/rename.c: Likewise.
34148 * stdio-common/renameat.c: Likewise.
34149 * stdio-common/tempname.c: Likewise.
34150 * stdlib/getcontext.c: Likewise.
34151 * stdlib/makecontext.c: Likewise.
34152 * stdlib/setcontext.c: Likewise.
34153 * stdlib/swapcontext.c: Likewise.
34154 * stdlib/system.c: Likewise.
34155 * streams/fattach.c: Likewise.
34156 * streams/fdetach.c: Likewise.
34157 * streams/getmsg.c: Likewise.
34158 * streams/getpmsg.c: Likewise.
34159 * streams/putmsg.c: Likewise.
34160 * streams/putpmsg.c: Likewise.
34161 * sysdeps/unix/bsd/getpt.c: Likewise.
34162 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
34163 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
34164 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
34165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
34167 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
34168 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
34169 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
34170 * sysvipc/msgctl.c: Likewise.
34171 * sysvipc/msgget.c: Likewise.
34172 * sysvipc/msgrcv.c: Likewise.
34173 * sysvipc/msgsnd.c: Likewise.
34174 * sysvipc/semctl.c: Likewise.
34175 * sysvipc/semget.c: Likewise.
34176 * sysvipc/semop.c: Likewise.
34177 * sysvipc/semtimedop.c: Likewise.
34178 * sysvipc/shmat.c: Likewise.
34179 * sysvipc/shmctl.c: Likewise.
34180 * sysvipc/shmdt.c: Likewise.
34181 * sysvipc/shmget.c: Likewise.
34182 * termios/tcdrain.c: Likewise.
34183 * termios/tcflow.c: Likewise.
34184 * termios/tcflush.c: Likewise.
34185 * termios/tcgetattr.c: Likewise.
34186 * termios/tcgetpgrp.c: Likewise.
34187 * termios/tcsendbrk.c: Likewise.
34188 * termios/tcsetattr.c: Likewise.
34189 * termios/tcsetpgrp.c: Likewise.
34190 * time/adjtime.c: Likewise.
34191 * time/clock.c: Likewise.
34192 * time/getitimer.c: Likewise.
34193 * time/gettimeofday.c: Likewise.
34194 * time/setitimer.c: Likewise.
34195 * time/settimeofday.c: Likewise.
34196 * time/stime.c: Likewise.
34197 * time/time.c: Likewise.
34199 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
34201 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
34204 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
34206 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
34208 2012-11-03 Joseph Myers <joseph@codesourcery.com>
34211 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
34212 FE_TONEAREST before applying Dekker multiplication and Knuth
34213 addition. Clear inexact exceptions and check for exact zero
34214 results afterwards.
34215 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34216 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34217 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34218 * math/libm-test.inc (fma_test): Add more tests.
34219 (fma_test_towardzero): Likewise.
34220 (fma_test_downward): Likewise.
34221 (fma_test_upward): Likewise.
34222 * sysdeps/generic/math_private.h (default_libc_fesetround): New
34224 (libc_fesetround): New macro.
34225 (libc_fesetroundf): Likewise.
34226 (libc_fesetroundl): Likewise.
34227 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
34229 (libc_fesetround_387): Likewise.
34230 (libc_fesetroundf): New macro.
34231 (libc_fesetround): Likewise.
34232 (libc_fesetroundl): Likewise.
34233 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
34235 (libc_fesetroundf): New macro.
34236 (libc_fesetround): Likewise.
34237 (libc_fesetroundl): Likewise.
34238 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
34239 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
34240 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
34242 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
34243 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
34245 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
34246 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
34248 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
34252 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
34253 integer constant usable in #if and use that to give value to enum
34255 (FE_DIVBYZERO): Likewise.
34256 (FE_UNDERFLOW): Likewise.
34257 (FE_OVERFLOW): Likewise.
34258 (FE_INVALID): Likewise.
34259 (FE_INVALID_SNAN): Likewise.
34260 (FE_INVALID_ISI): Likewise.
34261 (FE_INVALID_IDI): Likewise.
34262 (FE_INVALID_ZDZ): Likewise.
34263 (FE_INVALID_IMZ): Likewise.
34264 (FE_INVALID_COMPARE): Likewise.
34265 (FE_INVALID_SOFTWARE): Likewise.
34266 (FE_INVALID_SQRT): Likewise.
34267 (FE_INVALID_INTEGER_CONVERSION): Likewise.
34268 (FE_TONEAREST): Likewise.
34269 (FE_TOWARDZERO): Likewise.
34270 (FE_UPWARD): Likewise.
34271 (FE_DOWNWARD): Likewise.
34272 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
34273 (FE_DIVBYZERO): Likewise.
34274 (FE_OVERFLOW): Likewise.
34275 (FE_UNDERFLOW): Likewise.
34276 (FE_INEXACT): Likewise.
34277 (FE_TONEAREST): Likewise.
34278 (FE_DOWNWARD): Likewise.
34279 (FE_UPWARD): Likewise.
34280 (FE_TOWARDZERO): Likewise.
34281 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
34282 (FE_UNDERFLOW): Likewise.
34283 (FE_OVERFLOW): Likewise.
34284 (FE_DIVBYZERO): Likewise.
34285 (FE_INVALID): Likewise.
34286 (FE_TONEAREST): Likewise.
34287 (FE_TOWARDZERO): Likewise.
34288 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
34289 (FE_OVERFLOW): Likewise.
34290 (FE_UNDERFLOW): Likewise.
34291 (FE_DIVBYZERO): Likewise.
34292 (FE_INEXACT): Likewise.
34293 (FE_TONEAREST): Likewise.
34294 (FE_TOWARDZERO): Likewise.
34295 (FE_UPWARD): Likewise.
34296 (FE_DOWNWARD): Likewise.
34297 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
34298 (FE_DIVBYZERO): Likewise.
34299 (FE_OVERFLOW): Likewise.
34300 (FE_UNDERFLOW): Likewise.
34301 (FE_INEXACT): Likewise.
34302 (FE_TONEAREST): Likewise.
34303 (FE_DOWNWARD): Likewise.
34304 (FE_UPWARD): Likewise.
34305 (FE_TOWARDZERO): Likewise.
34307 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
34309 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
34311 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
34313 * scripts/cross-test-ssh.sh (command): Use newlines to separate
34314 commands. Quote $PWD.
34315 (blacklist_exports): Don't use remove_newlines. Replace "declare
34317 (remove_newlines): Remove.
34319 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
34321 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
34322 * stdlib/stdlib.h (atof): Moved to ...
34323 * include/bits/stdlib-float.h: Here. New file.
34324 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
34325 * stdlib/bits/stdlib-float.h: New file.
34326 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
34328 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
34331 2012-11-02 Joseph Myers <joseph@codesourcery.com>
34333 * conform/conformtest.pl (@headers): Add fenv.h.
34334 * conform/data/fenv.h-data: New file.
34335 * include/fenv.h [_ISOMAC]: Disable all contents of file except
34336 include of <math/fenv.h>.
34338 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
34339 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
34340 && !UNIX98]. Enables tests for XOPEN2K8.
34341 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
34342 POSIX2008]: Likewise.
34344 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
34345 (struct rusage): Do not expect type or its members.
34348 * math/math.h (FP_NAN): Define macro to integer constant usable in
34349 #if and use that to give value to enum constant.
34350 (FP_INFINITE): Likewise.
34351 (FP_ZERO): Likewise.
34352 (FP_SUBNORMAL): Likewise.
34353 (FP_NORMAL): Likewise.
34355 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
34357 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
34358 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
34361 2012-11-02 Roland McGrath <roland@hack.frob.com>
34363 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
34364 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
34365 autoconf-time if not.
34366 * configure.in: Remove AC_PREREQ.
34368 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34370 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
34371 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
34372 of the internal implementation.
34374 2012-11-02 Joseph Myers <joseph@codesourcery.com>
34376 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
34377 except include of <misc/sys/syslog.h>.
34379 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
34381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
34382 function returns with a NULL context exit with zero.
34384 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34386 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
34388 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
34390 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
34391 (run_program_cmd): This.
34392 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
34393 (tst_langinfo): New variable. Use it.
34395 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
34397 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
34398 floating point opcodes.
34400 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
34402 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
34405 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
34407 * sysdeps/mach/hurd/powerpc: Remove directory.
34408 * sysdeps/mach/powerpc: Likewise.
34410 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
34412 * scripts/check-local-headers.sh: Ignore c++ headers.
34414 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
34416 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
34417 __libc_cleanup_region_start argument.
34419 2012-11-01 Joseph Myers <joseph@codesourcery.com>
34423 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
34424 x * y using scaling, not as x * y + z.
34425 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34426 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34427 * math/libm-test.inc (fma_test): Add more tests.
34428 (fma_test_towardzero): Likewise.
34429 (fma_test_downward): Likewise.
34430 (fma_test_upward): Likewise.
34432 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
34434 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
34436 2012-10-31 Joseph Myers <joseph@codesourcery.com>
34438 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
34441 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
34443 * rt/tst-shm.c (worker): Correct checking for mmap failure.
34445 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
34447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34452 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34455 Fix the order of the list for glibc 2.17.
34456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34459 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
34461 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34463 2012-10-31 Joseph Myers <joseph@codesourcery.com>
34466 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
34467 for low part of x being zero before using __atanl (y).
34468 * math/libm-test.inc (atan2_test): Add another test.
34470 * manual/install.texi (Configuring and compiling): Document
34471 general use of test-wrapper and test-wrapper-env.
34472 * INSTALL: Regenerated.
34474 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
34475 (__fma): Do not extract and scale down low bits on after-rounding
34476 systems when result rounded to normal precision would have normal
34478 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
34479 (__fmal): Do not extract and scale down low bits on after-rounding
34480 systems when result rounded to normal precision would have normal
34482 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
34483 (__fmal): Do not extract and scale down low bits on after-rounding
34484 systems when result rounded to normal precision would have normal
34486 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
34488 (fma_test): Add more tests.
34489 (fma_test_towardzero): Likewise.
34490 (fma_test_downward): Likewise.
34491 (fma_test_upward): Likewise.
34493 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
34495 * sysdeps/i386/tininess.h: Renamed to ...
34496 * sysdeps/x86/tininess.h: This.
34497 * sysdeps/x86_64/tininess.h: Removed.
34499 2012-10-30 Joseph Myers <joseph@codesourcery.com>
34501 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
34502 input. Use $(build-program-cmd).
34503 ($(objpfx)tst-array1-static.out): Likewise.
34504 ($(objpfx)tst-array2.out): Likewise.
34505 ($(objpfx)tst-array3.out): Likewise.
34506 ($(objpfx)tst-array4.out): Likewise.
34507 ($(objpfx)tst-array5.out): Likewise.
34508 ($(objpfx)tst-array5-static.out): Likewise.
34510 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
34512 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
34515 * nss/nsswitch.h (nss_interface_function): Provide new
34516 macro for use with NSS functions.
34517 * grp/initgroups.c: Use new macro.
34518 * nss/getXXbyYY.c: Likewise.
34519 * nss/getXXbyYY_r.c: Likewise.
34520 * nss/getXXent.c: Likewise.
34521 * nss/getXXent_r.c: Likewise.
34522 * sysdeps/posix/getaddrinfo.c: Likewise.
34524 2012-10-30 Andreas Jaeger <aj@suse.de>
34526 * po/ru.po: Update Russion translation from translation project.
34528 2012-10-30 Joseph Myers <joseph@codesourcery.com>
34532 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
34533 result and shift together with sticky bit instead of replicating
34534 round-to-nearest rounding.
34535 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34536 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34537 * math/libm-test.inc (fma_test): Add more tests. Do not permit
34538 missing underflow exceptions.
34539 (fma_test_towardzero): Add more tests.
34540 (fma_test_downward): Likewise.
34541 (fma_test_upward): Likewise.
34544 * sysdeps/generic/tininess.h: New file.
34545 * sysdeps/i386/tininess.h: Likewise.
34546 * sysdeps/sh/tininess.h: Likewise.
34547 * sysdeps/x86_64/tininess.h: Likewise.
34548 * stdlib/tst-strtod-underflow.c: Likewise.
34549 * stdlib/tst-tininess.c: Likewise.
34550 * stdlib/strtod_l.c: Include <tininess.h>.
34551 (round_and_return): Do not set errno for exact underflow cases.
34552 Force an underflow exception when setting errno for underflow.
34553 Determine underflow based on rounding to normal precision if
34554 TININESS_AFTER_ROUNDING.
34555 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
34556 ERANGE for exact underflow cases.
34557 * stdlib/Makefile (tests): Add tst-tininess and
34558 tst-strtod-underflow.
34559 ($(objpfx)tst-tininess): Use $(link-libm).
34560 ($(objpfx)tst-strtod-underflow): Likewise.
34562 2012-10-30 Andreas Jaeger <aj@suse.de>
34565 * elf/Makefile (tests): Remove conditional for have-initfini-array
34566 since this is now always required and the variable does not exist
34568 (tests-static): Likewise.
34569 (modules-names): Likewise.
34571 * po/eo.po: Add Esperanto translation from translation project.
34573 * elf/tst-array1.c (fini_array): Make writeable so that it can be
34574 merged with constructor/destructor.
34575 (init_array): Likewise.
34576 * elf/tst-array2dep.c (fini_array): Likewise.
34577 (init_array): Likewise.
34579 2012-10-29 Mike Frysinger <vapier@gentoo.org>
34581 * manual/message.texi: Delete @cartouche tags.
34583 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
34585 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
34587 * sysdeps/mach/hurd/fsync.c: Likewise.
34589 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
34590 [_POSIX_REALTIME_SIGNALS]: Change condition to
34591 [_POSIX_REALTIME_SIGNALS > 0].
34593 2012-10-27 Andreas Jaeger <aj@suse.de>
34595 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
34596 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
34597 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
34598 [__WORDSIZE != 64]: Likewise.
34600 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
34602 * iconvdata/tst-table.sh: Remove ${SHELL}.
34603 * iconvdata/tst-tables.sh: Likewise.
34605 2012-10-25 David S. Miller <davem@davemloft.net>
34607 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34608 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
34611 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
34613 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34614 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
34615 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
34618 2012-10-25 Roland McGrath <roland@hack.frob.com>
34620 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34621 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
34624 2012-10-25 Joseph Myers <joseph@codesourcery.com>
34625 Jim Blandy <jimb@codesourcery.com>
34627 * scripts/cross-test-ssh.sh: New file.
34628 * manual/install.texi (Configuring and compiling): Document use of
34630 * INSTALL: Regenerated.
34632 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
34634 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
34637 2012-10-25 Joseph Myers <joseph@codesourcery.com>
34639 * Makeconfig (run-program-prefix): Fix comment.
34641 2012-10-24 Joseph Myers <joseph@codesourcery.com>
34642 Jim Blandy <jimb@codesourcery.com>
34644 * Makeconfig (test-wrapper): New variable,
34645 (test-wrapper-env): Likewise.
34646 [$(cross-compiling) = yes && $(test-wrapper) != ""]
34647 (run-built-tests): Define to yes.
34648 (run-program-prefix): Use $(test-wrapper).
34649 (built-program-cmd): Likewise.
34650 * Rules (make-test-out): Use $(test-wrapper-env) and
34651 $(host-built-program-cmd).
34652 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
34653 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
34655 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
34656 $(test-wrapper-env) to tst-rtld-load-self.sh.
34657 ($(objpfx)order2.out): Use $(test-wrapper).
34658 ($(objpfx)tst-initorder.out): Likewise.
34659 ($(objpfx)tst-initorder2.out): Likewise.
34660 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
34661 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
34662 (test_wrapper_env): New variable. Use it to run ld.so.
34663 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
34664 Use it to run ld.so.
34665 (test_wrapper_env): Likewise.
34666 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
34667 $(test-wrapper) to run-iconv-test.sh.
34668 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
34669 (ICONV): Use $test_wrapper.
34670 * posix/Makefile ($(objpfx)globtest.out): Pass
34671 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
34672 globtest.sh, not $(run-program-prefix).
34673 * posix/globtest.sh (run_via_rtld_prefix): New variable.
34674 (test_wrapper): Likewise.
34675 (test_wrapper_env): Likewise. Use it to run globtest with HOME
34676 set together with run_via_rtld_prefix.
34677 (run_program_prefix): Define in terms of test_wrapper and
34678 run_via_rtld_prefix.
34680 2012-10-24 Roland McGrath <roland@hack.frob.com>
34682 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
34683 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
34687 * include/time.h: Remove librt_hidden_proto (clock_gettime).
34688 Declare __clock_getres, __clock_gettime, __clock_settime,
34689 __clock_nanosleep, and __clock_getcpuclockid.
34690 * rt/clock_gettime.c: Define __clock_gettime as an alias.
34691 Remove librt_hidden_def (clock_gettime).
34692 * sysdeps/unix/clock_gettime.c: Likewise.
34693 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
34694 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
34695 * rt/clock_getres.c: Define __clock_getres as an alias.
34696 * sysdeps/posix/clock_getres.c: Likewise.
34697 * rt/clock_settime.c: Define __clock_settime as an alias.
34698 * sysdeps/unix/clock_settime.c: Likewise.
34699 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
34700 * sysdeps/unix/clock_nanosleep.c: Likewise.
34701 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
34702 * rt/clock-compat.c: New file.
34703 * rt/Makefile (librt-routines): Add clock-compat and move
34704 $(clock-routines) to ...
34705 (routines): ... here, new variable.
34706 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
34707 Don't add get_clockfreq here.
34708 * rt/Versions (libc: GLIBC_2.17): New version set.
34709 Add clock_* symbols here.
34710 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
34711 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
34712 (GLIBC_2.17): Add clock_* symbols.
34713 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
34714 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
34715 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34720 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34721 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
34722 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
34723 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
34724 * NEWS: Mention the move.
34726 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
34727 Use __open, __read, __close rather than their public counterparts.
34728 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34729 (__get_clockfreq_via_cpuinfo): Likewise.
34730 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
34731 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
34733 * config.h.in (HAVE_IFUNC): New #undef.
34734 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
34736 * configure: Regenerated.
34738 2012-10-24 Mike Frysinger <vapier@gentoo.org>
34740 * configure.in: Move READELF check to start of file.
34741 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
34742 libc_cv_asm_gnu_indirect_function in the process.
34743 * configure: Regenerated.
34745 2012-10-24 Mike Frysinger <vapier@gentoo.org>
34747 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
34748 send the output to /dev/null.
34749 (libc_cv_cc_with_libunwind): Likewise.
34750 (libc_cv_as_noexecstack): Likewise.
34751 * configure: Regenerate.
34753 2012-10-24 Joseph Myers <joseph@codesourcery.com>
34755 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
34757 * posix/globtest.sh (TMPDIR): Do not set.
34758 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
34759 (testout): Likewise.
34761 2012-10-24 Andreas Jaeger <aj@suse.de>
34763 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
34764 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
34765 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
34766 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
34767 posix_fadvise64, posix_fallocate64.
34769 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
34770 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
34771 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
34773 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
34775 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
34777 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
34778 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
34779 <bits/fcntl-linux.h>.
34780 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
34782 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
34783 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
34784 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
34785 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
34786 [__WORDSIZE != 64]: Likewise.
34788 2012-10-23 Joseph Myers <joseph@codesourcery.com>
34790 * Makeconfig (run-built-tests): New variable.
34791 * Rules [$(cross-compiling) = yes]: Change condition to
34792 [$(run-built-tests) = no].
34793 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
34794 to [$(run-built-tests) = yes].
34795 * elf/Makefile [$(cross-compiling) = no]: Likewise
34796 * grp/Makefile [$(cross-compiling) = no]: Likewise.
34797 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
34798 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
34799 * intl/Makefile [$(cross-compiling) = no]: Likewise.
34800 * io/Makefile [$(cross-compiling) = no]: Likewise.
34801 * libio/Makefile [$(cross-compiling) = no]: Likewise.
34802 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
34803 * misc/Makefile [$(cross-compiling) = no]: Likewise.
34804 * posix/Makefile [$(cross-compiling) = no]: Likewise.
34805 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
34806 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
34807 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
34808 * string/Makefile [$(cross-compiling) = no]: Likewise.
34810 * posix/Makefile ($(objpfx)globtest.out): Pass
34811 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
34812 $(rtld-installed-name).
34813 * posix/globtest.sh (elf_objpfx): Remove variable.
34814 (rtld_installed_name): Likewise.
34815 (library_path): Likewise.
34816 (run_program_prefix): New variable. Use for running globtest
34819 2012-10-23 Jim Blandy <jimb@codesourcery.com>
34820 Joseph Myers <joseph@codesourcery.com>
34822 * Makeconfig (host-built-program-cmd): New variable.
34823 * elf/Makefile (tst-stackguard1-ARGS): Use
34824 $(host-built-program-cmd).
34825 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
34826 (tst-spawn-ARGS): Likewise.
34827 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
34829 2012-10-23 Joseph Myers <joseph@codesourcery.com>
34830 Jim Blandy <jimb@codesourcery.com>
34832 * Makeconfig (run-via-rtld-prefix): New variable.
34833 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
34834 (built-program-cmd): Likewise.
34836 2012-10-22 Andreas Jaeger <aj@suse.de>
34838 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
34839 __O_RSYNC if it exists, otherwise to O_SYNC.
34841 2012-10-22 Jim Blandy <jimb@codesourcery.com>
34842 Joseph Myers <joseph@codesourcery.com>
34844 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
34846 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
34848 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
34851 2012-10-22 Andreas Jaeger <aj@suse.de>
34853 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
34855 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
34857 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34858 bits/fcntl-linux.h.
34860 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
34861 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
34863 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
34865 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
34868 2012-10-21 Jim Blandy <jimb@codesourcery.com>
34869 Joseph Myers <joseph@codesourcery.com>
34871 * config.make.in (NM): New variable.
34873 2012-10-21 Andreas Jaeger <aj@suse.de>
34875 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
34876 definitions and declarations that are provided by
34877 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
34879 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
34882 * elf/Makefile (tests-static): Add tst-leaks1-static.
34883 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
34884 ($(objpfx)tst-leaks1-static): New rule.
34885 ($(objpfx)tst-leaks1-static-mem): Likewise.
34886 (tst-leaks1-static-ENV): New macro.
34887 * elf/dl-open.c (dl_open_worker): Check the main application
34888 only if SHARED is defined.
34889 * elf/tst-leaks1-static.c: New file.
34891 2012-10-20 Andreas Jaeger <aj@suse.de>
34893 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
34894 generic values for Linux.
34895 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
34896 and declarations that are provided by <bits/fcntl-linux.h> and
34897 include <bits/fcntl-linux.h>.
34898 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34899 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34901 2012-10-20 Roland McGrath <roland@hack.frob.com>
34903 * io/fcntl.h: Move include of <bits/types.h> to the top and
34904 include it unconditionally.
34906 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
34908 * wcsmbs/Makefile (tests-ifunc): New variable.
34909 (tests): Add $(tests-ifunc).
34910 * wcsmbs/test-wcschr-ifunc.c: New file.
34911 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
34912 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
34913 * wcsmbs/test-wcslen-ifunc.c: Likewise.
34914 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
34915 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
34917 * string/Makefile (tests-ifunc): New variable.
34918 (tests): Add $(tests-ifunc).
34919 * string/test-memccpy.c (TEST_NAME): New macro.
34920 * string/test-memchr.c (TEST_NAME): Likewise.
34921 * string/test-memcmp.c (TEST_NAME): Likewise.
34922 * string/test-memcpy.c (TEST_NAME): Likewise.
34923 * string/test-memmem.c (TEST_NAME): Likewise.
34924 * string/test-memmove.c (TEST_NAME): Likewise.
34925 * string/test-memset.c (TEST_NAME): Likewise.
34926 * string/test-rawmemchr.c (TEST_NAME): Likewise.
34927 * string/test-stpcpy.c (TEST_NAME): Likewise.
34928 * string/test-stpncpy.c (TEST_NAME): Likewise.
34929 * string/test-strcasecmp.c (TEST_NAME): Likewise.
34930 * string/test-strcasestr.c (TEST_NAME): Likewise.
34931 * string/test-strcat.c (TEST_NAME): Likewise.
34932 * string/test-strchr.c (TEST_NAME): Likewise.
34933 * string/test-strcmp.c(TEST_NAME): Likewise.
34934 * string/test-strcpy.c (TEST_NAME): Likewise.
34935 * string/test-strcspn.c (TEST_NAME): Likewise.
34936 * string/test-strlen.c (TEST_NAME): Likewise.
34937 * string/test-strncasecmp.c (TEST_NAME): Likewise.
34938 * string/test-strncmp.c (TEST_NAME): Likewise.
34939 * string/test-strncpy.c (TEST_NAME): Likewise.
34940 * string/test-strnlen.c (TEST_NAME): Likewise.
34941 * string/test-strpbrk.c (TEST_NAME): Likewise.
34942 * string/test-strrchr.c (TEST_NAME): Likewise.
34943 * string/test-strspn.c (TEST_NAME): Likewise.
34944 * string/test-strstr.c (TEST_NAME): Likewise.
34945 * string/test-bcopy-ifunc.c: New file.
34946 * string/test-bzero-ifunc.c: Likewise.
34947 * string/test-memccpy-ifunc.c: Likewise.
34948 * string/test-memchr-ifunc.c: Likewise.
34949 * string/test-memcmp-ifunc.c: Likewise.
34950 * string/test-memcpy-ifunc.c: Likewise.
34951 * string/test-memmem-ifunc.c: Likewise.
34952 * string/test-memmove-ifunc.c: Likewise.
34953 * string/test-mempcpy-ifunc.c: Likewise.
34954 * string/test-memset-ifunc.c: Likewise.
34955 * string/test-rawmemchr-ifunc.c: Likewise.
34956 * string/test-stpcpy-ifunc.c: Likewise.
34957 * string/test-stpncpy-ifunc.c: Likewise.
34958 * string/test-strcasecmp-ifunc.c: Likewise.
34959 * string/test-strcasestr-ifunc.c: Likewise.
34960 * string/test-strcat-ifunc.c: Likewise.
34961 * string/test-strchr-ifunc.c: Likewise.
34962 * string/test-strchrnul-ifunc.c: Likewise.
34963 * string/test-strcmp-ifunc.c: Likewise.
34964 * string/test-strcpy-ifunc.c: Likewise.
34965 * string/test-strcspn-ifunc.c: Likewise.
34966 * string/test-strlen-ifunc.c: Likewise.
34967 * string/test-strncasecmp-ifunc.c: Likewise.
34968 * string/test-strncat-ifunc.c: Likewise.
34969 * string/test-strncmp-ifunc.c: Likewise.
34970 * string/test-strncpy-ifunc.c: Likewise.
34971 * string/test-strnlen-ifunc.c: Likewise.
34972 * string/test-strpbrk-ifunc.c: Likewise.
34973 * string/test-strrchr-ifunc.c: Likewise.
34974 * string/test-strspn-ifunc.c: Likewise.
34975 * string/test-strstr-ifunc.c: Likewise.
34977 * debug/Makefile (tests-ifunc): New variable.
34978 (tests): Add $(tests-ifunc).
34979 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
34980 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
34981 * debug/test-stpcpy_chk-ifunc.c: New file.
34982 * debug/test-strcpy_chk-ifunc.c: Likewise.
34984 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
34987 * elf/dl-load.c (open_verify): Retry read if the entire ELF
34988 header is not read in.
34990 2012-10-19 Joseph Myers <joseph@codesourcery.com>
34992 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
34993 script to $(SHELL) as $<. Pass $(common-objpfx) to script
34994 directly. Pass built executable to script as
34995 $(built-program-cmd).
34996 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
34997 $testprogram without using LD_LIBRARY_PATH and $ldso.
34999 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
35000 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
35001 $(rtld-installed-name).
35002 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
35003 (rtld_installed_name): Likewise.
35004 (library_path): Likewise.
35005 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
35006 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
35007 $(run-program-prefix) to tst-tables.sh.
35008 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
35009 it to run tst-table-from and tst-table-to.
35010 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
35011 Pass it to tst-table.sh.
35012 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
35013 $(run-program-prefix) to tst-gettext.sh.
35014 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
35016 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
35018 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
35019 to run tst-gettext.
35020 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
35021 to run tst-gettext2.
35022 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
35023 to run tst-translit.
35024 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
35025 $(run-program-prefix) to tst-mtrace.sh.
35026 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
35028 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
35029 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
35030 $(rtld-installed-name).
35031 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
35032 (rtld_installed_name): Likewise.
35033 (run_program_prefix): New variable. Use it to run wordexp-test.
35035 * Makeconfig (ARCH): Remove all definitions.
35036 (machine): Likewise.
35037 [ARCH]: Remove conditional code.
35038 [!objdir]: Give error.
35039 [!objdir] (objpfx): Remove.
35040 [!objdir] (common-objpfx): Likewise.
35041 [!objdir] (common-objdir): Likewise.
35042 * configure.in (config_makefile): Remove. Hardcode Makefile in
35043 AC_CONFIG_FILES call.
35044 * configure: Regenerated.
35047 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
35049 (testout): Likewise.
35051 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
35052 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
35053 $(rtld-installed-name).
35054 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
35055 (rtld_installed_name): Likwise.
35056 (runit): Remove function.
35057 (run_getconf): New variable, Use it for running getconf binary.
35059 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
35062 * string/test-memmem.c (check_result): New function.
35063 (do_one_test): Use it.
35064 (check1): New function.
35065 (test_main): Use it.
35067 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
35069 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
35071 2012-10-18 Joseph Myers <joseph@codesourcery.com>
35073 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
35074 (_G_LSEEK64): Likewise.
35075 (_G_MMAP64): Likewise.
35076 (_G_FSTAT64): Likewise.
35077 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
35078 (_G_LSEEK64): Likewise.
35079 (_G_MMAP64): Likewise.
35080 (_G_FSTAT64): Likewise.
35081 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
35082 unconditional. Call __mmap64 directly.
35083 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
35084 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
35085 __lseek64 directly.
35086 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
35087 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
35089 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
35090 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
35091 __lseek64 directly.
35092 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
35093 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
35094 __lseek64 directly.
35095 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
35096 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
35097 __lseek64 directly.
35098 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
35099 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
35100 __fxstat64 directly.
35101 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
35102 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
35104 (freopen64) [!_G_OPEN64]: Remove conditional code.
35105 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
35107 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
35108 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
35110 (ftello64) [!_G_LSEEK64]: Remove conditional code.
35111 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
35113 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
35114 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
35116 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
35117 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
35119 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
35120 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
35122 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
35123 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
35125 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
35127 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
35130 * manual/memory.texi (Malloc Tunable Parameters): Add note
35131 about free list pointers overwriting some perturb bytes.
35132 Wording suggested by Roland McGrath.
35134 2012-10-17 Joseph Myers <joseph@codesourcery.com>
35136 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
35137 (lgamma_test): Likewise.
35138 (tgamma_test): Likewise.
35140 2012-10-16 Florian Weimer <fweimer@redhat.com>
35143 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
35144 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
35146 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
35148 * NEWS: Mention BZ #14716.
35149 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
35150 when removing AVAILABLE1_USES_J macro.
35152 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
35154 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
35155 (__bswap_64): __uint64_t for unsigned 64-bit int.
35157 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
35159 * include/string.h (memmem): Declare libc hidden alias.
35160 * string/memmem.c (memmem): Define libc hidden alias.
35161 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
35162 __read, __close instead of open, read, close.
35164 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
35166 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
35167 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
35169 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
35170 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
35171 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
35173 (__rawmemchr_sse2): Likewise.
35174 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
35175 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
35176 (__strchr_sse2): Likewise.
35177 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
35178 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
35179 (__strcasecmp_sse2): Likewise.
35180 (__strncasecmp_sse2): Likewise.
35181 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
35182 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
35183 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
35184 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
35185 (__strrchr_sse2): Likewise.
35186 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
35188 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
35189 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
35190 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
35191 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
35192 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
35193 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
35194 * sysdeps/x86_64/multiarch/memset.S: Likewise.
35195 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35196 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
35197 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
35198 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
35199 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
35200 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
35201 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
35202 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
35203 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
35204 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
35205 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
35206 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
35207 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
35208 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
35209 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
35210 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
35211 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
35212 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
35213 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
35214 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
35215 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
35216 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
35217 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
35219 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
35221 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
35222 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
35223 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
35224 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
35226 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
35228 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
35229 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
35230 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
35231 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
35233 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35234 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35235 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35236 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35237 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35238 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35239 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35240 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35241 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35242 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35243 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35244 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35245 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35246 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
35247 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
35248 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35249 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
35250 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
35251 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35252 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35253 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35254 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35255 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35256 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35257 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35258 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
35259 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
35260 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
35261 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
35262 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35263 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
35264 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35265 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35266 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
35267 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35268 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35269 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35270 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35271 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35272 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35273 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
35275 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
35276 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
35277 * include/ifunc-impl-list.h: New file.
35278 * misc/ifunc-impl-list.c: Likewise.
35279 * misc/Makefile (routines): Add ifunc-impl-list.
35280 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
35281 * string/test-string.h: Include <ifunc-impl-list.h>.
35282 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
35283 TEST_NAME]: New variables.
35284 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
35286 (test_init): Call __libc_ifunc_impl_list to initialize
35287 func_list if TEST_IFUNC and TEST_NAME are defined.
35289 * string/Makefile (strop-tests): Add bcopy and bzero.
35290 * string/test-bcopy.c: New file.
35291 * string/test-bzero.c: Likewise.
35292 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
35294 * string/test-memset.c: Support bzero test if TEST_BZERO is
35296 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
35298 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
35300 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
35303 2012-10-10 Joseph Myers <joseph@codesourcery.com>
35305 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
35306 * configure: Regenerated.
35308 * Makeconfig (+link-static-before-libc): Don't include
35309 $(link-static-libc).
35311 * libio/libio.h (_IO_pos_t): Remove.
35313 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
35315 * NEWS: Add note about FIPS mode. Wording suggested by Roland
35318 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
35320 * crypt/crypt-entry.c: Include fips-private.h.
35321 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
35322 * crypt/md5c-test.c (main): Tolerate disabled MD5.
35323 * sysdeps/unix/sysv/linux/fips-private.h: New file.
35324 * sysdeps/generic/fips-private.h: New file, dummy fallback.
35326 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
35328 * crypt/crypt-private.h: Include stdbool.h.
35329 (_ufc_setup_salt_r): Return bool.
35330 * crypt/crypt-entry.c: Include errno.h.
35331 (__crypt_r): Return NULL with EINVAL for bad salt.
35332 * crypt/crypt_util.c (bad_for_salt): New.
35333 (_ufc_setup_salt_r): Check that salt is long enough and within
35334 the specified alphabet.
35335 * crypt/badsalttest.c: New file.
35336 * crypt/Makefile (tests): Add it.
35337 ($(objpfx)badsalttest): New.
35339 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
35341 * NEWS: Add entry for BZ #14602.
35343 2012-10-09 Joseph Myers <joseph@codesourcery.com>
35345 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
35347 * math/libm-test.inc: Update comment listing what functions and
35349 (isgreater_test): New function.
35350 (isgreaterequal_test): Likewise.
35351 (isless_test): Likewise.
35352 (islessequal_test): Likewise.
35353 (islessgreater_test): Likewise.
35354 (isunordered_test): Likewise.
35355 (main): Call the new functions.
35357 2012-10-09 Roland McGrath <roland@hack.frob.com>
35359 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
35360 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
35361 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
35362 * sysdeps/i386/configure: Regenerated.
35363 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
35364 * sysdeps/mach/configure: Regenerated.
35365 * sysdeps/mach/hurd/configure: Regenerated.
35366 * sysdeps/powerpc/configure: Regenerated.
35367 * sysdeps/powerpc/powerpc32/configure: Regenerated.
35368 * sysdeps/powerpc/powerpc64/configure: Regenerated.
35369 * sysdeps/s390/s390-32/configure: Regenerated.
35370 * sysdeps/s390/s390-64/configure: Regenerated.
35371 * sysdeps/sh/configure: Regenerated.
35372 * sysdeps/sparc/configure: Regenerated.
35373 * sysdeps/unix/sysv/linux/configure: Regenerated.
35374 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
35375 * sysdeps/x86_64/configure: Regenerated.
35377 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
35378 defined. Don't check if MAP is NULL.
35380 2012-10-09 Joseph Myers <joseph@codesourcery.com>
35382 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
35383 (_G_stat64): Likewise.
35384 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
35385 (_G_stat64): Likewise.
35386 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
35387 instead of struct _G_stat64.
35388 * libio/fileops.c (mmap_remap_check): Likewise.
35389 (decide_maybe_mmap): Likewise.
35390 (_IO_new_file_seekoff): Likewise.
35391 (_IO_file_stat): Likewise.
35392 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
35394 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
35395 instead of struct _G_stat64.
35396 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
35398 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
35401 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35403 (CHECK_EOL): New macro.
35404 (two_way_short_needle): Check beginning of haystack for EOL. Use
35406 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35407 Replace with CHECK_EOL.
35408 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35409 Replace with CHECK_EOL.
35411 2012-10-08 Joseph Myers <joseph@codesourcery.com>
35413 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
35415 * math/libm-test.inc: Update comment listing what functions and
35417 (finite_test): New function.
35418 (isinf_test): Likewise.
35419 (isnan_test): Likewise.
35420 (fpclassify_test): Test subnormal input.
35421 (isfinite_test): Likewise.
35422 (isnormal_test): Likewise.
35423 (main): Call the new functions.
35425 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
35428 * Makerules (%.dynsym): Force C locale when running
35429 $(OBJDUMP) --dynamic-syms.
35431 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
35433 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
35436 2012-10-06 David S. Miller <davem@davemloft.net>
35438 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
35439 upper 32-bits of the length value in %o2 since we use branch-on-register
35440 tests which consider the entire 64-bit register.
35442 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
35444 * string/test-strstr.c (check2): Add a test for page boundary.
35446 2012-10-05 David S. Miller <davem@davemloft.net>
35448 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
35449 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
35451 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
35453 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
35454 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
35455 and bzero when HWCAP_SPARC_CRYPTO is present.
35457 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
35460 * string/test-strstr.c (check2): New function.
35461 (test_main): Call check2.
35463 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
35465 * string/bug-strcasestr1.c (do_test): Moved to ...
35466 * string/test-strcasestr.c (check1): Here. New function.
35467 (do_one_test): Break out result checking code into ...
35468 (check_result): This. New function.
35469 (do_one_test): Call check_result.
35470 (test_main): Call check1.
35471 * string/bug-strchr1.c (do_test): Moved to ...
35472 * string/test-strchr.c (check1): Here. New function.
35473 (do_one_test): Break out result checking code into ...
35474 (check_result): This. New function.
35475 (do_one_test): Call check_result.
35476 (test_main): Call check1.
35477 * string/bug-strstr1.c (main): Moved to ...
35478 * string/test-strstr.c (check1): Here. New function.
35479 (do_one_test): Break out result checking code into ...
35480 (check_result): This. New function.
35481 (do_one_test): Call check_result.
35482 (test_main): Call check1.
35483 * string/bug-strcasestr1.c: Removed.
35484 * string/bug-strchr1.c: Likewise.
35485 * string/bug-strstr1.c: Likewise.
35487 * elf/Makefile (dl-routines): Add hwcaps.
35488 * elf/dl-support.c (_dl_important_hwcaps): Removed.
35489 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
35490 (_dl_important_hwcaps): Moved to ...
35491 * elf/dl-hwcaps.c: Here. New file.
35492 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
35495 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
35496 if IS_IN_rtld isn't defined.
35498 * elf/dl-support.c (_dl_sysinfo_map): New.
35499 Include "get-dynamic-info.h" and "setup-vdso.h".
35500 (_dl_non_dynamic_init): Call setup_vdso.
35501 * elf/dynamic-link.h: Don't include <assert.h>.
35502 (elf_get_dynamic_info): Moved to ...
35503 * elf/get-dynamic-info.h: Here. New file.
35504 * elf/dynamic-link.h: Include "get-dynamic-info.h".
35505 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
35506 * elf/setup-vdso.h: Here. New file.
35507 * elf/rtld.c: Include "setup-vdso.h".
35508 (dl_main): Call setup_vdso.
35510 2012-10-05 Joseph Myers <joseph@codesourcery.com>
35512 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
35513 creal in comment listing functions tested. List finite, isinf,
35514 isnan, isless, islessequal, isgreater, isgreaterequal,
35515 islessgreater, isunordered, lgamma_r and pow10 as functions and
35516 macros not tested. Mention which functions not tested are aliases
35517 for other functions. Fix typo. Note that signs of NaNs are not
35520 * scripts/config.guess: Update from config.git.
35521 * scripts/config.sub: Likewise.
35523 2012-10-04 Roland McGrath <roland@hack.frob.com>
35525 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
35526 * misc/madvise.c (madvise): Renamed to __madvise.
35527 Make madvise a weak alias.
35528 * include/sys/mman.h: Declare __madvise.
35529 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
35530 * sysdeps/unix/syscalls.list
35531 (madvise): Make __madvise the strong name, and madvise a weak alias.
35532 * sysdeps/unix/sysv/linux/syscalls.list
35533 (madvise, mmap): Remove redundant entries.
35534 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
35535 * malloc/malloc.c (mtrim): Likewise.
35536 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
35538 2012-10-03 Roland McGrath <roland@hack.frob.com>
35540 * sysdeps/mach/hurd/dl-cache.c: File removed.
35541 * config.h.in (USE_LDCONFIG): New #undef.
35542 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
35543 * configure: Regenerated.
35544 * elf/Makefile (dl-routines): Add dl-cache only under
35545 [$(use-ldconfig) = yes].
35546 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
35547 cache on [USE_LDCONFIG].
35548 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
35550 * elf/rtld.c (dl_main): Likewise.
35552 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
35554 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
35555 _SC_LEVEL4_CACHE_LINESIZE.
35557 2012-10-03 Roland McGrath <roland@hack.frob.com>
35559 * sysdeps/unix/bsd/confstr.h: File removed.
35561 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
35563 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
35566 2012-10-02 Roland McGrath <roland@hack.frob.com>
35568 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
35569 Make 'mapoff' field ElfW(Off) rather than off_t.
35571 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
35573 * nscd/Makefile: Remove nscd-cflags and all its users.
35574 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
35575 (CFLAGS-nonlib): Add compiler flags for nscd modules.
35578 * malloc.c (malloc_printerr): Clarify error message.
35580 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
35583 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35584 Set bit_FMA_Usable if FMA is supported.
35585 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
35587 (bit_FMA4_Usable): Updated.
35588 (index_FMA_Usable): New macro.
35589 (CPUID_FMA): Likewise
35590 (HAS_FMA): Defined with bit_FMA_Usable.
35592 2012-10-01 Roland McGrath <roland@hack.frob.com>
35594 * bits/types.h (__swblk_t): Type removed.
35595 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
35596 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
35597 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35598 (__SWBLK_T_TYPE): Likewise.
35599 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35600 (__SWBLK_T_TYPE): Likewise.
35601 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35602 (__SWBLK_T_TYPE): Likewise.
35603 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35604 (__SWBLK_T_TYPE): Likewise.
35606 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
35607 Honza Horak <hhorak@redhat.com>
35609 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
35610 (xdr_mapname): Use YPMAXMAP as maxsize.
35611 (xdr_peername): Use YPMAXPEER as maxsize.
35612 (xdr_keydat): Use YPAXRECORD as maxsize.
35613 (xdr_valdat): Use YPMAXRECORD as maxsize.
35615 2012-10-01 Roland McGrath <roland@hack.frob.com>
35617 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
35619 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
35620 * csu/init-first.c: ... here.
35621 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
35622 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
35623 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
35624 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
35625 * sysdeps/i386/init-first.c: File removed.
35626 * sysdeps/sh/init-first.c: File removed.
35628 2012-10-01 Joseph Myers <joseph@codesourcery.com>
35631 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
35632 if x * y might underflow to zero and z is zero.
35633 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35634 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35635 * math/libm-test.inc (min_subnorm_value): New variable.
35636 (fma_test): Add more tests.
35637 (fma_test_towardzero): Likewise.
35638 (fma_test_downward): Likewise
35639 (fma_test_upward): Likewise.
35640 (initialize): Set min_subnorm_value.
35642 2012-09-29 Joseph Myers <joseph@codesourcery.com>
35645 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
35647 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
35648 mode for addition resulting in exact zero.
35649 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
35650 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
35652 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35653 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35654 * math/libm-test.inc (fma_test): Add more tests.
35655 (fma_test_towardzero): New function.
35656 (fma_test_downward): Likewise.
35657 (fma_test_upward): Likewise.
35658 (main): Call the new functions.
35660 2012-09-28 David S. Miller <davem@davemloft.net>
35662 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
35664 2012-09-28 Roland McGrath <roland@hack.frob.com>
35666 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
35667 instead of SIGALRM.
35669 * sysdeps/gnu/_G_config.h: Moved to ...
35670 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
35671 * sysdeps/mach/hurd/_G_config.h: Moved to ...
35672 * sysdeps/generic/_G_config.h: ... here.
35674 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
35676 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
35678 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
35679 Conditionalize target on [libnss_test1.so-version].
35681 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
35683 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
35684 (elfobjdir): Move out of conditionals.
35686 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
35687 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
35688 (__nss_lookup_function): Conditionalize label remove_from_tree on
35689 [!DO_STATIC_NSS || SHARED], matching its only use.
35691 2012-09-28 David S. Miller <davem@davemloft.net>
35693 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
35694 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
35696 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
35698 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
35699 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
35700 when HWCAP_SPARC_CRYPTO is present.
35702 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
35704 * io/tst-mknodat.c: Create a FIFO instead of a socket.
35706 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
35709 * stdio-common/vfprintf.c (process_string_arg): Revert
35712 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
35714 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
35716 * stdio-common/tst-sprintf.c: Include <locale.h>
35717 (main): Test sprintf's handling of incomplete multibyte
35720 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
35722 * elf/dl-runtime.c (VERSYMIDX): Removed.
35723 * elf/dl-version.c (VERSYMIDX): Likewise.
35724 * elf/do-rel.h (VERSYMIDX): Likewise.
35725 (VALIDX): Likewise.
35726 * elf/dynamic-link.h (VERSYMIDX): Likewise.
35727 * elf/rtld.c (VALIDX): Likewise.
35728 (ADDRIDX): Likewise.
35729 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
35730 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
35731 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
35732 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
35733 (VALIDX): Likewise.
35734 (ADDRIDX): Likewise.
35736 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
35738 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
35740 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
35743 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
35745 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
35746 addresses are in the same scope as 192.0.2/24.
35747 * posix/gai.conf: Document new scope table defaults.
35749 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35752 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
35753 for ftell. Compute offsets from write pointers instead.
35754 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
35756 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35759 * libio/Makefile (tests): New test case tst-fseek.
35760 * libio/tst-fseek.c: New test case to verify that fseek/ftell
35761 combination works in wide mode.
35762 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
35763 state when the external buffer state changes.
35765 2012-09-27 David S. Miller <davem@davemloft.net>
35768 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
35769 pass reloc->r_addend in as the 'high' argument to
35770 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
35772 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35774 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
35776 * rt/tst-aio2.c: Include <pthread.h>.
35777 * rt/tst-aio3.c: Likewise.
35779 2012-09-27 Steve Ellcey <sellcey@mips.com>
35781 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
35783 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
35785 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
35786 contents on [SHARED].
35788 2012-09-26 Marek Polacek <polacek@redhat.com>
35792 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
35793 for C++ and GCC <4.3 as well as for non GCC compilers.
35795 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
35797 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35799 2012-09-25 Roland McGrath <roland@hack.frob.com>
35801 * Makefile.in (all, install): Declare with .PHONY.
35802 Reported by Michael Hope <michael.hope@linaro.org>.
35804 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35806 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
35807 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
35809 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
35811 (sydep_routines): Add the new and the internal functions.
35812 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
35813 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
35814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
35815 (GLIBC_2.17): Add the new function.
35816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
35817 (GLIBC_2.17): Likewise.
35818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
35819 (GLIBC_2.17): Likewise.
35820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
35821 (GLIBC_2.17): Likewise.
35822 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
35824 2012-09-25 Alan Modra <amodra@gmail.com>
35826 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
35827 Add release barrier before setting once_control to say
35828 initialisation is done. Add hints on lwarx. Use macro in
35830 (clear_once_control): Add release barrier.
35832 2012-09-25 Joseph Myers <joseph@codesourcery.com>
35835 * math/s_clog.c (__clog): Handle more values close to |z| = 1
35837 * math/s_clog10.c (__clog10): Likewise.
35838 * math/s_clog10f.c (__clog10f): Likewise.
35839 * math/s_clog10l.c (__clog10l): Likewise.
35840 * math/s_clogf.c (__clogf): Likewise.
35841 * math/s_clogl.c (__clogl): Likewise.
35842 * math/Makefile (libm-calls): Add x2y2m1.
35843 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
35844 (__x2y2m1): Likewise.
35845 (__x2y2m1l): Likewise.
35846 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
35847 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
35848 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
35849 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
35850 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
35851 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
35852 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
35853 * sysdeps/i386/fpu/libm-test-ulps: Update.
35854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35857 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
35858 int as type of variable DEPTH.
35859 (glob): Use size_t instead of int as type of variables NEWCOUNT
35862 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35864 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
35865 Add s_sincosf-sse2.
35866 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
35867 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
35868 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
35869 macros for using routine as __sincosf_ia32.
35870 Use macro for function declaration and weak_alias.
35871 * sysdeps/i386/fpu/libm-test-ulps: Update.
35873 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
35874 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35876 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
35877 subnormal argument.
35878 * math/s_cexpf.c (__cexpf): Likewise.
35879 * math/s_csinf.c (__csinf): Likewise.
35880 * math/s_csinhf.c (__csinhf): Likewise.
35881 * math/s_ctanf.c (__ctanf): Likewise.
35882 * math/s_ctanhf.c (__ctanhf): Likewise.
35883 * math/s_ccosh.c (__ccoshf): Likewise.
35884 * math/s_cexp.c (__cexpl): Likewise.
35885 * math/s_csin.c (__csin): Likewise.
35886 * math/s_csinh.c (__csinh): Likewise.
35887 * math/s_ctan.c (__ctan): Likewise.
35888 * math/s_ctanh.c (ctanh): Likewise.
35889 * math/s_ccoshl.c (__ccoshl): Likewise.
35890 * math/s_cexpl.c (__cexpl): Likewise.
35891 * math/s_csinl.c (__csinl): Likewise.
35892 * math/s_csinhl.c (__csinhl): Likewise.
35893 * math/s_ctanl.c (__ctanl): Likewise.
35894 * math/s_ctanhl.c (__ctanhl): Likewise.
35896 2012-09-25 Joseph Myers <joseph@codesourcery.com>
35898 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
35899 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
35900 (_IO_off_t): Define to __off_t, not _G_off_t.
35901 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
35902 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
35903 (_IO_wint_t): Define to wint_t, not _G_wint_t.
35904 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
35905 type of __dummy and __dummy2 fields.
35906 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
35907 (_G_ssize_t): Likewise.
35908 (_G_off_t): Likewise.
35909 (_G_pid_t): Likewise.
35910 (_G_uid_t): Likewise.
35911 (_G_wchar_t): Likewise.
35912 (_G_wint_t): Likewise.
35913 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
35914 (_G_ssize_t): Likewise.
35915 (_G_off_t): Likewise.
35916 (_G_pid_t): Likewise.
35917 (_G_uid_t): Likewise.
35918 (_G_wchar_t): Likewise.
35919 (_G_wint_t): Likewise.
35920 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
35921 (_G_ssize_t): Likewise.
35922 (_G_off_t): Likewise.
35923 (_G_pid_t): Likewise.
35924 (_G_uid_t): Likewise.
35925 (_G_wchar_t): Likewise.
35926 (_G_wint_t): Likewise.
35928 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
35930 * malloc/arena.c: Include malloc-sysdep.h.
35931 (shrink_heap): Use check_may_shrink_heap to decide if madvise
35932 is sufficient to shrink the heap or an unmap is needed.
35933 * sysdeps/generic/malloc-sysdep.h: New file. Define
35934 new function check_may_shrink_heap.
35935 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
35936 new function check_may_shrink_heap.
35938 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
35940 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
35943 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
35945 * catgets/test-gencat.sh: Add "set -e".
35946 * elf/tst-pathopt.sh: Likewise.
35947 * grp/tst_fgetgrent.sh: Likewise.
35948 * iconvdata/run-iconv-test.sh: Likewise.
35949 * intl/tst-gettext.sh: Likewise.
35950 * intl/tst-gettext2.sh: Likewise.
35951 * intl/tst-gettext4.sh: Likewise.
35952 * intl/tst-gettext6.sh: Likewise.
35953 * intl/tst-translit.sh: Likewise.
35954 * io/ftwtest-sh: Likewise.
35955 * libio/test-freopen.sh: Likewise.
35956 * malloc/tst-mtrace.sh: Likewise.
35957 * posix/globtest.sh: Likewise.
35958 * posix/tst-getconf.sh: Likewise.
35959 * posix/wordexp-tst.sh: Likewise.
35960 * stdio-common/tst-printf.sh: Likewise.
35961 * stdio-common/tst-unbputc.sh: Likewise.
35962 * stdlib/tst-fmtmsg.sh: Likewise.
35963 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
35964 * catgets/Makefile: Do not specify -e option when running
35965 testsuite shell scripts.
35966 * elf/Makefile: Likewise.
35967 * grp/Makefile: Likewise.
35968 * iconvdata/Makefile: Likewise.
35969 * intl/Makefile: Likewise.
35970 * io/Makefile: Likewise.
35971 * libio/Makefile: Likewise.
35972 * malloc/Makefile: Likewise.
35973 * posix/Makefile: Likewise.
35974 * stdio-common/Makefile: Likewise.
35975 * stdlib/Makefile: Likewise.
35976 * sysdeps/x86_64/Makefile: Likewise.
35978 * io/ftwtest-sh: Add copyright header.
35979 * posix/globtest.sh: Likewise.
35980 * posix/tst-getconf.sh: Likewise.
35981 * posix/wordexp-tst.sh: Likewise.
35982 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
35984 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
35987 * Makeconfig (+link): Defined as $(+link-static) if
35988 $(build-shared) isn't yes.
35989 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
35991 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
35993 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
35996 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
35997 new chunk size with MALLOC_ALIGN_MASK.
35999 2012-09-24 Joseph Myers <joseph@codesourcery.com>
36002 * stdio-common/printf_fphex.c: Include <stdbool.h> and
36004 (__printf_fphex): Determine rounding using get_rounding_mode and
36006 * stdio-common/tst-printf-round.c (struct hex_test): New
36008 (hex_tests): New variable.
36009 (test_hex_in_one_mode): New function.
36010 (do_test): Also run tests for hex float output.
36012 2012-09-21 Joseph Myers <joseph@codesourcery.com>
36014 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
36015 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
36016 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
36017 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
36018 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
36019 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
36020 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
36021 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
36023 2012-09-20 Joseph Myers <joseph@codesourcery.com>
36025 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
36026 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
36027 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
36028 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
36030 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
36033 * elf/rtld.c (dl_main): Limit the check for self loading to normal
36035 * elf/tst-rtld-load-self.sh: New test.
36036 * elf/Makefile: Run it.
36038 2012-09-18 Joseph Myers <joseph@codesourcery.com>
36040 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
36041 (tst-writev-ENV): Remove.
36042 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
36044 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
36046 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
36048 2012-09-17 Joseph Myers <joseph@codesourcery.com>
36050 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
36052 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
36054 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
36055 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
36056 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
36059 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
36062 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
36063 * config.make.in (have-cpp-asm-debuginfo): Removed.
36064 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
36065 * configure: Regenerated.
36067 2012-09-14 Joseph Myers <joseph@codesourcery.com>
36070 * stdio-common/printf_fp.c: Include <stdbool.h> and
36072 (___printf_fp): Determine rounding using get_rounding_mode and
36074 * stdio-common/tst-printf-round.c: New file.
36075 * stdio-common/Makefile (tests): Add tst-printf-round.
36076 (link-libm): New variable.
36077 ($(objpfx)tst-printf-round): Depend in $(link-libm).
36079 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
36082 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
36083 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
36085 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
36088 2012-09-13 Joseph Myers <joseph@codesourcery.com>
36090 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
36091 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36092 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36093 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36095 2012-09-12 Joseph Myers <joseph@codesourcery.com>
36098 * include/rounding-mode.h: New file.
36099 * sysdeps/generic/get-rounding-mode.h: Likewise.
36100 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
36101 * stdlib/strtod_l.c: Include <rounding-mode.h>.
36102 (MAX_VALUE): New macro.
36103 (MIN_VALUE): Likewise.
36104 (overflow_value): New function.
36105 (underflow_value): Likewise.
36106 (round_and_return): Use overflow_value and underflow_value to
36107 determine return values in overflow and underflow cases. Use
36108 round_away to determine rounding depending on rounding mode.
36109 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
36110 determine return values in overflow and underflow cases.
36111 * stdlib/tst-strtod-round.c: Include <fenv.h>.
36112 (struct test_results): New structure.
36113 (struct test): Use struct test_results to store expected results
36114 for all rounding modes.
36115 (TEST): Include expected results for all rounding modes.
36116 (test_in_one_mode): New function.
36117 (do_test): Use test_in_one_mode to compute and check results.
36118 Check results for all rounding modes.
36119 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
36122 2012-12-09 Allan McRae <allan@archlinux.org>
36124 * sysdeps/i386/fpu/libm-test-ulps: Update
36126 2012-09-11 Joseph Myers <joseph@codesourcery.com>
36128 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
36129 (_G_int32_t): Likewise.
36130 (_G_uint16_t): Likewise.
36131 (_G_uint32_t): Likewise.
36132 (_G_HAVE_BOOL): Likewise.
36133 (_G_HAVE_ATEXIT): Likewise.
36134 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36135 (_G_HAVE_IO_FILE_OPEN): Likewise.
36136 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
36137 (_G_int32_t): Likewise.
36138 (_G_uint16_t): Likewise.
36139 (_G_uint32_t): Likewise.
36140 (_G_HAVE_BOOL): Likewise.
36141 (_G_HAVE_ATEXIT): Likewise.
36142 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36143 (_G_HAVE_IO_FILE_OPEN): Likewise.
36144 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
36145 (_G_int32_t): Likewise.
36146 (_G_uint16_t): Likewise.
36147 (_G_uint32_t): Likewise.
36148 (_G_HAVE_BOOL): Likewise.
36149 (_G_HAVE_ATEXIT): Likewise.
36150 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36151 (_G_HAVE_IO_FILE_OPEN): Likewise.
36153 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
36155 * csu/libc-tls.c: Update copyright years.
36157 2012-09-10 Joseph Myers <joseph@codesourcery.com>
36159 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
36160 [!_G_USING_THUNKS]: Remove conditional code.
36161 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
36162 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
36164 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
36165 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
36166 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36167 (_G_VTABLE_LABEL_PREFIX): Likewise.
36168 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36169 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36170 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36171 (_G_VTABLE_LABEL_PREFIX): Likewise.
36172 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
36173 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36174 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36175 (_G_VTABLE_LABEL_PREFIX): Likewise.
36176 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
36178 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
36180 * libio/Makefile: Include ../Makeconfig before tests.
36181 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
36182 only if $(build-shared) is yes.
36184 * iconv/gconv_db.c: Update copyright years.
36186 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36188 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
36189 unwind info if defined PIC. Fix special cases description.
36190 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
36192 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
36194 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
36196 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
36198 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
36200 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
36203 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
36204 (LDLIBS-tst-chk4): This.
36205 (LDFLAGS-tst-chk5): Renamed to ...
36206 (LDLIBS-tst-chk5): This.
36207 (LDFLAGS-tst-chk6): Renamed to ...
36208 (LDLIBS-tst-chk6): This.
36209 (LDFLAGS-tst-lfschk4): Renamed to ...
36210 (LDLIBS-tst-lfschk4): This.
36211 (LDFLAGS-tst-lfschk5): Renamed to ...
36212 (LDLIBS-tst-lfschk5): This.
36213 (LDFLAGS-tst-lfschk6): Renamed to ...
36214 (LDLIBS-tst-lfschk6): This.
36216 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
36217 on $(common-objpfx)soversions.mk.
36219 2012-09-07 Joseph Myers <joseph@codesourcery.com>
36222 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
36225 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
36227 * malloc/arena.c (arena_get_retry): New function that gets
36228 another arena for the caller to try its request on.
36229 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
36230 current arena cannot fulfill the request.
36231 (__libc_memalign): Likewise.
36232 (__libc_memalign): Likewise.
36233 (__libc_pvalloc): Likewise.
36234 (__libc_calloc): Likewise.
36236 2012-09-05 John Tobey <john.tobey@gmail.com>
36239 * manual/arith.texi (Operations on Complex): Fix description
36240 of carg branch cut.
36242 2012-09-06 Joseph Myers <joseph@codesourcery.com>
36245 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
36249 * manual/memory.texi (Memory): Make order of menu items match
36252 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36254 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
36255 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
36256 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
36258 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36260 * csu/libc-tls.c (static_dtv): Renamed to ...
36261 (_dl_static_dtv): This. Make it global.
36262 (_dl_initial_dtv): Removed.
36263 (__libc_setup_tls): Updated.
36264 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
36265 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
36268 2012-09-06 Petr Machata <pmachata@redhat.com>
36270 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
36271 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
36272 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
36273 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
36275 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36278 * csu/libc-tls.c (_dl_initial_dtv): New variable.
36279 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
36282 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36285 * Makeconfig (link-static-before-libc): Replace $(+prector)
36287 (link-static-after-libc): Replace $(+postctor) with
36289 (link-bounded): Replace $(+prector)/$(+postctor) with
36290 $(+prectorT)/$(+postctorT).
36291 (+prectorT): New macro.
36292 (+postctorT): Likewise.
36294 2012-09-06 Joseph Myers <joseph@codesourcery.com>
36296 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
36297 (round_str): Handle values above the maximum for IBM long double
36299 * stdlib/tst-strtod-round.c (tests): Regenerated.
36301 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36303 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
36305 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
36306 zarch_nohighgprs around the zarch optimized routines.
36307 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
36308 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
36309 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
36312 2012-09-05 David S. Miller <davem@davemloft.net>
36314 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36316 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
36317 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
36318 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
36319 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
36322 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
36324 * malloc/arena.c: Fold copyright years.
36325 * malloc/mcheck.c, malloc/memusage.c: Likewise.
36327 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
36329 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
36331 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
36333 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
36335 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
36337 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
36338 change internal state upon failure.
36340 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
36342 * malloc/mcheck.c (mcheck_check_all): Fix typo.
36343 * malloc/memusage.c (mmap): Likewise.
36344 (mmap64, mremap): Likewise. Adjust name in comment.
36346 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
36348 * libio/fileops.c: Fix typos in comments.
36349 * libio/oldfileops.c: Likewise.
36350 * libio/wfileops.c: Likewise.
36352 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
36355 * malloc/Makefile (tests): Add tst-malloc-usable test case.
36356 (tst-malloc-usable-ENV): Set environment for test case.
36357 * malloc/hooks.c (malloc_check_get_size): New function to get
36359 * malloc/malloc.c (musable): Use malloc_check_get_size.
36360 * malloc/tst-malloc-usable.c: New test case.
36362 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
36364 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
36366 2012-09-05 Allan McRae <allan@archlinux.org>
36369 * configure.in (CXX_SYSINCLUDES): Use compiler output to
36370 determine header location.
36371 * configure: Regenerated.
36373 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
36375 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
36377 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
36378 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
36380 (test): Regenerate.
36382 2012-09-04 David S. Miller <davem@davemloft.net>
36384 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
36385 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
36386 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
36388 2012-09-04 Florian Weimer <fweimer@redhat.com>
36390 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
36393 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
36395 2012-09-04 Joseph Myers <joseph@codesourcery.com>
36398 * libio/iogetdelim.c: Include <limits.h>.
36399 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
36400 + len + 1 would overflow.
36402 2012-09-03 Andreas Jaeger <aj@suse.de>
36404 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36405 * sysdeps/i386/fpu/libm-test-ulps: Update.
36407 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36409 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
36410 Add s_sinf-sse2, s_conf-sse2.
36412 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
36413 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
36414 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
36415 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
36417 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
36418 for using routine as __sinf_ia32.
36419 Use macro for function declaration and weak_alias.
36420 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
36421 for using routine as __cosf_ia32.
36422 Use macro for function declaration and weak_alias.
36424 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
36425 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
36427 * sysdeps/x86_64/fpu/s_sinf.S: New file.
36428 * sysdeps/x86_64/fpu/s_cosf.S: New file.
36429 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36431 * math/libm-test.inc (cos_test): Add more test cases.
36432 (sin_test): Likewise.
36433 (sincos_test): Likewise.
36435 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36437 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
36438 (IFUNC_RESOLVE): Make pointers to the specialized implementations
36440 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
36442 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
36445 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
36446 first element of the GOT.
36447 (elf_machine_load_address): Return the difference between
36448 the runtime address of _DYNAMIC and elf_machine_dynamic ().
36450 2012-09-01 Allan McRae <allan@archlinux.org>
36453 * configure.in (AWK): Require gawk version 3.0 or later.
36454 * configure: Regenerated.
36456 2012-09-01 Joseph Myers <joseph@codesourcery.com>
36458 * sysdeps/unix/sysv/linux/kernel-features.h
36459 (__ASSUME_POSIX_CPU_TIMERS): Remove.
36460 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
36461 [__NR_clock_getres]: Make code unconditional.
36462 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
36463 (clock_getcpuclockid): Remove code left unreachable by removal of
36465 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
36466 code unconditional.
36467 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
36468 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36469 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
36470 Make code unconditional.
36471 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
36472 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36473 * sysdeps/unix/sysv/linux/clock_settime.c
36474 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
36476 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
36477 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36479 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
36482 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
36483 scripts/test-installation.pl.
36485 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
36486 and $ld_so_version if it is set.
36488 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
36491 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
36492 failure if reading from procfs failed.
36493 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
36495 2012-08-27 Joseph Myers <joseph@codesourcery.com>
36497 * sysdeps/unix/sysv/linux/kernel-features.h
36498 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
36499 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
36500 Remove conditional code.
36501 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36502 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
36503 Remove conditional code.
36504 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36505 * sysdeps/unix/sysv/linux/i386/fxstat.c
36506 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36507 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36508 * sysdeps/unix/sysv/linux/i386/fxstatat.c
36509 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36510 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36511 * sysdeps/unix/sysv/linux/i386/lxstat.c
36512 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36513 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36514 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
36515 Remove conditional code.
36516 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36517 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
36518 Remove conditional code.
36519 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36520 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
36521 <kernel-features.h>.
36522 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
36524 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
36525 Remove conditional code.
36526 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36527 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
36528 Remove conditional.
36530 2012-08-27 Mike Frysinger <vapier@gentoo.org>
36533 * NEWS: Add fixed bug number.
36535 2012-08-27 Joseph Myers <joseph@codesourcery.com>
36538 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
36539 underflowing exponent in case of negative sign.
36540 * stdlib/tst-strtod-round-data: Add more tests.
36541 * stdlib/tst-strtod-round.c (tests): Regenerated.
36544 * stdlib/strtod_l.c (NDIG): Remove.
36545 (HEXNDIG): Likewise.
36546 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
36547 smallest representable value.
36548 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
36549 lie within an exact representation of 1/2 ulp of the result.
36550 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
36552 (TENS_P9_IDX): Define unconditionally.
36553 (TENS_P9_SIZE): Likewise.
36554 (TENS_P10_IDX): Likewise.
36555 (TENS_P10_SIZE): Likewise.
36556 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
36557 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
36558 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
36559 entries for 10^2^13 and 10^2^14.
36560 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
36561 (TENS_P13_IDX): Define.
36562 (TENS_P13_SIZE): Likewise.
36563 (TENS_P14_IDX): Likewise.
36564 (TENS_P14_SIZE): Likewise.
36565 (_fpioconst_pow10): Change array size to
36566 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
36568 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
36569 1024]: Add entries for 10^2^13 and 10^2^14.
36570 [LAST_POW10 > _LAST_POW10]: Remove #error.
36571 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
36572 (_fpioconst_pow10): Change array size to
36573 FPIOCONST_POW10_ARRAY_SIZE.
36574 * stdlib/gen-fpioconst.c: New file.
36575 * stdlib/gen-tst-strtod-round.c: Likewise.
36576 * stdlib/tst-strtod-round-data: Likewise.
36577 * stdlib/tst-strtod-round.c: Likewise.
36578 * stdlib/Makefile (tests): Add tst-strtod-round.
36581 * stdlib/strtod_l.c: Include <stdint.h>.
36582 (NDEBUG): Do not define.
36583 (round_and_return): Change EXPONENT parameter to type intmax_t.
36584 Rearrange calculations to avoid internal overflow possibilities.
36585 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
36586 Rearrange calculations to avoid internal overflow possibilities.
36587 Assert that number fits inside MPNSIZE limbs.
36588 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
36589 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
36590 calculations and add assertions to avoid internal overflow
36591 possibilities. Add casts to avoid signed/unsigned operations.
36592 * stdlib/tst-strtod-overflow.c: New file.
36593 * stdlib/Makefile (tests): Add tst-strtod-overflow.
36595 2012-08-25 Marek Polacek <polacek@redhat.com>
36597 * time/time.h: Fix some typos in comments.
36599 2012-08-23 Roland McGrath <roland@hack.frob.com>
36601 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
36602 * posix/tst-rfc3484-2.c: Likewise.
36603 * posix/tst-rfc3484-3.c: Likewise.
36605 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
36607 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
36608 (EF_ARM_ABI_FLOAT_HARD): Likewise.
36610 2012-08-23 Joseph Myers <joseph@codesourcery.com>
36612 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
36613 #include of fxstatat64.c.
36615 2012-08-22 Roland McGrath <roland@hack.frob.com>
36617 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
36618 * shadow/getspent_r.c: Likewise.
36619 * shadow/getspnam.c: Likewise.
36620 * shadow/getspnam_r.c: Likewise.
36621 * gshadow/getsgent.c: Likewise.
36622 * gshadow/getsgent_r.c: Likewise.
36623 * gshadow/getsgnam.c: Likewise.
36624 * gshadow/getsgnam_r.c: Likewise.
36625 * inet/getnetbyad.c: Likewise.
36626 * inet/getnetbyad_r.c: Likewise.
36627 * inet/getnetbynm.c: Likewise.
36628 * inet/getnetbynm_r.c: Likewise.
36629 * inet/getnetent.c: Likewise.
36630 * inet/getnetent_r.c: Likewise.
36631 * inet/getproto.c: Likewise.
36632 * inet/getproto_r.c: Likewise.
36633 * inet/getprtent.c: Likewise.
36634 * inet/getprtent_r.c: Likewise.
36635 * inet/getprtname.c: Likewise.
36636 * inet/getprtname_r.c: Likewise.
36637 * inet/getrpcbyname.c: Likewise.
36638 * inet/getrpcbyname_r.c: Likewise.
36639 * inet/getrpcbynumber.c: Likewise.
36640 * inet/getrpcbynumber_r.c: Likewise.
36641 * inet/getrpcent.c: Likewise.
36642 * inet/getrpcent_r.c: Likewise.
36643 * inet/getaliasent.c: Likewise.
36644 * inet/getaliasent_r.c: Likewise.
36645 * inet/getaliasname.c: Likewise.
36646 * inet/getaliasname_r.c: Likewise.
36647 * nscd/getgrgid_r.c: Likewise.
36648 * nscd/getgrnam_r.c: Likewise.
36649 * nscd/gethstbyad_r.c: Likewise.
36650 * nscd/gethstbynm3_r.c: Likewise.
36651 * nscd/getpwnam_r.c: Likewise.
36652 * nscd/getpwuid_r.c: Likewise.
36653 * nscd/getsrvbynm_r.c: Likewise.
36654 * nscd/getsrvbypt_r.c: Likewise.
36655 * nscd/gai.c: Likewise.
36657 * configure.in (build_nscd): New substituted variable, set
36658 by --disable-build-nscd and defaults to $use_nscd.
36659 * configure: Regenerated.
36660 * config.make.in (build-nscd): New substituted variable.
36661 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
36662 Change conditional to require [$(build-nscd) = yes] as well.
36663 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
36666 * configure.in (use_nscd): New substituted variable, set by
36667 --disable-nscd. If enabled, define USE_NSCD.
36668 * configure: Regenerated.
36669 * config.h.in: Add USE_NSCD.
36670 * config.make.in (use-nscd): New substituted variable.
36671 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
36672 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
36673 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
36674 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
36675 (CFLAGS-getgrnam_r.c): Likewise.
36676 (CFLAGS-initgroups.c): Likewise.
36677 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
36678 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
36680 * inet/getnetgrent_r.c
36681 (nscd_setnetgrent): New function, broken out of ...
36682 (setnetgrent): ... here. Call it.
36683 (innetgr): Conditionalize nscd bits on [USE_NSCD].
36684 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
36685 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
36686 * nscd/Makefile (routines, aux): Move definitions after include of
36687 Makeconfig. Conditionalize on [$(use-nscd) != no].
36688 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
36689 Conditionalize on [USE_NSCD].
36690 (is_nscd, nscd_init_cb): Likewise.
36691 (nss_load_library): Conditionalize init callback on [USE_NSCD].
36692 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
36693 * nss/nss_db/db-init.c: Likewise.
36694 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
36696 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
36697 (make_request): Use it.
36698 (cache_valid_p): New function.
36699 (__check_pf): Use it.
36700 * NEWS: Add item for --disable-nscd.
36702 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
36704 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
36705 to support sed >= 4.2.1-20-ga9bf076.
36706 * configure: Regenerated.
36708 2012-08-22 Roland McGrath <roland@hack.frob.com>
36710 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
36711 Conditionalize whole body on [IREL].
36713 2012-08-22 Jeff Law <law@redhat.com>
36716 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
36717 if the family is PF_UNSPEC.
36719 2012-08-22 Mike Frysinger <vapier@gentoo.org>
36721 * Makerules (lib-version): Rename from V.
36722 (install-lib-nosubdir): Change V to lib-version.
36724 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
36727 * powerpc32/power6/wcschr.c: New file.
36728 * powerpc32/power6/wcscpy.c: New file.
36729 * powerpc32/power6/wcsrchr.c: New file.
36730 * powerpc64/power6/wcschr.c: New file.
36731 * powerpc64/power6/wcscpy.c: New file.
36732 * powerpc64/power6/wcsrchr.c: New file.
36734 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
36736 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
36737 (two_way_short_needle): Use it.
36738 * string/strstr.c (AVAILABLE1_USES_J): Define.
36739 * string/strcasestr.c: Likewise.
36741 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
36743 * string/strcasestr.c (TOLOWER): Make side-effect safe.
36746 * NEWS: Add an entry.
36747 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
36748 define their defaults.
36749 (two_way_short_needle): Detect end-of-string on-the-fly.
36750 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
36751 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
36752 * string/bug-strcasestr1.c: New test.
36753 * string/Makefile: Run it.
36755 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
36758 * string/str-two-way.h (two_way_short_needle): Optimize matching of
36759 the first character.
36761 2012-08-21 Roland McGrath <roland@hack.frob.com>
36763 * csu/elf-init.c (__libc_csu_irel): Function removed.
36764 * csu/libc-start.c (apply_irel): New function.
36765 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
36767 2012-08-21 Joseph Myers <joseph@codesourcery.com>
36769 * sysdeps/unix/sysv/linux/kernel-features.h
36770 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
36771 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
36772 <kernel-features.h>.
36773 [__NR_fadvise64_64]: Make code unconditional.
36774 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
36775 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
36776 !__NR_fadvise64_64)]: Likewise.
36777 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
36778 !__NR_fadvise64_64))]: Likewise.
36779 [__NR_fadvise64]: Make code unconditional.
36780 [!__NR_fadvise64]: Remove conditional code.
36781 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
36782 <kernel-features.h>.
36783 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36785 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
36788 not include <kernel-features.h>.
36789 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36791 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36793 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
36794 include <kernel-features.h>.
36795 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36797 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36800 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36802 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
36803 slight instruction rearrangements per scrollpipe analysis.
36804 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
36806 2012-08-20 Roland McGrath <roland@hack.frob.com>
36808 * manual/syslog.texi (syslog; vsyslog, closelog):
36809 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
36810 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
36812 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
36813 DSOCAPS to match condition on defining it.
36815 2012-08-20 Joseph Myers <joseph@codesourcery.com>
36817 * sysdeps/unix/sysv/linux/kernel-features.h
36818 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
36819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
36820 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36821 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
36823 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36824 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
36826 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36827 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36829 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
36830 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
36832 * sysdeps/unix/sysv/linux/kernel-features.h
36833 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
36834 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
36836 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36837 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
36838 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
36839 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36840 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
36841 Make code unconditional.
36842 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36843 (__mmap64) [!__NR_mmap2]: Likewise.
36844 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
36845 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
36846 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36847 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
36848 [__NR_mmap2]: Make code unconditional.
36849 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36850 (__mmap64) [!__NR_mmap2]: Likewise.
36852 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36854 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
36856 2012-08-18 Andreas Jaeger <aj@suse.de>
36858 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
36860 2012-08-18 Mike Frysinger <vapier@gentoo.org>
36862 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
36863 * include/unistd.h (__have_sock_cloexec): Likewise.
36864 (__have_pipe2): Likewise.
36865 (__have_dup3): Likewise.
36867 2012-08-18 Mike Frysinger <vapier@gentoo.org>
36870 * include/unistd.h (__have_pipe2): Change define into an extern int.
36871 (__have_dup3): Likewise.
36872 * socket/have_sock_cloexec.c: Include fcntl.h.
36873 (__have_pipe2): New variable.
36874 (__have_dup3): Likewise.
36876 2012-08-17 Mike Frysinger <vapier@gentoo.org>
36878 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
36880 2012-08-17 Marek Polacek <polacek@redhat.com>
36882 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
36883 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
36885 2012-08-17 Roland McGrath <roland@hack.frob.com>
36887 * configure.in: Add AC_SUBST for sysheaders.
36888 * configure: Regenerated.
36889 * config.make.in (sysheaders): New substituted variable.
36891 * sysdeps/unix/mkfifo.c: Moved ...
36892 * sysdeps/posix/mkfifo.c: ... here.
36893 * sysdeps/unix/mkfifoat.c: Moved ...
36894 * sysdeps/posix/mkfifoat.c: ... here.
36896 * sysdeps/unix/utime.c: Moved ...
36897 * sysdeps/posix/utime.c: ... here.
36899 * sysdeps/unix/time.c: Moved ...
36900 * sysdeps/posix/time.c: ... here.
36901 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
36902 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
36904 * sysdeps/unix/nice.c: Moved ...
36905 * sysdeps/posix/nice.c: ... here.
36907 * sysdeps/unix/alarm.c: Moved ...
36908 * sysdeps/posix/alarm.c: ... here.
36910 * intl/Makefile ($(codeset_mo)): Depend on the input file.
36912 2012-08-17 Jeff Law <law@redhat.com>
36914 * intl/Makefile (codeset_mo): New variable.
36915 ($(codeset_mo)): New target.
36916 (tst-codeset.out): Depend on that. Remove explicit rule.
36917 (tst-gettext3.out, tst-gettext5.out): Likewise.
36918 (LOCPATH-ENV, tst-codeset-ENV): New variables.
36919 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
36920 * intl/tst-codeset.sh: Remove.
36921 * intl/tst-gettext3.sh: Likewise.
36922 * intl/tst-gettext5.sh: Likewise.
36924 2012-08-17 Roland McGrath <roland@hack.frob.com>
36926 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
36927 * sysdeps/unix/syscalls.list: ... here.
36929 * sysdeps/posix/getaddrinfo.c
36930 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
36931 (gaiconf_init, gaiconf_reload): Use them.
36932 [!_STATBUF_ST_NSEC]
36933 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
36934 Define using time_t rather than struct timespec.
36936 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
36937 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
36939 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
36941 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
36942 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
36945 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
36946 __libc_cleanup_push argument.
36948 * bits/param.h: New file.
36949 * misc/sys/param.h: New file.
36950 * include/sys/param.h: New file.
36951 * misc/Makefile (headers): Add bits/param.h.
36952 * sysdeps/generic/sys/param.h: File removed.
36953 * sysdeps/unix/sysv/linux/bits/param.h: New file.
36954 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
36955 * sysdeps/mach/hurd/bits/param.h: New file.
36956 * sysdeps/mach/hurd/sys/param.h: File removed.
36958 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
36961 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
36963 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
36964 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
36967 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
36968 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
36969 rather than -D_IO_MTSAFE_IO conditionally.
36970 * stdio-common/Makefile (CPPFLAGS): Likewise.
36971 * wcsmbs/Makefile (CPPFLAGS): Likewise.
36972 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
36973 Use $(libio-mtsafe).
36974 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
36975 of -D_IO_MTSAFE_IO.
36976 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
36977 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
36978 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
36979 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
36980 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
36981 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
36982 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
36983 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
36984 (CFLAGS-fread_u_chk.c): Likewise.
36985 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
36986 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
36987 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
36988 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
36989 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
36990 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
36991 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
36992 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
36993 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
36995 * libio/Makefile: Test [$(libc-reentrant) = yes]
36996 instead of [$(filter %REENTRANT, $(defines)) nonempty].
36999 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
37000 * sysdeps/pthread/configure: File removed.
37001 * sysdeps/pthread/Makeconfig: New file.
37002 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
37003 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
37005 2012-08-16 Gary Benson <gbenson@redhat.com>
37007 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
37008 unmapping the first object in a namespace.
37010 2012-08-16 Roland McGrath <roland@hack.frob.com>
37012 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
37013 (__internal_setnetgrent): ... this. Add internal_function to
37014 definition. Add libc_hidden_def.
37015 (setnetgrent): Update caller.
37016 (internal_endnetgrent): Renamed to ...
37017 (__internal_endnetgrent): ... this. Add internal_function to
37018 definition. Add libc_hidden_def.
37019 (endnetgrent): Update caller.
37020 (internal_getnetgrent_r): Renamed to ...
37021 (__internal_getnetgrent_r): ... this. Add internal_function to
37022 definition. Add libc_hidden_def.
37023 (__getnetgrent_r): Update caller.
37024 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
37026 2012-08-16 Joseph Myers <joseph@codesourcery.com>
37028 * stdlib/longlong.h: Update from GCC.
37030 2012-08-16 Roland McGrath <roland@hack.frob.com>
37032 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
37033 on _QL, which is set by umul_ppmm but never used.
37034 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
37035 variables, which are set by GMP macros but never used.
37036 * stdio-common/_itowa.c (_itowa): Likewise.
37037 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
37038 * stdlib/mod_1.c (mpn_mod_1): Likewise.
37040 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
37042 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
37043 struct La_sh_regs is not constant.
37044 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
37045 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
37046 and struct La_sparc64_regs are not constant.
37048 2012-08-16 Joseph Myers <joseph@codesourcery.com>
37050 * sysdeps/unix/sysv/linux/kernel-features.h
37051 (__ASSUME_POSIX_TIMERS): Remove.
37052 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37053 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37054 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
37055 Make code unconditional.
37056 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37057 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
37058 Make code unconditional.
37059 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37060 * sysdeps/unix/sysv/linux/clock_nanosleep.c
37061 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
37062 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37063 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
37064 Make code unconditional.
37065 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37066 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
37067 (__libc_missing_posix_timers): Remove.
37069 2012-08-15 Roland McGrath <roland@hack.frob.com>
37071 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
37072 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
37074 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
37076 * elf/dl-sym.c: Include <stdlib.h>.
37078 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
37079 constants, which avoids warnings in 32-bit builds.
37081 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
37082 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
37084 * misc/lseek.c: File moved to ...
37085 * io/lseek.c: ... here.
37087 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
37089 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
37090 shifting LEN more than 31 bits at once.
37092 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37095 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
37096 segmentation fault for a case of two empty input strings.
37097 * string/test-strncasecmp.c (check1): Renamed to...
37098 (bz12205): ...this.
37099 (bz14195): Add new testcase for two empty input strings and N > 0.
37100 (test_main): Call new testcase, adapt for renamed function.
37102 2012-08-15 Andreas Jaeger <aj@suse.de>
37105 * crypt/md5test2.c: New test, based on test supplied by Serge
37106 Belyshev <belyshev@depni.sinp.msu.ru>.
37107 * crypt/Makefile (xtests): Add md5test-giant..
37108 * crypt/Makefile ($(objpfx)md5test-giant): Add.
37110 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
37113 * crypt/md5.c (md5_process_block): Don't assume the buffer
37114 length is less than 2**32.
37115 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
37116 length is less than 2**64.
37118 2012-08-15 Roland McGrath <roland@hack.frob.com>
37120 * string/str-two-way.h: Include <sys/param.h>.
37121 (MAX): Macro removed.
37123 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
37124 Move #define and #undef of memmove to just before and after
37125 including <string.h>.
37127 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
37128 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
37129 and after including <string.h>. Move declarations of
37130 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
37131 to before #include "string/memmove.c".
37133 * include/dirent.h: Declare __getdirentries.
37135 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
37136 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
37138 2012-08-14 Mike Frysinger <vapier@gentoo.org>
37140 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
37141 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
37142 * sysdeps/i386/configure: Regenerated.
37143 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
37144 STABS_CURRENT_FILE, and STABS_FUN.
37145 (END): Remove call to STABS_FUN_END.
37146 (STABS_CURRENT_FILE1): Delete.
37147 (STABS_CURRENT_FILE): Likewise.
37148 (STABS_FUN): Likewise.
37149 (STABS_FUN_END): Likewise.
37150 (STABS_FUN2): Likewise.
37151 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
37152 * sysdeps/x86_64/configure: Regenerated.
37154 2012-08-14 Roland McGrath <roland@hack.frob.com>
37156 * elf/dl-open.c: Include <atomic.h>.
37157 * elf/dl-lookup.c: Likewise.
37159 2012-08-14 Joseph Myers <joseph@codesourcery.com>
37161 * sysdeps/unix/sysv/linux/kernel-features.h
37162 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
37163 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
37165 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
37167 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
37168 condition on __ASSUME_CLONE_THREAD_FLAGS.
37170 2012-08-14 Andreas Jaeger <aj@suse.de>
37172 * sysdeps/i386/fpu/libm-test-ulps: Update.
37174 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
37176 * include/atomic.h (atomic_exchange_and_add): Split into ...
37177 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
37180 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
37182 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37184 2012-08-13 Jeff Law <law@redhat.com>
37186 * manual/stdio.texi (snprintf): Clarify handling of the trailing
37187 null byte in the output string.
37189 2012-08-10 Joseph Myers <joseph@codesourcery.com>
37191 * sysdeps/unix/sysv/linux/kernel-features.h
37192 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
37193 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
37194 (__ASSUME_ARG_MAX_STACK_BASED): Define.
37195 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
37196 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
37197 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
37198 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
37200 2012-08-09 Jeff Law <law@redhat.com>
37203 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
37204 When avoid_arena is set, don't retry in the that arena. Pick the
37205 next one, whatever it might be.
37206 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
37207 (arena_lock): Pass in new parameter to arena_get2.
37208 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
37210 (__libc_malloc): Unify retrying after main arena failure with
37211 __libc_memalign version.
37212 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
37214 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
37217 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
37218 to __redirect_strstr.
37219 (__strstr_sse42): Use typeof __redirect_strstr.
37220 (__strstr_ia32): Likewise.
37221 (__libc_strstr): New prototype.
37222 (strstr): Renamed to ...
37223 (__libc_strstr): This.
37224 (strstr): New strong alias of __libc_strstr.
37225 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
37226 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
37229 (__libc_time): New prototype.
37230 (time_ifunc): Replace time with __libc_time.
37231 (time): New strong alias and hidden definition of __libc_time.
37232 (__GI_time): Remove strong alias.
37233 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
37234 Include <stddef.h>.
37235 (memmove): Redefined to __redirect_memmove.
37236 (__memmove_sse2): Use typeof __redirect_memmove.
37237 (__memmove_ssse3): Likewise.
37238 (__memmove_ssse3_back): Likewise.
37239 (__libc_memmove): New prototype.
37240 (memmove): Renamed to ...
37241 (__libc_memmove): This.
37242 (memmove): New strong alias of __libc_memmove.
37244 2012-08-08 Mark Salter <msalter@redhat.com>
37247 (R_MN10300_TLS_GD): Define.
37248 (R_MN10300_TLS_LD): Likewise.
37249 (R_MN10300_TLS_LDO): Likewise.
37250 (R_MN10300_TLS_GOTIE): Likewise.
37251 (R_MN10300_TLS_IE): Likewise.
37252 (R_MN10300_TLS_LE): Likewise.
37253 (R_MN10300_TLS_DTPMOD): Likewise.
37254 (R_MN10300_TLS_DTPOFF): Likewise.
37255 (R_MN10300_TLS_TPOFF): Likewise.
37256 (R_MN10300_SYM_DIFF): Likewise.
37257 (R_MN10300_ALIGN): Likewise.
37258 (R_MN10300_NUM): Update.
37260 2012-08-08 Joseph Myers <joseph@codesourcery.com>
37262 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
37265 2012-08-08 Roland McGrath <roland@hack.frob.com>
37267 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
37269 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
37270 sysdeps/unix -> sysdeps/posix move.
37271 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
37273 2012-08-07 Allan McRae <allan@archlinux.org>
37276 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
37277 (SUNOS_CPP): Likewise.
37278 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
37280 (open_input): Call CPP using execvp.
37282 2012-08-07 Joseph Myers <joseph@codesourcery.com>
37284 * sysdeps/unix/sysv/linux/kernel-features.h
37285 (__ASSUME_PROT_GROWSUPDOWN): Remove.
37286 (__ASSUME_NO_CLONE_DETACHED): Likewise.
37287 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
37288 (__ASSUME_WAITID_SYSCALL): Likewise.
37289 * sysdeps/unix/sysv/linux/dl-execstack.c
37290 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
37291 code unconditional.
37292 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
37294 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
37295 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
37296 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
37298 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
37300 [__ASSUME_WAITID_SYSCALL]: Likewise.
37301 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
37303 2012-08-07 Roland McGrath <roland@hack.frob.com>
37305 * sysdeps/unix/closedir.c: Renamed to ...
37306 * sysdeps/posix/closedir.c: ... here.
37307 * sysdeps/unix/dirfd.c: Renamed to ...
37308 * sysdeps/posix/dirfd.c: ... here.
37309 * sysdeps/unix/dirstream.h: Renamed to ...
37310 * sysdeps/posix/dirstream.h: ... here.
37311 * sysdeps/unix/fdopendir.c: Renamed to ...
37312 * sysdeps/posix/fdopendir.c: ... here.
37313 * sysdeps/unix/opendir.c: Renamed to ...
37314 * sysdeps/posix/opendir.c: ... here.
37315 * sysdeps/unix/readdir.c: Renamed to ...
37316 * sysdeps/posix/readdir.c: ... here.
37317 * sysdeps/unix/readdir_r.c: Renamed to ...
37318 * sysdeps/posix/readdir_r.c: ... here.
37319 * sysdeps/unix/rewinddir.c: Renamed to ...
37320 * sysdeps/posix/rewinddir.c: ... here.
37321 * sysdeps/unix/seekdir.c: Renamed to ...
37322 * sysdeps/posix/seekdir.c: ... here.
37323 * sysdeps/unix/telldir.c: Renamed to ...
37324 * sysdeps/posix/telldir.c: ... here.
37325 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
37326 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
37327 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
37328 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
37330 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
37331 * bits/fcntl.h: ... here.
37333 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
37335 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
37336 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
37337 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
37338 (struct flock): Move l_start, l_len to the beginning.
37339 Use __pid_t for l_pid.
37340 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
37341 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
37342 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
37343 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
37344 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
37345 [__USE_LARGEFILE64] (struct flock64): New type.
37346 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
37348 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
37349 * bits/dirent.h: ... here.
37351 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
37352 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
37354 2012-08-07 Joseph Myers <joseph@codesourcery.com>
37356 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37357 Change from 2.6.0 to 2.6.16.
37358 * sysdeps/unix/sysv/linux/configure: Regenerated.
37359 * sysdeps/unix/sysv/linux/kernel-features.h
37360 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
37361 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
37363 (__ASSUME_UTIMES): Likewise.
37364 (__ASSUME_CLONE_STOPPED): Remove.
37365 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
37366 architectures, not kernel version.
37367 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
37368 (__ASSUME_NO_CLONE_DETACHED): Likewise.
37369 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
37370 (__ASSUME_WAITID_SYSCALL): Likewise.
37371 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
37372 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
37373 * README: State 2.6.16 as minimum Linux kernel version. Do not
37374 refer to older versions.
37376 2012-08-06 Roland McGrath <roland@hack.frob.com>
37378 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
37379 Define alphasort64 as an alias.
37380 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
37381 Define versionsort64 as an alias.
37382 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
37383 Define scandir64 as an alias.
37384 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
37385 Define scandirat64 as an alias.
37386 * dirent/alphasort64.c (alphasort64):
37387 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
37388 * dirent/versionsort64.c: Likewise.
37389 * dirent/scandir64.c: Likewise.
37390 * dirent/scandirat64.c: Likewise.
37391 * sysdeps/wordsize-64/alphasort.c: File removed.
37392 * sysdeps/wordsize-64/alphasort64.c: File removed.
37393 * sysdeps/wordsize-64/scandir.c: File removed.
37394 * sysdeps/wordsize-64/scandir64.c: File removed.
37395 * sysdeps/wordsize-64/scandirat.c: File removed.
37396 * sysdeps/wordsize-64/scandirat64.c: File removed.
37397 * sysdeps/wordsize-64/versionsort.c: File removed.
37398 * sysdeps/wordsize-64/versionsort64.c: File removed.
37399 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
37400 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
37401 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
37402 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
37403 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
37404 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
37405 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
37406 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
37408 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
37409 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
37410 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
37411 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37412 [defined __arch64__ || defined __sparcv9]
37413 (__INO_T_MATCHES_INO64_T): New macro.
37414 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37415 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
37416 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
37417 * sysdeps/unix/sysv/linux/bits/dirent.h
37418 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
37419 (_DIRENT_MATCHES_DIRENT64): New macro.
37421 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
37422 Define lockf64 as an alias.
37423 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
37424 Define fseeko64 as an alias.
37425 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
37426 Define ftello64 as an alias.
37427 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
37428 Define _IO_fgetpos64 and fgetpos64 as aliases.
37429 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
37430 Define _IO_fsetpos64 and fsetpos64 as aliases.
37431 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
37432 Conditionalize body on this.
37433 * libio/fseeko64.c: Likewise.
37434 * libio/ftello64.c: Likewise.
37435 * libio/iofgetpos64.c: Likewise.
37436 * libio/iofsetpos64.c: Likewise.
37437 * sysdeps/wordsize-64/lockf.c: File removed.
37438 * sysdeps/wordsize-64/lockf64.c: File removed.
37439 * sysdeps/wordsize-64/fseeko.c: File removed.
37440 * sysdeps/wordsize-64/fseeko64.c: File removed.
37441 * sysdeps/wordsize-64/ftello.c: File removed.
37442 * sysdeps/wordsize-64/ftello64.c: File removed.
37443 * sysdeps/wordsize-64/iofgetpos.c: File removed.
37444 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
37445 * sysdeps/wordsize-64/iofsetpos.c: File removed.
37446 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
37447 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
37448 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
37449 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
37450 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
37451 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
37452 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
37453 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
37454 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
37455 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
37456 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
37458 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
37459 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
37460 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
37461 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37462 [defined __arch64__ || defined __sparcv9]
37463 (__OFF_T_MATCHES_OFF64_T): New macro.
37464 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37465 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
37466 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37467 (__OFF_T_MATCHES_OFF64_T): New macro.
37469 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
37471 * stdlib/secure-getenv.c (__secure_getenv): Replace
37472 GLIBC_2_16 with GLIBC_2_17.
37474 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
37476 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
37477 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
37479 2012-08-03 David S. Miller <davem@davemloft.net>
37481 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37483 2012-08-03 Joseph Myers <joseph@codesourcery.com>
37485 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
37487 (__ASSUME_CORRECT_SI_PID): Likewise.
37488 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
37489 (__ASSUME_TMPFS_NAME): Likewise.
37490 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
37491 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
37492 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
37493 (HAVE_AUX_SECURE): Make definition unconditional.
37494 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
37495 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
37497 2012-08-03 Roland McGrath <roland@hack.frob.com>
37499 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
37500 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
37501 * sysdeps/mach/hurd/eloop-threshold.h: New file.
37502 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
37503 __eloop_threshold instead of SYMLOOP_MAX.
37505 * sysdeps/generic/eloop-threshold.h: New file.
37506 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
37508 * elf/chroot_canon.c (chroot_canon): Likewise.
37510 2012-08-03 Joseph Myers <joseph@codesourcery.com>
37513 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37514 Change to 2.6.0 everywhere.
37515 * sysdeps/unix/sysv/linux/configure: Regenerated.
37516 * sysdeps/unix/sysv/linux/kernel-features.h
37517 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
37518 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
37520 (__ASSUME_POSIX_TIMERS): Define unconditionally.
37521 (__ASSUME_FUTEX_REQUEUE): Remove.
37522 (__ASSUME_STATFS64): Define unconditionally.
37523 (__ASSUME_AT_SECURE): Likewise.
37524 (__ASSUME_CORRECT_SI_PID): Likewise.
37525 (__ASSUME_TGKILL): Define without depending on kernel version for
37527 (__ASSUME_UTIMES): Likewise.
37528 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
37530 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
37531 (__ASSUME_TMPFS_NAME): Likewise.
37532 * README: Update reference to Linux kernel versions.
37534 2012-08-02 Marek Polacek <polacek@redhat.com>
37537 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
37538 libc_cv_asm_type_prefix with %.
37539 * configure: Regenerated.
37540 * include/libc-symbols.h: Remove comment about
37541 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
37542 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
37543 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
37544 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
37545 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
37546 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
37547 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
37548 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
37549 * elf/tst-unique2mod1.c: Likewise.
37550 * elf/tst-unique1mod2.c: Likewise.
37551 * elf/tst-unique1mod1.c: Likewise.
37552 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
37553 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
37554 Replace ASM_TYPE_DIRECTIVE with .type.
37555 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37556 * sysdeps/i386/sysdep.h: Likewise.
37557 * sysdeps/x86_64/sysdep.h: Likewise.
37558 * sysdeps/sh/sysdep.h: Likewise.
37559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
37560 Do not define ASM_TYPE_DIRECTIVE.
37561 * sysdeps/powerpc/sysdep.h: Likewise.
37562 * sysdeps/powerpc/powerpc32/sysdep.h:
37563 Replace ASM_TYPE_DIRECTIVE with .type.
37564 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
37565 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
37566 * sysdeps/i386/fpu/e_powf.S: Likewise.
37567 * sysdeps/i386/fpu/e_expl.S: Likewise.
37568 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37569 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37570 * sysdeps/i386/fpu/e_pow.S: Likewise.
37571 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
37572 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37573 * sysdeps/i386/fpu/s_expm1.S: Likewise.
37574 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
37575 * sysdeps/i386/fpu/e_log2.S: Likewise.
37576 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37577 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37578 * sysdeps/i386/fpu/e_powl.S: Likewise.
37579 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37580 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
37581 * sysdeps/i386/fpu/e_logl.S: Likewise.
37582 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
37583 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
37584 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
37585 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37586 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37587 * sysdeps/i386/fpu/e_log.S: Likewise.
37588 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37589 * sysdeps/i386/fpu/e_logf.S: Likewise.
37590 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37591 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37592 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
37593 * sysdeps/i386/fpu/e_log10.S: Likewise.
37594 * sysdeps/i386/fpu/s_frexp.S: Likewise.
37595 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37596 * sysdeps/i386/fpu/s_asinh.S: Likewise.
37597 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
37598 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37599 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
37600 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
37601 * sysdeps/i386/i686/strtok.S: Likewise.
37602 * sysdeps/i386/i386-mcount.S: Likewise.
37603 * sysdeps/i386/strtok.S: Likewise.
37604 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
37605 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37606 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37607 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37608 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37609 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37610 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
37611 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
37612 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37613 * sysdeps/x86_64/_mcount.S: Likewise.
37614 * sysdeps/x86_64/strtok.S: Likewise.
37615 * sysdeps/sh/_mcount.S: Likewise.
37617 2012-08-01 Roland McGrath <roland@hack.frob.com>
37619 * libio/iofopen.c: Include <fcntl.h>.
37620 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
37621 (_IO_fopen64, fopen64): Define as aliases.
37622 * libio/iofopen64.c: Include <fcntl.h>.
37623 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
37624 Conditionalize body on this.
37625 * sysdeps/wordsize-64/iofopen.c: File removed.
37626 * sysdeps/wordsize-64/iofopen64.c: File removed.
37628 2012-08-01 Marek Polacek <polacek@redhat.com>
37630 * libc/Makeconfig: Use elf in place of binfmt-subdir.
37631 Use dlfcn directly instead of a variable.
37632 (binfmt-subdir): Do not define.
37635 2012-08-01 Joseph Myers <joseph@codesourcery.com>
37637 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
37638 Remove all definitions.
37639 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
37640 <kernel-features.h>.
37641 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
37642 (miss_F_GETOWN_EX): Remove all definitions.
37643 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
37645 [!__ASSUME_FCNTL64]: Remove conditional code.
37646 [__ASSUME_FCNTL64]: Make code unconditional.
37647 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
37648 <kernel-features.h>.
37649 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
37650 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
37651 (lockf64) [__NR_fcntl64]: Make code unconditional.
37652 (lockf64) [__ASSUME_FCNTL64]: Likewise.
37654 * sysdeps/unix/sysv/linux/kernel-features.h
37655 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
37656 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
37657 Make code unconditional.
37658 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37659 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
37661 [__NR_vfork]: Make code unconditional.
37662 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37663 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
37665 [__NR_vfork]: Make code unconditional.
37666 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37667 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37669 2012-08-01 Roland McGrath <roland@hack.frob.com>
37671 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
37672 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
37674 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37675 Define mkstemp64 as an alias.
37676 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37677 Define mkstemps64 as an alias.
37678 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37679 Define mkostemp64 as an alias.
37680 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37681 Define mkostemps64 as an alias.
37682 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
37683 Conditionalize body on this.
37684 * misc/mkostemp64.c: Likewise.
37685 * misc/mkostemps64.c: Likewise.
37686 * misc/mkstemps64.c: Likewise.
37687 * sysdeps/wordsize-64/mkstemp64.c: File removed.
37688 * sysdeps/wordsize-64/mkostemp64.c: File removed.
37689 * sysdeps/wordsize-64/mkostemp.c: File removed.
37690 * sysdeps/wordsize-64/mkstemp.c: File removed.
37691 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
37692 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
37693 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
37694 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
37697 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
37698 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
37699 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
37700 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
37702 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
37703 compat_symbol macros from <shlib-compat.h> rather than the underlying
37704 default_symbol_version and symbol_version macros, so that DEFAULT
37705 lines in shlib-versions are respected.
37706 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
37708 2012-08-01 Florian Weimer <fweimer@redhat.com>
37710 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
37711 Declare with warn_unused_result.
37712 (setgid, setregid, setegid, setresgid): Likewise.
37713 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
37715 * WUR-REPORT: Remove set*id functions.
37717 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
37719 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
37721 2012-07-31 Roland McGrath <roland@hack.frob.com>
37724 * include/sys/socket.h (__libc_accept, __libc_accept4):
37725 Add attribute_hidden.
37726 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
37728 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
37730 * inet/getnetgrent_r.c (setup): Likewise.
37732 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
37734 2012-07-31 David S. Miller <davem@davemloft.net>
37736 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37738 2012-07-31 Joseph Myers <joseph@codesourcery.com>
37741 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
37742 value between 1.0 and 2.0 and smaller part has absolute value less
37744 * math/s_clog10.c (__clog10): Likewise.
37745 * math/s_clog10f.c (__clog10f): Likewise.
37746 * math/s_clog10l.c (__clog10l): Likewise.
37747 * math/s_clogf.c (__clogf): Likewise.
37748 * math/s_clogl.c (__clogl): Likewise.
37749 * math/libm-test.inc (clog_test): Add more tests.
37750 (clog10_test): Likewise.
37751 * sysdeps/i386/fpu/libm-test-ulps: Update.
37752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37754 2012-07-31 Florian Weimer <fweimer@redhat.com>
37756 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
37757 Exit with zero in case no suitable GID is found, and write a
37758 message to standard error.
37760 2012-07-30 Roland McGrath <roland@hack.frob.com>
37762 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
37764 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
37765 (MAXPATHLEN): Removed.
37766 (NOGROUP, NODEV): New macros.
37767 (setbit, clrbit, isset, isclr): New macros.
37768 (howmany, roundup, powerof2): New macros.
37769 (DEV_BSIZE): New macro.
37771 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
37772 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
37774 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
37775 definition on [!__NO_LONG_DOUBLE_MATH].
37777 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
37778 PTR_MANGLE and PTR_DEMANGLE.
37780 * socket/accept4.c (accept4): Rename to __libc_accept4.
37781 Define accept4 as a weak alias.
37783 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
37784 on [_DIRENT_HAVE_D_TYPE].
37785 * io/ftw.c (ftw_dir): Likewise.
37787 * io/xmknod.c (__xmknod): Don't check PATH for being null.
37789 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
37791 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
37792 Use the BSD numbers rather than the arbitrary ones we had.
37793 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
37794 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
37795 (SIGXCPU, SIGXFSZ): New macros.
37798 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
37799 initializer on [_LIBC_REENTRANT].
37801 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
37802 definitions inside [_POSIX_MAPPED_FILES].
37804 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
37806 * dirent/opendir.c: Include <fcntl.h>.
37808 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
37809 (__libc_getspecific): Likewise.
37810 (__libc_key_create): Likewise.
37812 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
37813 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
37814 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
37815 (tmpfile64): Define as alias.
37816 * sysdeps/wordsize-64/tmpfile.c: File removed.
37817 * sysdeps/wordsize-64/tmpfile64.c: File removed.
37818 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
37819 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
37821 * stdio-common/vfscanf.c: Include <stdbool.h>.
37822 * nss/makedb.c: Likewise.
37823 * stdio-common/_i18n_number.h: Likewise.
37824 * argp/argp-help.c: Likewise.
37825 * posix/wordexp.c: Likewise.
37826 * sysdeps/posix/spawni.c: Likewise.
37827 * nss/nss_files/files-initgroups.c: Likewise.
37828 * stdio-common/reg-modifier.c: Include <stdlib.h>.
37829 * nss/nss_files/files-initgroups.c: Likewise.
37830 * nss/nss_db/db-netgrp.c: Likewise.
37831 * nss/nss_db/db-initgroups.c: Likewise.
37832 * io/fchmodat.c: Include <sys/stat.h>.
37834 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
37835 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
37837 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
37840 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
37841 Add multiple inclusion protection.
37843 2012-07-27 David S. Miller <davem@davemloft.net>
37845 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37847 2012-07-27 Gary Benson <gbenson@redhat.com>
37850 * elf/rtld.c: Include <stap-probe.h>.
37851 (dl_main): Added static probes "init_start" and "init_complete".
37852 * elf/dl-load.c: Include <stap-probe.h>.
37853 (lose): Take new parameter "nsid".
37854 Added static probe "map_failed".
37855 (_dl_map_object_from_fd): Pass namespace id to lose.
37856 Added static probe "map_start".
37857 (open_verify): Pass namespace id to lose.
37858 * elf/dl-open.c: Include <stap-probe.h>.
37859 (dl_open_worker) Added static probes "map_complete", "reloc_start"
37860 and "reloc_complete".
37861 * elf/dl-close.c: Include <stap-probe.h>.
37862 (_dl_close_worker): Added static probes "unmap_start" and
37864 * elf/rtld-debugger-interface.txt: New file documenting the above.
37866 2012-07-26 Roland McGrath <roland@hack.frob.com>
37868 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
37869 rather than a string variable.
37870 * sunrpc/rpc_main.c (h_output): Likewise.
37871 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
37873 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
37875 * inet/check_native.c: New file.
37877 2012-07-26 Joseph Myers <joseph@codesourcery.com>
37880 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
37881 if larger part has absolute value 1.0.
37882 * math/s_clog10.c (__clog10): Likewise.
37883 * math/s_clog10f.c (__clog10f): Likewise.
37884 * math/s_clog10l.c (__clog10l): Likewise.
37885 * math/s_clogf.c (__clogf): Likewise.
37886 * math/s_clogl.c (__clogl): Likewise.
37887 * math/libm-test.inc (clog_test): Add more tests.
37888 (clog10_test): Likewise.
37889 * sysdeps/i386/fpu/libm-test-ulps: Update.
37890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37892 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
37893 (pltexit): Likewise.
37894 (La_regs): Likewise.
37895 (La_retval): Likewise.
37896 (int_retval): Likewise.
37897 Update #error for removed macros to refer only to definitions in
37899 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
37901 (pltexit): Likewise.
37902 (La_regs): Likewise.
37903 (La_retval): Likewise.
37904 (int_retval): Likewise.
37905 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
37907 (pltexit): Likewise.
37908 (La_regs): Likewise.
37909 (La_retval): Likewise.
37910 (int_retval): Likewise.
37911 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
37913 (pltexit): Likewise.
37914 (La_regs): Likewise.
37915 (La_retval): Likewise.
37916 (int_retval): Likewise.
37917 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
37919 (pltexit): Likewise.
37920 (La_regs): Likewise.
37921 (La_retval): Likewise.
37922 (int_retval): Likewise.
37923 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
37925 (pltexit): Likewise.
37926 (La_regs): Likewise.
37927 (La_retval): Likewise.
37928 (int_retval): Likewise.
37929 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
37931 (pltexit): Likewise.
37932 (La_regs): Likewise.
37933 (La_retval): Likewise.
37934 (int_retval): Likewise.
37935 * sysdeps/generic/tst-audit.h: Update comment to refer only to
37936 macro definitions in tst-audit.h.
37937 * sysdeps/i386/tst-audit.h: New file.
37938 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
37939 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
37940 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
37941 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
37942 * sysdeps/sh/tst-audit.h: Likewise.
37943 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
37944 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
37945 * sysdeps/x86_64/tst-audit.h: Likewise.
37947 2012-07-26 Andreas Jaeger <aj@suse.de>
37949 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
37952 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
37953 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
37954 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
37956 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
37957 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
37958 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
37960 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
37963 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
37965 (si_call_addr, si_syscall, si_arch): Define new macro.
37966 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
37968 (si_call_addr, si_syscall, si_arch): Define new marcro.
37969 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
37971 (si_call_addr, si_syscall, si_arch): Define new macro.
37972 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
37974 (si_call_addr, si_syscall, si_arch): Define new macro.
37976 2012-07-25 Joseph Myers <joseph@codesourcery.com>
37979 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37980 Change to 2.4.21 where previously 2.4.1.
37981 * sysdeps/unix/sysv/linux/configure: Regenerated.
37982 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
37983 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
37984 Linux kernel version.
37985 (__ASSUME_STD_AUXV): Remove.
37986 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
37988 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
37989 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
37990 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
37991 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
37992 (__ASSUME_NETLINK_SUPPORT): Likewise.
37993 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
37994 (__no_netlink_support): Remove conditional definition.
37995 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
37997 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
37998 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
37999 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
38000 (if_nameindex_ioctl): Remove.
38001 (if_nameindex_netlink): Do not handle __no_netlink_support.
38002 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
38004 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
38005 Remove conditional code.
38006 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
38008 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
38010 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
38011 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
38012 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
38014 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
38015 [!__ASSUME_STD_AUXV]: Remove conditional code.
38016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
38017 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
38018 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
38019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
38020 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
38021 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
38023 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
38024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
38025 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
38026 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
38028 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
38029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
38030 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
38032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
38033 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
38035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
38036 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38037 code unconditional.
38038 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38040 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38042 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38045 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38047 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
38050 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38051 code unconditional.
38052 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38054 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38056 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
38059 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38060 code unconditional.
38061 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38063 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38065 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38068 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
38070 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
38071 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
38072 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
38073 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
38074 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
38075 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
38076 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
38077 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
38078 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
38079 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
38080 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
38081 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
38082 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
38083 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
38084 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
38085 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
38086 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
38087 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
38088 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
38089 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
38090 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
38091 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
38092 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
38094 2012-07-25 Florian Weimer <fweimer@redhat.com>
38096 * Versions.def: Add GLIBC_2.17.
38097 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
38098 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
38099 Introduce __libc_secure_getenv.
38100 * stdlib/Versions (2.17): Add secure_getenv
38101 (GLIBC_PRIVATE): Add __libc_secure_getenv.
38102 * stdlib/secure-getenv.c: Rename __secure_getenv to
38103 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
38104 symbol __secure_getenv for GLIBC_2.0.
38105 * stdlib/tst-secure-getenv.c: New.
38106 * stdlib/Makefile (tests): Add testcase.
38107 * manual/startup.texi (Environment Access): Document
38109 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
38110 __libc_secure_getenv.
38111 * inet/ruserpass.c (ruserpass): Likewise.
38112 * malloc/mtrace.c (mtrace): Likewise.
38113 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
38114 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
38115 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
38116 * sysdeps/posix/tempname.c: Likewise. Evaluate
38117 HAVE_SECURE_GETENV.
38118 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
38119 __secure_getenv to __libc_secure_getenv.
38120 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
38121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38125 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
38126 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
38127 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38128 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
38129 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
38130 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
38131 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
38133 2012-07-25 Joseph Myers <joseph@codesourcery.com>
38135 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
38136 (struct La_i86_retval): Likewise.
38137 (struct La_x86_64_regs): Likewise.
38138 (struct La_x86_64_retval): Likewise.
38139 (struct La_x32_regs): Likewise.
38140 (struct La_x32_retval): Likewise.
38141 (struct La_ppc32_regs): Likewise.
38142 (struct La_ppc32_retval): Likewise.
38143 (struct La_ppc64_regs): Likewise.
38144 (struct La_ppc64_retval): Likewise.
38145 (struct La_sh_regs): Likewise.
38146 (struct La_sh_retval): Likewise.
38147 (struct La_s390_32_regs): Likewise.
38148 (struct La_s390_32_retval): Likewise.
38149 (struct La_s390_64_regs): Likewise.
38150 (struct La_s390_64_retval): Likewise.
38151 (struct La_sparc32_regs): Likewise.
38152 (struct La_sparc32_retval): Likewise.
38153 (struct La_sparc64_regs): Likewise.
38154 (struct La_sparc64_retval): Likewise.
38155 (struct audit_ifaces): Remove architecture-specific pltenter and
38157 * sysdeps/i386/ldsodefs.h: New file.
38158 * sysdeps/powerpc/ldsodefs.h: Likewise.
38159 * sysdeps/s390/ldsodefs.h: Likewise.
38160 * sysdeps/sh/ldsodefs.h: Likewise.
38161 * sysdeps/sparc/ldsodefs.h: Likewise.
38162 * sysdeps/x86_64/ldsodefs.h: Likewise.
38164 2012-07-25 Marek Polacek <polacek@redhat.com>
38167 * math/libm-test.inc (yn_test): Add another test.
38168 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
38169 to ERANGE when the result is +-Inf.
38170 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
38171 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
38172 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
38173 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
38175 2012-07-24 Joseph Myers <joseph@codesourcery.com>
38177 * conform/data/time.h-data (NULL): Use macro-constant. Require
38179 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
38181 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
38183 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
38185 * configure.in <sysdeps resolving>: Correct printing
38187 * configure: Regenerate.
38189 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
38191 * math/w_ilogb.c: Include <limits.h>.
38192 * math/w_ilogbl.c: Likewise.
38194 2012-07-20 Joseph Myers <joseph@codesourcery.com>
38196 * manual/lang.texi (__va_copy): Document primarily as ISO C99
38197 va_copy. Document allowing for unavailable va_copy only as
38198 pre-C99 compatibility.
38199 * manual/string.texi (Copying and Concatenation): Use va_copy
38200 instead of __va_copy in concat example.
38202 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
38204 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
38205 (__sendto): Use create_address_port. Initialize APORT and deallocate
38208 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
38209 with O_NOLINK passed to __file_name_lookup.
38211 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
38212 with O_NOLINK passed to __file_name_lookup.
38214 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
38215 negative N or less than NGIDS.
38217 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
38218 type to string_t. Set ERANGE as errno and return it if NAME is not big
38219 enough. Use memcpy instead of strncpy.
38221 2012-07-20 Joseph Myers <joseph@codesourcery.com>
38223 * elf/Makefile (check-data): Remove.
38224 (localplt.data): New vpath directive.
38225 ($(objpfx)check-localplt.out): Use localplt.data from vpath
38226 instead of $(check-data).
38227 * scripts/data/localplt-generic.data: Move to ...
38228 * sysdeps/generic/localplt.data: ... here.
38229 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
38230 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
38231 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
38232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
38234 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
38235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
38237 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
38238 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
38240 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
38241 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
38243 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
38244 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
38246 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
38247 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
38250 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38252 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
38253 PPC32 and PPC64 files.
38254 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
38255 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
38257 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38259 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
38260 __makecontext_ret to ...
38261 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
38262 ... here and call exit if uc_link is NULL. New file.
38263 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
38264 __makecontext_ret.S.
38265 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
38266 __makecontext_ret to ...
38267 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
38268 ... here and call exit if uc_link is NULL. New file.
38269 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
38270 __makecontext_ret.S.
38272 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38274 * elf/elf.h (R_390_IRELATIVE): New definition.
38275 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
38276 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
38277 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
38278 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
38279 (elf_machine_lazy_rel): Likewise.
38280 * sysdeps/s390/dl-irel.h: New file.
38281 * sysdeps/s390/s390-64/memcpy.S: New asm code.
38282 * sysdeps/s390/s390-64/memset.S: New asm code.
38283 * sysdeps/s390/s390-64/memcmp.S: New asm code.
38284 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
38285 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
38286 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
38287 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
38288 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
38289 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
38290 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
38291 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
38292 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
38293 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
38294 * sysdeps/s390/s390-32/memcpy.S: New asm code.
38295 * sysdeps/s390/s390-32/memset.S: New asm code.
38296 * sysdeps/s390/s390-32/memcmp.S: New asm code.
38298 2012-07-17 Marek Polacek <polacek@redhat.com>
38301 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
38302 * sysdeps/s390/s390-64/configure.in: Likewise.
38303 * sysdeps/sparc/configure.in: Likewise.
38304 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
38305 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
38306 * sysdeps/i386/configure.in: Likewise.
38307 * sysdeps/x86_64/configure.in: Likewise.
38308 * sysdeps/sh/configure.in: Likewise.
38309 * sysdeps/s390/s390-32/configure: Regenerated.
38310 * sysdeps/s390/s390-64/configure: Likewise.
38311 * sysdeps/x86_64/configure: Likewise.
38312 * sysdeps/sh/configure: Likewise.
38313 * sysdeps/powerpc/powerpc64/configure: Likewise.
38314 * sysdeps/powerpc/powerpc32/configure: Likewise.
38315 * sysdeps/sparc/configure: Likwise.
38316 * sysdeps/i386/configure: Likewise.
38318 * elf/dl-open.c: Comment fixes.
38320 2012-07-17 Joseph Myers <joseph@codesourcery.com>
38322 * Makefile [CXX] (check-data): Remove.
38323 [CXX] (c++-types.data): New vpath directive.
38324 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
38325 vpath. Do not allow for C++ type data being missing.
38326 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
38327 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
38328 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
38329 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
38330 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
38331 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
38332 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
38333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
38335 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
38336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
38338 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
38339 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
38341 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
38342 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
38344 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
38345 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
38347 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
38348 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
38350 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
38351 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
38353 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
38354 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
38356 * elf/tls-macros.h (TLS_LE): Move architecture-specific
38357 definitions to architecture-specific files.
38358 (TLS_IE): Likewise.
38359 (TLS_LD): Likewise.
38360 (TLS_GD): Likewise.
38361 * sysdeps/i386/tls-macros.h: New file.
38362 * sysdeps/powerpc/tls-macros.h: Likewise.
38363 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
38364 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
38365 * sysdeps/sh/tls-macros.h: Likewise.
38366 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
38367 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
38368 * sysdeps/x86_64/tls-macros.h: Likewise.
38370 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
38372 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
38373 zero value for regular exit case.
38375 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
38376 (__start_context): Preserve zero value for regular exit case.
38378 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
38379 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38381 * manual/setjmp.texi (setcontext): Clarify normal process
38382 termination when uc_link is the null pointer.
38383 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
38386 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
38388 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
38389 preprocessor. Test for each exception mask separately.
38391 2012-07-16 Andreas Jaeger <aj@suse.de>
38393 * po/ru.po: Update from translation team.
38395 2012-07-15 Joseph Myers <joseph@codesourcery.com>
38397 * conform/data/string.h-data (NULL): Use macro-constant. Require
38399 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
38400 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
38401 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
38402 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
38403 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38405 2012-07-13 Andreas Jaeger <aj@suse.de>
38407 * po/fr.po: Update from translation team.
38409 2012-07-12 Marek Polacek <polacek@redhat.com>
38412 * math/libm-test.inc (yn_test): Add test for BZ #14173.
38413 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
38416 2012-07-12 Joseph Myers <joseph@codesourcery.com>
38419 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38420 Change to 2.4.1 where previously 2.4.0.
38421 * sysdeps/unix/sysv/linux/configure: Regenerated.
38422 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
38423 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
38425 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
38426 (__ASSUME_AT_CLKTCK): Remove.
38427 (__ASSUME_AT_PAGESIZE): Likewise.
38428 (__ASSUME_AT_XID): Likewise.
38429 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
38430 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
38431 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
38433 (HAVE_AUX_PAGESIZE): Likewise.
38434 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
38435 [__ASSUME_AT_CLKTCK]: Make code unconditional.
38436 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
38438 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
38441 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
38442 the temporary buffer used to invoke __gethostbyname2_r,
38443 __gethostbyaddr_r and gethostbyname4_r to make room for struct
38444 host_data / struct gaih_addrtuple.
38445 * resolv/nss_dns/dns-host.c (global scope): Move definition of
38446 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
38447 header file nss/nsswitch.h.
38448 * nss/nsswitch.h (global scope): Add definition of implementation
38449 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
38450 resolv/nss_dns/dns-host.c).
38452 2012-07-11 Andreas Jaeger <aj@suse.de>
38454 * po/fr.po: Update from translation team.
38456 * po/sv.po: Update from translation team
38457 * po/fr.po: Another update from translation team.
38459 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38461 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
38462 for subnormals or multiply small sinh result by itself.
38463 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
38464 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38466 2012-07-11 David S. Miller <davem@davemloft.net>
38468 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38470 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
38473 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
38474 (INTERNAL_MARK): Shift it here.
38476 2012-07-10 Marek Polacek <polacek@redhat.com>
38479 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
38480 libc_cv_asm_global_directive with .globl.
38481 * configure: Regenerated.
38482 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
38484 * sysdeps/i386/configure: Regenerated.
38485 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
38487 * sysdeps/x86_64/configure: Regenerated.
38488 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
38489 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
38490 * elf/tst-unique2mod2.c: Likewise.
38491 * elf/tst-unique2mod1.c: Likewise.
38492 * elf/tst-unique1mod2.c: Likewise.
38493 * elf/tst-unique1mod1.c: Likewise.
38494 * sysdeps/s390/s390-32/sysdep.h: Likewise.
38495 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
38496 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38497 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38498 * sysdeps/mach/sysdep.h: Likewise.
38499 * sysdeps/i386/sysdep.h: Likewise.
38500 * sysdeps/i386/i386-mcount.S: Likewise.
38501 * sysdeps/x86_64/_mcount.S: Likewise.
38502 * sysdeps/x86_64/sysdep.h: Likewise.
38503 * sysdeps/sh/_mcount.S: Likewise.
38504 * sysdeps/sh/sysdep.h: Likewise.
38505 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
38506 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
38507 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
38508 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38509 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
38510 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
38511 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
38512 * locale/localeinfo.h: Likewise.
38513 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
38514 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
38516 2012-07-09 Roland McGrath <roland@hack.frob.com>
38519 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
38521 * manual/message.texi (The Uniforum approach): Likewise.
38522 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
38523 (glibc iconv Implementation): Likewise.
38525 2012-07-09 Joseph Myers <joseph@codesourcery.com>
38528 * math/s_clog.c (__clog): Avoid scaling a value down where that
38529 could result in underflow.
38530 * math/s_clog10.c (__clog10): Likewise.
38531 * math/s_clog10f.c (__clog10f): Likewise.
38532 * math/s_clog10l.c (__clog10l): Likewise.
38533 * math/s_clogf.c (__clogf): Likewise.
38534 * math/s_clogl.c (__clogl): Likewise.
38535 * math/libm-test.inc (clog_test): Add more tests.
38536 (clog10_test): Likewise.
38537 * sysdeps/i386/fpu/libm-test-ulps: Update.
38538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38540 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
38543 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
38544 by 7 not 8 to examine high bit of fractional part.
38547 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
38548 for call to __mcount_internal.
38549 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
38550 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
38551 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
38553 2012-07-06 Joseph Myers <joseph@codesourcery.com>
38556 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
38557 approximation for values within 0x1p-13f of an odd multiple of
38559 * math/libm-test.inc (tan_test): Do not allow spurious underflow
38560 exception. Add more tests.
38561 * sysdeps/i386/fpu/libm-test-ulps: Update.
38564 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
38565 inputs and return -1 for them. Do not check for +Inf in case not
38566 reachable for +Inf.
38567 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
38568 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
38569 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
38570 and return -1 for them. Do not check for +Inf in case not
38571 reachable for +Inf.
38572 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
38574 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
38575 and return -1 for them. Do not check for +Inf in case not
38576 reachable for +Inf.
38577 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
38578 spurious underflow.
38579 * sysdeps/i386/fpu/libm-test-ulps: Update.
38580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38582 2012-07-06 Mike Frysinger <vapier@gentoo.org>
38584 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
38586 2012-07-05 Joseph Myers <joseph@codesourcery.com>
38590 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
38591 could result in spurious underflow. Scale down values above
38592 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
38593 * math/s_csqrtf.c (__csqrtf): Likewise.
38594 * math/s_csqrtl.c (__csqrtl): Likewise.
38595 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
38596 spurious underflow.
38597 * sysdeps/i386/fpu/libm-test-ulps: Update.
38598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38600 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
38602 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
38604 * catgets/xopen-msg.awk: New file.
38605 * catgets/xopen-msg.sed: Removed.
38607 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
38609 * intl/po2test.awk: New file.
38610 * intl/po2test.sed: Removed.
38612 2012-07-04 Joseph Myers <joseph@codesourcery.com>
38615 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
38616 or multiply small sinh result by itself.
38617 * math/s_ctanf.c (__ctanf): Likewise.
38618 * math/s_ctanh.c (__ctanh): Likewise.
38619 * math/s_ctanhf.c (__ctanhf): Likewise.
38620 * math/s_ctanhl.c (__ctanhl): Likewise.
38621 * math/s_ctanl.c (__ctanl): Likewise.
38622 * math/libm-test.inc (ctan_test_tonearest): New function.
38623 (ctan_test_towardzero): Likewise.
38624 (ctan_test_downward): Likewise.
38625 (ctan_test_upward): Likewise.
38626 (ctanh_test_tonearest): Likewise.
38627 (ctanh_test_towardzero): Likewise.
38628 (ctanh_test_downward): Likewise.
38629 (ctanh_test_upward): Likewise.
38630 (main): Call these new functions.
38631 * sysdeps/i386/fpu/libm-test-ulps: Update.
38632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38634 2012-07-03 Mike Frysinger <vapier@gentoo.org>
38636 * .gitignore: Delete /ports entry.
38638 2012-07-03 Andreas Jaeger <aj@suse.de>
38640 * po/bg.po: Update from translation team.
38641 * po/cs.po: Likewise.
38642 * po/de.po: Likewise.
38643 * po/hr.po: Likewise.
38644 * po/nl.pl: Likewise.
38645 * po/pl.po: Likewise.
38646 * po/vi.po: Likewise.
38648 2012-07-03 Joseph Myers <joseph@codesourcery.com>
38650 * Makeconfig [!+link] (+link-before-libc): New variable.
38651 [!+link] (+link-after-libc): Likewise.
38652 [!+link] (+link-tests): Likewise.
38653 [!+link] (+link): Define in terms of $(+link-before-libc) and
38654 $(+link-after-libc).
38655 [!+link-static] (+link-static-before-libc): New variable.
38656 [!+link-static] (+link-static-after-libc): Likewise.
38657 [!+link-static] (+link-static-tests): Likewise.
38658 [!+link-static] (+link-static): Define in terms of
38659 $(+link-static-before-libc) and $(+link-static-after-libc).
38660 [build-shared] (link-libc-before-gnulib): New variable.
38661 [build-shared] (link-libc-tests): Likewise.
38662 [build-shared] (link-libc): Define in terms of
38663 $(link-libc-before-gnulib).
38664 [!build-shared] (link-libc-tests): New variable.
38665 (link-libc-static-tests): New variable.
38666 [!gnulib] (gnulib-arch): New variable.
38667 [!gnulib] (gnulib-tests): Likewise.
38668 [!gnulib] (static-gnulib-arch): Likewise.
38669 [!gnulib] (static-gnulib-tests): Likewise.
38670 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
38671 Define with "=" instead of ":=".
38672 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
38673 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
38674 * Rules (binaries-all-notests): New variable.
38675 (binaries-all-tests): Likewise.
38676 (binaries-static-notests): Likewise.
38677 (binaries-static-tests): Likewise.
38678 (binaries-all): Define using $(binaries-all-notests) and
38679 $(binaries-all-tests).
38680 (binaries-static): Define using $(binaries-static-notests) and
38681 $(binaries-static-tests).
38682 (binaries-shared-tests): New variable.
38683 (binaries-shared-notests): Likewise.
38684 (binaries-shared): Remove variable.
38685 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
38686 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
38687 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
38688 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
38689 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
38690 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
38691 * elf/Makefile (sln-modules): New variable.
38692 (extra-objs): Add $(sln-modules:=.o).
38693 (ldconfig-modules): Add static-stubs.
38694 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
38695 * elf/static-stubs.c: New file.
38698 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
38699 by 7 not 8 to examine high bit of fractional part. Use volatile
38700 variables when splitting into final array of floats if
38701 __FLT_EVAL_METHOD__ != 0.
38702 * math/libm-test.inc (cos_test): Add another test.
38703 (sin_test): Likewise.
38704 * sysdeps/i386/fpu/libm-test-ulps: Update.
38707 * math/libm-test.inc (cosh_test): Add more tests.
38709 * version.h (RELEASE): Set to "development".
38710 (VERSION): Set to "2.16.90".
38712 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
38714 * NEWS: Update copyright. Remove last-updated date.
38715 Mention math library bug fixes and timezone data changes.
38716 * README: Mention GNU/Hurd, x32, and HPPA support status.
38718 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
38720 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
38722 2012-06-27 Andreas Jaeger <aj@suse.de>
38724 * manual/contrib.texi (Contributors): Add Samuel Thibault.
38726 2012-06-25 Andreas Jaeger <aj@suse.de>
38728 * sysdeps/s390/fpu/libm-test-ulps: Update.
38730 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
38731 Thomas Schwinge <thomas@codesourcery.com>
38733 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
38734 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
38735 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
38738 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
38740 * sysdeps/mach/start.c: Remove file.
38741 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
38742 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
38743 * sysdeps/sh/init-first.c: Likewise.
38745 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
38746 registers for frame unwinding purposes, add CFI directives.
38747 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
38748 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
38749 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
38752 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
38753 __fortify_fail returning.
38754 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
38756 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
38757 sysdeps/sh/____longjmp_chk.S.
38758 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
38759 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
38760 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
38761 (gen-as-const-headers): Append sigaltstack-offsets.sym.
38763 * sysdeps/sh/abort-instr.h: New file.
38764 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
38765 process in case exit returns.
38767 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
38768 initialize the GOT register before use.
38770 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
38771 calculation of ARGC > 4.
38773 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
38774 meaningful names to some local labels.
38776 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38777 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38779 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
38780 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
38781 (__arch_compare_and_exchange_val_16_acq): Likewise.
38782 (__arch_compare_and_exchange_val_32_acq): Likewise.
38783 (atomic_exchange_and_add): Fix gUSA sequence.
38784 (atomic_add): Likewise.
38785 (atomic_add_negative): Likewise.
38786 (atomic_add_zero): Likewise.
38787 (atomic_bit_test_set): Likewise.
38789 2012-06-22 Andreas Schwab <schwab@redhat.com>
38792 * include/link.h (struct link_map): Add l_free_initfini.
38793 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
38795 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
38796 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
38797 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
38800 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
38802 * configure.in: Use AC_LANG_SOURCE.
38803 * configure: Regenerate.
38805 2012-06-22 Roland McGrath <roland@hack.frob.com>
38807 * configure.in (libc_cv_localstatedir): New substituted variable.
38808 * configure: Regenerated.
38809 * config.make.in (localstatedir): New variable, substituted from
38810 libc_cv_localstatedir.
38811 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
38812 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
38813 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
38814 * sysdeps/gnu/configure: Regenerated.
38816 2012-06-21 Jeff Law <law@redhat.com>
38819 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
38820 free. Simplify list management for _LIBC case.
38822 2012-06-21 Joseph Myers <joseph@codesourcery.com>
38825 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
38826 Clear sign bit of 64-bit integer value before comparing against
38829 * sysdeps/mach/configure: Regenerated.
38831 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
38834 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
38836 2012-06-21 Jeff Law <law@redhat.com>
38839 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
38840 uint16_t for elements in the "seen" array to avoid char overflows.
38841 * elf/dl-fini.c (_dl_sort_fini): Likewise.
38842 * elf/dl-open.c (dl_open_worker): Likewise.
38844 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
38846 * scripts/list-sources.sh: Scan PORTS for translations.
38847 * po/libc.pot: Regenerated.
38849 2012-06-21 Andreas Jaeger <aj@suse.de>
38852 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
38854 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
38855 * bits/byteswap-16.h (__bswap_16): Likewise.
38856 * bits/byteswap.h (__bswap_constant_16): Likewise.
38858 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
38861 * sysdeps/i386/fpu_control.h: Removed.
38862 * sysdeps/x86_64/fpu_control.h: Moved to ...
38863 * sysdeps/x86/fpu_control.h: Here.
38865 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
38866 (_FPU_SETCW): Likewise.
38868 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
38871 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
38872 * sysdeps/x86/fpu/bits/mathinline.h: This.
38873 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
38877 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
38878 functions if __x86_64__ is defined.
38880 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
38882 * string/endian.h: Add !__ASSEMBLER__ condition for including
38883 conversion interfaces.
38885 2012-06-15 Joseph Myers <joseph@codesourcery.com>
38888 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
38889 of ABS(x) in calculating zero to negative powers other than odd
38891 * math/libm-test.inc (pow_test): Add more tests.
38893 2012-06-15 Andreas Jaeger <aj@suse.de>
38895 * manual/contrib.texi (Contributors): Update entry of Liubov
38896 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
38899 2012-06-15 Cyril Hrubis <metan@ucw.cz>
38901 * string/string.h: Add __wur to GNU version of strerror_r.
38903 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
38906 * string/Makefile (tests): Add tst-strtok_r.
38907 * string/tst-strtok_r.c: New file.
38908 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
38909 RAX_LP/RDX_LP on SAVE_PTR.
38911 2012-06-14 Roland McGrath <roland@hack.frob.com>
38913 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
38915 2012-06-14 Joseph Myers <joseph@codesourcery.com>
38917 * libm_test.inc (csqrt_test): Allow more spurious underflow
38919 (j0_test): Likewise.
38920 (j1_test): Likewise.
38921 (y0_test): Likewise.
38922 (y1_test): Likewise.
38924 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
38926 * po/Makefile (libc.pot): Use UTF-8 charset.
38928 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
38931 Suppress sign-conversion warning from FD_SET.
38932 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
38933 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
38934 not unsigned long int.
38935 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
38937 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
38941 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
38942 __extern_always_inline instead of __extern_inline.
38943 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
38944 (__signbit): Likewise.
38945 (__signbitl): Support C++ namespace.
38946 (lrintf): New inline function.
38948 (llrintf): Likewise.
38949 (llrint): Likewise.
38959 (floorf): Likewise.
38960 (nearbyint): Likewise.
38961 (nearbyintf): Likewise.
38963 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
38965 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
38966 non-default versions.
38968 2012-06-11 Roland McGrath <roland@hack.frob.com>
38971 * manual/argp.texi (Argp): Reword argp_parse description slightly.
38973 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
38975 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
38976 (FE_UPWARD, FE_DOWNWARD): Don't define.
38977 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
38978 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
38980 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
38982 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
38983 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38985 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38987 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
38988 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
38989 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
38990 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
38992 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
38995 * sysdeps/i386/fpu/bits/fenv.h: Removed.
38996 * sysdeps/i386/fpu/Implies: New file.
38997 * sysdeps/x86_64/fpu/Implies: Likewise.
38998 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
38999 * sysdeps/x86/fpu/bits/fenv.h: This.
39001 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
39004 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
39007 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
39008 character 0xffff that matches the last element of the
39011 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39013 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
39016 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39018 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
39019 values higher than 25.6283.
39021 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39023 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
39024 subnormal exponent extraction and add some __builtin_expect.
39025 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
39026 Fix for subnormal mantissa calculation.
39028 2012-06-04 Mike Frysinger <vapier@gentoo.org>
39030 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
39031 cpu2 is -1 and errno is not ENOSYS.
39033 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
39036 * sysdeps/i386/i486/bits/string.h: Renamed to ...
39037 * sysdeps/x86/bits/string.h: This.
39038 * sysdeps/x86_64/bits/string.h: Removed.
39040 * sysdeps/i386/i486/bits/string.h: Define inline functions only
39041 if not compiling for x86-64, but compiling for >= i486.
39043 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
39044 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
39046 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
39047 New macro from Linux kernel 3.4.0.
39048 (FP_XSTATE_MAGIC2): Likewise.
39049 (FP_XSTATE_MAGIC2_SIZE): Likewise.
39050 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
39051 (struct _fpx_sw_bytes): New struct.
39052 (struct _xsave_hdr): Likewise.
39053 (struct _ymmh_state): Likewise.
39054 (struct _xstate): Likewise.
39056 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
39057 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
39058 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
39059 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
39060 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
39061 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
39063 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
39064 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
39065 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
39066 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
39067 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
39068 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
39070 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39073 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
39074 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
39075 (sysdep_headers): Include sys/platform/ppc.h.
39076 * sysdeps/powerpc/test-gettimebase.c: Test for
39077 __ppc_get_timebase() to catch future ISA opcode/insn changes.
39078 * manual/Makefile (appendices): Include platform.texi.
39079 * manual/contrib.texi (Contributors): Update @node pointers.
39080 * manual/maint.texi (Maintenance): Likewise.
39081 (Platform): New node.
39082 * manual/platform.texi: New file. Document the new features.
39084 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
39085 Jakub Jelinek <jakub@redhat.com>
39088 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
39089 where __builtin_expect is unavailable.
39091 2012-06-03 David S. Miller <davem@davemloft.net>
39093 * stdlib/longlong.h: Updated from GCC.
39095 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
39098 * sysdeps/powerpc/powerpc32/mcount.c: New file.
39099 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
39101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
39102 (GLIBC_2.16): Likewise.
39104 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
39106 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
39108 2012-06-01 Joseph Myers <joseph@codesourcery.com>
39110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
39111 (default-abi): New variable.
39112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
39113 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
39115 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
39117 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
39119 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
39122 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
39123 definition. Document in comment.
39125 2012-06-01 David S. Miller <davem@davemloft.net>
39127 * stdlib/longlong.h: Updated from GCC.
39129 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
39132 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
39133 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
39134 sys/debugreg.h sys/io.h here.
39135 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
39136 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
39138 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
39139 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
39140 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
39141 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
39142 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
39143 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
39145 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
39146 Define only if __x86_64__ is defined.
39148 2012-06-01 Joseph Myers <joseph@codesourcery.com>
39151 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
39152 Use int64_t for variable i.
39153 * math/libm-test.inc (fmod_test): Add more tests.
39155 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
39156 z computation is not scheduled after fetestexcept.
39157 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
39158 Use math_force_eval instead of asm to ensure calculation scheduled
39159 before exception test.
39160 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
39161 Ensure a1 + u.d computation is not scheduled after fetestexcept.
39163 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
39165 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
39166 computation is not scheduled after fetestexcept.
39168 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
39171 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
39172 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
39174 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39176 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
39177 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39179 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
39182 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
39184 (__WCHAR_MIN): Support __WORDSIZE == 64.
39185 (__WCHAR_MAX): Likewise.
39187 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
39188 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
39191 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
39192 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
39195 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
39196 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
39198 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
39199 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
39201 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
39202 Defined to 1 if __x86_64__ isn't defined.
39203 (_STAT_VER_LINUX_OLD): New.
39204 (st_atime): Remove duplicate.
39205 (st_mtime): Likewise.
39206 (st_ctime): Likewise.
39208 2012-05-31 David S. Miller <davem@davemloft.net>
39210 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
39213 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
39215 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
39219 * elf/dl-reloc.c: Include <_itoa.h>.
39220 (_dl_reloc_bad_type): Remove use of INTUSE.
39221 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
39222 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
39223 * stdio-common/psiginfo.c (psiginfo): Likewise.
39224 * stdio-common/psignal.c (psignal): Likewise.
39225 * string/strsignal.c (strsignal): Likewise.
39226 * include/signal.h (_sys_siglist): Declare hidden proto.
39227 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
39228 INTVARDEF with libc_hidden_data_def.
39229 * stdio-common/itoa-udigits.c: Likewise.
39230 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
39231 (_itoa_lower_digits_internal): Remove declaration.
39232 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
39233 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
39234 (_sys_sigabbrev_internal): Remove aliases.
39235 (_sys_siglist): Define hidden alias.
39237 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
39239 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39242 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
39245 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
39246 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
39248 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
39249 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
39250 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
39251 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
39252 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
39253 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
39255 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
39256 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
39257 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
39259 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
39267 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
39268 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
39269 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
39271 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
39272 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
39273 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
39274 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
39275 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
39276 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
39278 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
39279 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
39281 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
39282 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
39284 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
39285 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
39286 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
39288 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
39289 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
39291 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
39293 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
39294 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
39295 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
39297 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
39299 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
39301 2012-05-31 Joseph Myers <joseph@codesourcery.com>
39303 * math/math.h (M_El): Use two more decimal places.
39304 (M_LOG2El): Likewise.
39305 (M_LOG10El): Likewise.
39306 (M_LN2l): Likewise.
39307 (M_LN10l): Likewise.
39309 (M_PI_2l): Likewise.
39310 (M_PI_4l): Likewise.
39311 (M_1_PIl): Likewise.
39312 (M_2_PIl): Likewise.
39313 (M_2_SQRTPIl): Likewise.
39314 (M_SQRT2l): Likewise.
39315 (M_SQRT1_2l): Likewise.
39317 2012-05-31 David S. Miller <davem@davemloft.net>
39319 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
39320 values between float registers.
39321 * sysdeps/sparc/sparc64/memset.S: Likewise.
39322 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39324 2012-05-31 Mike Frysinger <vapier@gentoo.org>
39326 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
39327 -D_FORTIFY_SOURCE=1.
39328 (CPPFLAGS-tst-longjmp_chk.c): Define.
39329 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
39330 (CPPFLAGS-tst-longjmp_chk2.c): Define.
39331 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
39332 CFLAGS-tst-wchar-h.c.
39334 2012-05-31 Marek Polacek <polacek@redhat.com>
39337 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
39338 __endmntent_internal): Remove declaration.
39339 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
39340 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
39341 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
39343 2012-05-30 David S. Miller <davem@davemloft.net>
39345 * sysdeps/sparc/sparc32/soft-fp/q_util.c
39346 (___Q_simulate_exceptions): Use real FP ops rather than writing
39348 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
39351 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39354 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
39355 * sysdeps/x86/bits/xtitypes.h: This.
39357 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
39358 * sysdeps/x86/bits/wordsize.h: This.
39360 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
39361 * sysdeps/x86/bits/huge_vall.h: This.
39363 * sysdeps/i386/bits/select.h: Removed.
39364 * sysdeps/x86_64/bits/select.h: Renamed to ...
39365 * sysdeps/x86/bits/select.h: This.
39367 * sysdeps/i386/bits/setjmp.h: Removed.
39368 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
39369 * sysdeps/x86/bits/setjmp.h: This.
39371 * sysdeps/i386/bits/mathdef.h: Removed.
39372 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
39373 * sysdeps/x86/bits/mathdef.h: This.
39375 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
39378 * include/sys/socket.h (__connect_internal)
39379 (__libc_sa_len_internal): Remove declaration.
39380 (__connect, __libc_sa_len): Declare hidden_proto.
39381 (SA_LEN): Remove use of INTUSE.
39382 * socket/connect.c: Add libc_hidden_def.
39383 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
39384 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
39385 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
39387 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
39388 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
39389 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
39390 of adding _internal alias.
39392 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39395 * sysdeps/i386/bits/link.h: Removed.
39396 * sysdeps/i386/bits/linkmap.h: Likewise.
39397 * sysdeps/x86_64/bits/link.h: Renamed to ...
39398 * sysdeps/x86/bits/link.h: This.
39399 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
39400 * sysdeps/x86/bits/linkmap.h: This.
39402 * sysdeps/i386/bits/endian.h: Removed.
39403 * sysdeps/x86_64/bits/endian.h: Renamed to ...
39404 * sysdeps/x86/bits/endian.h: This.
39406 * sysdeps/i386/bits/byteswap.h: Removed.
39407 * sysdeps/i386/bits/byteswap-16.h: Likewise.
39408 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
39409 * sysdeps/x86/bits/byteswap.h: This.
39410 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
39411 * sysdeps/x86/bits/byteswap-16.h: This.
39412 * sysdeps/i386/Implies: Add x86.
39413 * sysdeps/x86_64/Implies: Likewise.
39415 2012-05-30 David S. Miller <davem@davemloft.net>
39417 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
39418 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
39419 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
39420 (FP_TRAPPING_EXCEPTIONS): Define.
39421 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
39422 (FP_TRAPPING_EXCEPTIONS): Define.
39423 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
39424 subnormals only when inexact has been signalled or underflow
39425 exceptions are enabled.
39426 (_FP_PACK_CANONICAL): Likewise.
39428 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39431 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
39432 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
39434 2012-05-30 Richard Henderson <rth@twiddle.net>
39436 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
39437 with #ifndef NOT_IN_libc.
39439 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
39440 marked to avoid plt entry.
39442 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39445 * Makeconfig (default-abi): New macro.
39446 (abi-includes): Likewise.
39447 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
39448 $(abi-$(default-abi)-lib-soname) for soname if defined.
39449 ($(common-objpfx)gnu/lib-names.stmp): Generate from
39451 * Makefile (installed-stubs): Likewise.
39452 * include/stubs-biarch.h: Removed.
39453 * scripts/lib-names.awk: Only handle one library at a time.
39454 * scripts/soversions.awk: Remove WORDSIZE support.
39455 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
39457 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
39459 (syscall-list-default-condition): Likewise.
39460 (syscall-list-default-condition): Likewise.
39461 (syscall-list-includes): Likewise.
39462 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
39463 syscall-list-* with abi-*. Handle undefined abi-variants.
39464 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
39465 * sysdeps/unix/sysv/linux/i386/Implies: New file.
39466 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
39467 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
39468 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
39469 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
39471 (syscall-list-32-options): Likewise.
39472 (syscall-list-32-condition): Likewise.
39473 (syscall-list-64-options): Likewise.
39474 (syscall-list-64-condition): Likewise.
39475 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
39477 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
39480 (abi-64-ld-soname): New macro.
39481 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
39482 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
39485 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
39486 * sysdeps/x86_64/x32/shlib-versions: Likewise.
39488 2012-05-30 Joseph Myers <joseph@codesourcery.com>
39490 * sysdeps/unix/sysv/linux/kernel-features.h
39491 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
39492 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
39493 include <kernel-features.h>.
39494 [!__NR_ftruncate64]: Remove conditional code.
39495 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39496 [__NR_ftruncate64]: Make code unconditional.
39497 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39498 * sysdeps/unix/sysv/linux/truncate64.c: Do not
39499 include <kernel-features.h>.
39500 [!__NR_ftruncate64]: Remove conditional code.
39501 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39502 [__NR_ftruncate64]: Make code unconditional.
39503 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
39505 include <kernel-features.h>.
39506 [!__NR_ftruncate64]: Remove conditional code.
39507 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39508 [__NR_ftruncate64]: Make code unconditional.
39509 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
39511 include <kernel-features.h>.
39512 [!__NR_ftruncate64]: Remove conditional code.
39513 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39514 [__NR_ftruncate64]: Make code unconditional.
39515 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39517 * configure.in (libc_cv_fpie): Weaken to a compile test using
39518 LIBC_TRY_CC_OPTION.
39519 * configure: Regenerated.
39521 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39523 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
39524 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
39525 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
39526 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39528 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
39529 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
39530 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
39531 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
39532 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
39533 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39536 2012-05-27 David S. Miller <davem@davemloft.net>
39538 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
39540 (__Q_simulate_exceptions): Return void. Change to simulate
39541 exceptions by writing into the %fsr.
39542 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
39543 (__Qp_handle_exceptions): Likewise.
39545 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
39546 __Qp_handle_exceptions.
39547 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
39548 __Qp_handle_exceptions.
39549 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
39550 as unused and give dummy FP_RND_NEAREST initializer.
39551 (FP_INHIBIT_RESULTS): Define.
39552 (___Q_simulate_exceptions): Update declaration.
39553 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
39555 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
39556 as unused and give dummy FP_RND_NEAREST initializer.
39557 (__Qp_handle_exceptions): Update declaration.
39558 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
39561 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
39563 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
39564 the temporary FPU control word.
39565 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
39566 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
39567 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
39568 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
39569 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
39570 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
39571 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
39572 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
39573 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
39574 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
39575 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39577 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39579 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
39582 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
39584 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
39585 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
39586 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
39587 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
39589 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
39590 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
39593 2012-05-27 Ulrich Drepper <drepper@gmail.com>
39595 * po/h.po: Update from translation team.
39597 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
39599 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
39601 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
39602 handling of denormals.
39603 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
39604 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
39605 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
39606 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
39607 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39608 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
39609 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
39612 2012-05-26 Marek Polacek <polacek@redhat.com>
39615 * math/libm-test.inc (fma_test): Don't always expect underflow
39618 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39621 * elf/tst-execstack.c: Include stackinfo.h.
39622 (do_test): Adjust test case to ensure that pthread_getattr_np
39623 behaviour remains the same after marking stack executable.
39625 2012-05-25 Joseph Myers <joseph@codesourcery.com>
39627 * sysdeps/unix/sysv/linux/kernel-features.h
39628 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
39629 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
39631 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
39632 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
39633 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
39635 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
39636 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
39638 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
39640 * configure.in: Define the default includes to being none.
39641 * configure: Regenerated.
39643 2012-05-25 Roland McGrath <roland@hack.frob.com>
39645 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
39646 * sysdeps/x86_64/setjmp.S: Likewise.
39647 * sysdeps/i386/bsd-setjmp.S: Likewise.
39648 * sysdeps/i386/bsd-_setjmp.S: Likewise.
39649 * sysdeps/i386/setjmp.S: Likewise.
39650 * sysdeps/i386/__longjmp.S: Likewise.
39651 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
39652 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
39654 * include/stap-probe.h: New file.
39655 * configure.in: Handle --enable-systemtap.
39656 * configure: Regenerated.
39657 * config.h.in (USE_STAP_PROBE): New #undef.
39658 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
39659 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
39660 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
39662 2012-05-25 Joseph Myers <joseph@codesourcery.com>
39665 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
39666 to 2.4.0 where earlier.
39667 * sysdeps/unix/sysv/linux/configure: Regenerated.
39668 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
39669 <kernel-features.h>.
39670 [__ASSUME_32BITUIDS]: Make code unconditional.
39671 [!__ASSUME_32BITUIDS]: Remove conditional code.
39672 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
39673 <kernel-features.h>.
39674 [__ASSUME_32BITUIDS]: Make code unconditional.
39675 [!__ASSUME_32BITUIDS]: Remove conditional code.
39676 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
39677 [__ASSUME_32BITUIDS]: Make code unconditional.
39678 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
39679 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
39680 <kernel-features.h>.
39681 [__ASSUME_32BITUIDS]: Make code unconditional.
39682 [!__ASSUME_32BITUIDS]: Remove conditional code.
39683 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
39684 <kernel-features.h>.
39685 [__ASSUME_32BITUIDS]: Make code unconditional.
39686 [!__ASSUME_32BITUIDS]: Remove conditional code.
39687 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
39688 <kernel-features.h>.
39689 [__ASSUME_32BITUIDS]: Make code unconditional.
39690 [!__ASSUME_32BITUIDS]: Remove conditional code.
39691 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
39692 <kernel-features.h>.
39693 [__ASSUME_32BITUIDS]: Make code unconditional.
39694 [!__ASSUME_32BITUIDS]: Remove conditional code.
39695 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
39696 <kernel-features.h>.
39697 [__ASSUME_32BITUIDS]: Make code unconditional.
39698 [!__ASSUME_32BITUIDS]: Remove conditional code.
39699 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
39700 <kernel-features.h>.
39701 [__ASSUME_32BITUIDS]: Make code unconditional.
39702 [!__ASSUME_32BITUIDS]: Remove conditional code.
39703 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
39704 <kernel-features.h>.
39705 [__ASSUME_32BITUIDS]: Make code unconditional.
39706 [!__ASSUME_32BITUIDS]: Remove conditional code.
39707 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
39708 <kernel-features.h>.
39709 [__ASSUME_32BITUIDS]: Make code unconditional.
39710 [!__ASSUME_32BITUIDS]: Remove conditional code.
39711 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
39712 <kernel-features.h>.
39713 [__ASSUME_32BITUIDS]: Make code unconditional.
39714 [!__ASSUME_32BITUIDS]: Remove conditional code.
39715 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
39716 <kernel-features.h>.
39717 [__ASSUME_32BITUIDS]: Make code unconditional.
39718 [!__ASSUME_32BITUIDS]: Remove conditional code.
39719 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
39720 <kernel-features.h>.
39721 [__NR_setresgid] (__setresgid): Do not declare.
39722 [__ASSUME_32BITUIDS]: Make code unconditional.
39723 [!__ASSUME_32BITUIDS]: Remove conditional code.
39724 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
39725 <kernel-features.h>.
39726 [__NR_setresuid] (__setresuid): Do not declare.
39727 [__ASSUME_32BITUIDS]: Make code unconditional.
39728 [!__ASSUME_32BITUIDS]: Remove conditional code.
39729 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
39730 <kernel-features.h>.
39731 [__ASSUME_32BITUIDS]: Make code unconditional.
39732 [!__ASSUME_32BITUIDS]: Remove conditional code.
39733 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
39734 <kernel-features.h>.
39735 [__ASSUME_32BITUIDS]: Make code unconditional.
39736 [!__ASSUME_32BITUIDS]: Remove conditional code.
39737 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
39738 <kernel-features.h>.
39739 [__ASSUME_32BITUIDS]: Make code unconditional.
39740 [!__ASSUME_32BITUIDS]: Remove conditional code.
39741 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
39742 <kernel-features.h>.
39743 [__ASSUME_32BITUIDS]: Make code unconditional.
39744 [!__ASSUME_32BITUIDS]: Remove conditional code.
39745 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
39746 <kernel-features.h>.
39747 [__ASSUME_32BITUIDS]: Make code unconditional.
39748 [!__ASSUME_32BITUIDS]: Remove conditional code.
39749 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
39750 <kernel-features.h>.
39751 [__ASSUME_32BITUIDS]: Make code unconditional.
39752 [!__ASSUME_32BITUIDS]: Remove conditional code.
39753 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
39754 <kernel-features.h>.
39755 [__ASSUME_32BITUIDS]: Make code unconditional.
39756 [!__ASSUME_32BITUIDS]: Remove conditional code.
39757 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
39758 <kernel-features.h>.
39759 [__ASSUME_32BITUIDS]: Make code unconditional.
39760 [!__ASSUME_32BITUIDS]: Remove conditional code.
39761 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
39762 <kernel-features.h>.
39763 [__ASSUME_32BITUIDS]: Make code unconditional.
39764 [!__ASSUME_32BITUIDS]: Remove conditional code.
39765 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
39766 <kernel-features.h>.
39767 [__ASSUME_32BITUIDS]: Make code unconditional.
39768 [!__ASSUME_32BITUIDS]: Remove conditional code.
39769 * sysdeps/unix/sysv/linux/kernel-features.h
39770 (__ASSUME_SETRESUID_SYSCALL): Remove.
39771 (__ASSUME_SETRESGID_SYSCALL): Likewise.
39772 (__ASSUME_32BITUIDS): Likewise.
39773 (__ASSUME_LDT_WORKS): Likewise.
39774 (__ASSUME_O_DIRECTORY): Likewise.
39775 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
39776 architecture but not kernel version.
39777 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
39778 (__ASSUME_MMAP2_SYSCALL): Likewise.
39779 (__ASSUME_STAT64_SYSCALL): Likewise.
39780 (__ASSUME_IPC64): Likewise.
39781 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
39782 <kernel-features.h>.
39783 [__ASSUME_32BITUIDS]: Make code unconditional.
39784 [!__ASSUME_32BITUIDS]: Remove conditional code.
39785 * sysdeps/unix/sysv/linux/opendir.c: Do not include
39786 <kernel-features.h>.
39787 [__ASSUME_O_DIRECTORY]: Make code unconditional.
39788 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
39789 132096]: Remove conditional code.
39790 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
39791 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
39792 <kernel-features.h>.
39793 [__ASSUME_32BITUIDS]: Make code unconditional.
39794 [!__ASSUME_32BITUIDS]: Remove conditional code.
39795 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
39796 <kernel-features.h>.
39797 [__ASSUME_32BITUIDS]: Make code unconditional.
39798 [!__ASSUME_32BITUIDS]: Remove conditional code.
39799 * sysdeps/unix/sysv/linux/setegid.c: Do not include
39800 <kernel-features.h>.
39801 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
39803 (__setresgid): Do not declare.
39804 [__ASSUME_32BITUIDS]: Make code unconditional.
39805 [!__ASSUME_32BITUIDS]: Remove conditional code.
39806 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
39807 <kernel-features.h>.
39808 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
39810 (__setresuid): Do not declare.
39811 [__ASSUME_32BITUIDS]: Make code unconditional.
39812 [!__ASSUME_32BITUIDS]: Remove conditional code.
39813 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
39814 <kernel-features.h>.
39815 [__ASSUME_32BITUIDS]: Make code unconditional.
39816 [!__ASSUME_32BITUIDS]: Remove conditional code.
39817 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
39818 <kernel-features.h>.
39819 [__ASSUME_32BITUIDS]: Make code unconditional.
39820 [!__ASSUME_32BITUIDS]: Remove conditional code.
39822 2012-05-25 Richard Henderson <rth@twiddle.net>
39824 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
39825 dl_hwcap to ifunc resolver.
39826 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
39828 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
39829 dl_hwcap to ifunc resolver.
39830 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
39832 2012-05-24 Joseph Myers <joseph@codesourcery.com>
39835 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
39836 for |x| <= 2**-26, not 2**-57.
39837 * math/libm-test.inc (acos_test): Do not allow spurious underflow
39840 2012-05-24 Jeff Law <law@redhat.com>
39842 * stdio-common/Makefile (tests): Add bug25.
39843 * stdio-common/bug25.c: New test.
39845 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
39848 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
39849 multiple of MALLOC_ALIGNMENT in size.
39850 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
39852 2012-05-24 Joseph Myers <joseph@codesourcery.com>
39854 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
39856 (FILENAME_MAX): Use macro-int-constant.
39857 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
39858 (_IOFBF): Use macro-int-constant.
39859 (_IOLBF): Likewise.
39860 (_IONBF): Likewise.
39861 (SEEK_CUR): Likewise.
39862 (SEEK_END): Likewise.
39863 (SEEK_SET): Likewise.
39864 (TMP_MAX): Likewise.
39865 (EOF): Use macro-int-constant. Require < 0.
39866 (NULL): Use macro-constant. Require == 0.
39867 (stdin): Require type to be FILE *.
39868 (stdout): Likewise.
39869 (stderr): Likewise.
39870 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
39871 macro-int-constant.
39872 (EXIT_SUCCESS): Likewise.
39873 (NULL): Use macro-constant. Require == 0.
39874 (RAND_MAX): Use macro-int-constant.
39875 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
39876 [C99-based standards] (strtof): Require function.
39877 [C99-based standards] (strtold): Likewise.
39878 [C99-based standards] (strtoll): Likewise.
39879 [C99-based standards] (strtoull): Likewise.
39880 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
39881 [ISO || ISO99 || ISO11] (limits.h): Likewise.
39882 [ISO || ISO99 || ISO11] (math.h): Likewise.
39883 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
39884 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
39885 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39887 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
39890 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
39891 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
39892 * intl/dgettext.c (DCGETTEXT): Likewise.
39893 * intl/gettext.c (DCGETTEXT): Likewise.
39894 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
39895 * posix/regex_internal.h (gettext): Likewise.
39896 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
39897 Remove declaration.
39898 * include/argz.h (__argz_count_internal)
39899 (__argz_stringify_internal): Remove declaration.
39900 (__argz_count, __argz_stringify): Declare hidden proto.
39901 * intl/dcgettext.c: Remove use of INTDEF.
39902 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
39903 * string/argz-stringify.c: Likewise.
39904 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
39905 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
39906 Declare hidden proto.
39907 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
39908 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
39909 Declare hidden proto.
39910 * include/stdio.h (__asprintf_internal): Don't declare.
39911 (__asprintf): Don't define as macro. Declare hidden proto.
39912 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
39913 (__fsetlocking): Declare hidden proto.
39914 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
39915 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
39917 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
39918 (_IO_setlinebuf): Remove use of INTUSE.
39919 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
39920 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
39921 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
39922 Remove declaration.
39923 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
39924 (_IO_do_flush): Remove use of INTUSE.
39925 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
39926 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
39927 (_IO_adjust_column, _IO_least_wmarker)
39928 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
39929 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
39930 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
39931 (_IO_default_doallocate, _IO_wdefault_doallocate)
39932 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
39933 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
39934 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
39935 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
39936 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
39937 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
39938 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
39939 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
39940 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
39941 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
39942 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
39943 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
39944 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
39946 (_IO_flush_all_internal, _IO_adjust_column_internal)
39947 (_IO_default_uflow_internal, _IO_default_finish_internal)
39948 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
39949 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
39950 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
39951 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
39952 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
39953 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
39954 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
39955 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
39956 (_IO_file_close_internal, _IO_file_close_it_internal)
39957 (_IO_file_underflow_internal, _IO_file_overflow_internal)
39958 (_IO_file_init_internal, _IO_file_attach_internal)
39959 (_IO_file_fopen_internal, _IO_file_read_internal)
39960 (_IO_file_sync_internal, _IO_file_seek_internal)
39961 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
39962 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
39963 (_IO_str_underflow_internal, _IO_str_overflow_internal)
39964 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
39965 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
39966 (_IO_list_all_internal, _IO_link_in_internal)
39967 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
39968 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
39969 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
39970 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
39971 (_IO_do_write_internal, _IO_padn_internal)
39972 (_IO_getline_info_internal, _IO_getline_internal)
39973 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
39974 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
39975 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
39976 (_IO_vfscanf_internal, _IO_vfprintf_internal)
39977 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
39978 (_IO_init_internal, _IO_un_link_internal): Don't declare.
39979 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
39980 with libc_hidden_ver, remove use of INTUSE.
39981 * libio/genops.c: Likewise.
39982 * libio/freopen.c: Likewise.
39983 * libio/freopen64.c: Likewise.
39984 * libio/iofclose.c: Likewise.
39985 * libio/iofdopen.c: Likewise.
39986 * libio/iofflush.c: Likewise.
39987 * libio/iofflush_u.c: Likewise.
39988 * libio/iofgets.c: Likewise.
39989 * libio/iofgets_u.c: Likewise.
39990 * libio/iofopen.c: Likewise.
39991 * libio/iofopncook.c: Likewise.
39992 * libio/iofread.c: Likewise.
39993 * libio/iofread_u.c: Likewise.
39994 * libio/ioftell.c: Likewise.
39995 * libio/iofwrite.c: Likewise.
39996 * libio/iogetline.c: Likewise.
39997 * libio/iogets.c: Likewise.
39998 * libio/iogetwline.c: Likewise.
39999 * libio/iopadn.c: Likewise.
40000 * libio/iopopen.c: Likewise.
40001 * libio/ioseekoff.c: Likewise.
40002 * libio/ioseekpos.c: Likewise.
40003 * libio/iosetbuffer.c: Likewise.
40004 * libio/iosetvbuf.c: Likewise.
40005 * libio/ioungetc.c: Likewise.
40006 * libio/ioungetwc.c: Likewise.
40007 * libio/iovdprintf.c: Likewise.
40008 * libio/iovsprintf.c: Likewise.
40009 * libio/iovsscanf.c: Likewise.
40010 * libio/memstream.c: Likewise.
40011 * libio/obprintf.c: Likewise.
40012 * libio/oldfileops.c: Likewise.
40013 * libio/oldiofclose.c: Likewise.
40014 * libio/oldiofdopen.c: Likewise.
40015 * libio/oldiofopen.c: Likewise.
40016 * libio/oldiopopen.c: Likewise.
40017 * libio/oldstdfiles.c: Likewise.
40018 * libio/putc.c: Likewise.
40019 * libio/setbuf.c: Likewise.
40020 * libio/setlinebuf.c: Likewise.
40021 * libio/stdfiles.c: Likewise.
40022 * libio/strops.c: Likewise.
40023 * libio/vasprintf.c: Likewise.
40024 * libio/vscanf.c: Likewise.
40025 * libio/vsnprintf.c: Likewise.
40026 * libio/vswprintf.c: Likewise.
40027 * libio/wfiledoalloc.c: Likewise.
40028 * libio/wfileops.c: Likewise.
40029 * libio/wgenops.c: Likewise.
40030 * libio/wmemstream.c: Likewise.
40031 * libio/wstrops.c: Likewise.
40032 * libio/__fpurge.c: Likewise.
40033 * libio/__fsetlocking.c: Likewise.
40034 * assert/assert.c: Likewise.
40035 * debug/fgets_chk.c: Likewise.
40036 * debug/fgets_u_chk.c: Likewise.
40037 * debug/fread_chk.c: Likewise.
40038 * debug/fread_u_chk.c: Likewise.
40039 * debug/gets_chk.c: Likewise.
40040 * debug/obprintf_chk.c: Likewise.
40041 * debug/vasprintf_chk.c: Likewise.
40042 * debug/vdprintf_chk.c: Likewise.
40043 * debug/vsnprintf_chk.c: Likewise.
40044 * debug/vsprintf_chk.c: Likewise.
40045 * malloc/mtrace.c: Likewise.
40046 * misc/error.c: Likewise.
40047 * misc/syslog.c: Likewise.
40048 * stdio-common/asprintf.c: Likewise.
40049 * stdio-common/fxprintf.c: Likewise.
40050 * stdio-common/getw.c: Likewise.
40051 * stdio-common/isoc99_fscanf.c: Likewise.
40052 * stdio-common/isoc99_scanf.c: Likewise.
40053 * stdio-common/isoc99_vfscanf.c: Likewise.
40054 * stdio-common/isoc99_vscanf.c: Likewise.
40055 * stdio-common/isoc99_vsscanf.c: Likewise.
40056 * stdio-common/printf-prs.c: Likewise.
40057 * stdio-common/printf_fp.c: Likewise.
40058 * stdio-common/printf_fphex.c: Likewise.
40059 * stdio-common/printf_size.c: Likewise.
40060 * stdio-common/putw.c: Likewise.
40061 * stdio-common/scanf.c: Likewise.
40062 * stdio-common/sprintf.c: Likewise.
40063 * stdio-common/tmpfile.c: Likewise.
40064 * stdio-common/vfprintf.c: Likewise.
40065 * stdio-common/vfscanf.c: Likewise.
40066 * stdlib/strfmon_l.c: Likewise.
40067 * sunrpc/openchild.c: Likewise.
40068 * sunrpc/xdr_stdio.c: Likewise.
40069 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
40070 * sysdeps/mach/hurd/tmpfile.c: Likewise.
40072 2012-05-24 Roland McGrath <roland@hack.frob.com>
40074 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
40076 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
40077 in the third column, to generate for the shared library an IFUNC
40078 that uses _dl_vdso_vsym.
40079 * Makerules (COMPILE.c, compile-stdin.c): New variables.
40080 * Makeconfig (object-suffixes-noshared): New variable.
40082 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
40083 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
40084 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
40085 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
40088 * include/sys/time.h (__gettimeofday): Remove macro.
40089 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
40090 * time/gettimeofday.c (__gettimeofday): Remove #undef.
40092 (__gettimeofday): Add libc_hidden_def.
40093 (gettimeofday): Add libc_hidden_weak.
40094 * sysdeps/mach/gettimeofday.c: Likewise.
40095 * sysdeps/posix/gettimeofday.c: Likewise.
40096 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
40097 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
40098 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
40099 (__gettimeofday_internal): Remove strong_alias.
40100 (__gettimeofday): Add libc_hidden_def.
40101 (gettimeofday): Add libc_hidden_weak.
40102 * sysdeps/unix/syscalls.list (gettimeofday):
40103 Remove __gettimeofday_internal alias.
40105 2012-05-24 Daniel Jacobowitz <drow@false.org>
40106 H.J. Lu <hongjiu.lu@intel.com>
40109 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
40110 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
40111 (largebin_index_32_big): New.
40112 (largebin_index): Use it for 16-byte alignment.
40113 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
40114 correction with front_misalign.
40116 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
40118 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
40119 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
40121 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
40123 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
40125 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
40127 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
40129 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
40131 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
40133 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
40135 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
40137 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
40139 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
40141 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
40144 * scripts/data/c++-types-x32-linux-gnu.data: New file.
40145 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
40147 2012-05-24 Joseph Myers <joseph@codesourcery.com>
40151 * math/libm-test.inc (exp_test): Add test from bug 14036.
40152 (pow_test): Add test from bug 10846.
40154 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
40156 (special_function): Do not include flags in test name.
40157 (parse_args): Likewise.
40158 * sysdeps/i386/fpu/libm-test-ulps: Update.
40159 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40160 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
40161 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
40162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40164 * math/gen-libm-test.pl (%beautify): Add entries for underflow
40166 * math/libm-test.inc ("Philosophy"): Update comment about
40168 (UNDERFLOW_EXCEPTION): New macro.
40169 (UNDERFLOW_EXCEPTION_OK): Likewise.
40170 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
40171 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
40172 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
40173 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
40174 (INVALID_EXCEPTION_OK): Update value.
40175 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
40176 (OVERFLOW_EXCEPTION_OK): Likewise.
40177 (IGNORE_ZERO_INF_SIGN): Likewise.
40178 (test_exceptions): Handle underflow exceptions.
40179 (acos_test): Update for underflow exception expectations.
40180 (cexp_test): Likewise.
40181 (clog_test): Likewise.
40182 (clog10_test): Likewise.
40183 (csqrt_test): Likewise.
40184 (ctan_test): Likewise.
40185 (ctanh_test): Likewise.
40186 (exp_test): Likewise.
40187 (exp10_test): Likewise.
40188 (exp2_test): Likewise.
40189 (expm1_test): Likewise.
40190 (fma_test): Likewise.
40191 (j0_test): Likewise.
40192 (jn_test): Likewise.
40193 (nexttoward_test): Likewise.
40194 (pow_test): Likewise.
40195 (scalbn_test): Likewise.
40196 (scalbln_test): Likewise.
40197 (tan_test): Likewise.
40198 (y1_test): Likewise.
40199 * sysdeps/i386/fpu/libm-test-ulps: Update.
40200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40202 2012-05-23 David S. Miller <davem@davemloft.net>
40204 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
40205 (__libc_sigaction): Remove unused local variables.
40207 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
40209 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
40211 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
40213 mktime: avoid signed integer overflow
40214 * time/mktime.c (__mktime_internal): Do not mishandle the case
40215 where diff == INT_MIN.
40217 mktime: simplify computation of average
40218 * time/mktime.c (ranged_convert): Use new time_t_avg function
40219 instead of rolling our own (probably-slower) code.
40221 mktime: do not assume signed right shift propagates sign bit
40222 * time/mktime.c (isdst_differ): New static function.
40223 (__mktime_internal): No need to normalize tm_isdst now.
40224 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
40227 mktime: merge another wrapv change from gnulib
40228 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
40229 from some compilers.
40231 mktime: remove incorrect attempt at unusual arithmetics
40232 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
40233 The code didn't really work on such machines anyway.
40234 (TYPE_MINIMUM): Assume two's complement.
40235 (twos_complement_arithmetic): Verify that long_int and time_t
40236 are two's complement (or unsigned, in the latter case).
40238 mktime: check signed shifts on long_int and time_t, too
40239 * time/mktime.c (SHR): Check that shifts work as desired
40240 on the types long_int and time_t too, as SHR is used on
40243 mktime: do not assume 'long' is wide enough
40244 * time/mktime.c (verify): Move decl up.
40245 (long_int): New type.
40246 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
40247 to remove assumption in the code that 'long' is wide enough to
40248 store year values. This assumption is not true on x32 and on
40249 some non-glibc platforms.
40251 mktime: merge wrapv change from gnulib
40252 * time/mktime.c (WRAPV): New macro.
40253 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
40254 (guess_time_tm, __mktime_internal): Do not assume that signed
40255 integer overflow wraps around; modern compilers generate code
40256 where this assumption is no longer valid.
40258 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
40260 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
40261 Replace "jmp L(pseudo_end)" with "ret".
40262 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
40265 2012-05-23 Andreas Jaeger <aj@suse.de>
40267 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
40268 * sysdeps/unix/sysv/linux/poll.c: Remove file.
40270 2012-05-23 Andreas Jaeger <aj@suse.de>
40271 Maximilian Attems <max@stro.at>
40273 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
40276 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
40278 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
40279 code so that pseudo_end is just ret and the stack pointer is
40280 correct also for static library in error case.
40282 2012-05-23 Joseph Myers <joseph@codesourcery.com>
40284 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
40285 move to syscalls.list.
40286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
40287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
40288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
40289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
40291 * manual/install.texi (Running make install): Do not mention Linux
40292 kernel version for which pt_chown is not needed.
40293 (Linux): Do not mention problems with nscd with 2.0 kernels.
40294 * INSTALL: Regenerated.
40296 2012-05-23 Andreas Jaeger <aj@suse.de>
40298 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
40299 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
40301 * sysdeps/unix/sysv/linux/s390/bits/mman.h
40302 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40303 * sysdeps/unix/sysv/linux/sh/bits/mman.h
40304 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40305 * sysdeps/unix/sysv/linux/i386/bits/mman.h
40306 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40307 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
40308 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40309 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
40310 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40311 * sysdeps/unix/sysv/linux/bits/in.h
40312 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
40314 2012-05-22 Roland McGrath <roland@hack.frob.com>
40316 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
40317 (PREPARE_VERSION): Just use assert instead, it will be elided
40318 under [NDEBUG] anyway.
40320 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40322 * sysdeps/unix/sysv/linux/Makefile: Include
40323 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
40324 (sysdep_routines): Remove sysctl.
40325 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
40326 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
40327 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
40328 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
40329 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
40331 2012-05-22 Andreas Jaeger <aj@suse.de>
40333 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
40334 that pseudo_end is just ret and the stack pointer is correct also
40335 for static library in error case.
40337 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
40340 * nss/nsswitch.c (defconfig_entries): New variable.
40341 (__nss_database_lookup): Don't leak defconfig entries.
40342 (nss_parse_service_list): Don't leak on error paths.
40343 (free_database_entries): New function.
40344 (free_defconfig): New function.
40345 (free_mem): Move common code to free_database_entries.
40347 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40349 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
40351 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
40353 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
40354 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
40355 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
40357 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
40358 (INTERNAL_SYSCALL_TYPES): Likewise.
40359 (LOAD_ARGS_TYPES_[1-6]): Likewise.
40360 (LOAD_REGS_TYPES_[1-6]): Likewise.
40361 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
40362 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
40364 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40366 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
40367 copysignl for GLIBC_2_0.
40368 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
40369 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
40370 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
40371 logbl for GLIBC_2_0.
40372 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
40373 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
40375 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40377 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
40378 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
40380 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
40383 * time/mktime.c: Update copyright years.
40385 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
40387 mktime: merge comment-quoting-style change from gnulib
40388 * time/mktime.c: Quote 'like this' in comments.
40389 The GNU coding standards suggest that we no longer quote `like this',
40390 as "`" and "'" are typically rendered asymmetrically nowadays.
40391 The typical gnulib style is to quote 'like this' when quoting
40392 code, and "like this" when quoting English.
40394 * time/mktime.c (compile-command): Add "-I.".
40396 mktime: merge mktime-internal.h change from gnulib
40397 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
40399 mktime: merge time_r change from gnulib
40400 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
40402 mktime: merge DEBUG change from gnulib
40403 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
40404 case system <time.h> has a #define.
40406 mktime: merge <sys/types.h> change from gnulib
40407 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
40408 since <time.t> is now guaranteed to define time_t.
40410 mktime: merge HAVE_CONFIG_H change from gnulib
40411 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
40413 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40415 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
40418 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
40420 (struct rusage): Use anonymous union to pad each field to
40423 2012-05-21 David S. Miller <davem@davemloft.net>
40425 * Makefules (o-iterator): Remove .s cases.
40426 (compile-command.s): Delete.
40427 (COMPILE.s): Delete.
40428 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
40430 2012-05-21 Joseph Myers <joseph@codesourcery.com>
40432 * configure.in (libc_cv_predef_stack_protector): Only consider
40433 "foobar" and "__stack_chk_fail" lines in libc_undefs.
40434 * configure: Regenerated.
40436 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
40438 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
40439 New macro. Use R*LP on int and pointer.
40440 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
40441 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
40442 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
40443 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
40445 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
40446 [__WORDSIZE_TIME64_COMPAT32] instead of
40447 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
40448 (struct utmp): Likewise.
40449 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
40450 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
40452 (__WORDSIZE_TIME64_COMPAT32): This.
40453 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
40454 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
40455 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
40456 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
40457 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
40458 (__WORDSIZE_TIME64_COMPAT32): New macro.
40460 2012-05-21 Andreas Jaeger <aj@suse.de>
40462 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
40463 only if [SHARED]. Add prototype for __wcschr_ia32.
40465 2012-05-21 Roland McGrath <roland@hack.frob.com>
40467 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
40468 of %rbp unmolested in the jmp_buf while mangling the low bits.
40469 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
40470 unmolested high bits of %rbp while demangling the low bits.
40471 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
40473 2012-05-21 Andreas Jaeger <aj@suse.de>
40475 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
40476 * sunrpc/svc_simple.c: Use it for registerrpc.
40477 * sunrpc/xcrypt.c: Use it for passwd2des.
40479 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
40481 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
40483 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
40484 Don't define if [__SYSCALL_WORDSIZE != 32].
40485 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
40488 2012-05-21 Bruno Haible <bruno@clisp.org>
40489 Andreas Jaeger <aj@suse.de>
40491 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
40492 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
40493 inptr and inend for must_buffer_ch.
40494 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
40495 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
40496 * stdio-common/Makefile (tests): Remove bug15.
40497 (bug15-ENV): Remove macro.
40498 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
40501 2012-05-19 Andreas Jaeger <aj@suse.de>
40502 Roland McGrath <roland@hack.frob.com>
40504 * manual/contrib.texi: Completely rewritten. It contains now an
40505 alphabetical list of contributors and their contributions.
40507 2012-05-21 Richard Henderson <rth@twiddle.net>
40509 * misc/getauxval.c (__getauxval): Use unsigned long int.
40510 * misc/sys/auxv.h: Include <sys/cdefs.h>.
40511 (getauxval): Use unsigned long int.
40513 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
40515 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
40517 2012-05-21 Roland McGrath <roland@hack.frob.com>
40519 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
40520 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
40521 __alignof__ (long double).
40523 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40525 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40527 2012-05-20 Richard Henderson <rth@twiddle.net>
40529 * misc/getauxval.c: New file.
40530 * misc/sys/auxv.h: New file.
40531 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
40532 (routines): Add getauxval.
40533 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
40534 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
40535 * elf/dl-sysdep.c (_dl_auxv): Remove.
40536 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
40537 * elf/dl-support.c (_dl_auxv): New variable.
40538 (_dl_aux_init): Initialize it.
40539 * manual/startup.texi (Auxiliary Vector): New node.
40540 * sysdeps/generic/bits/hwcap.h: New file.
40541 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
40542 * sysdeps/powerpc/sysdep.h: ... here. Include it.
40543 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
40544 * sysdeps/sparc/sysdep.h: ... here. Include it.
40545 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
40546 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
40547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
40550 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
40551 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
40552 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
40553 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
40554 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
40555 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
40556 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
40558 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40560 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40562 2012-05-19 David S. Miller <davem@davemloft.net>
40564 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40566 2012-05-19 Joseph Myers <joseph@codesourcery.com>
40569 * math/s_ccosh.c: Include <float.h>
40570 (__ccosh): Avoid internal overflow calculating sinh and cosh
40571 values before multiplying by sin and cos values.
40572 * math/s_ccoshf.c: Likewise.
40573 * math/s_ccoshl.c: Likewise.
40574 * math/s_csin.c: Likewise.
40575 * math/s_csinf.c: Likewise.
40576 * math/s_csinl.c: Likewise.
40577 * math/s_csinh.c: Likewise.
40578 * math/s_csinhf.c: Likewise.
40579 * math/s_csinhl.c: Likewise.
40580 * math/libm-test.inc (ccos_test): Add more tests.
40581 (ccosh_test): Likewise.
40582 (csin_test): Likewise.
40583 (csinh_test): Likewise.
40584 * sysdeps/i386/fpu/libm-test-ulps: Update.
40585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40587 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
40589 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
40590 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
40592 * sysdeps/x86_64/x32/_itoa.h: Add comment.
40594 2012-05-19 Joseph Myers <joseph@codesourcery.com>
40596 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
40597 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
40598 * sysdeps/powerpc/soft-fp/Versions: Likewise.
40599 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
40600 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
40601 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
40602 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
40603 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
40604 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
40605 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
40606 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
40607 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
40608 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
40609 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
40610 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
40611 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
40612 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
40613 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
40614 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
40615 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
40616 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
40617 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
40618 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
40619 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
40620 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
40621 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
40622 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
40623 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
40624 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
40625 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
40626 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
40628 2012-05-18 Andreas Jaeger <aj@suse.de>
40630 * csu/.gitignore: Delete.
40632 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
40634 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
40635 (timex): Use __syscall_slong_t.
40637 2012-05-18 Andreas Jaeger <aj@suse.de>
40638 Carlos O'Donell <carlos_odonell@mentor.com>
40640 * manual/install.texi (Configuring and compiling): Update
40641 description about files modified in the source directory.
40642 * INSTALL: Regenerated.
40644 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
40646 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
40647 value. Use "or" to set return value to -1.
40648 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
40649 negate return value.
40651 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40653 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
40654 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
40655 failure if the compiler has Graphite support disabled.
40656 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
40658 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
40659 (CFLAGS-memmove.c): Likewise.
40660 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
40663 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
40665 * sysdeps/x86_64/x32/_itoa.h: New file.
40667 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
40668 getdents system call only if kernel and user dirents have the
40669 same d_ino and d_off.
40671 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
40672 LLONG_MAX != LONG_MAX.
40673 (_itoa_word): Use _ITOA_WORD_TYPE on value.
40674 (_fitoa_word): Likewise.
40676 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
40678 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
40679 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
40680 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
40682 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
40683 include <bits/wordsize.h>. Check __x86_64__ instead of
40685 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
40686 if __x86_64__ is defined. Use anonymous union on fpstate.
40688 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
40691 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
40693 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
40694 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
40695 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
40696 Refer to _rtld_local_ro instead of _rtld_global_ro.
40697 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
40699 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
40701 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
40703 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
40704 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
40705 of _rtld_global, and rtld_progname instead of _dl_argv[0].
40707 * sysdeps/powerpc/powerpc32/dl-machine.c
40708 (__elf_machine_runtime_setup) [PROF]: Don't reference
40711 2012-05-18 Andreas Jaeger <aj@suse.de>
40713 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
40714 function only available for GCCs before 3.4 since GCC 3.4
40715 introduced a builtin.
40717 (llrintf): Likewise.
40718 (llrint): Likewise.
40725 (nearbyint): Likewise.
40726 (nearbyintf): Likewise.
40730 (floorf): Likewise.
40732 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
40734 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
40735 on both fields and cast pointer to __syscall_ulong_t.
40737 * bits/types.h (__fsword_t): New type.
40738 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
40739 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
40740 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40741 (__FSWORD_T_TYPE): Likewise.
40742 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40743 (__FSWORD_T_TYPE): Likewise.
40744 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40745 (__FSWORD_T_TYPE): Likewise.
40746 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
40747 (__FSWORD_T_TYPE): Likewise.
40748 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
40749 __SWORD_TYPE with __fsword_t.
40750 (statfs64): Likewise.
40752 2012-05-17 David S. Miller <davem@davemloft.net>
40754 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
40756 2012-05-17 Andreas Jaeger <aj@suse.de>
40758 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
40761 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
40763 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
40765 2012-05-17 Andreas Jaeger <aj@suse.de>
40767 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
40770 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
40772 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
40774 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
40776 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
40777 * sysdeps/x86_64/tst-mallocalign1.c: New file.
40779 2012-05-17 Andreas Jaeger <aj@suse.de>
40780 Carlos O'Donell <carlos_odonell@mentor.com>
40783 * sysdeps/x86_64/multiarch/init-arch.h
40784 (bit_YMM_Usable): Rename to...
40785 (bit_AVX_Usable): ... this.
40786 (bit_FMA4_Usable): New macro.
40787 (bit_XMM_state): New macro.
40788 (bit_YMM_state): New macro.
40789 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
40790 [__ASSEMBLER__] (index_AVX_Usable): ... this.
40791 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
40792 (CPUID_OSXSAVE): New macro.
40793 (CPUID_AVX): New macro.
40794 (CPUID_FMA4): New macro.
40795 (index_YMM_Usable): Rename to...
40796 (index_AVX_Usable): ... this.
40797 (HAS_AVX): Use HAS_ARCH_FEATURE.
40798 (HAS_FMA4): Likewise.
40799 (HAS_YMM_USABLE): Remove.
40800 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40801 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
40803 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
40804 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
40805 * sysdeps/x86_64/multiarch/Makefile: Likewise.
40806 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
40807 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
40809 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
40811 * math/libm-test.c: Support platforms without multiple rounding modes.
40812 * math/bug-nextafter.c: Support platforms without FP exceptions.
40813 * math/bug-nexttoward.c: Likewise.
40814 * math/test-fenv.c: Likewise.
40815 * math/test-misc.c: Likewise.
40816 * stdlib/bug-getcontext.c: Likewise.
40818 2012-05-17 Andreas Jaeger <aj@suse.de>
40820 * manual/examples/search.c (critter_cmp): Change signature to
40822 * manual/string.texi (Collation Functions): Likewise.
40824 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40826 * bits/types.h: Fold copyright years.
40827 * bits/typesizes.h: Likewise.
40828 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
40829 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
40830 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
40831 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
40832 * time/time.h: Likewise.
40834 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
40837 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
40838 in instead of returning them. Return void.
40839 (__libc_mallinfo): Accumulate over all arenas.
40840 (__malloc_stats): Adjust for change in int_mallinfo interface.
40842 2012-05-16 Roland McGrath <roland@hack.frob.com>
40845 * configure.in (NM): Add AC_CHECK_TOOL for it.
40846 (libc_extra_cflags): New substituted variable.
40847 Check for -fstack-protector being used implicitly.
40848 * configure: Regenerated.
40849 * config.make.in (config-extra-cflags): New variable,
40850 gets @libc_extra_cflags@.
40851 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
40854 * configure.in: Check for _FORTIFY_SOURCE being predefined.
40855 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
40856 * configure: Regenerated.
40857 * config.make.in (CPPUNDEFS): New substituted variable.
40858 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
40859 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
40860 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
40862 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40864 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
40865 (mq_attr): Use __syscall_slong_t.
40867 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40869 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
40870 Check __x86_64__ instead of __WORDSIZE.
40871 (_STAT_VER_LINUX): Likewise.
40872 (stat): Check __x86_64__ instead of __WORDSIZE. Use
40873 __syscall_ulong_t and __syscall_slong_t.
40874 (stat64): Likewise.
40876 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40878 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
40880 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40882 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
40884 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40886 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
40889 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
40890 include <bits/wordsize.h>. Check __x86_64__ instead of
40892 (greg_t): Use "__extension__ long long int" if __x86_64__ is
40894 (mcontext_t): Replace "unsigned long" with "unsigned long long".
40896 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
40897 include <bits/wordsize.h>. Check __x86_64__ instead of
40899 (user_regs_struct): Use "__extension__ unsigned long long"
40900 instead of "unsigned long" if __x86_64__ is defined.
40901 (user): Likewise. Pad after pointer field if __ILP32__ is
40904 2012-05-16 Joseph Myers <joseph@codesourcery.com>
40906 * configure.in (makeinfo): Require version 4.5 or later. Allow
40908 * configure: Regenerated.
40909 * manual/install.texi (texinfo): Increase version requirement to
40911 * INSTALL: Regenerated.
40913 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
40915 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40917 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
40919 * sysdeps/x86_64/x32/ffs.c: New file.
40921 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
40923 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
40924 defined. Use __syscall_ulong_t.
40925 (shminfo): Use __syscall_ulong_t.
40926 (shm_info): Likewise.
40928 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
40931 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
40933 (msgqnum_t): Use __syscall_ulong_t.
40934 (msglen_t): Likewise.
40935 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
40938 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
40939 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
40941 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
40943 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
40944 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
40946 * sysvipc/sys/msg.h (msgbuf): Replace long int with
40949 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
40950 include <bits/wordsize.h>. Check __x86_64__ instead of
40953 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
40954 "unsigned long long int" if __x86_64__ is defined.
40955 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
40957 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
40958 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
40959 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
40961 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
40963 (GET_PC): Cast to uintptr_t first.
40964 (GET_FRAME): Likewise.
40965 (GET_STACK): Likewise.
40967 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
40968 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
40969 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
40970 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
40971 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
40972 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
40973 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
40974 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
40975 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
40976 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
40977 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
40978 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
40979 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
40980 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
40981 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
40982 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
40983 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
40984 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
40985 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
40986 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
40987 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
40988 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
40989 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
40990 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
40991 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
40992 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
40993 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
40994 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
40995 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
40997 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
40999 * Makerules (+depfiles): Also collect depfiles from .oS in
41001 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
41002 .oS, $(libnldbl-routines)).
41004 * Makerules (native-compile-mkdep-flags): Define.
41005 * sunrpc/Makefile (extra-objs): Add $(addprefix
41006 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
41007 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
41008 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
41009 calling $(make-target-directory).
41011 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41013 * bits/types.h (__snseconds_t): Removed.
41014 * time/time.h (struct timespec): Replace __snseconds_t with
41016 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
41017 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
41019 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41020 (__SNSECONDS_T_TYPE): Likewise.
41021 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41022 (__SNSECONDS_T_TYPE): Likewise.
41023 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41024 (__SNSECONDS_T_TYPE): Likewise.
41026 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41028 * sysdeps/mach/hurd/bits/typesizes.h
41029 (__SYSCALL_SLONG_TYPE): New macro.
41030 (__SYSCALL_ULONG_TYPE): Likewise.
41032 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41034 * bits/types.h (__syscall_slong_t): New type.
41035 (__syscall_ulong_t): Likewise.
41037 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
41038 (__SYSCALL_ULONG_TYPE): Likewise.
41039 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41040 (__SYSCALL_SLONG_TYPE): Likewise.
41041 (__SYSCALL_ULONG_TYPE): Likewise.
41042 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41043 (__SYSCALL_SLONG_TYPE): Likewise.
41044 (__SYSCALL_ULONG_TYPE): Likewise.
41045 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41046 (__SYSCALL_SLONG_TYPE): Likewise.
41047 (__SYSCALL_ULONG_TYPE): Likewise.
41049 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41051 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
41052 Add sigaltstack-offsets.sym.
41053 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
41054 <sigaltstack-offsets.h>.
41055 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
41056 longjmp_msg pointer.
41057 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
41058 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
41060 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
41062 2012-05-15 Joseph Myers <joseph@codesourcery.com>
41064 * elf/stackguard-macros.h: Remove file.
41065 * sysdeps/generic/stackguard-macros.h: New file.
41066 * sysdeps/i386/stackguard-macros.h: Likewise.
41067 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
41068 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
41069 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
41070 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
41071 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
41072 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
41073 * sysdeps/x86_64/stackguard-macros.h: Likewise.
41074 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
41075 <elf/stackguard-macros.h>.
41078 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
41079 __aligned__ in attribute.
41080 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
41081 (gregset_t): Likewise.
41083 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41085 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
41086 * sysdeps/x86_64/64/Implies-after: Here. New file.
41087 * sysdeps/x86_64/x32/Implies-after: New file.
41089 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41091 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
41092 and access return value for _dl_profile_fixup. Use R10_LP to
41095 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41097 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
41099 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41101 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
41102 * sysdeps/x86_64/x32/sysdep.h: New file.
41104 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41106 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
41107 * sysdeps/x86_64/setjmp.S: Likewise.
41109 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41111 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
41112 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
41113 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
41114 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
41115 remove unused global constant.
41117 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
41119 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
41120 include of <not-cancel.h>.
41122 2012-05-15 Roland McGrath <roland@hack.frob.com>
41124 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
41126 2012-05-15 Jeff Law <law@redhat.com>
41127 Andreas Jaeger <aj@suse.de>
41130 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
41132 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
41133 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
41134 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
41135 code changing __hst_map_handle.map.
41137 2012-05-15 Roland McGrath <roland@hack.frob.com>
41139 * configure.in (sysnames): Look for Implies-before and Implies-after
41141 * configure: Regenerated.
41143 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41145 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
41146 8-byte data alignment with LP_SIZE alignment.
41148 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41150 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
41153 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41155 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
41157 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41159 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
41160 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
41161 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
41163 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
41165 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41167 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
41168 (stackinfo_sub_sp): Likewise.
41170 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41172 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
41175 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41177 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
41180 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41182 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
41185 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41187 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
41189 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41191 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
41192 into R11_LP and load __x86_64_shared_cache_size_half into
41195 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41197 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
41200 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41202 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
41204 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
41206 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
41208 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
41209 powerpc32/power7/fpu/s_logb.c via #include.
41210 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
41211 powerpc32/power7/fpu/s_logbf.c via #include.
41212 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
41213 powerpc32/power7/fpu/s_logbl.c via #include.
41215 2012-05-15 Joseph Myers <joseph@codesourcery.com>
41217 * README.libm: Remove file.
41219 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41221 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
41222 count for x32. Use R*_LP and omit operand-size suffix.
41224 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41226 * shlib-versions: Move x86_64-.*-linux.* entries to ...
41227 * sysdeps/x86_64/64/shlib-versions: Here. New file.
41228 * sysdeps/x86_64/x32/shlib-versions: New file.
41230 2012-05-14 Roland McGrath <roland@hack.frob.com>
41232 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
41233 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
41234 Use _dl_fatal_printf instead.
41236 2012-05-14 Joseph Myers <joseph@codesourcery.com>
41238 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
41239 set if not set by the user. Do not allow for being unset.
41240 * sysdeps/unix/sysv/linux/configure: Regenerated.
41242 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41244 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
41245 the `q' suffix from lea and replace .quad with ASM_ADDR.
41247 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41249 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
41250 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
41252 (PTR_DEMANGLE): Likewise.
41254 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41256 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
41258 (ASM_ADDR): Likewise.
41259 (RAX_LP): Likewise.
41260 (RBP_LP): Likewise.
41261 (RBX_LP): Likewise.
41262 (RCX_LP): Likewise.
41263 (RDI_LP): Likewise.
41264 (RSI_LP): Likewise.
41265 (RSP_LP): Likewise.
41268 (R10_LP): Likewise.
41269 (R10_LP): Likewise.
41270 (R11_LP): Likewise.
41271 (R12_LP): Likewise.
41272 (R13_LP): Likewise.
41273 (R14_LP): Likewise.
41274 (R15_LP): Likewise.
41276 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41278 * sysdeps/x86_64/x32/dl-machine.h: New file.
41280 2012-05-14 Andreas Jaeger <aj@suse.de>
41282 * manual/Makefile (subdir): Remove export of subdir.
41283 (all): Remove target.
41284 (.PHONY): Remove all from list.
41285 (mkinstalldirs): Remove.
41286 (.PHONY): Remove installdirs from list.
41287 ($(inst_infodir)/libc.info): Use make-target-directory.
41288 (installdirs): Remove.
41289 (subdir_%): Remove.
41290 (glibc-targets): Remove.
41293 ($(objpfx)stubs ../po/manual.pot): Remove.
41294 ($(objpfx)stamp%): Remove.
41295 (make-target-directory): Remove.
41296 (subdir_install): Remove.
41297 (routines): Remove.
41304 * manual/.gitignore: Remove, it's not needed anymore.
41305 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
41307 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
41309 (texis): Renamed to $(objpfx)texis.
41310 (texis-path): New, contains path to generated files.
41311 (chapters.%): Use texis-path for complete path, add extra argument
41313 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
41314 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
41315 (summary,texi, stamp-summary): Use complete path of
41316 files. Generate files in build dir.
41317 (dir-add.texi): Build in build dir.
41318 (libm-err.texi,stamp-libm-err): Likewise.
41319 (version.texi, stamp-version): Likewise.
41320 (.%c.texi): Likewise.
41321 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
41322 (mostlyclean): Remove target.
41323 (realclean): Remove target.
41324 (generated): Add new variable with contents from mostlyclean and
41325 realclean, remove entries duplicated in common-mostlyclean, add
41326 stamp-libm-err and stamp-version.
41327 (generated-dirs): Add libc directory.
41328 ($(inst_infodir)/libc.info): Install files from build dir.
41330 * manual/install.texi (Configuring and compiling): Adjust since
41331 the info files are not part of the tar ball anymore.
41333 2012-05-14 Andreas Jaeger <aj@suse.de>
41335 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
41338 2012-05-14 Joseph Myers <joseph@codesourcery.com>
41341 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
41342 to 2.2.0 where earlier.
41343 * sysdeps/unix/sysv/linux/configure: Regenerated.
41344 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
41345 Remove conditional code.
41346 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
41347 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
41348 Remove conditional code.
41349 [!__NR_lchown]: Likewise.
41350 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41351 [__NR_lchown]: Likewise.
41352 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
41353 comment referencing __ASSUME_LCHOWN_SYSCALL.
41354 * sysdeps/unix/sysv/linux/i386/sigaction.c
41355 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41356 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41357 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
41358 Remove conditional code.
41359 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
41360 (__protocol_available): Remove #if 0 code.
41361 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
41363 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
41364 * sysdeps/unix/sysv/linux/kernel-features.h
41365 (__ASSUME_GETCWD_SYSCALL): Don't define.
41366 (__ASSUME_REALTIME_SIGNALS): Likewise.
41367 (__ASSUME_PREAD_SYSCALL): Likewise.
41368 (__ASSUME_PWRITE_SYSCALL): Likewise.
41369 (__ASSUME_POLL_SYSCALL): Likewise.
41370 (__ASSUME_LCHOWN_SYSCALL): Likewise.
41371 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
41373 (__ASSUME_SIOCGIFNAME): Don't define.
41374 (__ASSUME_MSG_NOSIGNAL): Likewise.
41375 (__ASSUME_SENDFILE): Define unconditionally.
41376 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
41377 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
41379 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
41380 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
41381 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
41382 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41383 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
41384 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
41385 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
41387 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41388 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
41390 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41391 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
41393 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41394 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
41396 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41397 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
41399 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41400 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
41402 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41403 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
41405 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41406 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
41408 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41409 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41410 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
41411 Remove conditional code.
41412 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41413 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
41414 Remove conditional code.
41415 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41416 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
41417 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
41418 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
41419 Remove conditional code.
41420 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41421 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
41422 Remove conditional code.
41423 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41424 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
41425 Remove conditional code.
41426 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41427 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
41428 Remove conditional code.
41429 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41430 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
41431 Remove conditional code.
41432 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41433 * sysdeps/unix/sysv/linux/sh/pwrite64.c
41434 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41435 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41436 * sysdeps/unix/sysv/linux/sigaction.c
41437 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41438 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41439 * sysdeps/unix/sysv/linux/sigpending.c
41440 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41441 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41442 * sysdeps/unix/sysv/linux/sigprocmask.c
41443 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41444 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41445 * sysdeps/unix/sysv/linux/sigsuspend.c
41446 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41447 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41448 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
41449 (__libc_missing_rt_sigs): Remove.
41450 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
41451 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
41452 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
41453 Remove conditional code.
41454 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
41455 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
41457 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
41458 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
41459 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
41460 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
41462 2012-05-14 Andreas Jaeger <aj@suse.de>
41464 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
41465 it's not used in glibc.
41466 (__coshm1): Likewise.
41467 (__acosh1p): Likewise.
41470 * manual/string.texi (Copying and Concatenation): Add missing
41471 variable in concat example.
41472 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
41474 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41477 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
41478 __builtin_clzl with __builtin_clzll.
41480 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41483 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
41486 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41488 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
41489 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
41490 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
41491 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
41493 2012-05-14 Mike Frysinger <vapier@gentoo.org>
41495 * NEWS: Update ia64 info.
41497 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
41499 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
41502 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
41504 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
41505 * sysdeps/unix/syscalls.list (dup3): Likewise.
41506 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
41507 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
41509 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
41511 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
41512 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
41514 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
41516 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
41518 (TLS_IE): Use mov/add instead of movq/addq to load thread
41520 (TLS_GD_PREFIX): New.
41523 2012-05-11 David S. Miller <davem@davemloft.net>
41525 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
41526 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
41527 (_FPU_SETCW): Likewise.
41529 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41531 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
41532 is 32-byte aligned.
41534 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
41537 * iconvdata/gb18030.c: Update tables.
41538 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
41539 characters specially.
41540 (BODY for TO_LOOP): Add encoding of missing ranges.
41542 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
41545 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
41546 * sysdeps/mach/hurd/dup3.c: Likewise.
41547 * sysdeps/mach/hurd/readlinkat.c: Likewise.
41548 * sysdeps/powerpc/memmove.c:: Likewise.
41550 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41552 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
41553 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
41555 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41557 * elf/elf.h (R_X86_64_RELATIVE64): New.
41558 (R_X86_64_NUM): Updated.
41559 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
41560 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
41561 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
41562 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
41563 tst-quad1pie tst-quad2pie
41564 (modules-names): Add tst-quadmod1 tst-quadmod2.
41565 ($(objpfx)tst-quad1): New dependency.
41566 ($(objpfx)tst-quad2): Likewise.
41567 ($(objpfx)tst-quad1pie): Likewise.
41568 ($(objpfx)tst-quad2pie): Likewise.
41569 * sysdeps/x86_64/tst-quad1.c: New file.
41570 * sysdeps/x86_64/tst-quad1pie.c: New file.
41571 * sysdeps/x86_64/tst-quad2.c: Likewise.
41572 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
41573 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
41574 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
41575 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
41576 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
41578 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41580 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
41581 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
41582 * streams/stropts.h (t_scalar_t): Define type.
41584 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
41585 (_PATH_PRESERVE): Set to "/var/lib".
41586 (_PATH_RWHODIR): Set to "/var/spool/rwho".
41588 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
41591 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
41592 if __dir_mkfile succeeded.
41594 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
41595 checking for _hurd_dtablesize. Unlock it right after having
41596 finished _hurd_dtable allocation.
41598 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41600 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
41601 * sysdeps/mach/hurd/configure: Regenerated.
41602 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
41603 special-casing to...
41604 * sysdeps/gnu/configure.in: ... this new file.
41605 * sysdeps/unix/sysv/linux/configure: Regenerated.
41606 * sysdeps/gnu/configure: New generated file.
41608 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
41609 for Linux: use nsec instead of usec, as well as:
41610 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
41611 members of type struct timespec.
41612 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
41614 (struct stat64): Likewise.
41615 (_STATBUF_ST_NSEC): New macro.
41616 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
41618 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
41619 __strtoul_internal rather than strtoul.
41621 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41623 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
41626 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41628 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
41629 which preserves existing values.
41630 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
41632 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41634 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
41635 TIMEOUT values. Return EINVAL for NFDS values either negative or
41636 greater than FD_SETSIZE.
41638 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41640 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
41641 allocated, call __vm_protect to finish enabling the existing space, and
41642 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
41643 allocate the remainder.
41645 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41647 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
41648 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
41650 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41652 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
41653 sysdeps/mach/hurd/readlink.c.
41655 * posix/tst-sysconf.c (posix_options): Only use
41656 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
41657 _POSIX_SYNCHRONIZED_IO when they are defined
41658 * sysdeps/mach/hurd/bits/posix_opt.h:
41659 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
41660 (_XOPEN_REALTIME): Undefine macro.
41661 (_XOPEN_REALTIME_THREADS): Undefine macro.
41662 (_XOPEN_SHM): Undefine macro.
41663 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
41665 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
41667 (_POSIX_ASYNC_IO): Undefine macro.
41668 (_POSIX_PRIORITIZED_IO): Undefine macro.
41669 (_POSIX_SPIN_LOCKS): Define macro to -1.
41671 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
41672 SA_NODEFER, SA_RESETHAND.
41673 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
41674 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
41677 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41679 * elf/Makefile (pldd-modules): Define unconditionally.
41681 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41683 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
41685 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41687 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
41688 Return ENOENT when name is empty.
41689 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
41691 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41693 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
41695 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
41697 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41699 Fix mlock in all cases except non-readable pages.
41700 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
41701 instead of VM_PROT_ALL as parameter to __vm_wire function.
41703 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
41704 (__mkdir): When path is `/', just fail with EEXIST.
41705 * sysdeps/mach/hurd/mkdirat.c: Likewise.
41707 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41709 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
41710 <sys/uio.h> (for writev).
41711 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
41712 and <sys/param.h> (for MIN).
41714 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41716 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
41717 REQUESTED_TIME. Properly set the remaining time and return EINTR
41720 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41722 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
41723 Depend on against $(link-rpcuserlibs).
41725 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41727 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
41728 (__libc_stack_end): Do not use attribute_relro.
41729 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
41730 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
41731 to libthread-provided value.
41732 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
41735 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41738 * bits/libc-lock.h (__libc_once_get): New macro.
41739 * sysdeps/mach/bits/libc-lock.h: Likewise.
41740 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
41741 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
41742 instead of using implementation details.
41744 * libio/fileops.c: Unconditionally include <kernel-features.h>.
41745 * libio/freopen.c: Likewise.
41746 * libio/freopen64.c: Likewise.
41747 * misc/syslog.c: Likewise.
41748 * nscd/connections.c: Likewise.
41749 * nscd/netgroupcache.c: Likewise.
41750 * sysdeps/posix/getcwd.c: Likewise.
41752 2012-05-10 Roland McGrath <roland@hack.frob.com>
41754 * math/w_ilogbf.c: Add #include <limits.h>.
41756 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41758 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
41759 path instead of returning without unlocking.
41761 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
41762 immediate-write ioctls.
41763 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
41765 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41767 * sysdeps/mach/hurd/i386/init-first.c (init): Use
41768 __builtin_frame_address instead of making assumptions about the
41769 location of the return address relative to DATA. Force early load of
41770 the return address.
41771 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
41772 __builtin_frame_address.
41775 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
41776 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
41777 implement dup3 and do some further code clean-ups.
41778 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
41779 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
41781 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41783 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
41785 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
41786 HURD_CRITICAL_END around holding _hurd_dtable_lock.
41787 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
41788 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
41789 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
41792 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
41793 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
41794 when handler == SIG_ERR, not when handler != SIG_ERR.
41796 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41798 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
41799 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
41802 accept4 for GNU Hurd.
41803 * include/sys/socket.h (__libc_accept4): New prototype.
41804 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
41805 to implement __libc_accept4.
41806 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
41808 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
41810 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
41811 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
41812 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
41813 signal-defines.sym.
41815 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41817 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
41819 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41821 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
41822 assertion on O_CLOEXEC flag.
41823 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
41824 * hurd/intern-fd.c: Likewise.
41825 * hurd/port2fd.c: Likewise.
41827 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41830 * bits/in.h (IPV6_PKTINFO): Define new macro.
41831 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
41833 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41838 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
41839 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41840 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
41841 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
41842 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41843 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
41844 * math/libm-test.inc (logb_test) : Additional logb tests.
41846 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
41847 Andreas Jaeger <aj@suse.de>
41849 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
41850 * configure: Regenerated.
41851 * config.h.in (LINK_OBSOLETE_RPC): New macro.
41852 * config.make.in (link-obsolete-rpc): New substituted variable.
41853 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
41854 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
41855 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
41856 (shared-only-routines): Don't set it under [link-obsolete-rpc],
41857 so that libc.a contains the symbols.
41858 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
41859 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
41860 * sunrpc/auth_none.c: Likewise.
41861 * sunrpc/auth_unix.c: Likewise.
41862 * sunrpc/authdes_prot.c: Likewise.
41863 * sunrpc/authuxprot.c: Likewise.
41864 * sunrpc/clnt_gen.c: Likewise.
41865 * sunrpc/clnt_perr.c: Likewise.
41866 * sunrpc/clnt_raw.c: Likewise.
41867 * sunrpc/clnt_simp.c: Likewise.
41868 * sunrpc/clnt_tcp.c: Likewise.
41869 * sunrpc/clnt_udp.c: Likewise.
41870 * sunrpc/clnt_unix.c: Likewise.
41871 * sunrpc/des_crypt.c: Likewise.
41872 * sunrpc/des_soft.c: Likewise.
41873 * sunrpc/get_myaddr.c: Likewise.
41874 * sunrpc/key_call.c: Likewise.
41875 * sunrpc/key_prot.c: Likewise.
41876 * sunrpc/netname.c: Likewise.
41877 * sunrpc/pm_getmaps.c: Likewise.
41878 * sunrpc/pm_getport.c: Likewise.
41879 * sunrpc/pmap_clnt.c: Likewise.
41880 * sunrpc/pmap_prot.c: Likewise.
41881 * sunrpc/pmap_prot2.c: Likewise.
41882 * sunrpc/pmap_rmt.c: Likewise.
41883 * sunrpc/publickey.c: Likewise.
41884 * sunrpc/rpc_cmsg.c: Likewise.
41885 * sunrpc/rpc_common.c: Likewise.
41886 * sunrpc/rpc_dtable.c: Likewise.
41887 * sunrpc/rpc_prot.c: Likewise.
41888 * sunrpc/rpc_thread.c: Likewise.
41889 * sunrpc/rtime.c: Likewise.
41890 * sunrpc/svc.c: Likewise.
41891 * sunrpc/svc_auth.c: Likewise.
41892 * sunrpc/svc_raw.c: Likewise.
41893 * sunrpc/svc_run.c: Likewise.
41894 * sunrpc/svc_tcp.c: Likewise.
41895 * sunrpc/svc_udp.c: Likewise.
41896 * sunrpc/svc_unix.c: Likewise.
41897 * sunrpc/svcauth_des.c: Likewise.
41898 * sunrpc/xcrypt.c: Likewise.
41899 * sunrpc/xdr.c: Likewise.
41900 * sunrpc/xdr_array.c: Likewise.
41901 * sunrpc/xdr_float.c: Likewise.
41902 * sunrpc/xdr_intXX_t.c: Likewise.
41903 * sunrpc/xdr_mem.c: Likewise.
41904 * sunrpc/xdr_rec.c: Likewise.
41905 * sunrpc/xdr_ref.c: Likewise.
41906 * sunrpc/xdr_sizeof.c: Likewise.
41907 * sunrpc/xdr_stdio.c: Likewise.
41909 2012-05-10 Roland McGrath <roland@hack.frob.com>
41911 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
41912 change. Update copyright years.
41914 2012-05-10 Joseph Myers <joseph@codesourcery.com>
41916 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
41918 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
41919 Joseph Myers <joseph@codesourcery.com>
41920 Paul Pluzhnikov <ppluzhnikov@google.com>
41923 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
41925 [cross-compiling] (extra-libs): Likewise.
41926 [cross-compiling] (extra-libs-others): Likewise.
41927 [cross-compiling] (librpcsvc-routines): Likewise.
41928 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
41929 [cross-compiling] (omit-deps): Likewise.
41930 (sunrpc-CPPFLAGS): New variable.
41931 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
41932 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
41933 (cross-rpcgen-objs): New variable.
41934 (extra-objs): Append $(cross-rpcgen-objs).
41935 ($(cross-rpcgen-objs)): New rule.
41936 ($(objpfx)cross-rpcgen): Likewise.
41937 (rpcgen-cmd): Define to use $(built-program-file). Expand
41939 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
41940 ($(objpfx)x%.stmp): Likewise.
41941 * sunrpc/proto.h [IS_IN_build] (_): Define.
41942 [IS_IN_build] (_libc_intl_domainname): Likewise.
41944 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41946 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
41947 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
41948 and R_X86_64_TPOFF64.
41950 2012-05-10 Joseph Myers <joseph@codesourcery.com>
41952 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
41953 sysdeps/unix/sysv/syscalls.list.
41956 * sysdeps/unix/sysv/syscalls.list: Remove file.
41958 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
41961 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
41962 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
41963 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
41964 (__LC_IDENTIFICATION): Make these macros useful in #if
41965 expressions, as required by C99.
41967 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
41969 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
41970 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
41973 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
41975 * stdlib/longlong.h: Updated from GCC.
41977 2012-05-09 Andreas Jaeger <aj@suse.de>
41979 * nscd/nscd.c (run_modes): Make named enum, reorder so that
41980 default is first entry.
41981 (run_mode): Set type.
41982 (main): Remove informal message about syslog.
41983 (options): Fix typo.
41986 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
41989 (llrintf): Likewise.
41990 (llrint): Likewise.
41993 (nearbyint): Likewise.
41994 (nearbyintf): Likewise.
41996 2012-05-09 Andreas Jaeger <aj@suse.de>
41997 Pedro Alves <palves@redhat.com>
41999 * nscd/nscd.c (run_mode): Use enum.
42000 (main): Cleanup coding style issue.
42002 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
42003 Andreas Jaeger <aj@suse.de>
42005 * nscd/nscd.c (go_background): Replaced with...
42006 (run_mode): ... this.
42007 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
42008 (options): Add -F --foreground.
42009 (main): Implement it.
42010 (parse_opt): Parse it.
42012 2012-05-09 Andreas Jaeger <aj@suse.de>
42015 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
42016 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
42017 -Wconversion warning.
42018 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
42021 2012-05-09 Joseph Myers <joseph@codesourcery.com>
42023 * conform/data/locale.h-data (NULL): Use macro-constant. Require
42025 (LC_ALL): Use macro-int-constant.
42026 (LC_COLLATE): Likewise.
42027 (LC_CTYPE): Likewise.
42028 (LC_MESSAGES): Likewise.
42029 (LC_MONETARY): Likewise.
42030 (LC_NUMERIC): Likewise.
42031 (LC_TIME): Likewise.
42032 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
42033 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
42034 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42035 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
42037 [C99-based standards] (float_t): Expect type.
42038 [C99-based standards] (double_t): Expect type.
42039 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
42041 [C99-based standards] (HUGE_VALL): Likewise.
42042 [C99-based standards] (INFINITY): Likewise.
42043 [C99-based standards] (NAN): Likewise.
42044 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
42045 [C99-based standards] (FP_NAN): Likewise.
42046 [C99-based standards] (FP_NORMAL): Likewise.
42047 [C99-based standards] (FP_SUBNORMAL): Likewise.
42048 [C99-based standards] (FP_ZERO): Likewise.
42049 [C99-based standards] (FP_FAST_FMA): Use
42050 optional-macro-int-constant. Specify type. Require == 1.
42051 [C99-based standards] (FP_FAST_FMAF): Likewise.
42052 [C99-based standards] (FP_FAST_FMAL): Likewise.
42053 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
42054 [C99-based standards] (FP_ILOGBNAN): Likewise.
42055 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
42057 [C99-based standards] (MATH_ERREXCEPT): Likewise.
42058 [C99-based standards] (math_errhandling): Specify type.
42059 [ISO99 || ISO11] (signgam): Do not allow.
42060 [non-C99-based standards] (copysignf): Do not allow.
42061 [non-C99-based standards] (exp2f): Likewise.
42062 [non-C99-based standards] (log2f): Likewise.
42063 [non-C99-based standards] (modff): Allow.
42064 [non-C99-based standards] (erff): Do not allow.
42065 [non-C99-based standards] (erfcf): Likewise.
42066 [non-C99-based standards] (gammaf): Likewise.
42067 [non-C99-based standards] (hypotf): Likewise.
42068 [non-C99-based standards] (j0f): Likewise.
42069 [non-C99-based standards] (j1f): Likewise.
42070 [non-C99-based standards] (jnf): Likewise.
42071 [non-C99-based standards] (lgammaf): Likewise.
42072 [non-C99-based standards] (tgammaf): Likewise.
42073 [non-C99-based standards] (y0f): Likewise.
42074 [non-C99-based standards] (y1f): Likewise.
42075 [non-C99-based standards] (ynf): Likewise.
42076 [non-C99-based standards] (isnanf): Likewise.
42077 [non-C99-based standards] (acoshf): Likewise.
42078 [non-C99-based standards] (asinhf): Likewise.
42079 [non-C99-based standards] (atanhf): Likewise.
42080 [non-C99-based standards] (cbrtf): Likewise.
42081 [non-C99-based standards] (expm1f): Likewise.
42082 [non-C99-based standards] (ilogbf): Likewise.
42083 [non-C99-based standards] (log1pf): Likewise.
42084 [non-C99-based standards] (logbf): Likewise.
42085 [non-C99-based standards] (nextafterf): Likewise.
42086 [non-C99-based standards] (remainderf): Likewise.
42087 [non-C99-based standards] (rintf): Likewise.
42088 [non-C99-based standards] (scalbf): Likewise.
42089 [non-C99-based standards] (copysignl): Likewise.
42090 [non-C99-based standards] (exp2l): Likewise.
42091 [non-C99-based standards] (log2l): Likewise.
42092 [non-C99-based standards] (modfl): Allow.
42093 [non-C99-based standards] (erfl): Do not allow.
42094 [non-C99-based standards] (erfcl): Likewise.
42095 [non-C99-based standards] (gammal): Likewise.
42096 [non-C99-based standards] (hypotl): Likewise.
42097 [non-C99-based standards] (j0l): Likewise.
42098 [non-C99-based standards] (j1l): Likewise.
42099 [non-C99-based standards] (jnl): Likewise.
42100 [non-C99-based standards] (lgammal): Likewise.
42101 [non-C99-based standards] (tgammal): Likewise.
42102 [non-C99-based standards] (y0l): Likewise.
42103 [non-C99-based standards] (y1l): Likewise.
42104 [non-C99-based standards] (ynl): Likewise.
42105 [non-C99-based standards] (isnanl): Likewise.
42106 [non-C99-based standards] (acoshl): Likewise.
42107 [non-C99-based standards] (asinhl): Likewise.
42108 [non-C99-based standards] (atanhl): Likewise.
42109 [non-C99-based standards] (cbrtl): Likewise.
42110 [non-C99-based standards] (expm1l): Likewise.
42111 [non-C99-based standards] (ilogbl): Likewise.
42112 [non-C99-based standards] (log1pl): Likewise.
42113 [non-C99-based standards] (logbl): Likewise.
42114 [non-C99-based standards] (nextafterl): Likewise.
42115 [non-C99-based standards] (remainderl): Likewise.
42116 [non-C99-based standards] (rintl): Likewise.
42117 [non-C99-based standards] (scalbl): Likewise.
42118 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42119 [non-C99-based standards] (FP_*): Do not allow.
42120 [C99-based standards] (FP_*): Change to
42121 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
42122 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42124 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
42125 (SIG_ERR): Likewise.
42126 [X/Open-based standards] (SIG_HOLD): Likewise.
42127 (SIG_IGN): Likewise.
42128 (SIGABRT): Use macro-int-constant. Specify type. Require
42130 (SIGFPE): Likewise.
42131 (SIGILL): Likewise.
42132 (SIGINT): Likewise.
42133 (SIGSEGV): Likewise.
42134 (SIGTER): Likewise.
42135 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
42136 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
42137 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
42138 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
42139 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
42140 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
42141 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
42142 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
42143 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
42144 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
42145 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
42146 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
42147 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
42148 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
42149 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
42150 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
42151 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
42152 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
42153 [X/Open-based standards] (SIGTRAP): Likewise.
42154 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
42155 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
42156 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
42157 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
42158 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42161 2012-05-08 Ian Wienand <ianw@vmware.com>
42164 * time/tzset.c (__tzset_parse_tz): Update default rules for
42165 daylight time changes in the Energy Policy Act of 2005.
42167 2012-05-09 Andreas Jaeger <aj@suse.de>
42170 * elf/ldconfig.c (parse_conf): Change string to make clear that
42171 ldconfig only issued a warning if ld.so.conf does not exist.
42173 2012-05-08 David S. Miller <davem@davemloft.net>
42175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
42176 movxtod instead of popping the value on the stack.
42178 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42180 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
42182 * config.h.in: Add HAVE_ARM_PCS_VFP.
42184 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
42187 * include/features.h: Warn if user requests __FORTIFY_SOURCE
42188 checking but the checks are disabled for any reason.
42190 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
42192 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
42193 and ELF64_R_TYPE with ELFW(R_TYPE).
42195 2012-05-08 Joseph Myers <joseph@codesourcery.com>
42197 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
42198 (ulimit): Likewise.
42200 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
42201 (settimeofday): Likewise.
42203 2012-05-08 Mike Frysinger <vapier@gentoo.org>
42205 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
42206 a struct th_u2 inside the union, and move tu_block/tu_code into
42207 a new th_u3 union of tu_block/tu_code inside of that. Move
42208 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
42209 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
42210 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
42211 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
42212 (th_stuff): Change to th_u1.tu_stuff.
42214 (th_msg): Change to th_u1.th_u2.tu_data.
42216 2012-05-07 David S. Miller <davem@davemloft.net>
42218 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42221 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
42222 (SETUP_PIC_REG): Use it.
42223 (SETUP_PIC_REG_LEAF): Use it.
42225 2012-05-07 Joseph Myers <joseph@codesourcery.com>
42229 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42231 (EXPL_FINITE): Likewise.
42232 (FLDLOG): Likewise.
42233 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
42234 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
42236 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42238 (EXPL_FINITE): Likewise.
42239 (FLDLOG): Likewise.
42240 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
42241 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
42243 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
42244 test of -max_value argument for long double.
42245 * sysdeps/i386/fpu/libm-test-ulps: Update.
42246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42248 2012-05-06 David S. Miller <davem@davemloft.net>
42250 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
42251 quad soft-float symbols whose references which are compiler
42253 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42255 2012-05-06 Joseph Myers <joseph@codesourcery.com>
42259 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42261 (EXPL_FINITE): Likewise.
42262 (FLDLOG): Likewise.
42265 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
42266 Adjust comments for base varying.
42267 (__expl_finite): Change alias to EXPL_FINITE.
42268 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
42270 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
42271 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
42272 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
42273 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
42274 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42276 (EXPL_FINITE): Likewise.
42277 (FLDLOG): Likewise.
42280 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
42281 Adjust comments for base varying.
42282 (__expl_finite): Change alias to EXPL_FINITE.
42283 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
42285 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42288 * math/libm-test.inc (check_float_internal): Correct ulp
42289 calculation for subnormal expected results.
42291 2012-05-06 Andreas Jaeger <aj@suse.de>
42293 * Makeconfig (+math-flags): New, set to -frounding-math.
42294 (+cflags): Add +math-flags so that all of glibc gets compiled with
42297 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
42299 2012-05-05 Joseph Myers <joseph@codesourcery.com>
42301 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
42307 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
42308 (__ieee754_expl): Allow for and saturate large arguments.
42309 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
42310 (u_threshold): Likewise.
42311 (__exp): Call __ieee754_exp before checking for overflow and
42313 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
42314 (u_threshold): Likewise.
42315 (__expf): Call __ieee754_expf before checking for overflow and
42317 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
42318 (u_threshold): Likewise.
42319 (__expl): Call __ieee754_expl before checking for overflow and
42321 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
42322 (__ieee754_expl): Allow for and saturate large arguments.
42323 * math/libm-test.inc (exp_test): Add another test. Do not allow
42324 missing overflow exception on overflow.
42325 (expm1_test): Do not allow missing overflow exception on overflow.
42327 * sysdeps/i386/fpu/e_expl.c: Move to ...
42328 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
42329 rather than using inline asm.
42330 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
42331 * sysdeps/x86_64/fpu/e_expl.S: Copy from
42332 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
42334 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
42337 (signal): Likewise.
42341 2012-05-04 Joseph Myers <joseph@codesourcery.com>
42343 * sysdeps/unix/syscalls.list (adjtime): Add entry from
42344 sysdeps/unix/common/syscalls.list.
42345 (fchmod): Likewise.
42346 (fchown): Likewise.
42347 (ftruncate): Likewise.
42348 (getrusage): Likewise.
42349 (gettimeofday): Likewise.
42350 (setpgid): Likewise.
42351 (setregid): Likewise.
42352 (setreuid): Likewise.
42353 (sigaction): Likewise.
42354 (truncate): Likewise.
42355 (vhangup): Likewise.
42356 * sysdeps/unix/common/syscalls.list: Remove file.
42357 * sysdeps/unix/bsd/Implies: Don't include unix/common.
42358 * sysdeps/unix/sysv/linux/Implies: Likewise.
42360 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
42362 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
42363 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
42364 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
42366 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
42368 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
42370 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
42371 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
42373 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
42374 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
42376 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
42377 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
42379 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
42380 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
42382 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
42383 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
42385 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
42386 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
42388 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
42390 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
42392 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
42394 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
42396 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
42397 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
42399 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
42401 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
42403 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
42405 2012-05-04 Joseph Myers <joseph@codesourcery.com>
42407 * sysdeps/unix/common/bits/dirent.h: Remove file.
42408 * sysdeps/unix/common/bits/fcntl.h: Likewise.
42410 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
42411 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
42412 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
42413 * sysdeps/unix/bsd/isatty.c: Likewise.
42414 * sysdeps/unix/bsd/tcdrain.c: Likewise.
42415 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
42416 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
42418 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42421 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
42422 long double comparison inaccuracies.
42423 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
42424 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42426 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
42428 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
42429 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
42431 2012-05-04 Joseph Myers <joseph@codesourcery.com>
42434 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
42435 nonzero digits before rounding a hex value.
42436 * stdlib/tst-strtod.c (tests): Add another test.
42438 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42440 * sysdeps/s390/fpu/libm-test-ulps: Update.
42442 2012-05-03 Andreas Jaeger <aj@suse.de>
42444 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
42445 does not get optimized out.
42446 (malloc_opt_barrier): New.
42448 2012-05-03 Andreas Jaeger <aj@suse.de>
42449 Roland McGrath <roland@hack.frob.com>
42451 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
42452 intermediate file deletion.
42453 (generated): Add .symlist files.
42455 2012-05-03 Joseph Myers <joseph@codesourcery.com>
42458 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
42459 Redirect under this condition.
42460 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
42461 [__USE_GNU] (__dprintf_chk): Not under this condition.
42462 [__USE_GNU] (__vdprintf_chk): Likewise.
42463 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
42464 under this condition.
42465 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
42466 [__USE_XOPEN2K8] (dprintf): Define under this condition.
42467 [__USE_XOPEN2K8] (vdprintf): Likewise.
42468 [__USE_GNU] (__dprintf_chk): Not under this condition.
42469 [__USE_GNU] (__vdprintf_chk): Likewise.
42470 [__USE_GNU] (dprintf): Likewise.
42471 [__USE_GNU] (vdprintf): Likewise.
42473 2012-05-03 Roland McGrath <roland@hack.frob.com>
42475 * elf/Makefile (common-generated): Set this instead of generated for
42476 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
42477 $(all-built-dso)-derived lists.
42479 2012-05-03 Andreas Jaeger <aj@suse.de>
42481 * sysdeps/i386/fpu/libm-test-ulps: Update.
42484 * FAQ.in: Likewise.
42485 * scripts/gen-FAQ.pl: Likewise.
42486 * manual/install.texi (Installation): Point to online location of
42488 * Makefile (files-for-dist): Remove FAQ.
42491 2012-05-02 Allan McRae <allan@archlinux.org>
42493 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
42494 (LDFLAGS-reldepmod5.so): Likewise.
42495 (LDFLAGS-reldep6mod1.so): Likewise.
42496 (LDFLAGS-reldep6mod4.so): Likewise.
42497 (LDFLAGS-reldep8mod3.so): Likewise.
42498 (LDFLAGS-unload4mod1.so): Likewise.
42499 (LDFLAGS-unload4mod2.so): Likewise.
42500 (LDFLAGS-tst-initorder): Likewise.
42501 (LDFLAGS-tst-initordera2.so): Likewise.
42502 (LDFLAGS-tst-initordera3.so): Likewise.
42503 (LDFLAGS-tst-initordera4.so): Likewise.
42504 (LDFLAGS-tst-initorderb2.so): Likewise.
42505 (LDFLAGS-noload): Likewise.
42506 (LDFLAGS-next): Likewise.
42507 (LDFLAGS-order2mod1.so): Likewise.
42508 (LDFLAGS-order2mod2.so): Likewise.
42509 (LDFLAGS-tst-initorder2): Likewise.
42510 (LDFLAGS-tst-initorder2a.so): Likewise.
42511 (LDFLAGS-tst-initorder2b.so): Likewise.
42512 (LDFLAGS-tst-initorder2c.so): Likewise.
42513 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
42515 2012-05-02 David S. Miller <davem@davemloft.net>
42517 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42519 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
42522 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
42524 2012-05-02 Andreas Jaeger <aj@suse.de>
42526 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
42527 since we manipulate rounding mode.
42528 (CPPFLAGS-test-idouble.c): Likewise.
42529 (CPPFLAGS-test-ifloat.c): Likewise.
42530 (CFLAGS-test-ldouble.c): Likewise.
42531 (CFLAGS-test-double.c): Likewise.
42532 (CFLAGS-test-float.c): Likewise.
42533 (CFLAGS-test-misc.c): Likewise.
42534 (CFLAGS-test-test-fenv.c): Likewise.
42536 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42540 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
42541 comparisons to determine direction to adjust input.
42543 2012-05-01 Roland McGrath <roland@hack.frob.com>
42545 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
42546 output to the target.
42548 * scripts/localplt.awk: New file.
42549 * elf/Makefile ($(objpfx)check-localplt): Target removed.
42550 (check-localplt-CFLAGS): Variable removed.
42551 ($(all-built-dso:=.jmprel)): New static pattern rule.
42552 (generated): Add those targets.
42553 (localplt-built-dso): New variable.
42554 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
42556 * elf/check-localplt.c: File removed.
42558 * scripts/check-execstack.awk: New file.
42559 * elf/Makefile ($(objpfx)check-execstack): Target removed.
42560 (check-execstack-CFLAGS): Variable removed.
42561 ($(objpfx)check-execstack.h): Target removed.
42562 ($(objpfx)execstack-default): New target.
42563 (generated): Add that instead of check-execstack.h.
42564 ($(all-built-dso:=.phdr)): New static pattern rule.
42565 (generated): Add those targets.
42566 * elf/check-execstack.c: File removed.
42568 * scripts/check-textrel.awk: New file.
42569 * elf/Makefile ($(objpfx)check-textrel): Target removed.
42570 (check-textrel-CFLAGS): Variable removed.
42571 (all-built-dso): Use := to define.o
42572 ($(all-built-dso:=.dyn)): New static pattern rule.
42573 (generated): Add those targets.
42574 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
42575 * config.make.in (READELF): New substituted variable.
42576 * elf/check-textrel.c: File removed.
42578 2012-05-01 Joseph Myers <joseph@codesourcery.com>
42580 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42582 * conform/data/ctype.h-data [C99-based standards] (isblank):
42584 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
42585 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
42586 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42587 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
42588 Specify type. Require positive value.
42589 (EILSEQ): Likewise.
42590 (ERANGE): Likewise.
42591 [ISO || POSIX] (EILSEQ): Do not expect.
42592 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
42593 Specify type. Require positive value.
42594 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
42595 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
42596 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
42597 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
42598 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
42599 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
42600 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
42601 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
42602 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
42603 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
42604 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
42605 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
42606 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
42607 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
42608 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
42609 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
42610 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
42611 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
42612 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
42613 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
42614 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
42615 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
42616 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
42617 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
42618 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
42619 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
42620 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
42621 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
42622 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
42623 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
42624 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
42625 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
42626 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
42627 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
42628 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
42629 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
42630 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
42631 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
42632 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
42633 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
42634 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
42635 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
42636 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
42637 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
42638 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
42639 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
42640 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
42641 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
42642 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
42643 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
42644 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
42645 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
42646 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
42647 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
42648 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
42649 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
42650 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
42651 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
42652 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
42653 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
42654 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
42655 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
42656 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
42657 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
42658 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
42659 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
42660 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
42661 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
42662 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
42663 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
42664 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
42665 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
42666 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
42667 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
42668 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
42669 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
42670 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
42672 (FLT_ROUNDS): Expect as macro, not constant.
42673 (FLT_MANT_DIG): Use macro-int-constant.
42674 (DBL_MANT_DIG): Likewise.
42675 (LDBL_MANT_DIG): Likewise.
42676 (FLT_DIG): Likewise.
42677 (DBL_DIG): Likewise.
42678 (LDBL_DIG): Likewise.
42679 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
42680 (DBL_MIN_EXP): Likewise.
42681 (LDBL_MIN_EXP): Likewise.
42682 (FLT_MAX_EXP): Use macro-int-constant.
42683 (DBL_MAX_EXP): Likewise.
42684 (LDBL_MAX_EXP): Likewise.
42685 (FLT_MAX_10_EXP): Likewise.
42686 (DBL_MAX_10_EXP): Likewise.
42687 (LDBL_MAX_10_EXP): Likewise.
42688 (FLT_MAX): Use macro-constant.
42689 (DBL_MAX): Likewise.
42690 (LDBL_MAX): Likewise.
42691 (FLT_EPSILON): Use macro-constant. Give upper bound.
42692 (DBL_EPSILON): Likewise.
42693 (LDBL_EPSILON): Likewise.
42694 (FLT_MIN): Likewise.
42695 (DBL_MIN): Likewise.
42696 (LDBL_MIN): Likewise.
42697 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
42698 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
42699 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
42700 [ISO11] (FLT_HAS_SUBNORM): Likewise.
42701 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
42702 [ISO11] (DBL_DECIMAL_DIG): Likewise.
42703 [ISO11] (FLT_DECIMAL_DIG): Likewise.
42704 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
42705 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
42706 [ISO11] (FLT_TRUE_MIN): Likewise.
42707 [ISO11] (LDBL_TRUE_MIN): Likewise.
42708 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42709 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
42710 (SCHAR_MIN): Use macro-int-constant. Specify type.
42711 (SCHAR_MAX): Likewise.
42712 (UCHAR_MAX): Likewise.
42713 (CHAR_MIN): Likewise.
42714 (CHAR_MAX): Likewise.
42715 (MB_LEN_MAX): Use macro-int-constant.
42716 (SHRT_MIN): Use macro-int-constant. Specify type.
42717 (SHRT_MAX): Likewise.
42718 (USHRT_MAX): Likewise.
42719 (INT_MAX): Likewise.
42720 (INT_MIN): Use macro-int-constant. Specify type. Make upper
42722 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
42724 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
42726 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
42727 bound negative. Suffix upper bound with "L".
42728 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
42730 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
42732 [C99-based standards] (LLONG_MAX): Likewise.
42733 [C99-based standards] (ULLONG_MAX): Likewise.
42734 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
42736 [ISO11] (max_align_t): Require type.
42737 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42739 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
42740 from $CFLAGS, without defining away __attribute__ calls.
42741 (checknamespace): Use $CFLAGS_namespace.
42743 * conform/conformtest.pl (@keywords): Only include C99 keywords
42744 for standards based on C99 or C11.
42746 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
42748 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
42751 * conform/conformtest.pl: Handle "macro-int-constant" and test for
42752 usability of symbols in #if.
42754 * conform/conformtest.pl: If macro or constant types start
42755 "promoted:", expect the symbol to be of the following type
42756 promoted by the integer promotions.
42758 * conform/conformtest.pl: Parse all "constant" and "macro" lines
42759 in one place. Also handle "macro-constant".
42761 * conform/conformtest.pl: Only accept expected macro values with
42762 "==". Parse all "macro" lines in one place.
42763 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
42765 * conform/conformtest.pl: Handle braced types on "constant" lines
42766 instead of handling "typed-constant".
42767 * conform/data/signal.h-data: Use "constant" instead of
42770 * conform/conformtest.pl: Handle "optional-" at start of lines in
42771 one place rather than duplicating several cases. Handle each
42772 format of "macro" line with initial "optional-".
42774 * conform/conformtest.pl: Only accept expected constant or
42775 optional-constant values with "==". Parse all "constant" lines in
42776 one place. Parse all "optional-constant" lines in one place.
42777 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
42778 * conform/data/fmtmsg.h-data: Likewise.
42779 * conform/data/netinet/in.h-data: Likewise.
42780 * conform/data/tar.h-data: Likewise.
42781 * conform/data/limits.h-data: Use "==" form on "constant" and
42782 "optional-constant" lines.
42784 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
42785 Use -std=c99 for XOPEN2K.
42786 (@knownproblems): Remove.
42787 (newtoken): Don't check %isknown.
42789 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
42790 Do not expect macro.
42791 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
42792 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
42793 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
42794 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
42795 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
42796 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
42797 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
42798 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
42799 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
42800 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
42801 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
42802 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
42803 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
42804 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
42805 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
42806 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
42807 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
42808 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
42809 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
42810 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
42811 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
42812 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
42813 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
42814 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
42815 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
42816 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
42817 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
42818 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
42819 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
42820 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
42821 [XPG3] (acosh): Likewise.
42822 [XPG3] (asinh): Likewise.
42823 [XPG3] (atanh): Likewise.
42824 [XPG3] (cbrt): Likewise.
42825 [XPG3] (expm1): Likewise.
42826 [XPG3] (ilogb): Likewise.
42827 [XPG3] (log1p): Likewise.
42828 [XPG3] (logb): Likewise.
42829 [XPG3] (nextafter): Likewise.
42830 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
42831 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
42832 [XPG3] (remainder): Likewise.
42833 [XPG3] (rint): Likewise.
42834 [XPG3 || XPG4 || UNIX98] (round): Likewise.
42835 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
42836 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
42837 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
42838 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
42839 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
42840 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
42841 [UNIX98 || XOPEN2K] (scalb): Expect.
42842 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
42843 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
42844 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
42845 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
42846 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
42847 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
42848 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
42849 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
42850 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
42851 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
42852 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
42853 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
42854 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
42855 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
42856 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
42857 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
42858 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
42859 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
42860 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
42861 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
42862 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
42863 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
42864 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
42865 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
42866 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
42867 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
42868 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
42869 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
42870 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
42871 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
42872 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
42873 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
42874 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
42875 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
42876 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
42877 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
42878 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
42879 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
42880 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
42881 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
42882 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
42883 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
42884 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
42885 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
42886 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
42887 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
42888 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
42889 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
42890 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
42891 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
42892 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
42893 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
42894 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
42895 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
42896 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
42897 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
42898 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
42899 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
42900 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
42901 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
42902 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
42903 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
42904 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
42905 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
42906 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
42907 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
42908 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
42909 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
42910 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
42911 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
42912 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
42913 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
42914 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
42915 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
42916 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
42917 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
42918 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
42919 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
42920 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
42921 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
42922 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
42923 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
42924 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
42925 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
42926 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
42927 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
42928 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
42929 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
42930 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
42931 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
42932 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
42933 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
42934 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
42935 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
42936 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
42937 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
42938 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
42939 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
42940 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
42941 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
42942 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
42943 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
42944 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
42945 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
42946 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
42947 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
42948 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
42949 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
42950 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
42951 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
42952 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
42953 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
42954 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
42955 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
42956 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
42957 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
42958 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
42959 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
42960 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
42961 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
42962 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
42963 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
42964 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
42965 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
42966 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
42967 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
42968 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
42969 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
42970 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
42971 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
42972 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
42973 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
42974 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
42975 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
42976 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
42977 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
42978 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
42980 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
42981 _XOPEN_SOURCE_EXTENDED for XPG4.
42983 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
42985 * Makeconfig (localtime): Remove variable.
42986 (inst_localtime-file): Likewise.
42988 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
42990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
42992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
42996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
42998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
43000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
43002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
43006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43009 2012-05-01 Joseph Myers <joseph@codesourcery.com>
43013 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
43014 comparisons to determine direction to adjust input.
43015 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
43016 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
43017 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
43019 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
43021 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
43023 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
43024 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
43026 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
43028 * math/libm-test.inc (nexttoward_test): Add more tests.
43030 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
43033 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
43034 in version GLIBC_2.1, not GLIBC_2.0.
43035 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
43038 2012-04-30 Joseph Myers <joseph@codesourcery.com>
43041 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
43043 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
43044 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
43045 * math/libm-test.inc (acos_test): Add more tests.
43046 (asin_test): Likewise.
43047 * sysdeps/i386/fpu/libm-test-ulps: Update.
43048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43051 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
43053 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
43054 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
43055 * math/libm-test.inc (acos_test_tonearest): New function.
43056 (acos_test_towardzero): Likewise.
43057 (acos_test_downward): Likewise.
43058 (acos_test_upward): Likewise.
43059 (asin_test_tonearest): Likewise.
43060 (asin_test_towardzero): Likewise.
43061 (asin_test_downward): Likewise.
43062 (asin_test_upward): Likewise.
43063 (main): Call the new functions.
43064 * sysdeps/i386/fpu/libm-test-ulps: Update.
43065 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43069 * math/e_exp10.c: Include <float.h>.
43070 (__ieee754_exp10): Handle underflow here rather than multiplying
43071 large negative argument by M_LN10.
43072 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
43074 * math/e_exp10l.c: Include <float.h>.
43075 (__ieee754_exp10l): Handle underflow here rather than multiplying
43076 large negative argument by M_LN10l.
43077 * math/libm-test.inc (exp10_test): Add another test. Do not allow
43078 spurious overflow exception on underflow.
43080 2012-04-29 Marek Polacek <polacek@redhat.com>
43082 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
43083 (__fortify_function): New macro.
43084 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
43085 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
43086 __extern_always_inline.
43087 * libio/bits/stdio2.h: Likewise.
43088 * libio/bits/stdio.h: Likewise.
43089 * string/string.h: Likewise.
43090 * string/bits/string3.h: Likewise.
43091 * include/stdio.h: Likewise.
43092 * stdlib/bits/stdlib.h: Likewise.
43093 * stdlib/stdlib.h: Likewise.
43094 * rt/bits/mqueue2.h: Likewise.
43095 * rt/mqueue.h: Likewise.
43096 * posix/bits/unistd.h: Likewise.
43097 * posix/unistd.h: Likewise.
43098 * io/bits/poll2.h: Likewise.
43099 * io/bits/fcntl2.h: Likewise.
43100 * io/fcntl.h: Likewise.
43101 * io/sys/poll.h: Likewise.
43102 * misc/bits/syslog.h: Likewise.
43103 * misc/bits/syslog-ldbl.h: Likewise.
43104 * misc/sys/syslog.h: Likewise.
43105 * socket/bits/socket2.h: Likewise.
43106 * socket/sys/socket.h: Likewise.
43107 * debug/tst-chk1.c: Likewise.
43108 * wcsmbs/bits/wchar2.h: Likewise.
43109 * wcsmbs/bits/wchar-ldbl.h: Likewise.
43110 * wcsmbs/wchar.h: Likewise.
43112 2012-04-29 Andreas Jaeger <aj@suse.de>
43114 * Makerules (tests): Remove enable-check-abi protection.
43115 (check-abi-warn): Remove.
43116 (check-abi-%): Remove check-abi-warn usage.
43118 * configure.in: Remove check-abi configure option.
43119 * configure: Regenerated.
43120 * config.make.in (enable-check-abi): Remove.
43122 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
43125 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
43126 double functions to double *_finite functions.
43129 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
43130 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
43132 * stdio-common/Makefile (tests): Add tst-sprintf3.
43133 * stdio-common/tst-sprintf3.c: New file.
43135 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
43136 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
43138 2012-04-28 Joseph Myers <joseph@codesourcery.com>
43140 * conform/conformtest.pl: Remove duplicate typed-constant
43143 2012-04-28 David S. Miller <davem@davemloft.net>
43145 * Makerules (%.abilist): Add vpath on sysdep_dirs.
43146 (check-abi-%): Remove AWK script prerequisite and explicit
43148 (check-abi): Rewrite to just diff the symlist with the abilist.
43149 (config-tls, config-abi-config): Delete, no longer used.
43150 (update-abi-%): Remove AWK script and explicit abilist directory.
43151 (update-abi): Rewrite to simply compare and conditionally copy the
43152 symlist and the sysdep abilist file. Remove update-abi-config
43154 * abilist/ld.abilist: Remove.
43155 * abilist/libBrokenLocale.abilist: Remove.
43156 * abilist/libanl.abilist: Remove.
43157 * abilist/libcrypt.abilist: Remove.
43158 * abilist/libdl.abilist: Remove.
43159 * abilist/librt.abilist: Remove.
43160 * abilist/libthread_db.abilist: Remove.
43161 * abilist/libutil.abilist: Remove.
43162 * scripts/extract-abilist.awk: Remove.
43163 * scripts/merge-abilist.awk: Remove.
43164 * sysdeps/generic/libcidn.abilist: New file.
43165 * sysdeps/generic/libnss_compat.abilist: New file.
43166 * sysdeps/generic/libnss_db.abilist: New file.
43167 * sysdeps/generic/libnss_dns.abilist: New file.
43168 * sysdeps/generic/libnss_files.abilist: New file.
43169 * sysdeps/generic/libnss_hesiod.abilist: New file.
43170 * sysdeps/generic/libnss_nis.abilist: New file.
43171 * sysdeps/generic/libnss_nisplus.abilist: New file.
43172 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
43173 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
43174 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
43176 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
43177 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
43178 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
43179 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
43180 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
43181 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
43182 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
43183 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
43184 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
43186 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
43187 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
43188 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
43189 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
43191 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
43192 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
43193 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
43194 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
43195 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
43196 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
43198 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
43199 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
43200 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
43202 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
43203 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
43205 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
43207 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
43209 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
43211 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
43213 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
43215 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
43217 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
43219 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
43221 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
43223 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
43225 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
43227 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
43229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
43231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
43233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
43235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
43237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
43239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
43241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
43243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
43245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
43249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
43251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
43253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
43255 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
43256 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
43258 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
43260 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
43262 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
43264 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
43266 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
43268 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
43270 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
43272 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
43274 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
43276 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
43278 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
43280 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
43281 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
43283 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
43285 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
43287 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
43289 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
43291 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
43293 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
43295 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
43297 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
43299 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
43301 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
43303 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
43305 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
43306 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
43307 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
43309 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
43310 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
43311 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
43312 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
43313 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
43314 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
43315 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
43316 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
43317 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
43318 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
43319 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
43320 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
43322 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
43324 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
43326 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
43328 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
43330 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
43332 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
43334 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
43336 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
43338 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
43340 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
43342 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
43344 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
43345 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
43347 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
43349 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
43351 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
43353 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
43355 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
43357 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
43359 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
43361 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
43363 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
43365 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
43367 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
43370 2012-04-28 Joseph Myers <joseph@codesourcery.com>
43372 * conform/conformtest.pl: Fix typo in handling typed-constant from
43375 2012-04-27 Joseph Myers <joseph@codesourcery.com>
43377 * README: Cut down references to pre-2.6 Linux kernels and
43378 Linuxthreads. Update lists of configurations in libc and ports
43379 and sort alphabetically. Say "or newer" with Linux kernel version
43382 * config.h.in [IS_IN_build]: Allow compiling without optimization.
43384 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
43387 * math/libm-test.inc (logb_test_downward): New test to expose
43388 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
43391 2012-04-27 Joseph Myers <joseph@codesourcery.com>
43394 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
43396 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
43397 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
43399 2012-04-26 Joseph Myers <joseph@codesourcery.com>
43401 * sysdeps/unix/i386/brk.S: Remove file.
43402 * sysdeps/unix/i386/dl-brk.S: Likewise.
43403 * sysdeps/unix/i386/pipe.S: Likewise.
43404 * sysdeps/unix/i386/sigreturn.S: Likewise.
43405 * sysdeps/unix/i386/syscall.S: Likewise.
43406 * sysdeps/unix/i386/vfork.S: Likewise.
43407 * sysdeps/unix/i386/wait.S: Likewise.
43409 * sysdeps/unix/common/tcsendbrk.c: Move to ...
43410 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
43412 * configure.in (arm*-none*): Do not allow without
43413 --enable-hacker-mode.
43414 (netbsd*): Remove case setting base_os.
43415 (386bsd*): Likewise.
43416 (freebsd*): Likewise.
43419 (sunos*): Likewise.
43420 (ultrix*): Likewise.
43421 (newsos*): Likewise.
43422 (dynix*): Likewise.
43428 (minix*): Likewise.
43429 (irix4*): Likewise.
43430 (irix6*): Likewise.
43431 (solaris[2-9]*): Likewise.
43433 * configure: Regenerated.
43435 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43438 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
43439 overflow or cancellation in calculating denominator.
43440 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
43441 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
43442 down expression to avoid unexpected rounding in newer GCCs.
43443 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
43445 2012-04-26 David S. Miller <davem@davemloft.net>
43447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
43448 long-double compat symbols.
43449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
43450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
43451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
43452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
43453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
43454 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
43455 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
43456 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
43457 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
43458 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
43459 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
43460 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
43461 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
43463 2012-04-25 David S. Miller <davem@davemloft.net>
43465 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
43466 HWCAP_* values only after the memory barriers have been defined.
43467 (atomic_full_barrier): Define.
43468 (atomic_read_barrier): Define.
43469 (atomic_write_barrier): Define.
43471 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
43473 * shlib-versions: Add libgcc_s version information.
43474 * sysdeps/generic/libgcc_s.h: Remove.
43475 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
43477 * sysdeps/gnu/unwind-resume.c: Likewise.
43478 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
43480 2012-04-25 David S. Miller <davem@davemloft.net>
43482 * sysdeps/unix/sparc/brk.S: Delete.
43483 * sysdeps/unix/sparc/dl-brk.S: Delete.
43484 * sysdeps/unix/sparc/pipe.S: Delete.
43485 * sysdeps/unix/sparc/sysdep.S: Delete.
43486 * sysdeps/unix/sparc/sysdep.h: Delete.
43487 * sysdeps/unix/sparc/vfork.S: Delete.
43488 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
43489 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
43490 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
43491 (ret_ERRVAL, r0, r1, MOVE): Define.
43492 (JUMPTARGET): Remove.
43493 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
43494 sysdeps/unix/sparc/sysdep.h
43495 (ENTRY, END): Remove.
43496 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43498 2012-04-25 Joseph Myers <joseph@codesourcery.com>
43500 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
43501 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
43504 * timezone/README: Update upstream location and email address for
43506 * timezone/zdump.c: Update from tzcode 2012b.
43507 * timezone/zic.c: Likewise.
43509 * configure.in (libc_cv_as_needed): Remove test.
43510 * configure: Regenerated.
43511 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
43512 conditional definition.
43513 [$(have-as-needed) != yes] (no-as-needed): Likewise.
43514 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
43515 * config.make.in (have-as-needed): Remove variable.
43517 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
43518 Paul Pluzhnikov <ppluzhnikov@google.com>
43520 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
43523 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
43525 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
43526 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
43527 * sysdeps/sh/strlen.S: Likewise.
43529 2012-04-24 Joseph Myers <joseph@codesourcery.com>
43531 * sysdeps/unix/fork.S: Remove file.
43532 * sysdeps/unix/i386/fork.S: Likewise.
43533 * sysdeps/unix/sparc/fork.S: Likewise.
43535 * sysdeps/unix/system.c: Remove file.
43536 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
43538 * sysdeps/unix/getegid.S: Remove file.
43539 * sysdeps/unix/geteuid.S: Likewise.
43541 2012-04-24 Roland McGrath <roland@hack.frob.com>
43543 * scripts/check-localplt.awk: New file.
43544 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
43546 * scripts/data/localplt-generic.data: Add a comment.
43548 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
43549 NODE when __dir_mkfile failed.
43550 * sysdeps/mach/hurd/symlinkat.c: Likewise.
43551 Reported by Ludovic Courtès <ludo@gnu.org>.
43553 2012-04-24 Andreas Jaeger <aj@suse.de>
43555 * Makerules (common-clean): Also remove gen-as-const-headers
43558 2012-04-24 Joseph Myers <joseph@codesourcery.com>
43560 * Makerules (native-compile): Do not change working directory for
43561 build. Use $(OUTPUT_OPTION) in command.
43562 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
43564 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43567 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
43568 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
43569 * math/libm-test.inc (floor_test): Add more tests.
43570 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
43572 2012-04-24 Joseph Myers <joseph@codesourcery.com>
43574 * sysdeps/unix/getdents.c: Remove file.
43575 * sysdeps/unix/sysv/getdents.c: Likewise.
43576 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
43578 * sysdeps/unix/syscalls.list (madvise): Add syscall from
43579 sysdeps/unix/mman/syscalls.list.
43581 (mprotect): Likewise.
43583 (munmap): Likewise.
43584 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
43585 * sysdeps/unix/mman/syscalls.list: Remove.
43586 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
43588 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
43589 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
43590 * configure: Regenerated.
43591 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
43592 $(libgcc_s_suffix).
43593 * config.make.in (libgcc_s_suffix): Remove variable.
43595 2012-04-23 Joseph Myers <joseph@codesourcery.com>
43597 * sysdeps/unix/sysv/gethostname.c: Move to ...
43598 * sysdeps/posix/gethostname.c: ... here.
43600 * sysdeps/unix/execve.S: Remove file.
43602 * sysdeps/unix/_exit.S: Remove file.
43604 2012-04-23 Andreas Jaeger <aj@suse.de>
43607 * manual/Makefile: Remove make dist support, there's no
43608 need for a stand-alone documentation tar ball.
43609 (TEXI2DVI): Define always, it's not in Makeconfig.
43612 (edition): Removed.
43613 (glibc-doc-$(edition).tar): Removed
43617 (ETAGS): Remove, it's in Makeconfig.
43618 (move-if-change): Remove, it's in Makeconfig.
43620 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
43623 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
43624 (strtod, strtof, strtold, strtol, strtoul, strtoq)
43625 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
43626 (strtod_l, strtof_l, strtold_l): Remove __wur.
43627 It is not necessarily an error to ignore strtol's return value.
43628 One can reliably look at the stored endptr to decide whether
43629 the number had valid syntax.
43631 2012-04-21 Andreas Jaeger <aj@suse.de>
43634 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
43636 2012-04-21 Joseph Myers <joseph@codesourcery.com>
43638 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
43639 * sysdeps/unix/sysv/Versions: Remove file.
43641 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
43644 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43646 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
43649 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
43650 version from __vm86.
43652 2012-04-20 Joseph Myers <joseph@codesourcery.com>
43654 * sysdeps/unix/common/lxstat.c: Remove file.
43655 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
43657 * sysdeps/unix/sysv/Makefile: Remove file.
43659 * sysdeps/unix/sysv/direct.h: Remove file.
43661 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
43662 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
43663 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
43664 * sysdeps/unix/sysv/bits/signum.h: Likewise.
43665 * sysdeps/unix/sysv/bits/stat.h: Likewise.
43666 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
43667 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
43669 * sysdeps/unix/sysv/setrlimit.c: Remove file.
43671 * sysdeps/unix/xmknod.c: Remove file.
43672 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
43674 * sysdeps/unix/sysv/settimeofday.c: Remove file.
43676 * sysdeps/unix/sysv/i386/time.S: Remove file.
43678 * sysdeps/unix/fxstat.c: Remove file.
43679 * sysdeps/unix/xstat.c: Likewise.
43680 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
43682 * sysdeps/unix/sysv/sigaction.c: Remove file.
43684 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
43685 (sysdep_headers): Remove variable.
43686 [termio.h not in sysdep_headers] (generated): Likewise.
43687 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
43688 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
43689 * sysdeps/unix/sysv/tcdrain.c: Likewise.
43690 * sysdeps/unix/sysv/tcflow.c: Likewise.
43691 * sysdeps/unix/sysv/tcflush.c: Likewise.
43692 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
43693 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
43694 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
43695 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
43696 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
43698 * sysdeps/unix/siglist.c: Remove file.
43700 * sysdeps/unix/getppid.S: Remove file.
43702 * sysdeps/unix/mkdir.c: Remove file.
43703 * sysdeps/unix/rmdir.c: Likewise.
43705 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
43707 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
43709 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
43710 errlist-compat value.
43712 2012-04-18 David S. Miller <davem@davemloft.net>
43714 * sysdeps/generic/memcopy.h (reg_char): Delete.
43715 * debug/strcat_chk.c: Use char, not reg_char.
43716 * debug/strcpy_chk.c: Likewise.
43717 * debug/strncat_chk.c: Likewise.
43718 * debug/strncpy_chk.c: Likewise.
43719 * string/memchr.c: Likewise.
43720 * string/memrchr.c: Likewise.
43721 * string/rawmemchr.c: Likewise.
43722 * string/strcat.c: Likewise.
43723 * string/strchr.c: Likewise.
43724 * string/strchrnul.c: Likewise.
43725 * string/strcmp.c: Likewise.
43726 * string/strcpy.c: Likewise.
43727 * string/strncat.c: Likewise.
43728 * string/strncmp.c: Likewise.
43729 * string/strncpy.c: Likewise.
43731 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
43733 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
43734 __builtin_memcopy is called when src and dest ranges are known to not
43737 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
43739 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
43740 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
43741 fwd_align_merge macro call.
43742 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
43743 bwd_align_merge macro call.
43744 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
43746 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
43748 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
43749 bwd_align_merge macros.
43750 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
43751 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
43752 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
43754 2012-04-18 David S. Miller <davem@davemloft.net>
43756 * sysdeps/sparc/sparc64/memcopy.h: Delete.
43758 2012-04-18 Andreas Jaeger <aj@suse.de>
43761 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
43762 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
43763 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43765 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
43766 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
43767 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43769 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
43770 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
43771 Adjust for changed ldbl-128 files.
43773 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
43774 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
43775 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43777 2012-04-17 David S. Miller <davem@davemloft.net>
43779 * sysdeps/sparc/sparc32/memcopy.h: Delete.
43781 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
43783 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
43784 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
43785 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
43786 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
43787 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
43788 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
43790 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43793 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
43794 * math/libm-test.inc: Add ilogb errno and exception tests.
43795 * math/w_ilogb.c: New file: ilogb wrapper.
43796 * math/w_ilogbf.c: New file: ilogbf wrapper.
43797 * math/w_ilogbl.c: New file: ilogbl wrapper.
43798 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
43799 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
43800 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
43801 exception being thrown with 0.0 as argument.
43802 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
43803 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
43804 exception being thrown with 0.0 as argument.
43805 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
43806 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
43807 exception being thrown with 0.0 as argument.
43808 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
43809 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
43810 exception being thrown with 0.0 as argument.
43811 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
43812 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
43813 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
43814 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
43815 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
43816 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
43817 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
43818 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
43819 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
43821 2012-04-17 Petr Baudis <pasky@ucw.cz>
43823 * include/sys/uio.h: Change __vector to __iovec to avoid clash
43826 2012-04-16 Marek Polacek <polacek@redhat.com>
43828 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
43830 2012-04-16 Marek Polacek <polacek@redhat.com>
43832 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
43833 operands of fdivp instruction.
43835 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
43837 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
43838 * elf/tst-auditmod3b.c: Likewise.
43839 * elf/tst-auditmod4b.c: Likewise.
43840 * elf/tst-auditmod5b.c: Likewise.
43841 * elf/tst-auditmod6b.c: Likewise.
43842 * elf/tst-auditmod6c.c: Likewise.
43843 * elf/tst-auditmod7b.c: Likewise.
43844 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
43845 * sysdeps/x86_64/preconfigure.in: Likewise.
43846 * sysdeps/x86_64/preconfigure: Regenerated.
43848 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
43850 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
43853 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
43855 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43856 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
43858 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
43861 * locale/iso-639.def: Fix gl language name. Spotted by
43864 2012-04-12 Roland McGrath <roland@hack.frob.com>
43867 * libio/libio.h (__io_write_fn): Update comment.
43869 2012-04-12 Petr Baudis <pasky@ucw.cz>
43872 * stdio.texi (Hook Functions): The user provided writer function
43873 is not allowed to return -1.
43875 2012-04-11 David S. Miller <davem@davemloft.net>
43877 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43879 2012-04-11 Mike Frysinger <vapier@gentoo.org>
43881 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
43882 Add a leading slash to rtkaio.
43884 2012-04-11 Jim Meyering <meyering@redhat.com>
43887 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
43888 It is not necessarily an error to ignore fwrite's return
43889 value. One can reliably use ferror to test for errors after
43892 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
43894 * bits/types.h (__snseconds_t): New type.
43895 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
43897 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
43898 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43899 (__SNSECONDS_T_TYPE): Likewise.
43900 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43901 (__SNSECONDS_T_TYPE): Likewise.
43902 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43903 (__SNSECONDS_T_TYPE): Likewise.
43905 2012-04-10 Andreas Jaeger <aj@suse.de>
43908 * manual/time.texi (Processor Time): Return type of times is
43909 elapsed real time since an arbitrary point in the past.
43910 (CPU Time): Move CLK_TCK from here...
43911 (Processor Time): ...to here. Correct description.
43912 * manual/conf.texi (Constants for Sysconf): Correct description of
43915 2012-04-10 David S. Miller <davem@davemloft.net>
43918 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
43919 where the is a gap between DT_REL(A) and DT_JMPREL.
43921 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
43923 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
43924 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
43925 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
43927 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
43929 * elf/dl-support.c (_dl_inhibit_cache): New variable.
43930 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
43931 (dl_main): Handle --inhibit-cache.
43932 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
43934 * elf/dl-load.c (_dl_map_object): Use it.
43935 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
43937 2012-04-09 Joseph Myers <joseph@codesourcery.com>
43940 * sysdeps/i386/fpu/e_powl.S (p78): New object.
43941 (__ieee754_powl): Saturate large exponents rather than testing for
43942 overflow of y*log2(x).
43943 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43944 * math/libm-test.inc (pow_test): Do not permit spurious overflow
43948 * math/s_ctan.c: Include <float.h>.
43949 (__ctan): Avoid internal overflow or cancellation in calculating
43951 * math/s_ctanf.c: Likewise.
43952 * math/s_ctanl.c: Likewise.
43953 * math/s_ctanh.c: Likewise.
43954 * math/s_ctanhf.c: Likewise.
43955 * math/s_ctanhl.c: Likewise.
43956 * math/libm-test.inc (ctan_test): Add more tests.
43957 (ctanh_test): Likewise.
43958 * sysdeps/i386/fpu/libm-test-ulps: Update.
43959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43961 2012-04-09 Andreas Jaeger <aj@suse.de>
43964 * manual/filesys.texi (Directory Entries): Mention that d_namlen
43965 is an optional BSD extension.
43968 * manual/stdio.texi (Opening Streams): Document additional fopen
43971 2012-04-09 Roland McGrath <roland@hack.frob.com>
43973 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
43974 %eax without telling the compiler.
43976 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
43979 * manual/install.texi: Use sourceware.org.
43981 2012-04-09 Joseph Myers <joseph@codesourcery.com>
43984 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
43985 (__ieee754_pow): Generate overflow and underflow using huge*huge
43986 and tiny*tiny rather than just returning constant infinity or zero
43987 for large exponents.
43988 * math/libm-test.inc (pow_test): Require overflow exceptions for
43989 applicable cases of large exponents.
43992 * sysdeps/i386/fpu/e_pow.S (p10): New object.
43993 (__ieee754_pow): Use iterative multiplication algorithm only for
43994 integer exponents with absolute value below 1024. Check for odd
43995 integer exponents when using algorithm for real exponents.
43996 * math/libm-test.inc (pow_test): Add more tests.
43997 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43999 2012-04-08 Joseph Myers <joseph@codesourcery.com>
44002 * math/libm-test.inc (exp_test): Do not allow overflow exception
44005 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
44008 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
44009 instead of __kernel_standard_f.
44011 2012-04-08 Mike Frysinger <vapier@gentoo.org>
44013 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
44014 * sysdeps/x86_64/memset_chk.S: Likewise.
44016 2012-04-08 Andreas Jaeger <aj@suse.de>
44019 * manual/startup.texi (Environment Access): Describe return value
44020 for putenv and setenv.
44023 * manual/filesys.texi (Directory Entries): Add description for
44027 * manual/filesys.texi (Directory Entries): Clarify that it's file
44028 system not operating system in the description of DT_UNKNOWN.
44031 * manual/syslog.texi (closelog): Fix reference, it's openlog.
44033 2012-04-08 Stephen Compall <s11@member.fsf.org>
44036 * manual/llio.texi (Opening and Closing Files): Add cross
44037 reference to explain mode argument.
44039 2012-04-07 Mike Frysinger <vapier@gentoo.org>
44041 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
44042 * sysdeps/x86_64/memset_chk.S: Likewise.
44044 2012-04-07 David S. Miller <davem@davemloft.net>
44046 * elf/elf.h (R_SPARC_WDISP10): Define.
44047 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
44049 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
44050 R_SPARC_SIZE64 and R_SPARC_H34.
44052 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
44054 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
44055 conditions and remove no longer applicable assertion.
44057 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
44059 * bits/byteswap.h: Include <features.h>.
44060 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
44061 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
44063 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
44065 * bits/byteswap.h (__bswap_16): Removed.
44066 Include <bits/byteswap-16.h> to get __bswap_16.
44067 * sysdeps/i386/bits/byteswap.h: Likewise.
44068 * sysdeps/s390/bits/byteswap.h: Likewise.
44069 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44070 * bits/byteswap-16.h: New file.
44071 * sysdeps/i386/bits/byteswap-16.h: Likewise.
44072 * sysdeps/s390/bits/byteswap-16.h: Likewise.
44073 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
44074 * string/Makefile (headers): Add bits/byteswap-16.h.
44076 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
44079 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
44081 * nss/Makefile (tests-static, tests): Add tst-nss-static.
44082 * nss/tst-nss-static.c: New.
44084 2012-04-06 Robert Millan <rmh@gnu.org>
44087 * manual/llio.texi (File Position Primitive): lseek
44088 refers to WHENCE when it really means OFFSET.
44090 2012-04-06 Andreas Jaeger <aj@suse.de>
44092 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
44093 strncmp declarations.
44095 * abilist/libc.abilist: Add __poll and __ppoll.
44097 2012-04-05 David S. Miller <davem@davemloft.net>
44099 * scripts/check-local-headers.sh: Accept a host triplet in the
44100 path matched by the exclude regexp.
44102 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
44104 * sysdeps/powerpc/powerpc32/dl-machine.h
44105 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
44106 * sysdeps/s390/s390-32/dl-machine.h
44107 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44108 * sysdeps/sparc/sparc32/dl-machine.h
44109 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44110 * sysdeps/sparc/sparc64/dl-machine.h
44111 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44113 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
44115 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
44116 undefined symbol errors.
44118 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
44121 2012-04-05 Michael Matz <matz@suse.de>
44124 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
44126 2012-04-05 Andreas Jaeger <aj@suse.de>
44129 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
44132 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44134 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
44135 which ROUND is no valid rounding mode.
44137 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44139 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
44141 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
44143 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44145 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
44146 an exception using FPU order intentionally.
44148 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44150 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
44151 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
44152 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
44153 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
44155 2012-04-05 Simon Josefsson <simon@josefsson.org>
44158 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
44159 EINVAL when BUFLEN is too smal.
44161 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
44164 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
44165 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
44167 2012-04-03 Andreas Jaeger <aj@suse.de>
44170 * manual/setjmp.texi (System V contexts): Fix sentence.
44173 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
44174 New macro for this case.
44175 [!__GNUC__] (__bswap_64): New inline function for this case.
44176 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44177 * bits/byteswap.h: Likewise.
44178 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
44179 ull, guard with __GLIBC_HAVE_LONG_LONG.
44181 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
44182 __GLIBC_HAVE_LONG_LONG.
44184 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
44185 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
44187 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44190 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
44191 inptr and inend, rather than using last_ch.
44193 2012-04-02 David S. Miller <davem@davemloft.net>
44195 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
44196 * stdio-common/printf-parse.h (read_int): Change return type to
44197 'int', return -1 on INT_MAX overflow.
44198 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
44199 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
44200 overflows INT_MAX. Check for overflow of in-format-string precision
44201 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
44202 SIZE_MAX not INT_MAX for integer overflow test.
44203 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
44204 skip the construct in the format string but do not record anything.
44205 * stdio-common/bug22.c: Adjust to test both width/prevision
44206 INT_MAX overflow as well as total length INT_MAX overflow. Check
44207 explicitly for proper errno values.
44209 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
44211 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
44213 * string/test-strcmp.c [! WIDE]: Likewise.
44214 * time/tst-mktime2.c: Likewise for INT_MAX.
44215 * string/test-string.h: #include <sys/param.h> for MIN.
44217 * csu/init-first.c (__libc_init_first): Call __ctype_init.
44218 * sysdeps/i386/init-first.c (init): Likewise.
44219 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
44220 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
44221 * sysdeps/sh/init-first.c (init): Likewise.
44223 2012-04-01 Ulrich Drepper <drepper@gmail.com>
44225 * po/ru.po: Update from translation team.
44226 * po/vi.po: Likewise.
44228 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
44230 * resolv/nss_dns/dns-host.c: Merge copyright years.
44232 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44234 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44235 Optimize memcpy with prefetch if
44236 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
44237 src, dst pointers have unequal 16 byte alignments.
44239 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
44242 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
44243 from a CNAME entry and return the minimum ttl for the query.
44244 (gaih_getanswer_slice): Likewise.
44246 2012-03-30 Jeff Law <law@redhat.com>
44248 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
44250 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
44251 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
44253 * resolv/nss_dns/dns-host.c: Update copyright year.
44255 2012-03-30 Ulrich Drepper <drepper@gmail.com>
44257 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
44258 requests to save a system call. Fix check that all bytes are sent.
44260 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
44261 comments for sendmmsg.
44263 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44266 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
44267 with only 1 character between 0x0041 and 0x01b0.
44268 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
44269 * wcsmbs/tst-mbsnrtowcs.c: New file.
44271 2012-03-29 David S. Miller <davem@davemloft.net>
44273 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
44274 small copies by hand.
44276 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
44279 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
44280 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
44283 2012-03-28 David S. Miller <davem@davemloft.net>
44285 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
44286 that branches into memcpy.
44287 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
44288 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
44289 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
44290 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
44291 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
44293 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
44294 implementation too.
44295 * sysdeps/sparc/mempcpy.S: New file.
44297 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
44298 the IFUNC routine in the libc case.
44299 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
44301 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
44302 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
44303 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
44304 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
44305 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
44306 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
44307 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
44308 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
44310 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
44311 loop to 256 bytes instead of 64 bytes and fix test signedness.
44313 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
44314 * sysdeps/sparc/sparc32/Makefile: rather than here...
44315 * sysdeps/sparc/sparc64/Makefile: and here.
44317 2012-03-28 Ulrich Drepper <drepper@gmail.com>
44319 * malloc/mallocbug.c: Avoid warnings about unused variables.
44321 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
44324 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
44325 in the right place. Discard and retry query if response is
44326 larger than input buffer size.
44328 2012-03-28 Joseph Myers <joseph@codesourcery.com>
44333 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
44334 x for large integer exponent.
44335 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
44336 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
44337 sign of result as needed afterwards.
44338 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
44339 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
44340 result for underflowing pow the same as for overflow.
44341 (__kernel_standard_l): Handle powl overflow and underflow here
44342 rather than calling __kernel_standard.
44343 * math/libm-test.inc (pow_test): Add more tests.
44358 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
44359 * sysdeps/ieee754/k_standard.c: Include <float.h>.
44360 (__kernel_standard_l): New function.
44361 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
44363 * math/w_acosl.c (__acosl): Likewise.
44364 * math/w_asinl.c (__asinl): Likewise.
44365 * math/w_atan2l.c (__atan2l): Likewise.
44366 * math/w_atanhl.c (__atanhl): Likewise.
44367 * math/w_coshl.c (__coshl): Likewise.
44368 * math/w_exp10l.c (__exp10l): Likewise.
44369 * math/w_exp2l.c (__exp2l): Likewise.
44370 * math/w_fmodl.c (__fmodl): Likewise.
44371 * math/w_hypotl.c (__hypotl): Likewise.
44372 * math/w_j0l.c (__j0l, __y0l): Likewise.
44373 * math/w_j1l.c (__j1l, __y1l): Likewise.
44374 * math/w_jnl.c (__jnl, __ynl): Likewise.
44375 * math/w_lgammal.c (__lgammal): Likewise.
44376 * math/w_log10l.c (__log10l): Likewise.
44377 * math/w_log2l.c (__log2l): Likewise.
44378 * math/w_logl.c (__logl): Likewise.
44379 * math/w_powl.c (__powl): Likewise.
44380 * math/w_remainderl.c (__remainderl): Likewise.
44381 * math/w_scalbl.c (sysv_scalbl): Likewise.
44382 * math/w_sinhl.c (__sinhl): Likewise.
44383 * math/w_sqrtl.c (__sqrtl): Likewise.
44384 * math/w_tgammal.c (__tgammal): Likewise.
44385 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
44386 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
44387 * math/libm-test.inc (acos_test): Add more tests.
44388 (acosh_test): Likewise.
44389 (asin_test): Likewise.
44390 (atanh_test): Likewise.
44391 (exp_test): Likewise.
44392 (exp10_test): Likewise.
44393 (exp2_test): Likewise.
44394 (expm1_test): Likewise.
44395 (lgamma_test): Likewise.
44396 (log_test): Likewise.
44397 (log10_test): Likewise.
44398 (log1p_test): Likewise.
44399 (log2_test): Likewise.
44400 (pow_test): Do not allow some spurious overflow exceptions.
44401 (sqrt_test): Add more tests.
44402 (tgamma_test): Likewise.
44403 (y0_test): Likewise.
44404 (y1_test): Likewise.
44405 (yn_test): Likewise.
44407 2012-03-27 Anton Blanchard <anton@samba.org>
44409 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
44411 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44412 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
44413 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44415 2012-03-27 David S. Miller <davem@davemloft.net>
44417 * conform/Makefile: Run run-conformtest.sh using $(BASH).
44419 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
44420 have-as-vis3 check.
44422 2012-03-27 Andreas Jaeger <aj@suse.de>
44424 * sysdeps/x86_64/elf/configure.in: Moved to ...
44425 * sysdeps/x86_64/configure.in: ... here.
44426 * sysdeps/x86_64/elf/start.S: Moved to ...
44427 * sysdeps/x86_64/start.S: ... here.
44428 * sysdeps/x86_64/elf/configure: Delete.
44430 * sysdeps/x86_64/configure.in: Merge contents from
44431 sysdeps/i386/configure.in (without i686 check).
44433 * sysdeps/i386/elf/Versions: Merge into ...
44434 * sysdeps/i386/Versions: ... this.
44435 * sysdeps/i386/elf/Versions: Delete file.
44436 * sysdeps/i386/elf/start.S: Moved to ...
44437 * sysdeps/i386/start.S: ...here.
44438 * sysdeps/i386/elf/configure.in: Merge into...
44439 * sysdeps/i386/configure.in: ...here.
44440 * sysdeps/i386/elf/configure.in: Delete file.
44441 * sysdeps/i386/elf/configure: Delete file.
44443 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
44444 * debug/backtracesyms.c: ... here.
44445 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
44446 * debug/backtracesymsfd.c: ... here.
44447 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
44448 * sysdeps/generic/ifunc-sel.h: ... here.
44450 * sysdeps/unix/i386/start.c: Delete file.
44451 * sysdeps/unix/sparc/start.c: Delete file.
44452 * sysdeps/unix/start.c: Delete file.
44454 * sysdeps/sh/elf/configure.in: Moved to ...
44455 * sysdeps/sh/configure.in: ... here.
44456 * sysdeps/sh/elf/start.S: Moved to ...
44457 * sysdeps/sh/start.S: ... here.
44458 * sysdeps/sh/elf/configure: Delete file.
44460 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
44461 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
44462 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
44463 * sysdeps/powerpc/powerpc64/entry.h: ... here.
44464 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
44465 * sysdeps/powerpc/powerpc64/start.S: here.
44466 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
44467 * sysdeps/powerpc/powerpc64/Makefile: ... this.
44468 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
44469 * sysdeps/powerpc/powerpc64/configure.in: ... this.
44470 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
44472 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
44473 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
44474 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
44475 * sysdeps/powerpc/powerpc32/start.S: ... here.
44476 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
44477 * sysdeps/powerpc/powerpc32/configure.in: ... this.
44478 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
44480 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
44481 * sysdeps/powerpc/ifunc-sel.h: ... here.
44482 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
44483 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
44485 * sysdeps/sparc/elf/configure.in: Moved to ...
44486 * sysdeps/sparc/configure.in: ... here.
44487 * sysdeps/sparc/elf/configure: Delete file.
44488 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
44489 * sysdeps/sparc/sparc32/start.S: ... here.
44490 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
44491 * sysdeps/sparc/sparc64/start.S: ... here.
44492 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
44493 * sysdeps/sparc/sparc32/Makefile: ... this.
44494 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
44495 * sysdeps/sparc/sparc64/Makefile: ... this.
44497 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
44498 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
44499 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
44500 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
44501 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
44502 * sysdeps/s390/s390-32/setjmp.S: ... here.
44503 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
44504 * sysdeps/s390/s390-32/configure.in: ... here.
44505 * sysdeps/s390/s390-32/elf/configure: Delete file.
44506 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
44507 * sysdeps/s390/s390-32/start.S: ... here.
44509 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
44510 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
44511 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
44512 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
44513 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
44514 * sysdeps/s390/s390-64/setjmp.S: ... here.
44515 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
44516 * sysdeps/s390/s390-64/configure.in: ... here
44517 * sysdeps/s390/s390-64/elf/configure: Delete file.
44518 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
44519 * sysdeps/s390/s390-64/start.S: ... here.
44520 * sysdeps/s390/s390-64/elf/configure: Delete.
44522 * configure.in: Remove support for elf directories in sysdeps.
44524 * configure: Regenerated.
44525 * sysdeps/i386/configure: Regenerated.
44526 * sysdeps/powerpc/powerpc32/configure: Regenerated.
44527 * sysdeps/powerpc/powerpc64/configure: Regenerated.
44528 * sysdeps/s390/s390-32/configure: Regenerated.
44529 * sysdeps/s390/s390-64/configure: Regenerated.
44530 * sysdeps/sh/configure: Regenerated.
44531 * sysdeps/sparc/configure: Regenerated.
44532 * sysdeps/x86_64/configure: Regenerated.
44534 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
44536 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44538 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
44539 denormal result into account.
44541 2012-03-25 Roland McGrath <roland@hack.frob.com>
44543 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
44544 Reported by Allan McRae <allan@archlinux.org>.
44546 2012-03-23 Jeff Law <law@redhat.com>
44548 * nss/getnssent.c (__nss_getent): Fix typo.
44550 2012-03-23 David S. Miller <davem@davemloft.net>
44552 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44554 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
44556 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
44557 to pad to uint64_t for each field.
44558 (dl_tls_index): Replace unsigned long with uint64_t.
44560 2012-03-23 Daniel Jacobowitz <dmj@google.com>
44561 Paul Pluzhnikov <ppluzhnikov@google.com>
44564 * grp/Makefile (otherlibs): Don't set it.
44565 * inet/Makefile (otherlibs): Likewise.
44566 * login/Makefile (otherlibs): Likewise.
44567 * nscd/Makefile (otherlibs): Likewise.
44568 * posix/Makefile (otherlibs): Likewise.
44569 * pwd/Makefile (otherlibs): Likewise.
44570 * rt/Makefile (otherlibs): Likewise.
44571 * sunrpc/Makefile (otherlibs): Likewise.
44572 * nss/Makefile (otherlibs): Likewise.
44573 Add libnss_files to routines and static-only-routines.
44574 ($(objpfx)getent): Remove rule.
44575 * resolv/Makefile: Add libnss_dns and libresolv to routines and
44576 static-only-routines.
44578 2012-03-22 Joseph Myers <joseph@codesourcery.com>
44581 * math/s_cexp.c: Include <float.h>.
44582 (__cexp): Handle exp result overflowing not necessarily
44583 overflowing both real and imaginary parts of result.
44584 * math/s_cexpf.c: Likewise.
44585 * math/s_cexpl.c: Likewise.
44586 * math/libm-test.inc (cexp_test): Add more tests.
44587 * sysdeps/i386/fpu/libm-test-ulps: Update.
44588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44590 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44592 * include/link.h (ELFW): New macro.
44593 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
44594 Replace ELF64_R_TYPE with ELFW(R_TYPE).
44596 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44598 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
44601 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44603 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
44605 (struct La_x32_retval): Likewise.
44607 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44609 * sysdeps/x86_64/preconfigure.in: New file.
44610 * sysdeps/x86_64/preconfigure: New generated file.
44612 2012-03-22 Joseph Myers <joseph@codesourcery.com>
44615 * math/e_exp2l.c: Include <float.h>.
44616 (__ieee754_exp2l): Handle overflow and underflow cases
44617 separately. Only pass fractional part of argument to
44619 * math/libm-test.inc (exp2_test): Add more tests.
44621 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
44622 negating x to take absolute value.
44623 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
44625 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
44626 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
44628 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
44629 computing low part if x was negated.
44630 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
44632 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
44634 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
44635 la_x32_gnu_pltexit.
44636 (pltexit): Cast int_retval to ptrdiff_t.
44637 * elf/tst-auditmod3b.c: Likewise.
44638 * elf/tst-auditmod4b.c: Likewise.
44639 * elf/tst-auditmod5b.c: Likewise.
44640 * elf/tst-auditmod6b.c: Likewise.
44641 * elf/tst-auditmod6c.c: Likewise.
44642 * elf/tst-auditmod7b.c: Likewise.
44644 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
44645 and x32_gnu_pltexit.
44647 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
44648 __ELF_NATIVE_CLASS.
44649 (La_x32_regs): New macro.
44650 (La_x32_retval): Likewise.
44651 (la_x32_gnu_pltenter): New function prototype.
44652 (la_x32_gnu_pltexit): Likewise.
44654 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
44656 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
44659 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44661 * configure.in (libc_cv_cc_nofma): Check for option to disable
44662 generation of FMA instructions.
44663 * configure: Regenerate.
44664 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
44665 * sysdeps/ieee754/dbl-64/Makefile: New file.
44666 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
44667 Remove brandred-fma4.
44668 (CFLAGS-brandred-fma4.c): Remove.
44669 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
44670 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
44672 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
44675 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
44677 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
44678 LLONG_MAX != LONG_MAX.
44679 (_itoa_word): Use _ITOA_WORD_TYPE on value.
44680 (_fitoa_word): Likewise.
44681 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
44682 LLONG_MAX != LONG_MAX.
44683 * stdio-common/_itowa.h: Include <_itoa.h>.
44684 (_itowa_word): Use _ITOA_WORD_TYPE on value.
44685 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
44686 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
44687 only if not defined.
44688 (_ITOA_WORD_TYPE): Likewise.
44689 (_itoa_word): Use _ITOA_WORD_TYPE on value.
44690 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
44692 2012-03-21 David S. Miller <davem@davemloft.net>
44694 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44696 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
44698 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
44699 of x86_64 when setting libc_cv_slibdir, libdir and
44701 * sysdeps/unix/sysv/linux/configure: Regenerated.
44703 2012-03-21 Joseph Myers <joseph@codesourcery.com>
44705 * manual/lang.texi (Old Varargs): Remove section.
44706 (How Variadic): Update menu.
44707 (va_start): Do not mention varargs.h.
44709 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
44710 Joseph Myers <joseph@codesourcery.com>
44712 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
44714 * configure: Regenerated.
44716 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
44718 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
44719 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
44722 2012-03-21 Joseph Myers <joseph@codesourcery.com>
44725 * Makefile (files-for-dist): Remove NOTES.
44726 (NOTES): Remove rule.
44727 * README: Don't refer to NOTES.
44728 * manual/creature.texi: Don't include macros.texi.
44729 * manual/intro.texi (creature.texi): Remove comment referring to
44732 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
44733 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
44734 * configure: Regenerated.
44735 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
44736 LIBC_TRY_CC_OPTION.
44737 (libc_cv_as_i686): Likewise.
44738 (libc_cv_cc_avx): Likewise.
44739 (libc_cv_cc_sse2avx): Likewise.
44740 (libc_cv_cc_fma4): Likewise.
44741 (libc_cv_cc_novzeroupper): Likewise.
44742 * sysdeps/i386/configure: Regenerated.
44745 * sysdeps/i386/fpu/s_cexp.S: Remove.
44746 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
44747 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
44748 * math/libm-test.inc (cexp_test): Add more tests.
44749 * sysdeps/i386/fpu/libm-test-ulps: Update.
44750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44752 2012-03-21 Allan McRae <allan@archlinux.org>
44754 * timezone/Makefile: Do not install iso3166.tab and zone.tab
44756 2012-03-21 Joseph Myers <joseph@codesourcery.com>
44759 * math/w_exp2.c: Do not include <float.h>.
44760 (o_threshold, u_threshold): Remove.
44761 (__exp2): Calculate result before checking finiteness and calling
44763 * math/w_exp2f.c: Likewise.
44764 * math/w_exp2l.c: Likewise.
44765 * math/libm-test.inc (exp2_test): Require overflow exception for
44769 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
44770 range of signed 64-bit integers before using fistpll. Remove
44771 checks for whether integers fit in mantissa bits.
44772 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
44773 the range of signed 32-bit integers before using fistpl. Remove
44774 checks for whether integers fit in mantissa bits.
44775 * sysdeps/i386/fpu/e_powl.S (p64): New object.
44776 (__ieee754_powl): Test for y outside the range of signed 64-bit
44777 integers before using fistpll. Reduce 64-bit values to 63-bit
44779 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
44780 divide-by-zero is raised for zero to large negative powers.
44781 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
44782 (__ieee754_powl): Test for y outside the range of signed 64-bit
44783 integers before using fistpll. Reduce 64-bit values to 63-bit
44785 * math/libm-test.inc (pow_test): Add more tests.
44787 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
44789 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
44790 <stdio-common/_itoa.h>.
44791 * debug/segfault.c: Likewise.
44792 * elf/dl-cache.c: Likewise.
44793 * elf/dl-minimal.c: Likewise.
44794 * elf/dl-misc.c: Likewise.
44795 * elf/dl-sysdep.c: Likewise.
44796 * elf/dl-version.c: Likewise.
44797 * elf/rtld.c: Likewise.
44798 * hurd/hurdsock.c: Likewise.
44799 * hurd/lookup-retry.c: Likewise.
44800 * malloc/malloc.c: Likewise.
44801 * malloc/mtrace.c: Likewise.
44802 * nscd/nscd_getgr_r.c: Likewise.
44803 * nscd/nscd_getpw_r.c: Likewise.
44804 * nscd/nscd_getserv_r.c: Likewise.
44805 * posix/getopt_init.c: Likewise.
44806 * posix/wordexp.c: Likewise.
44807 * stdio-common/_itoa.c: Likewise.
44808 * stdio-common/printf_fphex.c: Likewise.
44809 * stdio-common/vfprintf.c: Likewise.
44810 * string/_strerror.c: Likewise.
44811 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
44812 * sysdeps/i386/i686/hp-timing.h: Likewise.
44813 * sysdeps/mach/_strerror.c: Likewise.
44814 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
44815 * sysdeps/mach/hurd/sethostid.c: Likewise.
44816 * sysdeps/mach/hurd/xmknodat.c: Likewise.
44817 * sysdeps/mach/xpg-strerror.c: Likewise.
44818 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
44819 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
44820 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
44821 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
44822 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
44823 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
44824 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
44825 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
44826 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
44827 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
44828 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
44829 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
44830 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
44831 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
44832 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
44833 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
44834 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
44835 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
44836 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
44837 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
44838 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
44840 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
44842 * stdio-common/_itoa.h: Moved to ...
44843 * sysdeps/generic/_itoa.h: Here.
44845 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
44847 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
44848 instead of "_itoa.h" and "_itowa.h".
44849 * stdio-common/vfprintf.: Likewise.
44851 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
44853 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
44855 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
44856 (__signbit): Likwise.
44857 (llrintf): Likwise.
44860 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
44862 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
44865 2012-03-20 Joseph Myers <joseph@codesourcery.com>
44867 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
44868 OVERFLOW_EXCEPTION_OK.
44869 * math/libm-test.inc ("Philosophy"): Update comment about
44871 (OVERFLOW_EXCEPTION): Define.
44872 (OVERFLOW_EXCEPTION_OK): Likewise.
44873 (INVALID_EXCEPTION_OK): Renumber.
44874 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
44875 (IGNORE_ZERO_INF_SIGN): Likewise.
44876 (test_exceptions): Handle FE_OVERFLOW.
44877 (exp10_test): Expect overflow exceptions.
44878 (exp2_test): Likewise.
44879 (expm1_test): Likewise.
44880 (nextafter_test): Likewise.
44881 (pow_test): Likewise.
44882 (scalbn_test): Likewise.
44883 (scalbln_test): Likewise.
44885 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44887 * sysdeps/x86_64/bits/atomic.h
44888 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
44890 (atomic_exchange_acq): Likewise.
44891 (__arch_exchange_and_add_body): Likewise.
44892 (__arch_add_body): Likewise.
44893 (atomic_add_negative): Likewise.
44894 (atomic_add_zero): Likewise.
44896 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44898 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
44899 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
44901 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44903 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
44904 Check __x86_64__ instead of __WORDSIZE.
44906 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44908 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
44910 2012-03-19 David S. Miller <davem@davemloft.net>
44912 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44914 * sysdeps/sparc/fpu/fenv_private.h: New file.
44915 * sysdeps/sparc/fpu/math_private.h: Use it.
44916 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
44918 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
44919 (libc_feholdexcept_setroundl): Remove.
44920 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
44922 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
44923 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
44925 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44927 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
44928 int64_t instead of long int.
44929 (INSERT_WORDS64): Likwise.
44931 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44933 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
44934 _Unwind_GetCFA return to _Unwind_Ptr first.
44936 2012-03-19 Joseph Myers <joseph@codesourcery.com>
44939 * math/s_clog.c: Include <float.h>.
44940 (__clog): Scale large or subnormal inputs.
44941 * math/s_clogf.c: Likewise.
44942 * math/s_clogl.c: Likewise.
44943 * math/s_clog10.c: Include <float.h>.
44944 (M_LOG10_2): Define.
44945 (__clog10): Scale large or subnormal inputs.
44946 * math/s_clog10f.c: Likewise.
44947 * math/s_clog10l.c: Likewise.
44948 * math/libm-test.inc (clog_test): Add more tests.
44949 (clog10_test): Likewise.
44950 * sysdeps/i386/fpu/libm-test-ulps: Update.
44951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44954 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
44956 * math/libm-test.inc (atan2_test): Add another test.
44958 * Makerules (common-objdir-compile): Remove.
44959 * sysdeps/unix/Makefile (config-generated): Do not add
44960 $(unix-generated) to variable.
44961 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
44962 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
44964 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
44966 [generic bits/local_lim.h] (before-compile): Do not append to
44968 [generic bits/local_lim.h] (common-generated): Likewise.
44969 [generic sys/param.h] (before-compile): Do not append to variable.
44970 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
44971 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
44972 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
44973 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
44975 [generic sys/param.h] (sys/param.h-includes): Remove variable.
44976 [generic sys/param.h] (sys/param.h-includes): Remove rule.
44977 [generic sys/param.h] ($(addprefix
44978 $(common-objpfx),$(sys/param.h-includes))): Likewise.
44979 [generic sys/param.h] (common-generated): Do not append to
44981 [generic sys/param.h] (sysdep_headers): Likewise.
44982 [generic bits/errno.h] (before-compile): Do not append to
44984 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
44986 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
44987 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
44988 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
44989 [generic bits/errno.h] (common-generated): Do not append to
44991 [generic bits/ioctls.h] (before-compile): Do not append to
44993 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
44995 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
44996 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
44997 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
44999 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
45000 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
45001 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
45002 [generic bits/ioctls.h] (common-generated): Do not append to
45004 [generic sys/syscall.h] (syscall.h): Remove variable.
45005 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
45007 [generic sys/syscall.h] (before-compile): Do not append to
45009 [generic sys/syscall.h] (common-generated): Likewise.
45010 * sysdeps/unix/errnos-tmpl.c: Remove file.
45011 * sysdeps/unix/errnos.awk: Likewise.
45012 * sysdeps/unix/ioctls-tmpl.c: Likewise.
45013 * sysdeps/unix/ioctls.awk: Likewise.
45014 * sysdeps/unix/mk-local_lim.c: Likewise.
45015 * sysdeps/unix/snarf-ioctls: Likewise.
45017 2012-03-19 Richard Henderson <rth@twiddle.net>
45019 * sysdeps/i386/fpu/fenv_private.h: New file.
45020 * sysdeps/i386/fpu/math_private.h: Use it.
45021 (math_opt_barrier, math_force_eval): Remove.
45022 (libc_feholdexcept_setround_53bit): Remove.
45023 (libc_feupdateenv_53bit): Remove.
45024 * sysdeps/x86_64/fpu/math_private.h: Likewise.
45025 (math_opt_barrier, math_force_eval): Remove.
45026 (libc_feholdexcept): Remove.
45027 (libc_feholdexcept_setround): Remove.
45028 (libc_fetestexcept, libc_fesetenv): Remove.
45029 (libc_feupdateenv_test): Remove.
45030 (libc_feupdateenv, libc_feholdsetround): Remove.
45031 (libc_feresetround): Remove.
45033 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
45034 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
45036 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
45037 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
45038 (libc_feupdateenv_testl): New.
45039 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
45040 (libc_feupdateenv_testf): New.
45041 (libc_feupdateenv): Use libc_feupdateenv_test.
45042 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
45043 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
45045 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
45046 (libc_feholdsetroundf, libc_feholdsetroundl): New.
45047 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
45048 (libc_feresetround_noex): New.
45049 (libc_feresetround_noexf): New.
45050 (libc_feresetround_noexl): New.
45051 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
45052 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
45053 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
45054 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
45056 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
45057 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
45059 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
45060 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
45061 SET_RESTORE_ROUND_NOEX.
45062 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
45063 SET_RESTORE_ROUND_NOEXF.
45064 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
45065 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
45066 (libc_feholdsetroundf): New.
45067 (libc_feresetround, libc_feresetroundf): New.
45069 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
45070 (libc_feholdexcept_setround_53bit): Convert from macro to function.
45071 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
45073 * sysdeps/generic/math_private.h: Include <fenv.h>.
45074 (default_libc_feholdexcept): New.
45075 (default_libc_feholdexcept_setround): New.
45076 (default_libc_fesetenv, default_libc_feupdateenv): New.
45077 (libc_feholdexcept): Only define if undefined.
45078 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
45079 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
45080 (libc_feholdexcept_setroundl): Likewise.
45081 (libc_feholdexcept_setround_53bit): Likewise.
45082 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
45083 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
45084 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
45085 (libc_feupdateenv_53bit): Likewise.
45086 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
45087 (libc_feholdexcept): Convert from macro to inline function.
45088 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
45089 (libc_fesetenv, libc_feupdateenv): Likewise.
45091 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
45092 not previously defined.
45093 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
45094 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
45095 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
45096 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
45097 * sysdeps/ieee754/flt-32/math_private.h: New file.
45098 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
45099 math_private.h below SET_FLOAT_WORD.
45100 (__isnan, __isinf_ns, __finite): Remove.
45101 (__isnanf, __isinf_nsf, __finitef): Remove.
45103 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
45105 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45107 2012-03-17 David S. Miller <davem@davemloft.net>
45110 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
45113 2012-03-16 David S. Miller <davem@davemloft.net>
45115 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
45119 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
45121 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
45122 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
45123 sysdep_routines when subdir is sysvipc.
45124 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
45125 __getshmlba helper.
45127 * sysdeps/sparc/fpu/libm-test/ulps: Update.
45129 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45131 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
45134 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45136 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
45137 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
45138 (__lround): Renamed to ...
45139 (__llround): This. Replace long int with long long int.
45140 Define lround functions as aliases of llround functions.
45141 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
45143 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45145 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
45146 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
45147 adresses to uintptr_t. Replace "long int" and "unsigned long
45148 int" with "greg_t" on va_arg.
45150 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45152 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
45153 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
45155 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
45156 Move e_machine check before EI_CLASS check. Handle x32
45157 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
45158 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
45159 SKIP_EM_IA_64 and include
45160 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
45162 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
45163 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
45164 (add_system_dir): New macro.
45166 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
45167 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
45169 2012-03-16 Joseph Myers <joseph@codesourcery.com>
45180 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
45182 * math/w_j0f.c (j0f): Likewise.
45184 * math/w_j0l.c (__j0l): Likewise.
45186 * math/w_j1.c (j1): Likewise.
45188 * math/w_j1f.c (j1f): Likewise.
45190 * math/w_j1l.c (__j1l): Likewise.
45192 * math/w_jn.c (jn): Likewise.
45194 * math/w_jnf.c (jnf): Likewise.
45196 * math/w_jnl.c (__jnl): Likewise.
45198 * math/libm-test.inc (j0_test): Add more tests.
45199 (j1_test): Likewise.
45200 (jn_test): Likewise. Add trailing semicolon to existing test.
45201 (y0_test): Likewise.
45202 (y1_test): Likewise.
45203 * sysdeps/i386/fpu/libm-test-ulps: Update.
45204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45208 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
45209 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
45210 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
45211 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
45212 (__tanl): Set errno for infinite argument.
45213 * sysdeps/i386/fpu/mptan.c: Remove.
45214 * sysdeps/i386/fpu/s_tan.S: Likewise.
45215 * sysdeps/i386/fpu/s_tanl.S: Likewise.
45216 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
45217 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
45218 * math/libm-test.inc (tan_test): Add more tests and enable more
45219 tests for double and long double.
45220 * sysdeps/i386/fpu/libm-test-ulps: Update.
45221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45223 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
45225 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
45226 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
45228 2012-03-16 Roland McGrath <roland@hack.frob.com>
45230 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
45231 * configure.in: Use it for both main tree and add-ons.
45232 * configure: Regenerated.
45234 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45236 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
45238 2012-03-16 Joseph Myers <joseph@codesourcery.com>
45240 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
45244 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
45245 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
45246 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
45247 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
45248 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
45250 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
45251 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
45252 != 0 for prec == 2.
45253 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
45254 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
45255 * sysdeps/i386/fpu/s_cosl.S: Likewise.
45256 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
45257 * sysdeps/i386/fpu/s_sinl.S: Likewise.
45258 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
45259 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
45260 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
45261 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
45262 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
45263 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
45264 * math/libm-test.inc (cos_test): Add more tests and enable more
45265 tests for long double.
45266 (sin_test): Likewise.
45267 (sincos_test): Likewise.
45268 * sysdeps/i386/fpu/libm-test-ulps: Update.
45269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45271 2012-03-16 David S. Miller <davem@davemloft.net>
45273 * sysdeps/sparc/fpu/math_private.h: New file.
45275 2012-03-15 David S. Miller <davem@davemloft.net>
45277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
45279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
45280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
45282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
45283 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
45284 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
45285 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
45286 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
45287 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
45289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
45291 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
45292 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
45294 * sysdeps/sparc/sparc-ifunc.h: New file.
45295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
45297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
45298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
45300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
45302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
45303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
45304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
45305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
45307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
45308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
45309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
45310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
45311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
45313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
45315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
45316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
45317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
45318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
45319 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
45320 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
45321 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
45322 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
45323 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
45324 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
45325 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
45326 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
45327 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
45328 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
45329 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
45330 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
45331 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
45332 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
45333 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
45334 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
45335 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
45336 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
45337 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
45338 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
45340 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
45342 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
45344 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45346 2012-03-15 Andreas Jaeger <aj@suse.de>
45349 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
45350 ieee754/flt-32 implementation for sin, cos and sincos.
45351 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
45352 * sysdeps/i386/fpu/s_cosf.S: Likewise.
45353 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
45354 * sysdeps/i386/fpu/s_sinf.S: Likewise.
45355 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
45356 ieee754/flt-32 implementation for tan.
45358 * math/libm-test.inc (cos_test): Enable some large input tests for
45360 (sin_test): Likewise.
45361 (sincos_test): Likewise.
45362 (tan_test): Add tests for large input.
45364 * sysdeps/i386/fpu/libm-test-ulps: Update.
45366 2012-03-15 Andreas Jaeger <aj@suse.de>
45369 * math/libm-test.inc (cos_test): Add more test cases.
45370 (sin_test): Likewise.
45371 (sincos_test): Likewise.
45373 2012-03-15 Andreas Jaeger <aj@suse.de>
45376 * math/libm-test.inc (cos_test): Add a test case for large input
45378 (sin_test): Likewise.
45379 (sincos_test): Likewise.
45381 2012-03-15 Andreas Jaeger <aj@suse.de>
45382 Joseph Myers <joseph@codesourcery.com>
45385 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
45386 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
45387 * sysdeps/i386/fpu/branred.c: Likewise.
45388 * sysdeps/i386/fpu/dosincos.c: Likewise.
45389 * sysdeps/i386/fpu/mpa.c: Likewise.
45390 * sysdeps/i386/fpu/s_cos.S: Likewise.
45391 * sysdeps/i386/fpu/s_sin.S: Likewise.
45392 * sysdeps/i386/fpu/s_sincos.S: Likewise.
45393 * sysdeps/i386/fpu/sincos32.c: Likewise.
45395 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
45397 (libc_feupdateenv_53bit): Define.
45398 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
45400 (libc_feupdateenv_53bit): Define.
45402 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
45403 53 bit (without extend i386 double precision).
45405 * math/libm-test.inc (sincos_test): Add tests for large input.
45409 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
45411 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
45413 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45415 2012-03-15 David S. Miller <davem@davemloft.net>
45417 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
45418 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
45419 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
45420 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
45421 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
45422 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
45423 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
45424 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
45425 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
45426 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
45427 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
45428 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
45429 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
45430 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
45431 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
45432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
45434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
45435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
45437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
45438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
45440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
45441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
45443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
45444 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
45445 fmin/fmax sysdep routines.
45446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
45448 2012-03-14 David S. Miller <davem@davemloft.net>
45450 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
45451 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
45452 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
45453 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
45454 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
45455 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
45456 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
45457 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
45458 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
45459 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
45460 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
45461 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
45462 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
45463 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
45464 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
45465 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
45466 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
45467 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
45468 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
45469 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
45470 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
45471 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
45472 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
45473 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
45474 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
45475 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
45476 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
45477 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
45478 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
45480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
45482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
45483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
45485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
45486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
45488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
45489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
45491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
45492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
45494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
45495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
45497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
45499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
45501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
45503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
45505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
45507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
45509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
45510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
45512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
45513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
45515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
45516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
45518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
45519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
45522 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
45525 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45527 * sysdeps/sparc/configure.in: New file.
45528 * sysdeps/sparc/configure: Generate.
45529 * configure.in (libc_cv_sparc_as_vis3): Substitute.
45530 * configure: Regenerate.
45531 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
45532 * config.make.in (have-as-vis3): New.
45533 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
45534 available use -Av9d instead of -Av9a.
45535 * sysdeps/sparc/sparc64/Makefile: Likewise.
45536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
45537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
45539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
45541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
45543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
45545 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
45546 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
45547 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
45548 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
45549 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
45551 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
45552 fzeros/fnegs to load 0x80000000 into a float register instead of
45554 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
45556 2012-03-14 Joseph Myers <joseph@codesourcery.com>
45558 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45560 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
45561 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
45562 ($(inst_includedir)/bits/syscall.h): Remove rule.
45563 ($(objpfx)bits/syscall.d): Include instead of
45564 $(objpfx)syscall-list.d.
45565 (generated): Change syscall-list.h and syscall-list.d to
45566 bits/syscall.h and bits/syscall.d.
45568 2012-03-14 Roland McGrath <roland@hack.frob.com>
45571 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
45573 2012-03-14 Joseph Myers <joseph@codesourcery.com>
45576 * math/s_csqrt.c: Include <float.h>.
45577 (__csqrt): Scale large or subnormal inputs.
45578 * math/s_csqrtf.c: Likewise.
45579 * math/s_csqrtl.c: Likewise.
45580 * math/libm-test.inc (csqrt_test): Add more tests.
45581 * sysdeps/i386/fpu/libm-test-ulps: Update.
45582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45585 * math/libm-test.inc (hypot_test): Add more tests.
45587 2012-03-13 David S. Miller <davem@davemloft.net>
45590 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
45591 double-precision for the calculation instead of scaling.
45593 2012-03-13 Joseph Myers <joseph@codesourcery.com>
45595 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
45596 manipulate bits before adding and subtracting TWO52[sx].
45597 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
45598 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
45600 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
45602 2012-03-13 David S. Miller <davem@davemloft.net>
45604 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
45605 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
45606 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
45607 rtld-global-offsets.h
45608 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45610 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
45613 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
45615 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
45616 'err' in the ifdef scope in which it is actually used.
45618 * nss/nss_db/db-init.c: Include string.h
45620 2012-03-12 David S. Miller <davem@davemloft.net>
45622 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45623 masking out of the most significant byte of random value used.
45624 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45625 Fix coding style in previous change.
45627 * sysdeps/unix/sysv/linux/kernel-features.h
45628 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
45629 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
45631 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
45634 2012-03-11 David S. Miller <davem@davemloft.net>
45636 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
45637 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
45638 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
45639 for 'resultvar' otherwise things get truncated on 64-bit.
45641 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45642 Fix masking out of the most significant byte of random value used.
45644 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45646 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
45648 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45650 2012-03-09 David S. Miller <davem@davemloft.net>
45652 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
45653 variables with appropriate CPP guards.
45654 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
45655 from the frame pointer, not the stack pointer. Correct layout
45656 comments. Fix test on resulting framesize and the management of
45657 the outregs buffer for pltexit. Preserve floating point return
45658 values across _dl_call_pltexit call.
45659 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
45660 framesize and the management of the outregs buffer for pltexit.
45661 Preserve floating point return values across _dl_call_pltexit
45663 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
45664 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
45665 (la_sparc64_gnu_pltexit): New functions.
45666 (print_exit): Fix format string for return register value.
45668 2012-03-10 Joseph Myers <joseph@codesourcery.com>
45670 * sunrpc/Makefile (others): Add rpcgen.
45671 ($(objpfx)rpcgen): Remove special build rule and dependency on
45673 * sunrpc/rpcgen.c: New file.
45675 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
45678 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
45679 * stdio-common/bug-vfprintf-nargs.c: Likewise.
45680 * sysdeps/i386/crti.S: Likewise.
45681 * sysdeps/i386/crtn.S: Likewise.
45682 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
45683 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
45684 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
45685 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
45686 * sysdeps/sh/crti.S: Likewise.
45687 * sysdeps/sh/crtn.S: Likewise.
45688 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
45691 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
45693 * locale/programs/locfile-kw.gperf: Likewise.
45694 * locale/programs/charmap-kw.h: Regenerated.
45695 * locale/programs/locfile-kw.h: Likewise.
45698 * intl/plural.y: Replace FSF snail mail address with URL.
45699 * intl/plural.c: Regenerated.
45701 2012-03-09 Richard Henderson <rth@twiddle.net>
45703 * include/math_private.h: Remove file.
45704 * math/math_private.h: Move file ...
45705 * sysdeps/generic/math_private.h: ... here.
45707 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
45708 * sysdeps/powerpc/fpu/math_private.h: Likewise.
45709 * sysdeps/x86_64/fpu/math_private.h: Likewise.
45711 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
45712 and <math_private.h>.
45713 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
45714 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
45715 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
45716 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
45717 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
45718 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
45719 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
45720 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45721 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45722 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45723 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45724 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45725 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45726 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45727 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45728 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45729 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45730 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45731 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45732 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45733 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45734 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45735 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45736 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45737 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
45738 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45739 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45740 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45741 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45742 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45743 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45744 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45745 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
45746 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45747 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45748 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45749 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45750 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45751 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45752 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45753 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
45754 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45755 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
45756 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
45757 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
45758 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45759 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
45760 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
45761 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45762 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45763 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
45764 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
45765 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
45766 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45767 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
45768 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45769 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45770 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
45771 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
45772 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
45773 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45774 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
45775 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45776 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45777 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
45778 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
45779 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
45780 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
45781 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
45782 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
45783 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
45784 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45785 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
45786 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45787 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
45788 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
45789 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
45790 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
45791 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
45792 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
45793 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
45794 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
45795 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
45796 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
45797 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
45798 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
45799 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
45800 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
45801 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45802 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45803 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45804 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45805 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45806 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45807 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45808 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45809 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45810 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45811 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45812 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45813 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45814 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45815 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45816 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45817 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
45818 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45819 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45820 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45821 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
45822 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45823 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
45824 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
45825 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45826 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
45827 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
45828 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45829 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
45830 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
45831 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
45832 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
45833 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
45834 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
45835 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45836 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
45837 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
45838 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
45839 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45840 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
45841 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
45842 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
45843 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
45844 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
45845 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
45846 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
45847 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
45848 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
45849 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
45850 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
45851 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
45852 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
45853 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45854 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
45855 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
45856 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
45857 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
45858 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
45859 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
45860 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
45861 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
45862 * sysdeps/ieee754/k_standard.c: Likewise.
45863 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45864 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45865 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45866 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45867 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45868 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45869 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45870 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45871 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45872 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45873 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45874 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45875 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45876 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45877 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45878 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45879 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
45880 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45881 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45882 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
45883 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
45884 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
45885 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
45886 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
45887 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
45888 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
45889 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
45890 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
45891 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
45892 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
45893 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
45894 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
45895 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
45896 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
45897 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
45898 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
45899 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
45900 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
45901 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
45902 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
45903 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
45904 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
45905 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
45906 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
45907 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
45908 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
45909 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
45910 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
45911 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
45912 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
45913 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
45914 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
45915 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
45916 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
45917 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45918 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
45919 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
45920 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
45921 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
45922 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
45923 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
45924 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
45925 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
45926 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45927 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45928 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45929 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45930 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45931 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45932 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45933 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45934 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45935 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45936 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45937 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45938 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45939 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
45940 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45941 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45942 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
45943 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
45944 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
45945 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
45946 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
45947 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
45948 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
45949 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
45950 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
45951 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
45952 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
45953 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
45954 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
45955 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
45956 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
45957 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
45958 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
45959 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
45960 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
45961 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
45962 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
45963 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
45964 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
45965 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
45966 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
45967 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
45968 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
45969 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
45970 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
45971 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
45972 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
45973 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
45974 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
45975 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
45976 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45977 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
45978 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45979 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
45980 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45981 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45982 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
45983 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45984 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
45985 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45986 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
45987 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45988 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
45989 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
45990 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
45991 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
45992 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
45993 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
45994 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
45995 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
45996 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
45997 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
45998 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
45999 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
46000 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
46001 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
46002 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
46003 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
46004 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
46005 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
46006 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
46007 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
46008 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
46009 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
46010 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
46011 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
46012 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
46013 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
46014 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
46015 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
46016 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
46017 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
46018 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
46019 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
46020 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
46021 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
46022 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
46023 * sysdeps/ieee754/s_lib_version.c: Likewise.
46024 * sysdeps/ieee754/s_matherr.c: Likewise.
46025 * sysdeps/ieee754/s_signgam.c: Likewise.
46026 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
46027 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46028 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
46029 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
46030 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
46031 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
46032 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
46033 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
46034 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
46035 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
46036 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
46037 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
46038 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
46039 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
46040 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
46041 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
46042 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
46043 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
46044 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
46045 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46046 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46048 2012-03-09 Joseph Myers <joseph@codesourcery.com>
46050 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
46051 * sunrpc/rpc_main.c: Likewise.
46052 * sunrpc/rpc_svcout.c: Likewise.
46054 2012-03-09 David S. Miller <davem@davemloft.net>
46056 * include/math_private.h: New file.
46058 2012-03-09 Joseph Myers <joseph@codesourcery.com>
46060 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
46061 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
46062 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
46063 from <bits/socket_type.h>.
46064 (enum __socket_type): Don't define here.
46065 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
46066 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46067 bits/socket_type.h.
46070 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
46071 checking __USE_GNU.
46073 * Makerules ($(inst_includedir)/%.h): New rule.
46074 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
46075 (install-others): Remove variable setting.
46076 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
46078 2012-03-08 Richard Henderson <rth@twiddle.net>
46080 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
46081 from macro to inline function; merge with the
46082 !__LIBC_INTERNAL_MATH_INLINES version.
46083 (__ieee754_sqrtf): Likewise.
46085 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
46086 to inline function.
46087 (__rintf, __floor, __floorf): Likewise.
46089 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
46090 macro to inline function.
46091 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
46093 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
46094 not <math/math_private.h>.
46096 2012-03-08 David S. Miller <davem@davemloft.net>
46098 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
46100 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
46102 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
46104 * resolv/gai_misc.c (handle_requests): Fix struct timespec
46106 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
46107 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
46109 2012-03-08 Ulrich Drepper <drepper@gmail.com>
46111 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
46112 be defined individually, they must be defined as a block. Define
46113 S for printing a string instead of hidint the different by using a
46114 macro for adding the 'l'.
46115 * stdio-common/tst-fphex-wide.c: Adjust.
46117 2012-03-07 Marek Polacek <polacek@redhat.com>
46119 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
46121 2012-03-08 Marek Polacek <polacek@redhat.com>
46124 * stdio-common/Makefile (tests): Add tst-fphex-wide.
46125 * stdio-common/tst-fphex.c: Define a few macros to make the
46126 test reusable. Use them.
46127 * stdio-common/tst-fphex-wide.c: New file.
46129 2012-03-08 Joseph Myers <joseph@codesourcery.com>
46132 * manual/macros.texi (gnusystems): New macro.
46133 (nongnusystems): Likewise.
46134 (gnulinuxhurdsystems): Likewise.
46135 (gnuhurdsystems): Likewise..
46136 (gnulinuxsystems): Likewise.
46137 * manual/charset.texi: Use new macros or @theglibc{} to refer to
46138 variants of the GNU system, not "GNU system".
46139 * manual/conf.texi: Likewise.
46140 * manual/errno.texi: Likewise. Update example of errno macro
46142 * manual/filesys.texi: Likewise.
46143 (getumask): Document as specific to GNU/Hurd.
46144 * manual/install.texi: Likewise. Reword some references to
46146 * manual/intro.texi: Likewise.
46147 * manual/io.texi: Likewise.
46148 (File Name Portability): Detail which constraints are inapplicable
46149 to all GNU systems and which are only inapplicable to GNU/Hurd.
46150 * manual/job.texi: Likewise.
46151 * manual/llio.texi: Likewise.
46152 (O_NOCTTY): Document as present on GNU/Linux.
46153 * manual/maint.texi: Likewise.
46154 * manual/memory.texi: Likewise.
46155 * manual/pattern.texi: Likewise.
46156 * manual/pipe.texi: Likewise.
46157 * manual/process.texi: Likewise.
46158 * manual/resource.texi: Likewise.
46159 (RUSAGE_CHILDREN): Remove statement about specifying a particular
46161 * manual/setjmp.texi: Likewise.
46162 * manual/signal.texi: Likewise.
46163 * manual/startup.texi: Likewise.
46164 * manual/stdio.texi: Likewise.
46165 * manual/terminal.texi: Likewise.
46166 (ONLCR): Document as POSIX.
46167 (OXTABS): Document availability on GNU/Linux as XTABS.
46168 (ONOEOT): Document availability separately from other bits.
46169 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
46170 * manual/time.texi: Likewise.
46171 * manual/users.texi: Likewise.
46172 * INSTALL: Regenerated.
46173 * sysdeps/gnu/errlist.c: Regenerated.
46175 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
46176 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
46177 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
46179 * configure: Regenerated.
46181 2012-03-07 Joseph Myers <joseph@codesourcery.com>
46183 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
46184 default includes instead of AC_HEADER_CHECK.
46185 * sysdeps/i386/configure: Regenerated.
46188 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
46189 * math/s_cacoshf.c (__cacoshf): Likewise.
46190 * math/s_cacoshl.c (__cacoshl): Likewise.
46191 * math/s_casinh.c (__casinh): Set signs of result from argument.
46192 * math/s_casinhf.c (__casinhf): Likewise.
46193 * math/s_casinhl.c (__casinhl): Likewise.
46194 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
46195 (casinh_test): Add more tests.
46196 * sysdeps/i386/fpu/libm-test-ulps: Update.
46197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46199 2012-03-07 Ulrich Drepper <drepper@gmail.com>
46201 * po/zh_TW.po: Update from translation team.
46203 * login/Makefile (distribute): Remove variable.
46204 * catgets/Makefile: Likewise.
46205 * mach/Makefile: Likewise.
46206 * malloc/Makefile: Likewise.
46207 * misc/Makefile: Likewise.
46208 * iconv/Makefile: Likewise.
46209 * nscd/Makefile: Likewise.
46210 * hurd/Makefile: Likewise.
46211 * manual/Makefile: Likewise.
46212 * locale/Makefile: Likewise.
46213 * intl/Makefile: Likewise.
46214 * conform/Makefile: Likewise.
46215 * nss/Makefile: Likewise.
46216 * time/Makefile: Likewise.
46217 * soft-fp/Makefile: Likewise.
46218 * dirent/Makefile: Likewise.
46219 * gmon/Makefile: Likewise.
46220 * po/Makefile: Likewise.
46221 * rt/Makefile: Likewise.
46222 * socket/Makefile: Likewise.
46223 * math/Makefile: Likewise.
46224 * signal/Makefile: Likewise.
46225 * debug/Makefile: Likewise.
46226 * elf/Makefile: Likewise.
46227 * timezone/Makefile: Likewise.
46228 * stdlib/Makefile: Likewise.
46229 * iconvdata/Makefile: Likewise.
46230 * sunrpc/Makefile: Likewise.
46231 * io/Makefile: Likewise.
46232 * argp/Makefile: Likewise.
46233 * inet/Makefile: Likewise.
46234 * hesiod/Makefile: Likewise.
46235 * grp/Makefile: Likewise.
46236 * csu/Makefile: Likewise.
46237 * wctype/Makefile: Likewise.
46238 * crypt/Makefile: Likewise.
46239 * libio/Makefile: Likewise.
46240 * string/Makefile: Likewise.
46241 * nis/Makefile: Likewise.
46242 * resolv/Makefile: Likewise.
46243 * stdio-common/Makefile: Likewise.
46244 * wcsmbs/Makefile: Likewise.
46245 * dlfcn/Makefile: Likewise.
46246 * posix/Makefile: Likewise.
46249 * timezone/Makefile: Don't install timezone files, just the programs
46252 2012-03-06 Ulrich Drepper <drepper@gmail.com>
46254 * nss/databases.def: Add missing gshadow entry.
46256 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
46258 2012-03-06 Marek Polacek <polacek@redhat.com>
46261 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
46262 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
46263 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
46264 * stdio-common/tst-long-dbl-fphex.c: New file.
46266 2012-03-06 David S. Miller <davem@davemloft.net>
46268 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46269 (set_obp_int): New function.
46270 (get_obp_int): New function.
46271 (__get_clockfreq_via_dev_openprom): Likewise.
46272 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
46273 Avoid unused variable warnings on 'val' and use builtin_expect.
46274 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
46276 (INLINE_CLONE_SYSCALL): Likewise.
46278 2012-03-05 David S. Miller <davem@davemloft.net>
46280 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46282 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
46284 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46286 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
46287 only for |x| >= 40.
46288 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46290 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
46292 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
46293 Replace gettimeofday with __vdso_gettimeofday.
46295 * sysdeps/unix/sysv/linux/x86_64/init-first.c
46296 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
46297 __vdso_clock_gettime and __vdso_getcpu.
46299 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
46300 time with __vdso_time.
46302 2012-03-05 Joseph Myers <joseph@codesourcery.com>
46304 * manual/lang.texi (size_t): Note types to which size_t may be
46305 equivalent with the GNU C Library, but do not describe when
46306 differences between them are significant.
46308 2012-03-05 Andreas Jaeger <aj@suse.de>
46310 * sysdeps/i386/fpu/libm-test-ulps: Update.
46312 2012-03-05 Joseph Myers <joseph@codesourcery.com>
46315 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
46316 (__ieee754_pow): Save and restore rounding mode and use
46317 round-to-nearest for main computations.
46318 * math/libm-test.inc (pow_test_tonearest): New function.
46319 (pow_test_towardzero): Likewise.
46320 (pow_test_downward): Likewise.
46321 (pow_test_upward): Likewise.
46322 (main): Call the new functions.
46323 * sysdeps/i386/fpu/libm-test-ulps: Update.
46324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46327 * math/libm-test.inc (cosh_test_tonearest): New function.
46328 (cosh_test_towardzero): Likewise.
46329 (cosh_test_downward): Likewise.
46330 (cosh_test_upward): Likewise.
46331 (sinh_test_tonearest): Likewise.
46332 (sinh_test_towardzero): Likewise.
46333 (sinh_test_downward): Likewise.
46334 (sinh_test_upward): Likewise.
46335 (main): Call the new functions.
46336 * sysdeps/i386/fpu/libm-test-ulps: Update.
46337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46339 2012-03-05 Tom de Vries <tom@codesourcery.com>
46341 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
46342 default stack guard is set in last bytes.
46343 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
46345 2012-03-05 Kees Cook <keescook@chromium.org>
46347 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
46350 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
46351 possibly allocate from heap instead of stack.
46352 * stdio-common/bug-vfprintf-nargs.c: New file.
46353 * stdio-common/Makefile (tests): Add nargs overflow test.
46355 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
46357 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46359 2012-03-03 Marek Polacek <polacek@redhat.com>
46361 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
46362 * math/math_private.h: Likewise.
46363 * stdlib/tst-strtod.c: Likewise.
46364 * sysdeps/i386/i486/bits/atomic.h: Likewise.
46365 * sysdeps/x86_64/bits/atomic.h: Likewise.
46367 2012-03-02 David S. Miller <davem@davemloft.net>
46369 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
46370 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
46371 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
46372 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
46373 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
46374 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
46375 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
46376 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
46378 2012-03-02 Roland McGrath <roland@hack.frob.com>
46381 * manual/examples/README: New file, says the example source files
46382 can be used under GPL>=2.
46383 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
46384 line containing just "*/".
46385 * manual/examples/add.c: Add copyright header (GPL>=2).
46386 * manual/examples/argp-ex1.c: Likewise.
46387 * manual/examples/argp-ex2.c: Likewise.
46388 * manual/examples/argp-ex3.c: Likewise.
46389 * manual/examples/argp-ex4.c: Likewise.
46390 * manual/examples/atexit.c: Likewise.
46391 * manual/examples/db.c: Likewise.
46392 * manual/examples/dir.c: Likewise.
46393 * manual/examples/dir2.c: Likewise.
46394 * manual/examples/execinfo.c: Likewise.
46395 * manual/examples/filecli.c: Likewise.
46396 * manual/examples/filesrv.c: Likewise.
46397 * manual/examples/fmtmsgexpl.c: Likewise.
46398 * manual/examples/genpass.c: Likewise.
46399 * manual/examples/inetcli.c: Likewise.
46400 * manual/examples/inetsrv.c: Likewise.
46401 * manual/examples/isockad.c: Likewise.
46402 * manual/examples/longopt.c: Likewise.
46403 * manual/examples/memopen.c: Likewise.
46404 * manual/examples/memstrm.c: Likewise.
46405 * manual/examples/mkfsock.c: Likewise.
46406 * manual/examples/mkisock.c: Likewise.
46407 * manual/examples/mygetpass.c: Likewise.
46408 * manual/examples/pipe.c: Likewise.
46409 * manual/examples/popen.c: Likewise.
46410 * manual/examples/rprintf.c: Likewise.
46411 * manual/examples/search.c: Likewise.
46412 * manual/examples/select.c: Likewise.
46413 * manual/examples/setjmp.c: Likewise.
46414 * manual/examples/sigh1.c: Likewise.
46415 * manual/examples/sigusr.c: Likewise.
46416 * manual/examples/stpcpy.c: Likewise.
46417 * manual/examples/strdupa.c: Likewise.
46418 * manual/examples/strftim.c: Likewise.
46419 * manual/examples/strncat.c: Likewise.
46420 * manual/examples/subopt.c: Likewise.
46421 * manual/examples/swapcontext.c: Likewise.
46422 * manual/examples/termios.c: Likewise.
46423 * manual/examples/testopt.c: Likewise.
46424 * manual/examples/testpass.c: Likewise.
46425 * manual/examples/timeval_subtract.c: Likewise.
46428 * manual/time.texi (Elapsed Time): Move timeval_subtract example
46430 * manual/timeval_subtract.c.texi: ... here, new file.
46432 2012-03-02 David S. Miller <davem@davemloft.net>
46434 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
46436 2012-03-02 Joseph Myers <joseph@codesourcery.com>
46439 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
46440 (__sin): Save and restore rounding mode and use round-to-nearest
46441 for all computations.
46442 (__cos): Save and restore rounding mode and use round-to-nearest
46443 for all computations.
46444 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
46446 (tan): Save and restore rounding mode and use round-to-nearest for
46448 * math/libm-test.inc (cos_test_tonearest): New function.
46449 (cos_test_towardzero): Likewise.
46450 (cos_test_downward): Likewise.
46451 (cos_test_upward): Likewise.
46452 (sin_test_tonearest): Likewise.
46453 (sin_test_towardzero): Likewise.
46454 (sin_test_downward): Likewise.
46455 (sin_test_upward): Likewise.
46456 (tan_test_tonearest): Likewise.
46457 (tan_test_towardzero): Likewise.
46458 (tan_test_downward): Likewise.
46459 (tan_test_upward): Likewise.
46460 (main): Call the new functions.
46461 * sysdeps/i386/fpu/libm-test-ulps: Update.
46462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46465 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
46466 small n, then large n, before computing and testing k+n.
46467 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
46468 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
46470 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
46472 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
46473 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
46474 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
46475 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
46476 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
46477 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
46478 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
46479 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
46480 * math/libm-test.inc (scalbn_test): Add more tests.
46481 (scalbln_test): Likewise.
46483 * manual/filesys.texi (mode_t): Describe constraints on size and
46484 signedness, not exact equivalence to a particular type.
46486 (ino64_t): Likewise.
46488 (nlink_t): Likewise.
46489 (blkcnt_t): Likewise.
46490 (blkcnt64_t): Likewise.
46491 * manual/llio.texi (off_t): Likewise.
46494 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
46495 (__ieee754_exp): Save and restore rounding mode and use
46496 round-to-nearest for all computations.
46497 * math/libm-test.inc (exp_test_tonearest): New function.
46498 (exp_test_towardzero): Likewise.
46499 (exp_test_downward): Likewise.
46500 (exp_test_upward): Likewise.
46501 (main): Call the new functions.
46502 * sysdeps/i386/fpu/libm-test-ulps: Update.
46503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46505 2012-03-01 Chris Demetriou <cgd@google.com>
46507 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
46508 have predictable order.
46510 2012-03-01 David S. Miller <davem@davemloft.net>
46512 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
46514 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
46515 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
46516 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
46517 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
46519 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
46520 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
46521 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
46522 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
46523 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
46524 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
46525 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
46526 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
46527 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
46529 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46531 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
46532 * sysdeps/sparc/fpu/libm-test-ulps: to here.
46533 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
46535 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
46536 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46537 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
46538 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
46539 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
46540 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
46541 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
46542 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
46543 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
46544 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
46545 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
46546 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46547 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46548 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
46549 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46550 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46551 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
46552 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
46553 * sysdeps/sparc/elf/configure: Regenerated.
46555 2012-03-01 Joseph Myers <joseph@codesourcery.com>
46557 * configure.in (AS, LD): Require binutils 2.20 or later.
46558 * configure: Regenerated.
46559 * manual/install.texi (Tools for Compilation): Give binutils 2.20
46560 as required minimum version.
46561 * INSTALL: Regenerated.
46565 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
46566 before squaring exponent.
46567 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
46568 bottom long double and 27 bits of top long double before squaring
46570 * math/libm-test.inc (erfc_test): Add more tests.
46571 * sysdeps/i386/fpu/libm-test-ulps: Update.
46572 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46575 2012-03-01 Kai Tietz <ktietz@redhat.com>
46577 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
46578 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
46579 containing bit-fields.
46580 * soft-fp/extended.h (_FP_UNION_E): Likewise.
46581 * soft-fp/single.h (_FP_UNION_S): Likewise.
46582 * soft-fp/double.h (_FP_UNION_D): Likewise.
46584 2012-02-29 Joseph Myers <joseph@codesourcery.com>
46587 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
46588 not include ../strcmp.S.
46589 [USE_AS_STRNCASECMP_L]: Likewise.
46590 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
46591 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
46592 * sysdeps/i386/i686/multiarch/strncase_l-c.c
46593 (__strncasecmp_l_ia32): Define as alias to
46594 __strncasecmp_l_nonascii.
46597 * math/libm-test.inc (expm1_test): Add test for bug 5794.
46598 * sysdeps/i386/fpu/libm-test-ulps: Update.
46599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46601 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
46602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46604 2012-02-29 Jeff Law <law@redhat.com>
46606 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
46607 out of bounds read.
46609 2012-02-29 Marek Polacek <polacek@redhat.com>
46612 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
46613 * elf/Makefile: Add rules to run tst-unused-dep.out.
46615 2012-02-28 David S. Miller <davem@davemloft.net>
46617 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
46618 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
46619 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
46620 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
46621 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
46622 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
46624 2012-02-29 Joseph Myers <joseph@codesourcery.com>
46626 * math/libm-test.inc (llround_test): Move one test from
46627 lround_test. Use TEST_f_L in moved test.
46628 (lround_test): Move misplaced test to llround_test. Add testcase
46631 2012-02-28 Ulrich Drepper <drepper@gmail.com>
46633 * sysdeps/x86_64/fpu/e_expf.S: New file.
46634 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
46636 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
46639 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
46640 of remain_len that may cause incomplete multi-byte character and
46642 * posix/bug-regex33.c: New file.
46643 * posix/Makefile (tests): Add bug-regex33.
46645 2012-02-28 Joseph Myers <joseph@codesourcery.com>
46647 * manual/macros.texi: New file.
46648 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
46649 * manual/libc.texinfo: Include macros.texi.
46650 * manual/creatute.texi: Likewise.
46651 * manual/install.texi: Likewise.
46652 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
46653 @glibcadj{} in references to the GNU C Library.
46654 * manual/charset.texi: Likewise.
46655 * manual/conf.texi: Likewise.
46656 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
46657 when not using those macros.
46658 * manual/creature.texi: Likewise.
46659 * manual/crypt.texi: Likewise.
46660 * manual/errno.texi: Likewise.
46661 * manual/filesys.texi: Likewise.
46662 * manual/header.texi: Likewise.
46663 * manual/install.texi: Likewise.
46664 * manual/intro.texi: Likewise.
46665 * manual/io.texi: Likewise.
46666 * manual/job.texi: Likewise.
46667 * manual/lang.texi: Likewise.
46668 * manual/libc.texiinfo: Likewise.
46669 * manual/llio.texi: Likewise.
46670 * manual/locale.texi: Likewise.
46671 * manual/maint.texi: Likewise.
46672 * manual/math.texi: Likewise.
46673 * manual/memory.texi: Likewise.
46674 * manual/message.texi: Likewise.
46675 * manual/nss.texi: Likewise.
46676 * manual/pattern.texi: Likewise.
46677 * manual/process.texi: Likewise.
46678 * manual/resource.texi: Likewise.
46679 * manual/search.texi: Likewise.
46680 * manual/setjmp.texi: Likewise.
46681 * manual/signal.texi: Likewise.
46682 * manual/socket.texi: Likewise.
46683 * manual/startup.texi: Likewise.
46684 * manual/stdio.texi: Likewise.
46685 * manual/string.texi: Likewise.
46686 * manual/sysinfo.texi: Likewise.
46687 * manual/syslog.texi: Likewise.
46688 * manual/terminal.texi: Likewise.
46689 * manual/time.texi: Likewise.
46690 * manual/users.texi: Likewise.
46691 * INSTALL: Regenerated.
46692 * NOTES: Regenerated.
46693 * sysdeps/gnu/errlist.c: Regenerated.
46695 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
46697 * include/dirent.h: Include <dirstream.h> before
46700 2012-02-28 David S. Miller <davem@davemloft.net>
46702 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
46703 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
46704 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
46705 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
46707 2012-02-27 David S. Miller <davem@davemloft.net>
46709 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
46710 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
46711 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
46712 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
46714 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
46715 frame pointer instead of stack pointer relative arg slot.
46716 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
46717 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
46718 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
46720 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
46723 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
46725 2012-02-27 David S. Miller <davem@davemloft.net>
46727 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
46728 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
46729 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
46730 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
46731 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
46732 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
46733 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
46734 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
46736 2012-02-27 Joseph Myers <joseph@codesourcery.com>
46738 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
46739 later. Allow versions 5-9.
46740 * configure: Regenerated.
46741 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
46742 required minimum version and 4.6 as recommended version. Do not
46743 mention bugs in GCC 2.7 and 2.8.
46744 * INSTALL: Regenerated.
46746 2012-02-27 David S. Miller <davem@davemloft.net>
46748 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
46749 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
46750 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
46751 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
46752 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
46753 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
46754 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
46755 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
46757 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
46758 manipulate bits before adding and subtracting TWO112[sx].
46759 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
46761 2012-02-27 Roland McGrath <roland@hack.frob.com>
46764 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
46765 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
46766 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
46767 being in POSIX, because they are in 1003.1-2008.
46769 * rt/tst-aio.c: Include <fcntl.h>.
46770 * rt/tst-aio7.c: Likewise.
46771 * rt/tst-aio64.c: Likewise.
46773 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
46775 2012-02-27 Joseph Myers <joseph@codesourcery.com>
46777 * manual/install.texi (--with-headers): Describe headers as
46778 interface headers, not private headers.
46779 (Specific advice for GNU/Linux systems): Describe use of headers
46780 from "make headers_install", not private headers from older
46782 * INSTALL: Regenerated.
46783 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
46785 * sysdeps/unix/sysv/linux/configure: Regenerated.
46787 * manual/llio.texi (fclean): Remove documentation.
46789 * manual/Makefile (libc-texi-generated): New variable. Include
46791 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
46792 $(libc-texi-generated), not duplicated list of files.
46793 (version.texi, stamp-version): New rules.
46794 (realclean): Remove $(libc-texi-generated), not individual files
46795 from that list. Do not remove dir-add.texinfo.
46796 * manual/libc.texinfo: Comment out uses of edition numbers and
46797 references to printed manual. Remove last-updated dates.
46798 (EDITION): Comment out.
46800 (VERSION, UPDATED): Remove.
46801 (version.texi): Include.
46803 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
46805 * sysdeps/posix/spawni.c: Include <signal.h>.
46806 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
46807 * sysdeps/pthread/aio_fsync.c: Likewise.
46809 2012-02-26 Ulrich Drepper <drepper@gmail.com>
46811 * conform/Makefile (tests): Run only when not cross-compiling and
46812 when fast-check is not defined.
46814 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
46815 * conform/data/limits.h-data: Fixes for POSIX2008.
46816 * conform/run-conformtest.sh: Run all tests.
46817 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
46819 * include/bits/dlfcn.h: Likewise.
46820 * include/langinfo.h: Likewise.
46821 * include/monetary.h: Likewise.
46822 * include/sys/poll.h: Likewise.
46824 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
46826 * posix/spawn.h: Define __need_sigset_t.
46827 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
46828 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
46829 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
46830 to get sigevent_t only.
46831 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
46832 only for __USE_GNU.
46833 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46834 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
46835 process_vm_writev only for __USE_GNU.
46836 * termios/termios.h: Declare tcgetsid also for POSIX2008.
46838 * conform/Makefile: For now ignore errors from run-conformtest.
46839 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
46840 POSIX to avoid namespace pollution. Don't prepend headers.
46841 * conform/data/aio.h-data: Fixes for POSIX testing.
46842 * conform/data/fcntl.h-data: Likewise.
46843 * conform/data/glob.h-data: Likewise.
46844 * conform/data/grp.h-data: Likewise.
46845 * conform/data/pthread.h-data: Likewise.
46846 * conform/data/pwd.h-data: Likewise.
46847 * conform/data/signal.h-data: Likewise.
46848 * conform/data/spawn.h-data: Likewise.
46849 * conform/data/stdio.h-data: Likewise.
46850 * conform/data/stdlib.h-data: Likewise.
46851 * conform/data/stropts.h-data: Likewise.
46852 * conform/data/sys/mman.h-data: Likewise.
46853 * conform/data/sys/stat.h-data: Likewise.
46854 * conform/data/sys/types.h-data: Likewise.
46855 * conform/data/sys/wait.h-data: Likewise.
46856 * conform/data/time.h-data: Likewise.
46857 * conform/data/unistd.h-data: Likewise.
46858 * conform/data/utime.h-data: Likewise.
46860 * io/sys/stat.h: fchmod was always in POSIX.
46861 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
46862 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
46863 * rt/aio.h: Define __need_timespec before including <time.h>.
46864 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
46865 struct. Add forward declaration of pthread_attr_t and use it in
46867 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46868 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46869 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
46870 always remove CLK_TCK definition.
46872 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
46874 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
46876 2012-02-25 Ulrich Drepper <drepper@gmail.com>
46878 * conform/run-conformtest.sh: New file.
46879 * conform/Makefile: Run run-conformtest for tests.
46880 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
46883 * conform/data/uchar.h-data: New file.
46884 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
46885 * conform/data/arpa/inet.h-data: Likewise.
46886 * conform/data/assert.h-data: Likewise.
46887 * conform/data/complex.h-data: Likewise.
46888 * conform/data/cpio.h-data: Likewise.
46889 * conform/data/ctype.h-data: Likewise.
46890 * conform/data/dirent.h-data: Likewise.
46891 * conform/data/dlfcn.h-data: Likewise.
46892 * conform/data/errno.h-data: Likewise.
46893 * conform/data/fcntl.h-data: Likewise.
46894 * conform/data/float.h-data: Likewise.
46895 * conform/data/fmtmsg.h-data: Likewise.
46896 * conform/data/fnmatch.h-data: Likewise.
46897 * conform/data/ftw.h-data: Likewise.
46898 * conform/data/glob.h-data: Likewise.
46899 * conform/data/grp.h-data: Likewise.
46900 * conform/data/iconv.h-data: Likewise.
46901 * conform/data/inttypes.h-data: Likewise.
46902 * conform/data/langinfo.h-data: Likewise.
46903 * conform/data/libgen.h-data: Likewise.
46904 * conform/data/limits.h-data: Likewise.
46905 * conform/data/locale.h-data: Likewise.
46906 * conform/data/math.h-data: Likewise.
46907 * conform/data/monetary.h-data: Likewise.
46908 * conform/data/mqueue.h-data: Likewise.
46909 * conform/data/ndbm.h-data: Likewise.
46910 * conform/data/net/if.h-data: Likewise.
46911 * conform/data/netdb.h-data: Likewise.
46912 * conform/data/netinet/in.h-data: Likewise.
46913 * conform/data/nl_types.h-data: Likewise.
46914 * conform/data/poll.h-data: Likewise.
46915 * conform/data/pthread.h-data: Likewise.
46916 * conform/data/pwd.h-data: Likewise.
46917 * conform/data/regex.h-data: Likewise.
46918 * conform/data/sched.h-data: Likewise.
46919 * conform/data/search.h-data: Likewise.
46920 * conform/data/semaphore.h-data: Likewise.
46921 * conform/data/setjmp.h-data: Likewise.
46922 * conform/data/signal.h-data: Likewise.
46923 * conform/data/spawn.h-data: Likewise.
46924 * conform/data/stdarg.h-data: Likewise.
46925 * conform/data/stdio.h-data: Likewise.
46926 * conform/data/stdlib.h-data: Likewise.
46927 * conform/data/string.h-data: Likewise.
46928 * conform/data/strings.h-data: Likewise.
46929 * conform/data/stropts.h-data: Likewise.
46930 * conform/data/sys/ipc.h-data: Likewise.
46931 * conform/data/sys/mman.h-data: Likewise.
46932 * conform/data/sys/msg.h-data: Likewise.
46933 * conform/data/sys/resource.h-data: Likewise.
46934 * conform/data/sys/select.h-data: Likewise.
46935 * conform/data/sys/sem.h-data: Likewise.
46936 * conform/data/sys/shm.h-data: Likewise.
46937 * conform/data/sys/socket.h-data: Likewise.
46938 * conform/data/sys/stat.h-data: Likewise.
46939 * conform/data/sys/statvfs.h-data: Likewise.
46940 * conform/data/sys/time.h-data: Likewise.
46941 * conform/data/sys/timeb.h-data: Likewise.
46942 * conform/data/sys/times.h-data: Likewise.
46943 * conform/data/sys/types.h-data: Likewise.
46944 * conform/data/sys/uio.h-data: Likewise.
46945 * conform/data/sys/un.h-data: Likewise.
46946 * conform/data/sys/utsname.h-data: Likewise.
46947 * conform/data/sys/wait.h-data: Likewise.
46948 * conform/data/syslog.h-data: Likewise.
46949 * conform/data/tar.h-data: Likewise.
46950 * conform/data/termios.h-data: Likewise.
46951 * conform/data/utime.h-data: Likewise.
46952 * conform/data/utmpx.h-data: Likewise.
46953 * conform/data/varargs.h-data: Likewise.
46954 * conform/data/wchar.h-data: Likewise.
46955 * conform/data/wctype.h-data: Likewise.
46956 * conform/data/wordexp.h-data: Likewise.
46958 * include/stropts.h: New file.
46959 * include/uchar.h: New file.
46960 * include/aio.h: Changes to allow conformtest.pl to use the headers.
46961 * include/assert.h: Likewise.
46962 * include/ctype.h: Likewise.
46963 * include/dirent.h: Likewise.
46964 * include/dlfcn.h: Likewise.
46965 * include/fcntl.h: Likewise.
46966 * include/fnmatch.h: Likewise.
46967 * include/glob.h: Likewise.
46968 * include/grp.h: Likewise.
46969 * include/libio.h: Likewise.
46970 * include/locale.h: Likewise.
46971 * include/math.h: Likewise.
46972 * include/net/if.h: Likewise.
46973 * include/netdb.h: Likewise.
46974 * include/netinet/in.h: Likewise.
46975 * include/pthread.h: Likewise.
46976 * include/pwd.h: Likewise.
46977 * include/regex.h: Likewise.
46978 * include/sched.h: Likewise.
46979 * include/search.h: Likewise.
46980 * include/setjmp.h: Likewise.
46981 * include/signal.h: Likewise.
46982 * include/stdio.h: Likewise.
46983 * include/stdlib.h: Likewise.
46984 * include/string.h: Likewise.
46985 * include/sys/cdefs.h: Likewise.
46986 * include/sys/mman.h: Likewise.
46987 * include/sys/msg.h: Likewise.
46988 * include/sys/resource.h: Likewise.
46989 * include/sys/select.h: Likewise.
46990 * include/sys/socket.h: Likewise.
46991 * include/sys/stat.h: Likewise.
46992 * include/sys/statvfs.h: Likewise.
46993 * include/sys/time.h: Likewise.
46994 * include/sys/times.h: Likewise.
46995 * include/sys/uio.h: Likewise.
46996 * include/sys/utsname.h: Likewise.
46997 * include/sys/wait.h: Likewise.
46998 * include/termios.h: Likewise.
46999 * include/time.h: Likewise.
47000 * include/ulimit.h: Likewise.
47001 * include/unistd.h: Likewise.
47002 * include/utime.h: Likewise.
47003 * include/wchar.h: Likewise.
47004 * include/wctype.h: Likewise.
47005 * include/wordexp.h: Likewise.
47007 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
47009 * time/time.h: TIME_UTC must be a macro.
47010 Make timespec_get available for ISO C11 only as well.
47012 2012-02-24 Ulrich Drepper <drepper@gmail.com>
47014 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
47015 Reported by Peng Haitao <penght@cn.fujitsu.com>.
47017 2012-02-24 Joseph Myers <joseph@codesourcery.com>
47019 * configure.in: Use -o not -a in test for unsupported multi-arch.
47021 2012-02-24 Joseph Myers <joseph@codesourcery.com>
47023 * manual/texinfo.tex: Update to version 2012-01-19.16.
47025 2012-02-24 Joseph Myers <joseph@codesourcery.com>
47027 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
47029 2012-02-24 Roland McGrath <roland@hack.frob.com>
47032 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
47033 * manual/fdl-1.3.texi: New file.
47034 * manual/fdl-1.1.texi: File removed.
47037 * manual/libc.texinfo (FDL_VERSION): New @set.
47038 Use it for mention of FDL in cover text.
47039 (Documentation License): Use it in @include file name.
47041 2012-02-22 Joseph Myers <joseph@codesourcery.com>
47042 Roland McGrath <roland@hack.frob.com>
47045 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
47046 (not LONG_LONG_MAX and LONG_LONG_MIN.
47047 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
47048 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
47050 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
47052 2012-02-22 Joseph Myers <joseph@codesourcery.com>
47056 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
47057 manipulate bits before adding and subtracting TWO23[sx].
47058 * math/libm-test.inc (nearbyint_test): Add more tests.
47060 2012-02-22 Joseph Myers <joseph@codesourcery.com>
47063 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
47064 bits before adding and subtracting TWO23[sx].
47065 * math/libm-test.inc (rint_test): Add more tests.
47066 (rint_test_tonearest): Likewise.
47067 (rint_test_towardzero): Likewise.
47068 (rint_test_downward): Likewise.
47069 (rint_test_upward: Likewise.
47071 2012-02-22 Joseph Myers <joseph@codesourcery.com>
47074 * include/stdc-predef.h: New file. Extracted from features.h.
47075 * include/features.h: Include stdc-predef.h.
47076 * Makefile (headers): Add stdc-predef.h.
47077 * CONFORMANCE (Compiler limitations): Update.
47079 2012-02-22 Joseph Myers <joseph@codesourcery.com>
47081 * manual/libc.texinfo (VERSION, UPDATED): Revert.
47083 2012-02-21 David S. Miller <davem@davemloft.net>
47085 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
47086 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
47088 2012-02-20 David S. Miller <davem@davemloft.net>
47090 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
47091 using a normal save/restore sequence, rather than allocating a
47092 dummy stack frame just to store a frame pointer and restore.
47093 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47095 2012-02-21 Joseph Myers <joseph@codesourcery.com>
47097 * manual/install.texi: Fix stray word in line-wrapped comment.
47099 2012-02-20 David S. Miller <davem@davemloft.net>
47101 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
47102 both binutils and gcc support GOTDATA.
47104 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
47105 "rd %pc" in the PIC register setup sequences.
47107 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
47108 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
47109 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
47110 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
47111 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
47112 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
47113 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47114 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47115 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
47116 (SYSCALL_ERROR_HANDLER): Likewise.
47117 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
47118 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47119 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
47120 (SYSCALL_ERROR_HANDLER): Likewise.
47122 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
47123 (HAVE_GCC_GOTDATA): New.
47124 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
47125 relocation support in both binutils and gcc.
47126 * sysdeps/sparc/elf/configure: Regenerate.
47128 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
47129 * sysdeps/sparc/sparc32/elf/configure: Delete.
47130 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
47131 * sysdeps/sparc/sparc64/elf/configure: Delete.
47132 * sysdeps/sparc/elf/configure.in: New file.
47133 * sysdeps/sparc/elf/configure: Generate.
47135 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
47136 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
47137 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
47138 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
47139 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
47141 2012-02-21 Joseph Myers <joseph@codesourcery.com>
47143 * manual/install.texi: Do not mention specific glibc version
47145 * manual/libc.texinfo (VERSION, UPDATED): Update.
47146 (@copying): Use @copyright{} and range of years.
47148 2012-02-21 Joseph Myers <joseph@codesourcery.com>
47151 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
47152 [crti.S not in sysdirs] (generated): Do not append.
47153 [crti.S not in sysdirs] (omit-deps): Likewise.
47154 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
47155 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
47156 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
47157 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
47158 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
47160 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
47161 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
47162 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
47163 * csu/defs.awk: Remove file.
47164 * sysdeps/generic/initfini.c: Likewise.
47165 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
47167 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
47170 2012-02-20 Joseph Myers <joseph@codesourcery.com>
47172 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
47173 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
47174 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
47175 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
47176 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47177 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
47179 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
47180 (__EPOLL_PACKED): Define to empty if not defined by
47182 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
47183 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47186 2012-02-20 Joseph Myers <joseph@codesourcery.com>
47188 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
47189 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
47190 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
47191 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
47193 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
47194 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47197 2012-02-20 Joseph Myers <joseph@codesourcery.com>
47199 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
47201 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47202 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
47203 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
47204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47206 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
47208 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47209 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
47211 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
47213 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
47214 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
47216 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
47218 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
47221 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
47223 * math/w_acos.c: Use non-signaling floating-point comparisons.
47224 * math/w_acosf.c: Likewise.
47225 * math/w_acosh.c: Likewise.
47226 * math/w_acoshf.c: Likewise.
47227 * math/w_acoshl.c: Likewise.
47228 * math/w_acosl.c: Likewise.
47229 * math/w_asin.c: Likewise.
47230 * math/w_asinf.c: Likewise.
47231 * math/w_asinl.c: Likewise.
47232 * math/w_atanh.c: Likewise.
47233 * math/w_atanhf.c: Likewise.
47234 * math/w_atanhl.c: Likewise.
47235 * math/w_exp2.c: Likewise.
47236 * math/w_exp2f.c: Likewise.
47237 * math/w_exp2l.c: Likewise.
47238 * math/w_j0.c: Likewise.
47239 * math/w_j0f.c: Likewise.
47240 * math/w_j0l.c: Likewise.
47241 * math/w_j1.c: Likewise.
47242 * math/w_j1f.c: Likewise.
47243 * math/w_j1l.c: Likewise.
47244 * math/w_jn.c: Likewise.
47245 * math/w_jnf.c: Likewise.
47246 * math/w_log.c: Likewise.
47247 * math/w_log10.c: Likewise.
47248 * math/w_log10f.c: Likewise.
47249 * math/w_log10l.c: Likewise.
47250 * math/w_log2.c: Likewise.
47251 * math/w_log2f.c: Likewise.
47252 * math/w_log2l.c: Likewise.
47253 * math/w_logf.c: Likewise.
47254 * math/w_logl.c: Likewise.
47255 * math/w_sqrt.c: Likewise.
47256 * math/w_sqrtf.c: Likewise.
47257 * math/w_sqrtl.c: Likewise.
47258 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47259 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
47260 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47261 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
47262 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
47264 2012-02-19 Joseph Myers <joseph@codesourcery.com>
47267 * manual/string.texi (strnlen): Use correct parameter name in
47268 equivalent expression.
47270 2012-02-19 Joseph Myers <joseph@codesourcery.com>
47273 * manual/users.texi (seteuid): Consistently use neweuid for
47276 2012-02-19 Joseph Myers <joseph@codesourcery.com>
47279 * manual/nss.texi (Services in the NSS configuration): Correct
47280 list of services in example configuration file.
47282 2012-02-19 Nick Bowler <nbowler@draconx.ca>
47285 * manual/arith.texi: Remove statements about negative zero
47286 behaving identically to zero.
47288 2012-02-18 Joseph Myers <joseph@codesourcery.com>
47291 * manual/install.texi: Do not document upgrading from libc5.
47293 2012-02-18 Joseph Myers <joseph@codesourcery.com>
47296 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
47298 2012-02-18 David S. Miller <davem@davemloft.net>
47300 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
47301 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
47302 %o7 across the call.
47303 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
47305 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
47306 SETUP_PIC_REG_LEAF.
47307 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47308 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
47309 * sysdeps/sparc/crtn.S: Likewise.
47311 2012-02-17 Ulrich Drepper <drepper@gmail.com>
47313 * aout/Makefile: Remove.
47315 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
47318 * manual/examples/argp-ex1.c (main): Format definition in GNU
47320 * manual/examples/argp-ex2.c (main): Likewise.
47321 * manual/examples/argp-ex3.c (main): Likewise.
47322 * manual/examples/argp-ex4.c (main): Likewise.
47323 * manual/examples/longopt.c (main): Use new-style prototype
47325 * manual/examples/strncat.c (main): Specify return type and use
47326 (void) for arguments.
47327 * manual/examples/subopt.c (main): Use char **argv argument.
47329 2012-02-17 Joseph Myers <joseph@codesourcery.com>
47332 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
47335 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
47338 * manual/string.texi (strchr): Change when strchrnul is
47341 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
47344 * manual/locale.texi (setlocale): Document LOCPATH.
47346 2012-02-17 Joseph Myers <joseph@codesourcery.com>
47349 * manual/process.texi (execle): Move @dots{} before last argument.
47351 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
47354 * manual/charset.texi (Generic Charset Conversion): Fix typo
47355 (LC_TYPE -> LC_CTYPE).
47357 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
47360 * manual/arith.texi (scalbn): Use @var{} on parameter names.
47361 (scalbnf): Likewise.
47362 (scalbnl): Likewise.
47363 (scalbln): Likewise.
47364 (scalblnf): Likewise.
47365 (scalblnl): Likewise.
47366 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
47367 (vwarnx): Likewise.
47370 * manual/filesys.texi (telldir): Use braces around return type.
47371 * manual/llio.texi (mmap): Add space after comma.
47372 (mmap64): Likewise.
47373 * manual/math.texi (jn): Use @var{} on parameter names.
47379 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
47381 * manual/resource.texi (ulimit): Use @dots{} instead of literal
47383 (sched_get_priority_min): Remove semicolon on @deftypefun line.
47384 (sched_get_priority_max): Likewise.
47385 * manual/signal.texi (sigvec): Add space after comma.
47386 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
47388 (if_indextoname): Likewise.
47389 (if_freenameindex): Likewise.
47390 (sendto): Use ',' instead of '.' in prototype.
47391 * manual/startup.texi (syscall): Use @dots{} instead of literal
47393 * manual/stdio.texi (__fpending): Separate initial words of
47394 paragraph from @deftypefun line.
47395 * manual/syslog.texi (syslog): Use @dots{} instead of literal
47397 (vsyslog): Use @var{} on parameter names.
47398 * manual/terminal.texi (stty): Use @var{} on parameter names.
47399 * manual/users.texi (getutmp): Use @var{} on parameter names.
47400 (getutmpx): Likewise.
47402 2012-02-17 Joseph Myers <joseph@codesourcery.com>
47405 * manual/stdio.texi (fopen): Fix typos in description of
47408 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
47411 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
47412 get clock_id definition.
47414 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
47417 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
47418 (madvise): Cast every argument to void on its own.
47420 2012-02-17 Joseph Myers <joseph@codesourcery.com>
47423 * manual/startup.texi (Exit Status): Fix typo.
47425 2012-02-17 Joseph Myers <joseph@codesourcery.com>
47428 * manual/examples/argp-ex1.c: Include <stdlib.h>.
47429 * manual/examples/argp-ex2.c: Likewise.
47430 * manual/examples/argp-ex3.c: Likewise.
47432 2012-02-16 Richard Henderson <rth@redhat.com>
47434 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
47435 * sysdeps/s390/s390-32/initfini.c: Remove.
47436 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
47437 * sysdeps/s390/s390-64/initfini.c: Remove.
47439 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47441 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
47442 compiler output for sysdeps/generic/initfini.c.
47443 * sysdeps/sh/elf/initfini.c: Remove file.
47445 2012-02-16 David S. Miller <davem@davemloft.net>
47448 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
47450 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
47451 * sysdeps/sparc/crti.S: New file.
47452 * sysdeps/sparc/crtn.S: New file.
47453 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
47454 * sysdeps/sparc/sparc64/Makefile: Likewise.
47456 2012-02-15 Mike Frysinger <vapier@gentoo.org>
47459 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
47461 2012-02-15 Roland McGrath <roland@hack.frob.com>
47464 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
47466 * mach/devstream.c (cookie_io_functions_t): Macro removed.
47467 (write, read, close): Likewise.
47468 Patch by Aurelien Jarno <aurelien@aurel32.net>.
47470 2012-02-15 Joseph Myers <joseph@codesourcery.com>
47472 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
47473 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
47474 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
47475 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
47477 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
47478 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47481 2012-02-14 Marek Polacek <polacek@redhat.com>
47483 * sysdeps/x86_64/crti.S: New file.
47484 * sysdeps/x86_64/crtn.S: New file.
47485 * sysdeps/x86_64/elf/initfini.c: Remove file.
47487 2012-02-13 Joseph Myers <joseph@codesourcery.com>
47489 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
47490 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
47491 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
47492 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
47494 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
47495 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47498 2012-02-13 Joseph Myers <joseph@codesourcery.com>
47500 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
47501 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
47502 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
47503 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
47505 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
47506 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47509 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
47511 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
47512 __feraiseexcept instead of feraiseexcept.
47514 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
47515 nanosleep invocations.
47516 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
47517 strings, and add error checking for a nanosleep invocations.
47519 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
47521 Replace FSF snail mail address with URLs, as per GNU coding standards.
47522 Most of the snail mail addresses were wrong anyway, and omitting
47523 them makes the source code easier to maintain. Almost all of the
47524 changes are to license notices and to locale LC_IDENTIFICATION
47525 addresses, except for this one:
47526 * manual/libc.texinfo: In "Published by", give the FSF's URL,
47527 not its snail mail address.
47529 2012-02-09 Richard Henderson <rth@twiddle.net>
47531 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
47532 of kernel-features.h.
47534 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
47536 2012-02-08 Marek Polacek <polacek@redhat.com>
47538 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
47539 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
47540 * sysdeps/gnu/_G_config.h: Likewise.
47541 * sysdeps/generic/_G_config.h: Likewise.
47543 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
47545 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
47547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47549 * sysdeps/powerpc/powerpc32/crti.S: New file.
47550 * sysdeps/powerpc/powerpc32/crtn.S: New file.
47551 * sysdeps/powerpc/powerpc64/crti.S: New file.
47552 * sysdeps/powerpc/powerpc64/crtn.S: New file.
47554 * Makeconfig (have-initfini): Don't set.
47555 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
47556 * configure.in (nopic_initfini): Don't substitute.
47557 * config.h.in (HAVE_INITFINI): Don't #undef.
47558 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
47559 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
47561 2012-02-08 Joseph Myers <joseph@codesourcery.com>
47563 Support crti.S and crtn.S provided directly by architectures.
47564 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
47565 [crti.S in sysdirs] (omit-deps): Likewise.
47566 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
47567 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
47568 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
47569 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
47570 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
47571 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
47572 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
47573 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
47574 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
47575 compiler output for sysdeps/generic/initfini.c.
47576 * sysdeps/i386/elf/Makefile: Remove file.
47577 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
47579 2012-02-07 Marek Polacek <polacek@redhat.com>
47581 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
47582 * sysdeps/gnu/_G_config.h: Likewise.
47583 * sysdeps/mach/hurd/_G_config.h: Likewise.
47585 2012-02-07 Marek Polacek <polacek@redhat.com>
47587 * math/Makefile (tests): Add tst-CMPLX2.
47588 * math/tst-CMPLX2.c: New file.
47590 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
47592 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47594 * math/libm-test.inc (jn_test): Add missing L suffix.
47596 2012-02-06 Marek Polacek <polacek@redhat.com>
47598 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
47599 * sysdeps/i386/fpu/e_powf.S: Likewise.
47600 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47601 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
47602 * sysdeps/i386/fpu/e_acosh.S: Likewise.
47603 * sysdeps/i386/fpu/e_pow.S: Likewise.
47604 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
47605 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47606 * sysdeps/i386/fpu/s_expm1.S: Likewise.
47607 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
47608 * sysdeps/i386/fpu/e_log2.S: Likewise.
47609 * sysdeps/i386/fpu/e_log2l.S: Likewise.
47610 * sysdeps/i386/fpu/e_scalb.S: Likewise.
47611 * sysdeps/i386/fpu/e_powl.S: Likewise.
47612 * sysdeps/i386/fpu/s_log1p.S: Likewise.
47613 * sysdeps/i386/fpu/e_log10f.S: Likewise.
47614 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
47615 * sysdeps/i386/fpu/e_logl.S: Likewise.
47616 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
47617 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
47618 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
47619 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
47620 * sysdeps/i386/fpu/e_log2f.S: Likewise.
47621 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47622 * sysdeps/i386/fpu/e_log.S: Likewise.
47623 * sysdeps/i386/fpu/s_cexp.S: Likewise.
47624 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47625 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
47626 * sysdeps/i386/fpu/e_logf.S: Likewise.
47627 * sysdeps/i386/fpu/e_log10l.S: Likewise.
47628 * sysdeps/i386/fpu/e_atanh.S: Likewise.
47629 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
47630 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
47631 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
47632 * sysdeps/i386/fpu/e_log10.S: Likewise.
47633 * sysdeps/i386/fpu/s_frexp.S: Likewise.
47634 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47635 * sysdeps/i386/fpu/s_asinh.S: Likewise.
47636 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
47637 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47638 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
47639 * sysdeps/i386/asm-syntax.h: Likewise.
47640 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47641 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47642 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47643 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
47644 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
47645 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47646 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
47647 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
47648 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47649 * sysdeps/powerpc/sysdep.h: Likewise.
47650 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
47651 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
47653 2012-02-06 Joseph Myers <joseph@codesourcery.com>
47656 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
47658 2012-02-06 Joseph Myers <joseph@codesourcery.com>
47660 * sysdeps/i386/sysdep.h: Include <features.h>.
47661 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
47664 2012-02-05 Joseph Myers <joseph@codesourcery.com>
47666 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
47668 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
47671 2012-02-03 Joseph Myers <joseph@codesourcery.com>
47673 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
47674 (SETUP_PIC_REG): Use GET_PC_THUNK.
47675 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
47678 2012-02-03 Joseph Myers <joseph@codesourcery.com>
47680 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
47681 for non-PIC compilation.
47682 (SETUP_PIC_REG): Add .p2align directive.
47683 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
47684 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
47685 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
47686 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
47687 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
47688 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
47689 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
47690 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47691 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
47692 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
47693 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
47694 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
47695 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
47696 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
47697 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
47698 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
47699 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
47700 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
47701 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
47702 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
47703 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
47704 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
47705 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
47706 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
47707 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
47708 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
47709 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
47710 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
47711 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
47712 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
47713 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
47714 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47715 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
47716 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
47717 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
47718 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
47719 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
47720 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
47721 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
47722 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
47723 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
47725 2012-02-03 Joseph Myers <joseph@codesourcery.com>
47727 * math/tst-CMPLX.c: Include <stdio.h>.
47729 2012-01-31 Joseph Myers <joseph@codesourcery.com>
47731 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
47733 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
47734 * sysdeps/sparc/bits/mathdef.h: Likewise.
47736 2012-01-31 Marek Polacek <polacek@redhat.com>
47738 * libio/libio.h: Don't define _PARAMS.
47739 * locale/programs/config.h: Don't define PARAMS.
47740 * stdlib/strtol_l.c: Likewise.
47741 (__strtol_l): Remove PARAMS from the prototype.
47743 2012-01-31 Ulrich Drepper <drepper@gmail.com>
47745 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
47746 names. Just use the correct names. Remove unnecessary wrapper
47748 * malloc/arena.c: Likewise.
47749 * malloc/hooks.c: Likewise.
47751 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
47752 ARENA_TEST says not to. Simplify test for creation of a new arena.
47753 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
47755 2012-01-30 Ulrich Drepper <drepper@gmail.com>
47757 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
47759 (update_get_addr): New function.
47760 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
47761 GET_ADDR_MODULE parameter.
47763 2012-01-30 Joseph Myers <joseph@codesourcery.com>
47765 * crypt/cert.c: Remove __STDC__ conditionals.
47766 * crypt/crypt-entry.c: Likewise.
47767 * crypt/crypt_util.c: Likewise.
47768 * libio/filedoalloc.c: Likewise.
47769 * libio/fileops.c: Likewise.
47770 * libio/genops.c: Likewise.
47771 * libio/iofclose.c: Likewise.
47772 * libio/iofdopen.c: Likewise.
47773 * libio/iofopen.c: Likewise.
47774 * libio/iofopen64.c: Likewise.
47775 * libio/iogetdelim.c: Likewise.
47776 * libio/iopopen.c: Likewise.
47777 * libio/obprintf.c: Likewise.
47778 * libio/oldfileops.c: Likewise.
47779 * libio/oldiofclose.c: Likewise.
47780 * libio/oldiofdopen.c: Likewise.
47781 * libio/oldiofopen.c: Likewise.
47782 * libio/oldiopopen.c: Likewise.
47783 * libio/wfiledoalloc.c: Likewise.
47784 * libio/wgenops.c: Likewise.
47785 * locale/programs/xmalloc.c: Likewise.
47786 * misc/syslog.c: Likewise.
47787 * stdio-common/xbug.c: Likewise.
47788 * string/memchr.c: Likewise.
47789 * string/memcmp.c: Likewise.
47790 * string/memrchr.c: Likewise.
47791 * string/rawmemchr.c: Likewise.
47792 * sysdeps/posix/getcwd.c: Likewise.
47793 * time/strftime_l.c: Likewise.
47795 2012-01-30 Joseph Myers <joseph@codesourcery.com>
47797 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
47798 * config.make.in (config-cflags-sse2avx): Define.
47799 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
47802 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
47804 * scripts/config.guess: Update from upstream config git repository.
47805 * scripts/config.sub: Likewise.
47807 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
47809 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
47811 (R_TILEPRO_*, R_TILEGX_*): New macros.
47813 * scripts/firstversions.awk: Fix bug in version range handling.
47815 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
47817 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
47819 * include/sys/epoll.h: New file.
47820 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
47823 2012-01-28 Ulrich Drepper <drepper@gmail.com>
47825 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
47826 Avoid unnecessary __WORDSIZE == 64 test.
47827 (fmaxf): Use VEX format if possible.
47832 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
47833 * math/math_private.h: Remove libc_fegetround* and
47835 * sysdeps/i386/configure.in: Check for -msse2avx.
47836 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
47837 also if SSE2AVX is defined.
47838 Remove libc_fegetround* and libc_fesetround*.
47839 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
47840 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
47841 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
47843 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47844 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47845 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47846 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47847 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47849 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
47851 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47853 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
47855 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47857 2012-01-27 Ulrich Drepper <drepper@gmail.com>
47860 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
47862 * Makeconfig (libm): Define.
47863 * elf/Makefile: Add rules to build and run tst-relsort1.
47864 * elf/tst-relsort1.c: New file.
47865 * elf/tst-relsort1mod1.c: New file.
47866 * elf/tst-relsort1mod2.c: New file.
47868 2012-01-27 Joseph Myers <joseph@codesourcery.com>
47870 * math/s_ldexp.c: Remove __STDC__ conditionals.
47871 * math/s_ldexpf.c: Likewise.
47872 * math/s_ldexpl.c: Likewise.
47873 * math/s_nextafter.c: Likewise.
47874 * math/s_nexttowardf.c: Likewise.
47875 * math/s_significand.c: Likewise.
47876 * math/s_significandf.c: Likewise.
47877 * math/s_significandl.c: Likewise.
47878 * math/w_jnl.c: Likewise.
47879 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
47880 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
47881 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
47882 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
47883 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
47884 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47885 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
47886 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
47887 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47888 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47889 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
47890 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47891 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47892 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
47893 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47894 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47895 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
47896 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47897 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47898 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47899 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47900 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47901 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47902 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47903 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47904 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47905 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47906 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47907 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
47908 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47909 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47910 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
47911 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47912 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
47913 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
47914 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47915 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
47916 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
47917 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
47918 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
47919 * sysdeps/ieee754/k_standard.c: Likewise.
47920 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47921 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47922 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
47923 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
47924 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
47925 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
47926 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47927 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
47928 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
47929 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
47930 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
47931 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
47932 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
47933 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
47934 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
47935 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
47936 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
47937 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47938 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47939 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
47940 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47941 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47942 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
47943 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
47944 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47945 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
47946 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47947 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47948 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47949 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
47950 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
47951 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
47952 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
47953 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
47954 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
47955 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
47956 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
47957 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
47958 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
47959 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
47960 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
47961 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
47962 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
47963 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
47964 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
47965 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
47966 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
47967 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47968 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
47969 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
47970 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
47971 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47972 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47973 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
47974 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
47975 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
47976 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
47977 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47978 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47979 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47980 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47981 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
47982 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
47983 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47984 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47985 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47986 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47987 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
47988 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
47989 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47990 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47991 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47992 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47993 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
47994 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
47995 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47996 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
47997 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
47998 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
47999 * sysdeps/ieee754/s_matherr.c: Likewise.
48000 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
48001 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48002 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48003 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48005 2012-01-26 Joseph Myers <joseph@codesourcery.com>
48007 * crypt/md5.h: Remove __STDC__ conditionals.
48008 * libio/libioP.h: Likewise.
48009 * locale/programs/config.h: Likewise.
48010 * sysdeps/generic/sysdep.h: Likewise.
48011 * sysdeps/i386/asm-syntax.h: Likewise.
48012 * sysdeps/s390/asm-syntax.h: Likewise.
48013 * sysdeps/unix/sysdep.h: Likewise.
48014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
48015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
48017 2012-01-26 Joseph Myers <joseph@codesourcery.com>
48019 * libio/libio.h: Remove __STDC__ conditionals.
48020 * malloc/obstack.h: Likewise.
48021 * math/complex.h: Likewise.
48022 * math/math.h: Likewise.
48023 * sysdeps/generic/_G_config.h: Likewise.
48024 * sysdeps/gnu/_G_config.h: Likewise.
48025 * sysdeps/mach/hurd/_G_config.h: Likewise.
48026 * sysdeps/powerpc/bits/mathdef.h: Likewise.
48027 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
48028 * sysdeps/sparc/bits/mathdef.h: Likewise.
48030 2012-01-26 Ulrich Drepper <drepper@gmail.com>
48033 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
48034 Clean up HAS_* macros.
48035 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
48036 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
48038 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
48040 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48041 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48042 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48043 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48044 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48046 2012-01-25 Joseph Myers <joseph@codesourcery.com>
48048 * elf/tst-unique3.cc (gets): Remove declaration.
48049 * elf/tst-unique3lib.cc (gets): Likewise.
48050 * elf/tst-unique3lib2.cc (gets): Likewise.
48051 * elf/tst-unique4.cc (gets): Likewise.
48053 2012-01-24 Ulrich Drepper <drepper@gmail.com>
48055 * include/stdio.h: Add C++ protection. Add gets declarations and
48057 * debug/tst-chk1.c: Don't declare gets here.
48058 * stdio-common/tst-gets.c: Likewise.
48060 2012-01-24 Joseph Myers <joseph@codesourcery.com>
48062 * posix/glob: Remove directory.
48064 2012-01-24 Joseph Myers <joseph@codesourcery.com>
48066 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
48068 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
48070 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
48071 of the non-standard EPFNOSUPPORT.
48073 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
48075 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
48076 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
48077 ANYWHERE set to 1 only on KERN_NO_SPACE error.
48079 2012-01-21 Ulrich Drepper <drepper@gmail.com>
48081 * wcsmbs/uchar.h: Test __STDC_VERSION__.
48083 2012-01-20 Ulrich Drepper <drepper@gmail.com>
48085 * nscd/aicache.c (addhstaiX): Do not cache negative results of
48087 * nscd/grpcache.c (cache_addgr): Likewise.
48088 * nscd/hstcache.c (cache_addhst): Likewise.
48089 * nscd/initgrcache.c (addinitgroupsX): Likewise.
48090 * nscd/pwdcache.c (cache_addpw): Likewise.
48091 * nscd/servicescache.c (cache_addserv): Likewise.
48093 2012-01-16 Ulrich Drepper <drepper@gmail.com>
48095 * malloc/malloc.c: Various cleanups.
48096 * malloc/hooks.c: Likewise.
48098 * stdlib/Makefile (tests): Add bug-fmtmsg1.
48099 * stdlib/bug-fmtmsg1.c: New file.
48101 * stdlib/fmtmsg.c (init): Add missing unlock.
48102 Patch by Peng Haitao <penght@cn.fujitsu.com>.
48104 2012-01-12 Marek Polacek <polacek@redhat.com>
48106 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
48109 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
48111 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
48112 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
48113 macro to ensure uniqueness of label name.
48114 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
48115 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
48117 2012-01-11 Ulrich Drepper <drepper@gmail.com>
48119 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
48121 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
48122 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
48123 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48124 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
48126 2012-01-10 Ulrich Drepper <drepper@gmail.com>
48128 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
48130 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
48131 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
48132 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
48134 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
48136 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
48137 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
48138 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
48139 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
48141 * math/bits/math-finite.h: Add ldexp support.
48143 2012-01-10 Marek Polacek <polacek@redhat.com>
48145 * locale/programs/localedef.h (show_archive_content): Add noreturn
48148 2012-01-09 Ulrich Drepper <drepper@gmail.com>
48150 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
48152 2012-01-08 Ulrich Drepper <drepper@gmail.com>
48154 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
48156 * io/Makefile (headers): Add bits/poll2.h.
48158 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
48160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
48161 typo #include statement.
48163 2012-01-08 Ulrich Drepper <drepper@gmail.com>
48165 * include/sys/cdefs.h: Define __attribute_alloc_size.
48166 * catgets/gencat.c: Add alloc_size attribute and apply consistently
48167 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
48168 * elf/pldd.c: Likewise.
48169 * iconv/iconv_charmap.c: Likewise.
48170 * iconv/iconvconfig.c: Likewise.
48171 * iconv/strtab.c: Likewise.
48172 * locale/programs/locale.c: Likewise.
48173 * locale/programs/localedef.h: Likewise.
48174 * locale/programs/simple-hash.c: Likewise.
48175 * nscd/nscd.h: Likewise.
48176 * nss/makedb.c: Likewise.
48177 * sysdeps/generic/ldconfig.h: Likewise.
48178 * locale/programs/localedef.c: Remove xmalloc prototype.
48179 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
48181 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
48183 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
48186 2012-01-08 Ulrich Drepper <drepper@gmail.com>
48188 * math/Makefile (tests): Add tst-CMPLX.
48189 * math/tst-CMPLX.c: New file.
48191 * math/complex.h (CMPLXL): Fix typo.
48193 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
48194 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
48196 * debug/tst-chk1.c: Add poll and ppoll tests.
48197 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
48198 * include/sys/poll.h: Add hidden proto for ppoll.
48199 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
48200 * sysdeps/mach/hurd/ppoll.c: Likewise.
48201 * io/ppoll.c: Likewise.
48202 * debug/poll_chk.c: New file.
48203 * debug/ppoll_chk.c: New file.
48204 * include/bits/poll2.h: New file.
48205 * io/bits/poll2.h: New file.
48208 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
48210 * configure.in: static is always set to yes. Remove.
48211 * config.make.in: Don't set build-static.
48212 * Makeconfig: Remove use of build-static.
48213 * dlfcn/Makefile: Likewise.
48214 * elf/Makefile: Likewise.
48215 * math/Makefile: Likewise.
48216 * misc/Makefile: Likewise.
48217 * nptl/Makefile: Likewise.
48218 * sysdeps/mach/hurd/Makefile: Likewise.
48220 * configure.in: PWD_P is not used anymore.
48221 * config.make.in: Remove PWD_P entry.
48223 * configure.in: Remove last remnants of RANLIB.
48224 No need to check for signed size_t anymore.
48225 Don't set libc_commonpagesize and libc_relro_required here for Alpha
48227 Remove __builtin_expect test because we require at least gcc 3.4.
48228 * aclocal.m4: Likewise.
48230 * wcsmbs/mbrtoc16.c: Implement using towc function.
48231 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
48232 * wcsmbs/wcsmbsload.c: Likewise.
48233 * iconv/gconv_simple.c: Likewise.
48234 * iconv/gconv_int.h: Likewise.
48235 * iconv/gconv_builtin.h: Likewise.
48236 * iconv/iconv_prog.c: Remove CHAR16 handling.
48238 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
48240 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
48242 * configure.in: Remove --with-elf and --enable-bounded options.
48243 Dont set base_machine for ia64. More non-ELF conditions removed.
48244 Remove testing and setting of leading underscore information.
48245 * config.make.in (build-bounded): Set to no.
48246 * config.h.in: Remove NO_UNDERSCORES entry.
48247 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
48249 * csu/start.c: Remove !NO_UNDERSCORE code.
48250 * locale/localeinfo.h: Likewise.
48251 * sysdeps/generic/machine-gmon.h: Likewise.
48252 * sysdeps/generic/sysdep.h: Likewise.
48253 * sysdeps/i386/sysdep.h: Likewise.
48254 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
48255 * sysdeps/mach/sysdep.h: Likewise.
48256 * sysdeps/s390/s390-32/sysdep.h: Likewise.
48257 * sysdeps/s390/s390-64/sysdep.h: Likewise.
48258 * sysdeps/sh/sysdep.h: Likewise.
48259 * sysdeps/sparc/sparc32/alloca.S: Likewise.
48260 * sysdeps/unix/i386/sysdep.S: Likewise.
48261 * sysdeps/unix/sparc/start.c: Likewise.
48262 * sysdeps/unix/sparc/sysdep.S: Likewise.
48263 * sysdeps/unix/sparc/sysdep.h: Likewise.
48264 * sysdeps/unix/start.c: Likewise.
48265 * sysdeps/unix/x86_64/sysdep.S: Likewise.
48266 * sysdeps/x86_64/sysdep.h: Likewise.
48268 2012-01-07 Ulrich Drepper <drepper@gmail.com>
48271 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
48273 * argp/argp-fmtstream.h: Use const instead __const.
48274 * argp/argp.h: Likewise.
48275 * assert/assert.h: Likewise.
48276 * bits/fenv.h: Likewise.
48277 * bits/sched.h: Likewise.
48278 * bits/sigset.h: Likewise.
48279 * bits/sigthread.h: Likewise.
48280 * catgets/nl_types.h: Likewise.
48281 * conform/data/pthread.h-data: Likewise.
48282 * crypt/crypt-private.h: Likewise.
48283 * crypt/crypt.h: Likewise.
48284 * crypt/crypt_util.c: Likewise.
48285 * ctype/ctype.h: Likewise.
48286 * debug/execinfo.h: Likewise.
48287 * debug/mbsnrtowcs_chk.c: Likewise.
48288 * debug/mbsrtowcs_chk.c: Likewise.
48289 * debug/wcsnrtombs_chk.c: Likewise.
48290 * debug/wcsrtombs_chk.c: Likewise.
48291 * debug/wcstombs_chk.c: Likewise.
48292 * dirent/dirent.h: Likewise.
48293 * dlfcn/dlfcn.h: Likewise.
48294 * elf/neededtest4.c: Likewise.
48295 * grp/grp.h: Likewise.
48296 * gshadow/gshadow.h: Likewise.
48297 * iconv/gconv.h: Likewise.
48298 * iconv/gconv_int.h: Likewise.
48299 * iconv/gconv_simple.c: Likewise.
48300 * iconv/iconv.h: Likewise.
48301 * iconv/loop.c: Likewise.
48302 * iconv/skeleton.c: Likewise.
48303 * include/aio.h: Likewise.
48304 * include/aliases.h: Likewise.
48305 * include/argz.h: Likewise.
48306 * include/arpa/inet.h: Likewise.
48307 * include/assert.h: Likewise.
48308 * include/dirent.h: Likewise.
48309 * include/dlfcn.h: Likewise.
48310 * include/execinfo.h: Likewise.
48311 * include/fcntl.h: Likewise.
48312 * include/fenv.h: Likewise.
48313 * include/glob.h: Likewise.
48314 * include/grp.h: Likewise.
48315 * include/libintl.h: Likewise.
48316 * include/mntent.h: Likewise.
48317 * include/netdb.h: Likewise.
48318 * include/pwd.h: Likewise.
48319 * include/rpc/netdb.h: Likewise.
48320 * include/sched.h: Likewise.
48321 * include/search.h: Likewise.
48322 * include/shadow.h: Likewise.
48323 * include/signal.h: Likewise.
48324 * include/stdio.h: Likewise.
48325 * include/stdlib.h: Likewise.
48326 * include/string.h: Likewise.
48327 * include/sys/socket.h: Likewise.
48328 * include/sys/stat.h: Likewise.
48329 * include/sys/statfs.h: Likewise.
48330 * include/sys/statvfs.h: Likewise.
48331 * include/sys/syslog.h: Likewise.
48332 * include/sys/time.h: Likewise.
48333 * include/sys/uio.h: Likewise.
48334 * include/time.h: Likewise.
48335 * include/unistd.h: Likewise.
48336 * include/utmp.h: Likewise.
48337 * include/wchar.h: Likewise.
48338 * include/wctype.h: Likewise.
48339 * inet/aliases.h: Likewise.
48340 * inet/arpa/inet.h: Likewise.
48341 * inet/netinet/ether.h: Likewise.
48342 * inet/netinet/in.h: Likewise.
48343 * intl/libintl.h: Likewise.
48344 * io/bits/fcntl2.h: Likewise.
48345 * io/fcntl.h: Likewise.
48346 * io/ftw.h: Likewise.
48347 * io/sys/poll.h: Likewise.
48348 * io/sys/stat.h: Likewise.
48349 * io/sys/statfs.h: Likewise.
48350 * io/sys/statvfs.h: Likewise.
48351 * io/utime.h: Likewise.
48352 * libio/bits/stdio.h: Likewise.
48353 * libio/bits/stdio2.h: Likewise.
48354 * libio/libio.h: Likewise.
48355 * libio/libioP.h: Likewise.
48356 * libio/stdio.h: Likewise.
48357 * locale/lc-ctype.c: Likewise.
48358 * locale/locale.h: Likewise.
48359 * login/utmp.h: Likewise.
48360 * malloc/arena.c: Likewise.
48361 * malloc/malloc.c: Likewise.
48362 * malloc/malloc.h: Likewise.
48363 * malloc/mcheck.c: Likewise.
48364 * malloc/mtrace.c: Likewise.
48365 * math/bits/mathcalls.h: Likewise.
48366 * math/fenv.h: Likewise.
48367 * math/math_private.h: Likewise.
48368 * misc/bits/error.h: Likewise.
48369 * misc/bits/syslog.h: Likewise.
48370 * misc/err.h: Likewise.
48371 * misc/error.h: Likewise.
48372 * misc/fstab.h: Likewise.
48373 * misc/mntent.h: Likewise.
48374 * misc/regexp.h: Likewise.
48375 * misc/search.h: Likewise.
48376 * misc/sgtty.h: Likewise.
48377 * misc/sys/mman.h: Likewise.
48378 * misc/sys/syslog.h: Likewise.
48379 * misc/sys/uio.h: Likewise.
48380 * misc/sys/xattr.h: Likewise.
48381 * misc/ttyent.h: Likewise.
48382 * nis/rpcsvc/ypclnt.h: Likewise.
48383 * nss/nss.h: Likewise.
48384 * posix/bits/unistd.h: Likewise.
48385 * posix/fnmatch.h: Likewise.
48386 * posix/glob.h: Likewise.
48387 * posix/sched.h: Likewise.
48388 * posix/spawn.h: Likewise.
48389 * posix/sys/wait.h: Likewise.
48390 * posix/unistd.h: Likewise.
48391 * posix/wordexp.h: Likewise.
48392 * pwd/pwd.h: Likewise.
48393 * resolv/netdb.h: Likewise.
48394 * resource/sys/resource.h: Likewise.
48395 * rt/aio.h: Likewise.
48396 * rt/bits/mqueue2.h: Likewise.
48397 * rt/mqueue.h: Likewise.
48398 * shadow/shadow.h: Likewise.
48399 * signal/signal.h: Likewise.
48400 * socket/send.c: Likewise.
48401 * socket/sendto.c: Likewise.
48402 * socket/sys/socket.h: Likewise.
48403 * stdio-common/printf.h: Likewise.
48404 * stdlib/bits/stdlib.h: Likewise.
48405 * stdlib/fmtmsg.h: Likewise.
48406 * stdlib/monetary.h: Likewise.
48407 * stdlib/stdlib.h: Likewise.
48408 * stdlib/ucontext.h: Likewise.
48409 * streams/stropts.h: Likewise.
48410 * string/argz.h: Likewise.
48411 * string/bits/string2.h: Likewise.
48412 * string/string.h: Likewise.
48413 * string/strings.h: Likewise.
48414 * sunrpc/rpc/auth.h: Likewise.
48415 * sunrpc/rpc/auth_des.h: Likewise.
48416 * sunrpc/rpc/clnt.h: Likewise.
48417 * sunrpc/rpc/netdb.h: Likewise.
48418 * sunrpc/rpc/pmap_clnt.h: Likewise.
48419 * sunrpc/rpc/xdr.h: Likewise.
48420 * sysdeps/generic/inttypes.h: Likewise.
48421 * sysdeps/generic/net/if.h: Likewise.
48422 * sysdeps/generic/sys/swap.h: Likewise.
48423 * sysdeps/gnu/net/if.h: Likewise.
48424 * sysdeps/gnu/utmpx.h: Likewise.
48425 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
48426 * sysdeps/i386/i486/bits/string.h: Likewise.
48427 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
48428 * sysdeps/s390/bits/string.h: Likewise.
48429 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
48430 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
48431 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
48432 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
48433 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
48434 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
48435 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
48436 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
48437 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
48438 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
48439 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
48440 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
48441 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
48442 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
48443 * sysdeps/unix/sysv/linux/readv.c: Likewise.
48444 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
48445 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
48446 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48447 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
48448 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
48449 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
48450 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
48451 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
48452 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
48453 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
48454 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
48455 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
48456 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48457 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
48458 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
48459 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
48460 * sysvipc/sys/ipc.h: Likewise.
48461 * sysvipc/sys/msg.h: Likewise.
48462 * sysvipc/sys/sem.h: Likewise.
48463 * sysvipc/sys/shm.h: Likewise.
48464 * termios/termios.h: Likewise.
48465 * time/sys/time.h: Likewise.
48466 * time/time.h: Likewise.
48467 * wcsmbs/bits/wchar2.h: Likewise.
48468 * wcsmbs/uchar.h: Likewise.
48469 * wcsmbs/wchar.h: Likewise.
48470 * wctype/wctype.h: Likewise.
48473 * Makeconfig: Remove all but ELF support including AIX support.
48474 * Makerules: Likewise.
48475 * config.h.in: Likewise.
48476 * config.make.in: Likewise.
48477 * configure: Likewise.
48478 * configure.in: Likewise.
48479 * csu/Makefile: Likewise.
48480 * csu/version.c: Likewise.
48481 * debug/Makefile: Likewise.
48482 * dlfcn/Makefile: Likewise.
48483 * elf/Makefile: Likewise.
48484 * extra-lib.mk: Likewise.
48485 * iconv/Makefile: Likewise.
48486 * include/libc-symbols.h: Likewise.
48487 * include/shlib-compat.h: Likewise.
48488 * resolv/Makefile: Likewise.
48489 * resolv/res_libc.c: Likewise.
48490 * rt/Makefile: Likewise.
48491 * sysdeps/i386/asm-syntax.h: Likewise.
48492 * sysdeps/i386/sysdep.h: Likewise.
48493 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
48494 * sysdeps/mach/sysdep.h: Likewise.
48495 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
48496 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
48497 * sysdeps/s390/asm-syntax.h: Likewise.
48498 * sysdeps/s390/s390-32/sysdep.h: Likewise.
48499 * sysdeps/s390/s390-64/sysdep.h: Likewise.
48500 * sysdeps/sh/sysdep.h: Likewise.
48501 * sysdeps/unix/sparc/sysdep.h: Likewise.
48502 * sysdeps/wordsize-32/divdi3.c: Likewise.
48503 * sysdeps/x86_64/sysdep.h: Likewise.
48505 * argp/Versions: Remove _argp_unlock_xxx.
48508 * abilist/ld.abilist: Update. Adjust for removal of tls option.
48509 * abilist/libBrokenLocale.abilist: Likewise.
48510 * abilist/libanl.abilist: Likewise.
48511 * abilist/libc.abilist: Likewise.
48512 * abilist/libcrypt.abilist: Likewise.
48513 * abilist/libdl.abilist: Likewise.
48514 * abilist/libm.abilist: Likewise.
48515 * abilist/libnsl.abilist: Likewise.
48516 * abilist/libpthread.abilist: Likewise.
48517 * abilist/libresolv.abilist: Likewise.
48518 * abilist/librt.abilist: Likewise.
48519 * abilist/libthread_db.abilist: Likewise.
48520 * abilist/libutil.abilist: Likewise.
48521 * abilist/libnss_db.abilist: New file.
48523 * scripts/abilist.awk: Add support for indirect functions.
48525 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
48527 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
48529 * shlib-versions: Remove entries for ports architectures.
48531 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
48533 * elf/stackguard-macros.h: Remove support for IA-64.
48534 * elf/tst-auditmod1.c: Likewise.
48535 * sysdeps/generic/ldsodefs.h: Likewise.
48537 * sysdeps/unix/sysv/linux/configure.in: Ports should define
48538 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
48542 * configure.in: Remove --enable-omitfp support.
48544 * config.make.in: Likewise.
48545 * Makeconfig: Likewise.
48546 * manual/install.texi: Likewise.
48548 In case anyone cares, the IA-64 architecture could move to ports.
48549 * sysdeps/ia64/*: Removed.
48550 * sysdeps/unix/sysv/linux/ia64/*: Removed.
48551 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
48554 * configure.in: Remove entries for unsupported architectures.
48557 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
48558 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
48560 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
48561 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
48562 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
48563 fall back to using wcrtomb.
48564 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
48565 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
48567 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
48568 * wcsmbs/tst-c16c32-1.c: New file.
48570 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
48573 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
48575 * elf/tst-unique3.cc: Add explicit declaration of gets.
48576 * elf/tst-unique3lib.cc: Likewise.
48577 * elf/tst-unique3lib2.cc: Likewise.
48578 * elf/tst-unique4.cc: Likewise.
48580 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
48582 2012-01-06 Joseph Myers <joseph@codesourcery.com>
48585 * assert/assert.h (static_assert): Don't define for C++.
48586 * libio/stdio.h (gets): Do declare for C++ <= C++11.
48587 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
48589 2012-01-03 Ulrich Drepper <drepper@gmail.com>
48591 * iconv/loop.c (single loop): Fix assertion in storing of
48594 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
48596 2012-01-01 Ulrich Drepper <drepper@gmail.com>
48598 * posix/getconf.c: Update copyright year.
48599 * nss/getent.c: Likewise.
48600 * nss/makedb.c: Likewise.
48601 * iconv/iconvconfig.c: Likewise.
48602 * iconv/iconv_prog.c: Likewise.
48603 * elf/ldconfig.c: Likewise.
48604 * elf/pldd.c: Likewise.
48605 * elf/sotruss.ksh: Likewise.
48606 * catgets/gencat.c: Likewise.
48607 * csu/version.c: Likewise.
48608 * elf/ldd.bash.in: Likewise.
48609 * elf/sprof.c (print_version): Likewise.
48610 * locale/programs/locale.c: Likewise.
48611 * locale/programs/localedef.c: Likewise.
48612 * login/programs/pt_chown.c: Likewise.
48613 * nscd/nscd.c (print_version): Likewise.
48614 * debug/xtrace.sh: Likewise.
48615 * malloc/memusage.sh: Likewise.
48616 * malloc/mtrace.pl: Likewise.
48617 * debug/catchsegv.sh: Likewise.
48619 2011-12-30 Jakub Jelinek <jakub@redhat.com>
48621 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
48624 2011-12-24 Ulrich Drepper <drepper@gmail.com>
48627 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
48628 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
48630 * iconv/gconv_int.h: Likewise.
48631 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
48632 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
48633 from libc for GLIBC_2.16.
48634 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
48635 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
48636 * wcsmbs/uchar.h: Really define mbstate_t.
48637 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
48638 * wcsmbs/c16rtomb.c: New file.
48639 * wcsmbs/mbrtoc16.c: New file.
48640 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
48641 for C/POSIX locale.
48642 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
48643 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
48645 * wcsmbs/wchar.h: Add missing __restrict.
48647 2011-12-23 Ulrich Drepper <drepper@gmail.com>
48650 * time/Makefile (routines): Add timespec_get.
48651 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
48652 * time/time.h: Define TIME_UTC and declare timespec_get. Define
48653 timespec for ISO C11.
48654 * time/timespec_get.c: New file.
48655 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
48656 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
48659 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
48660 * stdlib/stdlib.h: Declare aligned_alloc.
48661 * Versions.def: Add GLIBC_2.16 for libc.
48662 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
48665 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
48668 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
48672 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
48675 * assert/assert.h (static_assert): Define.
48677 * version.h: Update for 2.16 development version.
48680 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
48683 * version.h (RELEASE): Bump for 2.15 release.
48684 * include/features.h (__GLIBC_MINOR__): Bump to 15.
48686 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
48687 Patch by Marek Polacek <mpolacek@redhat.com>.
48689 * bits/byteswap.h: Protect long long constants with __extension__.
48690 * sysdeps/i386/bits/byteswap.h: Likewise.
48691 * sysdeps/ia64/bits/byteswap.h: Likewise.
48692 * sysdeps/s390/bits/byteswap.h: Likewise.
48693 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48695 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48698 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
48699 destination buffer.
48700 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
48702 2011-12-23 Marek Polacek <polacek@redhat.com>
48704 * elf/dl-addr.c (determine_info): Add inline keyword.
48705 * elf/tst-auditmod4b.c (check_avx): Likewise.
48706 * elf/tst-auditmod6b.c (check_avx): Likewise.
48707 * elf/tst-auditmod6c.c (check_avx): Likewise.
48708 * elf/tst-auditmod7b.c (check_avx): Likewise.
48710 2011-12-23 Ulrich Drepper <drepper@gmail.com>
48712 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
48715 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48718 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
48719 processing for last bytes.
48721 2011-08-06 Bruno Haible <bruno@clisp.org>
48724 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
48725 U+0385, not to U+1FEE.
48728 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
48729 entry for U+00A5 U+0301.
48731 2011-12-22 Ulrich Drepper <drepper@gmail.com>
48734 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
48735 buffer for the output is too small.
48737 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
48741 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
48742 SSE flags if possible.
48744 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48747 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
48748 processing for last bytes.
48750 2011-12-22 Joseph Myers <joseph@codesourcery.com>
48752 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
48753 (syscall-list-default-options, syscall-list-default-condition)
48754 (syscall-list-includes): Define.
48755 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
48756 list of ABIs and options and #if conditions for each ABI. Do not
48757 handle common syscalls between ABIs specially.
48758 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
48760 (syscall-list-variants, syscall-list-32bit-options)
48761 (syscall-list-32bit-condition, syscall-list-64bit-options)
48762 (syscall-list-64bit-condition): Define.
48763 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
48764 (syscall-list-variants, syscall-list-32bit-options)
48765 (syscall-list-32bit-condition, syscall-list-64bit-options)
48766 (syscall-list-64bit-condition): Define.
48767 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
48769 (syscall-list-variants, syscall-list-32bit-options)
48770 (syscall-list-32bit-condition, syscall-list-64bit-options)
48771 (syscall-list-64bit-condition): Define.
48772 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
48774 (syscall-list-variants, syscall-list-32bit-options)
48775 (syscall-list-32bit-condition, syscall-list-64bit-options)
48776 (syscall-list-64bit-condition): Define.
48778 2011-12-22 Ulrich Drepper <drepper@gmail.com>
48780 * locale/iso-639.def: Add brx entry.
48783 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
48784 Proposed by Mariusz_Cukr <marcukr@op.pl>.
48786 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
48787 __feraiseexcept_renamed.
48789 2011-12-21 Ulrich Drepper <drepper@gmail.com>
48792 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
48793 EPOLLET with unsigned values.
48794 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48795 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
48797 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
48798 to large cancellation.
48799 * math/s_cacoshf.c: Likewise.
48800 * math/s_cacoshl.c: Likewise.
48802 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
48806 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
48807 * math/s_cacoshf.c: Likewise.
48808 * math/s_cacoshl.c: Likewise.
48810 2011-12-21 Ulrich Drepper <drepper@gmail.com>
48813 * iconv/gconv.h: Define __GCONV_SWAP.
48814 * iconvdata/unicode.c: The swap bit must be stored in __flags.
48815 * iconvdata/utf-16.c: Likewise.
48816 * iconvdata/utf-32.c: Likewise.
48818 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
48821 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
48822 numerator after shifting it by one limb.
48824 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
48826 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
48827 under [__USE_EXTERN_INLINES].
48829 2011-12-17 Ulrich Drepper <drepper@gmail.com>
48832 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
48834 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48836 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
48837 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
48839 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
48840 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
48841 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
48842 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
48843 for strncasecmp/strncasecmp_l compilation.
48844 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
48845 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
48847 2011-12-08 Marek Polacek <mpolacek@redhat.com>
48850 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
48853 2011-12-17 Ulrich Drepper <drepper@gmail.com>
48856 * time/tzfile.c (__tzfile_read): Check values from file header.
48858 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
48860 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
48861 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
48862 * powerpc/powerpc32/dl-start.S: Likewise.
48863 * powerpc/powerpc32/elf/start.S: Likewise.
48864 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
48865 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
48866 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
48867 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
48868 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
48869 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
48870 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
48871 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
48872 * powerpc/powerpc32/fpu/s_round.S: Likewise.
48873 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
48874 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
48875 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
48876 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
48877 * powerpc/powerpc32/memset.S: Likewise.
48878 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
48879 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
48880 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
48881 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
48882 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
48883 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
48884 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
48885 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
48886 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
48887 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
48888 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
48889 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
48890 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
48892 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48894 * math/libm-test.inc: Added more nearbyint tests.
48895 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
48896 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
48897 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
48898 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
48900 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
48902 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
48905 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48907 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
48908 Add wcscpy-ssse3 wcscpy-c.
48909 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
48910 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
48911 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
48912 * sysdeps/x86_64/wcschr.S: New file.
48913 * sysdeps/x86_64/wcsrchr.S: New file.
48914 * string/test-strcmp.c: Remove checking of wcscmp function for
48916 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
48917 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
48918 wcsrchr-sse2 wcsrchr-c.
48919 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
48920 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
48921 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
48922 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
48923 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
48924 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
48925 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
48926 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
48927 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
48928 * wcsmbc/wcschr.c (WCSCHR): New macro.
48930 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48932 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
48933 * wcsmbs/test-wcsrchr.c: New file.
48934 * string/test-strrchr.c: Add wcsrchr support.
48936 * wcsmbs/test-wcscpy.c: New file.
48937 * string/test-strcpy.c: Add wcscpy support.
48940 2011-12-10 Ulrich Drepper <drepper@gmail.com>
48942 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
48945 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
48948 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
48950 2011-12-04 Ulrich Drepper <drepper@gmail.com>
48952 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
48953 Minor optimizations.
48955 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
48956 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
48957 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
48959 2011-12-03 Ulrich Drepper <drepper@gmail.com>
48961 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
48962 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
48963 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
48964 for gcc to avoid warnings.
48965 * inet/Makefile (tests): Add tst-checks.
48966 * inet/tst-checks.c: New file.
48968 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
48971 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
48974 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
48975 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
48977 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
48979 2011-12-02 Ulrich Drepper <drepper@gmail.com>
48981 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
48984 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
48986 2011-11-29 Joseph Myers <joseph@codesourcery.com>
48988 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
48989 conditional on GCC version.
48990 (__arch_compare_and_exchange_val_8_acq)
48991 (__arch_compare_and_exchange_val_16_acq)
48992 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
48993 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
48994 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
48996 2011-12-02 Joseph Myers <joseph@codesourcery.com>
48998 * sysdeps/sh/backtrace.c: New file.
49000 2011-12-02 Andreas Schwab <schwab@redhat.com>
49002 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
49005 2011-12-01 Andreas Schwab <schwab@redhat.com>
49007 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
49008 falling back to utime.
49010 2011-11-30 Andreas Schwab <schwab@redhat.com>
49012 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
49013 expectations for float.
49015 2011-11-29 Andreas Schwab <schwab@redhat.com>
49017 * locale/weight.h (findidx): Add parameter len.
49018 * locale/weightwc.h (findidx): Likewise.
49019 * posix/fnmatch_loop.c (FCT): Adjust caller.
49020 * posix/regcomp.c (build_equiv_class): Likewise.
49021 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
49022 * posix/regexec.c (check_node_accept_bytes): Likewise.
49023 * string/strcoll_l.c (STRCOLL): Likewise.
49024 * string/strxfrm_l.c (STRXFRM): Likewise.
49026 2011-11-17 Ulrich Drepper <drepper@gmail.com>
49028 * Makefile.in: Remove CVSOPT handling.
49029 * configure.in: Remove use of AC_REVISION.
49030 * iconvdata/Makefile (distribute): No need to filter out CVS.
49031 * scripts/list-sources.sh: Remove CVS, subversion and monotone
49034 2011-11-16 Andreas Schwab <schwab@redhat.com>
49036 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
49037 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
49038 [USE_AS_STRNCASECMP_L]: Likewise.
49039 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
49040 NO_TLS_DIRECT_SEG_REFS.
49041 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
49042 Fix argument offsets for non-PIC.
49043 [USE_AS_STRNCASECMP_L]: Likewise.
49044 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
49045 NO_TLS_DIRECT_SEG_REFS.
49047 2011-11-15 Ulrich Drepper <drepper@gmail.com>
49049 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
49051 * locale/loadlocale.c (_nl_load_locale): Likewise.
49053 2011-11-15 Andreas Schwab <schwab@redhat.com>
49055 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
49056 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
49057 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
49058 (SYSCALL_GETTIME): Set errno on error.
49060 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
49061 count references to noai6ai_cached.
49063 2011-11-15 Ulrich Drepper <drepper@gmail.com>
49065 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
49067 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
49068 FD_CLOEXEC for /proc/self/maps.
49070 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
49071 FD_CLOEXEC for /proc/meminfo.
49073 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
49076 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
49077 FD_CLOEXEC for given file.
49079 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
49081 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
49082 FD_CLOEXEC for /etc/hosts.
49083 (_gethtent): Likewise.
49085 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
49087 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
49088 cancellation and set FD_CLOEXEC for /etc/netgroup.
49090 * nss/nss_files/files-key.c (search): Don't allow cancellation when
49091 reading /etc/publickey.
49093 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
49094 allow cancellation when reading /etc/group.
49096 * nss/nss_files/files-alias.c (internal_setent): Don't allow
49098 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
49100 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
49101 when using data file.
49103 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
49105 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
49106 (write_nis_obj): Use "c" and "e" in fopen.
49108 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
49110 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
49112 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
49114 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
49116 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
49119 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
49121 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
49123 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
49125 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
49126 file parsing and set FD_CLOEXEC.
49128 2011-11-14 Ulrich Drepper <drepper@gmail.com>
49130 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
49132 2011-11-14 Andreas Schwab <schwab@redhat.com>
49134 * malloc/arena.c (arena_get2): Don't call reused_arena when
49135 _int_new_arena failed.
49137 2011-11-14 Ulrich Drepper <drepper@gmail.com>
49139 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
49140 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
49141 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
49142 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
49143 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49144 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
49145 to compile strcasecmp and strncasecmp.
49146 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
49147 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
49149 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
49151 2011-11-13 Ulrich Drepper <drepper@gmail.com>
49153 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
49154 locale-defines.sym to gen-as-const-headers.
49155 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
49156 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
49157 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
49158 to compile strcasecmp and strncasecmp.
49159 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
49160 strcasecmp_l and strncasecmp_l.
49161 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
49162 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
49163 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
49164 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
49165 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
49166 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
49167 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
49168 * sysdeps/i386/i686/multiarch/strncase.S: New file.
49169 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
49170 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
49171 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
49173 2011-11-12 Ulrich Drepper <drepper@gmail.com>
49175 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
49176 result of SYSDEP_GETTIME_CPU to retval.
49177 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
49178 parameter list to macro. Remove trailing semicolon. Adjust users.
49180 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
49183 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
49185 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
49187 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
49188 from unused variable.
49190 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
49192 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
49195 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
49198 * sunrpc/rpc_prot.c (rejected): Fix case value.
49200 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
49201 unsigned long long int to avoid warnings in shift.
49203 * posix/regex_internal.c (re_string_reconstruct): Actually use result
49205 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
49208 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
49209 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
49210 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
49212 * nis/nis_table.c (nis_list): Use variable of correct type for
49213 result of __follow_path call.
49215 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49217 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
49218 of math functions ceil, trunc, floor, round, and sqrt, when
49219 avaliable on the platform.
49220 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
49222 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
49223 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
49224 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
49226 2011-10-30 Marek Polacek <mpolacek@redhat.com>
49228 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
49229 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
49231 2011-11-11 Roland McGrath <roland@hack.frob.com>
49233 * include/unistd.h: Fix __readlink return type.
49234 Reported by Chris Metcalf <cmetcalf@tilera.com>.
49236 2011-11-11 Ulrich Drepper <drepper@gmail.com>
49238 * stdlib/ucontext.h: Undo last change for makecontext.
49240 2011-11-11 Andreas Schwab <schwab@redhat.com>
49242 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
49244 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
49245 * setjmp/setjmp.h: Mark functions as non-leaf.
49246 * setjmp/bits/setjmp2.h: Likewise.
49247 * stdlib/ucontext.h: Likewise.
49249 2011-11-10 Andreas Schwab <schwab@redhat.com>
49251 * malloc/arena.c (_int_new_arena): Don't increment narenas.
49252 (reused_arena): Don't check arena limit.
49253 (arena_get2): Atomically check arena limit.
49255 2011-11-08 Ulrich Drepper <drepper@gmail.com>
49257 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
49258 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
49260 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
49263 2011-11-07 Andreas Schwab <schwab@redhat.com>
49265 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
49266 handler when locking.
49268 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
49269 Fix size of allocated buffer.
49271 2011-11-04 Andreas Schwab <schwab@redhat.com>
49274 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
49275 declarations for long double functions.
49276 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
49278 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
49280 2011-11-03 Andreas Schwab <schwab@redhat.com>
49282 * nscd/nscd.c (main): Don't start AVC thread until credentials are
49285 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
49288 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
49290 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
49292 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
49294 * include/alloca.h (stackinfo_alloca_round): Define.
49295 (extend_alloca): Use it.
49296 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
49297 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
49300 * scripts/check-local-headers.sh: Ignore libaudit.h.
49302 * nscd/Makefile (extra-objs): Make recursively expanded.
49304 2011-11-01 Ulrich Drepper <drepper@gmail.com>
49306 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
49307 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
49309 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
49310 * posix/tst-rfc3484-2.c: Likewise.
49311 * posix/tst-rfc3484-3.c: Likewise.
49313 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
49315 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
49317 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
49318 process_vm_writev from libc using GLIBC_2.15 version.
49320 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
49322 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
49324 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
49327 2011-10-31 Ulrich Drepper <drepper@gmail.com>
49330 * nss/getent.c (initgroups_keys): Show error message in case no group
49333 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
49334 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
49335 __bump_nl_timestamp.
49336 * nscd/connections (nscd_init): When host database is served open
49337 netlink socket and request notification about configuration changes.
49338 (main_loop_poll): Track netlink file descriptor and bump timestamp
49339 in case data becomes available.
49340 (main_loop_epoll): Likewise.
49341 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
49342 (database_pers_head): Add extra_data fileds.
49343 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
49344 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
49345 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
49347 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
49348 in6ai data, call __free_in6ai.
49349 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
49350 Add -DHAVE_NETLINK.
49351 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
49352 interface information. Reuse previous data if netlink timestamp
49354 (__bump_nl_timestamp): New function.
49355 (__free_in6ai): New function.
49357 2011-10-30 Ulrich Drepper <drepper@gmail.com>
49359 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
49360 close_not_cancel_no_status here.
49361 (__check_pf): Reorganize code a bit to not call close twice if OOM.
49363 2011-10-29 Ulrich Drepper <drepper@gmail.com>
49366 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
49369 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
49370 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
49371 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
49373 2011-07-03 Andreas Jaeger <aj@suse.de>
49376 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
49377 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
49378 * math/libm-test.inc (sin_test): Add test case.
49380 2011-10-29 Ulrich Drepper <drepper@gmail.com>
49383 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
49384 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
49386 * elf/chroot_canon.c (chroot_canon): Cleanups.
49388 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
49391 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
49392 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
49394 * string/test-strchr.c: Make usable for strchrnul testing.
49395 * string/test-strchrnul.c: New file.
49396 * string/Makefile (strop-tests): Add strchrnul.
49398 * po/it.po: Update from translation team.
49399 * po/es.po: Likewise.
49401 2011-10-28 Ulrich Drepper <drepper@gmail.com>
49403 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
49404 the three constants needed as parameters. Drop the others.
49405 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
49406 __m128i_strloadu_tolower.
49407 Create and initialize variable zero and use it in all the places
49408 where _mm_setzero_si128 was used.
49410 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
49411 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
49412 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
49413 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
49415 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
49416 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
49417 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
49418 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
49419 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
49420 __mpranred, __mptan.
49421 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
49422 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
49423 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
49424 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
49425 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
49426 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
49427 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
49428 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
49429 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
49431 2011-10-28 Andreas Schwab <schwab@redhat.com>
49433 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
49434 redefine if SHARED.
49435 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
49437 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
49438 wide char related routines to wcsmbs subdir.
49440 2011-10-27 Andreas Schwab <schwab@redhat.com>
49443 * misc/sys/cdefs.h (__THROWNL): Define.
49444 * posix/unistd.h: Use __THREADNL instead of __THREAD
49445 for memory synchronization functions.
49447 2011-10-26 Roland McGrath <roland@hack.frob.com>
49450 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
49452 * manual/stdio.texi (Obstack Streams): Node removed.
49454 2011-10-26 Andreas Schwab <schwab@redhat.com>
49456 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
49457 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
49458 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
49460 * math/math_private.h (math_force_eval): Allow non-addressable
49462 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
49464 2011-10-25 Ulrich Drepper <drepper@gmail.com>
49466 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
49467 file is not needed.
49469 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
49470 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
49471 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49472 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49473 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49474 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49475 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49476 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
49478 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
49479 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
49480 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
49481 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
49482 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
49483 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
49484 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
49485 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
49486 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
49487 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
49488 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
49489 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
49490 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
49491 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
49492 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
49493 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
49494 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
49495 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
49496 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
49498 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
49499 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
49501 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
49502 place. Use VEX encoding when compiling for AVX.
49504 2011-10-25 Andreas Schwab <schwab@redhat.com>
49506 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
49507 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
49509 * string/test-strchr.c (do_test): Don't generate NUL bytes.
49511 2011-10-25 Ulrich Drepper <drepper@gmail.com>
49513 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
49514 useless if() expression.
49515 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49516 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
49517 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
49518 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49519 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
49520 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
49521 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
49522 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49523 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
49524 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49525 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
49526 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
49527 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
49528 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
49529 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
49530 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
49531 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49532 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49533 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
49535 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
49537 2011-10-25 Andreas Schwab <schwab@redhat.com>
49539 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
49541 * elf/dl-fini.c (_dl_sort_fini): Likewise.
49543 2011-10-25 Ulrich Drepper <drepper@gmail.com>
49545 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
49546 .text section. Avoid duplicate constants.
49547 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
49548 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49549 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49550 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49551 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49552 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49553 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49554 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49555 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
49556 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
49557 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
49558 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
49559 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
49560 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
49561 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
49562 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
49563 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
49564 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
49565 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49566 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49567 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
49568 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
49569 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
49570 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
49571 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
49572 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
49573 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
49574 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
49575 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
49576 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
49577 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
49578 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
49579 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
49580 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
49581 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
49582 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
49583 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
49584 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
49585 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
49586 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
49587 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
49588 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
49589 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
49590 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
49591 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
49593 2011-10-24 Ulrich Drepper <drepper@gmail.com>
49595 * sysdeps/x86_64/dla.h: Move to ...
49596 * sysdeps/x86_64/fpu/dla.h: ...here.
49597 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
49598 situations. Use __builtin_fma only for gcc 4.6 and up.
49600 * config.make.in: Add have-mfma4 entry.
49601 * configure.in: Substitute libc_cv_cc_fma4.
49602 * math/Makefile (dbl-only-routines): Add sincostab.
49603 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
49604 Use __sincostab not sincos.
49605 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
49607 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49608 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49609 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49610 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
49612 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
49613 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
49614 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
49615 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
49617 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
49618 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
49620 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
49621 define aliases when function name is a macro.
49622 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
49623 sysdeps/ieee754/dbl-64/sincos.tbl.
49624 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
49625 fma4-enabled routines.
49626 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
49627 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
49628 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
49629 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
49630 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
49631 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
49632 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
49633 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
49634 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
49635 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
49636 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
49637 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
49638 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
49639 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
49640 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
49641 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
49642 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
49643 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
49644 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
49645 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
49646 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
49647 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
49648 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
49649 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
49650 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
49651 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
49652 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
49653 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
49654 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
49655 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
49657 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
49659 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49660 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49661 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49662 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49663 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49664 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49665 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49666 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49668 2011-10-24 Andreas Schwab <schwab@redhat.com>
49670 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
49672 2011-10-23 Ulrich Drepper <drepper@gmail.com>
49674 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
49676 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
49678 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
49680 * string/strnlen.c: Don't define STRNLEN, reverse logic.
49681 Remove unused variable magic_bits.
49682 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
49684 * string/strnlen.c: Define and use STRNLEN macro.
49685 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
49686 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
49687 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
49688 * wcsmbs/wcslen.c: Define and use WCSLEN.
49689 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
49690 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
49691 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
49692 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
49693 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
49694 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
49695 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
49697 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49699 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49700 strnlen-sse2-no-bsf.
49701 Rename strlen-no-bsf to strlen-sse2-no-bsf.
49702 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
49703 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
49704 Add strnlen support.
49705 (USE_AS_STRNLEN): New macro.
49706 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
49707 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
49708 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
49709 * sysdeps/x86_64/wcslen.S: New file.
49711 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
49713 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
49714 XMM-moves are used for copying on small sizes.
49716 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49718 * wcsmbs/Makefile (strop-tests): Add wcschr.
49719 * wcsmbs/test-wcschr.c: New file.
49720 * string/test-strchr.c: Update.
49721 Add wcschr support.
49724 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49726 * wcsmbs/Makefile (strop-tests): Add wcslen.
49727 * wcsmbs/test-wcslen.c: New file.
49728 * string/test-strlen.c: Update.
49729 Add wcslen support.
49732 2011-10-23 Ulrich Drepper <drepper@gmail.com>
49734 * po/it.po: Update from translation team.
49736 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49738 * sysdeps/x86_64/wcscmp.S: Update.
49739 Fix wrong comparison semantics.
49740 wcscmp shall use signed comparison not unsigned.
49741 Don't use substraction to avoid overflow bug.
49742 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
49743 * wcsmbc/wcscmp.c: Likewise.
49744 * string/test-strcmp.c: Likewise.
49745 Add new tests to check cases with negative values.
49747 2011-10-23 Ulrich Drepper <drepper@gmail.com>
49749 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
49750 * sysdeps/x86_64/dla.h: ...here. New file.
49751 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
49752 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49753 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49754 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49755 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49756 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49757 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49758 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49759 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49761 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
49763 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
49764 __ynl_finite aliases.
49766 2011-10-22 Ulrich Drepper <drepper@gmail.com>
49768 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49770 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
49772 [DLA_FMA] (EMULV): Use DLA_FMA.
49773 [DLA_FMA] (MUL12): Use EMULV.
49774 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
49775 that are not needed.
49776 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49777 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49778 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49779 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49780 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49781 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49782 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49784 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
49786 * math/s_nan.c: Undef __nan.
49787 * math/s_nanf.c: Undef __nanf.
49788 * math/s_nanl.c: Undef __nanl.
49789 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
49792 2011-10-22 Ulrich Drepper <drepper@gmail.com>
49794 * math/s_catan.c: Add branch predictions.
49795 * math/s_catanf.c: Likewise.
49796 * math/s_catanh.c: Likewise.
49797 * math/s_catanhf.c: Likewise.
49798 * math/s_catanhl.c: Likewise.
49799 * math/s_catanl.c: Likewise.
49800 * math/s_cexp.c: Likewise.
49801 * math/s_cexpf.c: Likewise.
49802 * math/s_cexpl.c: Likewise.
49803 * math/s_clog.c: Likewise.
49804 * math/s_clog10.c: Likewise.
49805 * math/s_clog10f.c: Likewise.
49806 * math/s_clog10l.c: Likewise.
49807 * math/s_clogf.c: Likewise.
49808 * math/s_clogl.c: Likewise.
49809 * math/s_csqrt.c: Likewise.
49810 * math/s_csqrtf.c: Likewise.
49811 * math/s_csqrtl.c: Likewise.
49812 * math/s_ctanf.c: Likewise.
49813 * math/s_ctanh.c: Likewise.
49814 * math/s_ctanhf.c: Likewise.
49815 * math/s_ctanhl.c: Likewise.
49816 * math/s_ctanl.c: Likewise.
49818 * math/math_private.h: Define __nan, __nanf, __nanl.
49819 * math/s_cacosh.c: Include <math_private.h>.
49820 * math/s_cacoshl.c: Likewise.
49821 * math/s_casinh.c: Likewise.
49822 * math/s_casinhf.c: Likewise.
49823 * math/s_casinhl.c: Likewise.
49824 * math/s_ccos.c: Rely entire on ccosh.
49825 * math/s_ccosf.c: Rely entire on ccoshf.
49826 * math/s_ccosl.c: Rely entirely on ccoshl.
49827 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
49828 Remove tests for FE_INVALID.
49829 * math/s_ccoshf.c: Likewise.
49830 * math/s_ccoshl.c: Likewise.
49831 * math/s_csin.c: Likewise.
49832 * math/s_csinf.c: Likewise.
49833 * math/s_csinh.c Likewise.
49834 * math/s_csinhf.c: Likewise.
49835 * math/s_csinhl.c: Likewise.
49836 * math/s_csinl.c: Likewise.
49837 * math/s_ctan.c: Likewise.
49838 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
49839 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
49840 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
49842 2011-10-21 Ulrich Drepper <drepper@gmail.com>
49844 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
49845 compilation problems.
49847 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
49850 2011-10-20 Ulrich Drepper <drepper@gmail.com>
49852 * sysdeps/i386/configure.in: Test for -mfma4 option.
49853 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
49854 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
49855 COMMON_CPUID_INDEX_80000001.
49856 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
49857 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
49858 use it if FMA3 is not supported.
49859 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
49861 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
49862 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49864 2011-10-20 Andreas Schwab <schwab@redhat.com>
49867 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
49868 it would create a cycle with a link time dependency.
49870 2011-10-19 Ulrich Drepper <drepper@gmail.com>
49872 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
49874 * string/Makefile (strop-tests): Add rawmemchr.
49875 * string/test-rawmemchr.c: New file.
49877 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
49878 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
49879 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
49880 when compiling str{,n}casecmp and when AVX is available. Hook up
49881 new optimized code in initializers.
49883 2011-10-19 Andreas Schwab <schwab@redhat.com>
49885 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
49886 __feraiseexcept instead of feraiseexcept.
49888 2011-10-18 Ulrich Drepper <drepper@gmail.com>
49890 * math/math_private.h: Define defaults for libc_fetestexcept and
49892 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
49893 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
49894 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
49895 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
49896 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
49897 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
49898 libc_fetestexcept and libc_feupdateenv.
49900 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
49901 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
49902 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
49903 * sysdeps/x86_64/fpu/math_private.h: Define special version of
49904 libc_feholdexcept_setround.
49906 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
49907 Add s_nearbyint-c and s_nearbyintf-c.
49908 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
49909 nearbyintf inlines.
49910 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
49911 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
49912 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
49913 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
49915 * math/math_private.h: Define defaults for libc_fegetround,
49916 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
49917 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
49918 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
49919 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
49920 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
49921 standard functions.
49922 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
49923 Remove comments and hacks for old compiler versions.
49924 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
49925 libc_fegetround, libc_fesetround, libc_feholdexcept, and
49926 libc_feholdexceptl.
49928 2011-10-18 Andreas Schwab <schwab@redhat.com>
49930 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
49931 (__feraiseexcept_renamed): Add __NTH.
49932 (feraiseexcept): Add __NTH. Rename local variables to fix
49933 namespace violations.
49935 2011-10-17 Ulrich Drepper <drepper@gmail.com>
49937 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
49939 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
49941 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
49942 recently added interfaces.
49943 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
49945 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
49946 about macro parameter expansion.
49948 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
49949 __NO_MATH_INLINES is defined. Cleanups.
49951 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
49952 and __floorf is target has SSE4.1.
49953 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
49954 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
49955 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
49956 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
49958 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
49960 (floorf): Likewise.
49962 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
49964 2011-10-17 Andreas Schwab <schwab@redhat.com>
49966 * misc/sys/cdefs.h: Fix last change.
49968 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
49971 2011-10-16 Ulrich Drepper <drepper@gmail.com>
49973 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
49975 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
49976 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49977 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
49978 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
49979 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49980 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
49981 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
49982 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
49983 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
49984 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
49985 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
49986 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
49987 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
49988 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
49989 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
49990 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
49991 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
49992 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
49993 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
49994 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
49995 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
49996 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
49998 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
49999 ceil, ceilf, floor, floorf.
50001 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
50002 Perform IRELATIVE relocations last.
50004 * elf/do-rel.h: Add another parameter nrelative, replacing the
50005 local variable with the same name. Change name of the function
50006 to end in Rel or Rela (uppercase).
50007 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
50008 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
50009 elf_dynamic_do_##reloc function.
50011 2011-10-15 Ulrich Drepper <drepper@gmail.com>
50013 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
50014 is sufficient, at least on modern CPUs.
50016 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
50018 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
50019 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
50021 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
50023 * math/bits/math-finite.h: Add entries for exp.
50024 * math/e_expl.c: Add __*_finite alias.
50025 * sysdeps/i386/fpu/e_exp.S: Likewise.
50026 * sysdeps/i386/fpu/e_expf.S: Likewise.
50027 * sysdeps/i386/fpu/e_expl.c: Likewise.
50028 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50029 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
50030 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
50031 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
50032 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
50033 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
50034 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
50036 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
50037 is sufficient, at least on modern CPUs.
50039 * ctype/ctype-info.c (__ctype_init): Define.
50040 * include/ctype.h (__ctype_init): Declare.
50041 (__ctype_b_loc): The variable is always initialized.
50042 (__ctype_toupper_loc): Likewise.
50043 (__ctype_tolower_loc): Likewise.
50044 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
50045 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
50047 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
50049 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
50051 * configure.in: Also look in $cxxmachine/include for C++ system
50054 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50056 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
50057 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
50058 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
50059 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
50060 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
50061 (USE_AS_WMEMCMP): New macro.
50063 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
50064 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
50065 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
50066 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
50067 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50068 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
50069 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
50070 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
50071 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
50072 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
50073 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
50074 (USE_AS_WMEMCMP): New macro.
50075 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
50076 * sysdeps/string/test-memcmp.c: Update.
50077 Fix simple_wmemcmp.
50079 * wcsmbs/wmemcmp.c: Update.
50080 (WMEMCMP): New macro.
50083 2011-10-12 Andreas Jaeger <aj@suse.de>
50086 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
50088 2011-10-15 Ulrich Drepper <drepper@gmail.com>
50090 * libio/iofwide.c (do_length): Avoid warning.
50092 * ctype/ctype.h (__isctype_f): Add missing __THROW.
50094 2011-10-14 Ulrich Drepper <drepper@gmail.com>
50096 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
50098 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
50099 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
50100 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
50101 * sysdeps/i386/i686/fpu/e_log.S: New file.
50102 * sysdeps/i386/i686/fpu/e_logf.S: New file.
50103 * sysdeps/i386/i686/fpu/e_logl.S: New file.
50105 * ctype/ctype.h: Add support for inlined isXXX functions when
50106 compiling C++ code.
50108 2011-10-14 Andreas Schwab <schwab@redhat.com>
50110 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50112 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
50114 2011-10-13 Roland McGrath <roland@hack.frob.com>
50117 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
50119 2011-10-13 Andreas Schwab <schwab@redhat.com>
50121 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
50122 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
50125 * sysdeps/x86_64/memrchr.S: Check for zero size.
50127 * string/stratcliff.c: Add memrchr tests.
50129 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50131 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50132 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
50133 rawmemchr-sse2 rawmemchr-sse2-bsf.
50134 * sysdeps/i386/i686/multiarch/memchr.S: New file.
50135 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
50136 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
50137 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
50138 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
50139 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
50140 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
50141 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
50142 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
50143 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
50144 * string/memrchr.c (MEMRCHR): New macro.
50146 2011-10-12 Ulrich Drepper <drepper@gmail.com>
50148 Add integration with gcc's -ffinite-math-only and optimize wrapper
50150 * Versions.def: Define GLIBC_2.15 version for libm.
50151 * math/Makefile (headers): Add bits/math-finite.h.
50152 * math/bits/math-finite.h: New file.
50153 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
50154 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
50155 * math/e_acoshl.c: Add __*_finite alias.
50156 * math/e_acosl.c: Likewise.
50157 * math/e_asinl.c: Likewise.
50158 * math/e_atan2l.c: Likewise.
50159 * math/e_atanhl.c: Likewise.
50160 * math/e_coshl.c: Likewise.
50161 * math/e_exp10.c: Likewise.
50162 * math/e_exp10f.c: Likewise.
50163 * math/e_exp10l.c: Likewise.
50164 * math/e_exp2l.c: Likewise.
50165 * math/e_fmodl.c: Likewise.
50166 * math/e_gammal_r.c: Likewise.
50167 * math/e_hypotl.c: Likewise.
50168 * math/e_j0l.c: Likewise.
50169 * math/e_j1l.c: Likewise.
50170 * math/e_jnl.c: Likewise.
50171 * math/e_lgammal_r.c: Likewise.
50172 * math/e_log10l.c: Likewise.
50173 * math/e_log2l.c: Likewise.
50174 * math/e_logl.c: Likewise.
50175 * math/e_powl.c: Likewise.
50176 * math/e_sinhl.c: Likewise.
50177 * math/e_sqrtl.c: Likewise.
50178 * math/e_scalb.c: Completely rewritten and optimized.
50179 * math/e_scalbf.c: Likewise.
50180 * math/e_scalbl.c: Likewise.
50181 * math/w_acos.c: Likewise.
50182 * math/w_acosf.c: Likewise.
50183 * math/w_acosl.c: Likewise.
50184 * math/w_acosh.c: Likewise.
50185 * math/w_acoshf.c: Likewise.
50186 * math/w_acoshl.c: Likewise.
50187 * math/w_asin.c: Likewise.
50188 * math/w_asinf.c: Likewise.
50189 * math/w_asinl.c: Likewise.
50190 * math/w_atan2.c: Likewise.
50191 * math/w_atan2f.c: Likewise.
50192 * math/w_atan2l.c: Likewise.
50193 * math/w_atanh.c: Likewise.
50194 * math/w_atanhf.c: Likewise.
50195 * math/w_atanhl.c: Likewise.
50196 * math/w_exp10.c: Likewise.
50197 * math/w_exp10f.c: Likewise.
50198 * math/w_exp10l.c: Likewise.
50199 * math/w_fmod.c: Likewise.
50200 * math/w_fmodf.c: Likewise.
50201 * math/w_fmodl.c: Likewise.
50202 * math/w_j0.c: Likewise.
50203 * math/w_j0f.c: Likewise.
50204 * math/w_j0l.c: Likewise.
50205 * math/w_j1.c: Likewise.
50206 * math/w_j1f.c: Likewise.
50207 * math/w_j1l.c: Likewise.
50208 * math/w_jn.c: Likewise.
50209 * math/w_jnf.c: Likewise.
50210 * math/w_log.c: Likewise.
50211 * math/w_logf.c: Likewise.
50212 * math/w_logl.c: Likewise.
50213 * math/w_log10.c: Likewise.
50214 * math/w_log10f.c: Likewise.
50215 * math/w_log10l.c: Likewise.
50216 * math/w_log2.c: Likewise.
50217 * math/w_log2f.c: Likewise.
50218 * math/w_log2l.c: Likewise.
50219 * math/w_pow.c: Likewise.
50220 * math/w_powf.c: Likewise.
50221 * math/w_powl.c: Likewise.
50222 * math/w_remainder.c: Likewise.
50223 * math/w_remainderf.c: Likewise.
50224 * math/w_remainderl.c: Likewise.
50225 * math/w_scalb.c: Likewise.
50226 * math/w_scalbf.c: Likewise.
50227 * math/w_scalbl.c: Likewise.
50228 * math/w_sqrt.c: Likewise.
50229 * math/w_sqrtf.c: Likewise.
50230 * math/w_sqrtl.c: Likewise.
50231 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
50232 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
50234 * math/math_private.h: Declare __kernel_standard_f.
50235 * math/w_cosh.c: Remove cruft and optimize a bit.
50236 * math/w_coshf.c: Likewise.
50237 * math/w_coshl.c: Likewise.
50238 * math/w_exp2.c: Likewise.
50239 * math/w_exp2f.c: Likewise.
50240 * math/w_exp2l.c: Likewise.
50241 * math/w_hypot.c: Likewise.
50242 * math/w_hypotf.c: Likewise.
50243 * math/w_hypotl.c: Likewise.
50244 * math/w_lgamma.c: Likewise.
50245 * math/w_lgamma_r.c: Likewise.
50246 * math/w_lgammaf.c: Likewise.
50247 * math/w_lgammaf_r.c: Likewise.
50248 * math/w_lgammal.c: Likewise.
50249 * math/w_lgammal_r.c: Likewise.
50250 * math/w_sinh.c: Likewise.
50251 * math/w_sinhf.c: Likewise.
50252 * math/w_sinhl.c: Likewise.
50253 * math/w_tgamma.c: Likewise.
50254 * math/w_tgammaf.c: Likewise.
50255 * math/w_tgammal.c: Likewise.
50256 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
50257 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50258 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
50259 Minor optimizations. Pretty printing. Remove cruft.
50260 * sysdeps/i386/fpu/e_acosf.S: Likewise.
50261 * sysdeps/i386/fpu/e_acosh.S: Likewise.
50262 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
50263 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
50264 * sysdeps/i386/fpu/e_acosl.c: Likewise.
50265 * sysdeps/i386/fpu/e_asin.S: Likewise.
50266 * sysdeps/i386/fpu/e_asinf.S: Likewise.
50267 * sysdeps/i386/fpu/e_atan2.S: Likewise.
50268 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
50269 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
50270 * sysdeps/i386/fpu/e_atanh.S: Likewise.
50271 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
50272 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
50273 * sysdeps/i386/fpu/e_exp10.S: Likewise.
50274 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
50275 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
50276 * sysdeps/i386/fpu/e_exp2.S: Likewise.
50277 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
50278 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
50279 * sysdeps/i386/fpu/e_fmod.S: Likewise.
50280 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
50281 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
50282 * sysdeps/i386/fpu/e_hypot.S: Likewise.
50283 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
50284 * sysdeps/i386/fpu/e_log.S: Likewise.
50285 * sysdeps/i386/fpu/e_log10.S: Likewise.
50286 * sysdeps/i386/fpu/e_log10f.S: Likewise.
50287 * sysdeps/i386/fpu/e_log10l.S: Likewise.
50288 * sysdeps/i386/fpu/e_log2.S: Likewise.
50289 * sysdeps/i386/fpu/e_log2f.S: Likewise.
50290 * sysdeps/i386/fpu/e_log2l.S: Likewise.
50291 * sysdeps/i386/fpu/e_logf.S: Likewise.
50292 * sysdeps/i386/fpu/e_logl.S: Likewise.
50293 * sysdeps/i386/fpu/e_pow.S: Likewise.
50294 * sysdeps/i386/fpu/e_powf.S: Likewise.
50295 * sysdeps/i386/fpu/e_powl.S: Likewise.
50296 * sysdeps/i386/fpu/e_remainder.S: Likewise.
50297 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
50298 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
50299 * sysdeps/i386/fpu/e_scalb.S: Likewise.
50300 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
50301 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
50302 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
50303 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
50304 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
50305 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
50306 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50307 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50308 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
50309 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
50310 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
50311 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
50312 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
50313 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50314 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
50315 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
50316 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
50317 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50318 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
50319 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
50320 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50321 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
50322 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
50323 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50324 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50325 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
50326 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
50327 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50328 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50329 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
50330 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
50331 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
50332 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
50333 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
50334 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
50335 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50336 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
50337 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50338 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
50339 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
50340 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
50341 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
50342 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
50343 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
50344 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
50345 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
50346 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
50347 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
50348 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
50349 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50350 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
50351 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
50352 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
50353 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
50354 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
50355 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
50356 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
50357 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
50358 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50359 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
50360 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
50361 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
50362 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
50363 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
50364 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
50365 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
50366 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
50367 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50368 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50369 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
50370 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
50371 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
50372 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
50373 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
50374 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
50375 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
50376 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
50377 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
50378 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
50379 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
50380 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
50381 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
50382 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
50383 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50384 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
50385 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50386 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
50387 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
50388 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50389 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50390 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
50391 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50392 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
50393 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
50394 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
50395 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50396 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
50397 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50398 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
50399 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50400 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
50401 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
50402 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
50403 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
50404 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
50405 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
50406 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
50407 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
50408 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
50409 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
50410 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
50411 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
50412 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50413 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
50414 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
50415 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
50416 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
50417 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
50418 (__isnanf): Likewise.
50419 (__isinf_ns): Likewise.
50420 (__isinf_nsf): Likewise.
50421 (__finite): Likewise.
50422 (__finitef): Likewise.
50423 (__ieee754_sqrt): Define as macro.
50424 (__ieee754_sqrtf): Define as macro.
50425 (__ieee754_sqrtl): Define as macro.
50426 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
50428 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
50429 __FINITE_MATH_ONLY__ consistent.
50430 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
50432 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
50434 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
50437 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
50439 2011-10-09 Ulrich Drepper <drepper@gmail.com>
50441 * po/ja.po: Update from translation team.
50443 2011-10-08 Roland McGrath <roland@hack.frob.com>
50445 * locale/programs/locarchive.c (prepare_address_space): New function.
50446 (create_archive, enlarge_archive, open_archive): Use it.
50448 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
50449 inside [SHARED], where it is used.
50451 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
50453 * nss/getent.c (netgroup_keys): Remove unused variable.
50454 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
50456 2011-10-08 Ulrich Drepper <drepper@gmail.com>
50458 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
50459 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
50460 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
50461 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
50462 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
50463 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
50464 * math/Makefile (libm-calls): Add s_isinf_ns.
50465 * math/divtc3.c: Use __isinf_nsl instead of isinf.
50466 * math/multc3.c: Likewise.
50467 * math/s_casin.c: Likewise.
50468 * math/s_casinf.c: Likewise.
50469 * math/s_casinl.c: Likewise.
50470 * math/s_ccos.c: Likewise.
50471 * math/s_ccosf.c: Likewise.
50472 * math/s_ccosl.c: Likewise.
50473 * math/s_ctan.c: Likewise.
50474 * math/s_ctanf.c: Likewise.
50475 * math/s_ctanh.c: Likewise.
50476 * math/s_ctanhf.c: Likewise.
50477 * math/s_ctanhl.c: Likewise.
50478 * math/s_ctanl.c: Likewise.
50479 * math/w_fmod.c: Likewise.
50480 * math/w_fmodf.c: Likewise.
50481 * math/w_fmodl.c: Likewise.
50482 * math/w_remainder.c: Likewise.
50483 * math/w_remainderf.c: Likewise.
50484 * math/w_remainderl.c: Likewise.
50485 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
50486 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
50487 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
50488 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
50489 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
50490 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
50491 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
50492 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
50494 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
50496 * stdio-common/printf_fphex.c: Likewise.
50497 * stdio-common/printf_size.c: Likewise.
50499 * math/e_exp10.c: Include math_private.h using <...> not "...".
50500 * math/e_exp10f.c: Likewise.
50501 * math/e_exp10l.c: Likewise.
50502 * math/e_exp2l.c: Likewise.
50503 * math/e_j0l.c: Likewise.
50504 * math/e_j1l.c: Likewise.
50505 * math/e_jnl.c: Likewise.
50506 * math/e_lgammal_r.c: Likewise.
50507 * math/e_rem_pio2l.c: Likewise.
50508 * math/e_scalb.c: Likewise.
50509 * math/e_scalbf.c: Likewise.
50510 * math/e_scalbl.c: Likewise.
50511 * math/k_cosl.c: Likewise.
50512 * math/k_sinl.c: Likewise.
50513 * math/k_tanl.c: Likewise.
50514 * math/s_cacoshf.c: Likewise.
50515 * math/s_catan.c: Likewise.
50516 * math/s_catanf.c: Likewise.
50517 * math/s_catanh.c: Likewise.
50518 * math/s_catanhf.c: Likewise.
50519 * math/s_catanhl.c: Likewise.
50520 * math/s_catanl.c: Likewise.
50521 * math/s_ccosh.c: Likewise.
50522 * math/s_ccoshf.c: Likewise.
50523 * math/s_ccoshl.c: Likewise.
50524 * math/s_cexp.c: Likewise.
50525 * math/s_cexpf.c: Likewise.
50526 * math/s_cexpl.c: Likewise.
50527 * math/s_clog.c: Likewise.
50528 * math/s_clog10.c: Likewise.
50529 * math/s_clog10f.c: Likewise.
50530 * math/s_clog10l.c: Likewise.
50531 * math/s_clogf.c: Likewise.
50532 * math/s_clogl.c: Likewise.
50533 * math/s_csin.c: Likewise.
50534 * math/s_csinf.c: Likewise.
50535 * math/s_csinh.c: Likewise.
50536 * math/s_csinhf.c: Likewise.
50537 * math/s_csinhl.c: Likewise.
50538 * math/s_csinl.c: Likewise.
50539 * math/s_csqrt.c: Likewise.
50540 * math/s_csqrtf.c: Likewise.
50541 * math/s_csqrtl.c: Likewise.
50542 * math/s_ctan.c: Likewise.
50543 * math/s_ctanf.c: Likewise.
50544 * math/s_ctanh.c: Likewise.
50545 * math/s_ctanhf.c: Likewise.
50546 * math/s_ctanhl.c: Likewise.
50547 * math/s_ctanl.c: Likewise.
50548 * math/s_ldexp.c: Likewise.
50549 * math/s_ldexpf.c: Likewise.
50550 * math/s_ldexpl.c: Likewise.
50551 * math/s_significand.c: Likewise.
50552 * math/s_significandf.c: Likewise.
50553 * math/s_significandl.c: Likewise.
50554 * math/w_acos.c: Likewise.
50555 * math/w_acosf.c: Likewise.
50556 * math/w_acosh.c: Likewise.
50557 * math/w_acoshf.c: Likewise.
50558 * math/w_acoshl.c: Likewise.
50559 * math/w_acosl.c: Likewise.
50560 * math/w_asin.c: Likewise.
50561 * math/w_asinf.c: Likewise.
50562 * math/w_asinl.c: Likewise.
50563 * math/w_atan2.c: Likewise.
50564 * math/w_atan2f.c: Likewise.
50565 * math/w_atan2l.c: Likewise.
50566 * math/w_atanh.c: Likewise.
50567 * math/w_atanhf.c: Likewise.
50568 * math/w_atanhl.c: Likewise.
50569 * math/w_cosh.c: Likewise.
50570 * math/w_coshf.c: Likewise.
50571 * math/w_coshl.c: Likewise.
50572 * math/w_dremf.c: Likewise.
50573 * math/w_exp10.c: Likewise.
50574 * math/w_exp10f.c: Likewise.
50575 * math/w_exp10l.c: Likewise.
50576 * math/w_exp2.c: Likewise.
50577 * math/w_exp2f.c: Likewise.
50578 * math/w_fmod.c: Likewise.
50579 * math/w_fmodf.c: Likewise.
50580 * math/w_fmodl.c: Likewise.
50581 * math/w_hypot.c: Likewise.
50582 * math/w_hypotf.c: Likewise.
50583 * math/w_hypotl.c: Likewise.
50584 * math/w_j0.c: Likewise.
50585 * math/w_j0f.c: Likewise.
50586 * math/w_j0l.c: Likewise.
50587 * math/w_j1.c: Likewise.
50588 * math/w_j1f.c: Likewise.
50589 * math/w_j1l.c: Likewise.
50590 * math/w_jn.c: Likewise.
50591 * math/w_jnf.c: Likewise.
50592 * math/w_jnl.c: Likewise.
50593 * math/w_lgamma.c: Likewise.
50594 * math/w_lgamma_r.c: Likewise.
50595 * math/w_lgammaf.c: Likewise.
50596 * math/w_lgammaf_r.c: Likewise.
50597 * math/w_lgammal.c: Likewise.
50598 * math/w_lgammal_r.c: Likewise.
50599 * math/w_log.c: Likewise.
50600 * math/w_log10.c: Likewise.
50601 * math/w_log10f.c: Likewise.
50602 * math/w_log10l.c: Likewise.
50603 * math/w_log2.c: Likewise.
50604 * math/w_log2f.c: Likewise.
50605 * math/w_log2l.c: Likewise.
50606 * math/w_logf.c: Likewise.
50607 * math/w_logl.c: Likewise.
50608 * math/w_pow.c: Likewise.
50609 * math/w_powf.c: Likewise.
50610 * math/w_powl.c: Likewise.
50611 * math/w_remainder.c: Likewise.
50612 * math/w_remainderf.c: Likewise.
50613 * math/w_remainderl.c: Likewise.
50614 * math/w_scalb.c: Likewise.
50615 * math/w_scalbf.c: Likewise.
50616 * math/w_scalbl.c: Likewise.
50617 * math/w_sinh.c: Likewise.
50618 * math/w_sinhf.c: Likewise.
50619 * math/w_sinhl.c: Likewise.
50620 * math/w_sqrt.c: Likewise.
50621 * math/w_sqrtf.c: Likewise.
50622 * math/w_sqrtl.c: Likewise.
50623 * math/w_tgamma.c: Likewise.
50624 * math/w_tgammaf.c: Likewise.
50625 * math/w_tgammal.c: Likewise.
50627 * po/ja.po: Update from translation team.
50629 2011-09-29 Andreas Jaeger <aj@suse.de>
50632 * sunrpc/netname.c (netname2host): Fix logic.
50636 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
50638 * math/w_remainder.c (__remainder): Likewise.
50639 * math/w_remainderf.c (__remainderf): Likewise.
50640 * math/libm-test.inc (remainder_test): Add test cases.
50642 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50644 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
50647 2011-10-07 Ulrich Drepper <drepper@gmail.com>
50649 * string/test-memcmp.c: Avoid unncessary #defines.
50650 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
50652 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50654 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
50655 Use new sse2 version for core i3 - i7 as it's faster
50656 than sse42 version.
50657 (bit_Prefer_PMINUB_for_stringop): New.
50658 * sysdeps/x86_64/rawmemchr.S: Update.
50659 Replace with faster SSE2 version.
50660 * sysdeps/x86_64/memrchr.S: New file.
50661 * sysdeps/x86_64/memchr.S: Update.
50662 Replace with faster SSE2 version.
50664 2011-09-12 Marek Polacek <mpolacek@redhat.com>
50666 * elf/dl-load.c (lose): Add cast to avoid warning.
50668 2011-10-07 Ulrich Drepper <drepper@gmail.com>
50670 * po/ca.po: Update from translation team.
50672 * inet/getnetgrent_r.c: Hook up nscd.
50673 * nscd/Makefile (routines): Add nscd_netgroup.
50674 (nscd-modules): Add netgroupcache.
50675 (CFLAGS-netgroupcache.c): Define.
50676 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
50677 (cache_search): Add const to second parameter.
50678 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
50680 (dbs): Add netgrdb entry.
50681 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
50682 (verify_persistent_db): Handle netgrdb.
50683 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
50684 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
50686 (netgroup_response_header): Define.
50687 (innetgroup_response_header): Define.
50688 (datahead): Add netgroup_response_header and innetgroup_response_header
50690 * nscd/nscd.conf: Add entries for netgroup cache.
50691 * nscd/nscd.h (dbtype): Add netgrdb.
50692 (_PATH_NSCD_NETGROUP_DB): Define.
50693 (netgroup_iov_disabled): Declare.
50694 (xmalloc, xcalloc, xrealloc): Move declarations here.
50695 (cache_search): Adjust prototype.
50696 Add netgroup-related prototypes.
50697 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
50698 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
50699 (__nscd_innetgr): Declare.
50700 * nscd/selinux.c (perms): Use access_vector_t as element type and
50701 add netgroup-related initializers.
50702 * nscd/netgroupcache.c: New file.
50703 * nscd/nscd_netgroup.c: New file.
50704 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
50705 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
50706 For four parameters use innetgr.
50707 * nss/nss_files/files-init.c: Add definition and callback for netgr.
50708 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
50709 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
50710 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
50712 * nscd/connections.c (register_traced_file): Don't register file
50713 for disabled databases.
50715 2011-10-06 Ulrich Drepper <drepper@gmail.com>
50717 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
50719 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
50720 from tree and freeing node.
50722 2011-09-25 Jiri Olsa <jolsa@redhat.com>
50724 * nss/nsswitch.c (__nss_database_lookup): Handle
50725 nss_parse_service_list out of memory case.
50727 2011-09-15 Jiri Olsa <jolsa@redhat.com>
50729 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
50730 out of memory case.
50732 2011-10-04 Andreas Schwab <schwab@redhat.com>
50734 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
50735 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
50737 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
50738 elf_machine_rela, elf_machine_lazy_rel.
50739 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
50740 (ELF_DYNAMIC_DO_REL): Likewise.
50741 (ELF_DYNAMIC_DO_RELA): Likewise.
50742 (ELF_DYNAMIC_RELOCATE): Likewise.
50743 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
50744 to ELF_DYNAMIC_DO_REL.
50745 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
50746 (dl_main): In trace mode always set __RTLD_NOIFUNC.
50747 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
50749 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
50750 skip_ifunc, don't call ifunc function if non-zero.
50751 (elf_machine_rela): Likewise.
50752 (elf_machine_lazy_rel): Likewise.
50753 (elf_machine_lazy_rela): Likewise.
50754 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
50755 (elf_machine_lazy_rel): Likewise.
50756 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
50758 (elf_machine_lazy_rel): Likewise.
50759 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50761 (elf_machine_lazy_rel): Likewise.
50762 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
50763 (elf_machine_lazy_rel): Likewise.
50764 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
50765 (elf_machine_lazy_rel): Likewise.
50766 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
50767 (elf_machine_lazy_rel): Likewise.
50768 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
50769 (elf_machine_lazy_rel): Likewise.
50770 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
50771 (elf_machine_lazy_rel): Likewise.
50772 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
50773 (elf_machine_lazy_rel): Likewise.
50775 2011-09-28 Ulrich Drepper <drepper@gmail.com>
50777 * nss/nss_files/files-init.c (_nss_files_init): Use static
50778 initialization for all the *_traced_file variables.
50780 2011-09-28 Andreas Schwab <schwab@redhat.com>
50782 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50784 2011-09-27 Roland McGrath <roland@hack.frob.com>
50787 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
50789 2011-09-27 Andreas Schwab <schwab@redhat.com>
50791 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
50792 Reread the line before reparsing it.
50794 2011-09-26 Andreas Schwab <schwab@redhat.com>
50796 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
50798 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
50799 Maxim Kuvyrkov <maxim@codesourcery.com>
50800 Joseph Myers <joseph@codesourcery.com>
50802 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
50803 if needed for __stack_chk_guard.
50805 2011-09-19 Roland McGrath <roland@hack.frob.com>
50807 * sysdeps/posix/spawni.c (script_execute): Always define it.
50808 It will be optimized away if unused.
50809 (maybe_script_execute): New function.
50810 (__spawni): Call it.
50812 * Makerules: Don't include tls.make.
50813 (config-tls): Always set to thread.
50814 * tls.make.c: File removed.
50816 2011-09-19 Mike Frysinger <vapier@gentoo.org>
50818 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
50819 * config.make.in (CPPFLAGS-config): New substituted variable.
50821 2011-09-15 Ulrich Drepper <drepper@gmail.com>
50823 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
50826 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
50827 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
50829 2011-09-15 Roland McGrath <roland@hack.frob.com>
50831 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
50832 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
50833 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
50834 (CALL_FAIL): Likewise.
50835 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
50836 (CALL_FAIL): Macro removed.
50837 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
50839 2011-09-15 Ulrich Drepper <drepper@gmail.com>
50841 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
50842 for __FINITE_MATH_ONLY__ == 1.
50844 2011-09-15 Andreas Schwab <schwab@redhat.com>
50846 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
50847 __ieee754_sqrt instead of sqrt.
50848 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
50849 __ieee754_sqrtf instead of sqrtf.
50850 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
50851 __floorf instead of floorf.
50852 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
50853 __floorf, __truncf instead of floorf, truncf.
50855 2011-09-14 Ulrich Drepper <drepper@gmail.com>
50857 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
50859 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
50860 __extern_always_inline.
50861 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
50864 2011-09-14 Andreas Schwab <schwab@redhat.com>
50866 * elf/rtld.c (dl_main): Also relocate in dependency order when
50867 doing symbol dependency testing.
50869 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
50871 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50872 Always define `refsym'.
50874 2011-09-13 Andreas Schwab <schwab@redhat.com>
50876 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
50877 (__FD_ELT): Renamed from __FDELT.
50878 * misc/bits/select2.h (__FD_ELT): Likewise.
50879 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
50880 __FD_MASK instead of __FDELT, __FDMASK.
50881 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
50883 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
50886 * elf/Makefile (gen-ldd): Fix pattern.
50888 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
50889 (init_tls): Likewise.
50891 2011-09-12 Ulrich Drepper <drepper@gmail.com>
50893 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
50895 2011-09-12 Andreas Schwab <schwab@redhat.com>
50897 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
50898 `struct cmsghdr *' instead of `void *'.
50899 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
50902 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
50904 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
50906 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
50907 ldd_rewrite_script.
50909 2011-09-11 Ulrich Drepper <drepper@gmail.com>
50911 * configure.in: Remove --with-tls option.
50912 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
50913 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
50914 out in case it is missing.
50915 * sysdeps/ia64/elf/configure.in: Likewise.
50916 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
50917 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
50918 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
50919 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
50920 * sysdeps/sh/elf/configure.in: Likewise.
50921 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
50922 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
50923 * sysdeps/x86_64/elf/configure.in: Likewise.
50924 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
50925 * sysdeps/mach/hurd/tls.h: Likewise.
50928 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
50931 * configure.in: Fix use of AC_INIT.
50933 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
50935 2011-09-10 Ulrich Drepper <drepper@gmail.com>
50937 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
50939 * malloc/hooks.c: Likewise.
50942 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
50943 variables statically.
50944 (narenas): Initialize.
50945 (list_lock): Initialize.
50946 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
50947 initializtion of main_arena and list_lock. Small cleanups.
50948 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
50949 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
50950 Add initializers to main_arena and mp_.
50951 (malloc_state): Remove pagesize member. Change all users to use
50954 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
50955 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
50956 is always initialized.
50958 * malloc/malloc.c: Removed unused configurations and dead code.
50959 * malloc/arena.c: Likewise.
50960 * malloc/hooks.c: Likewise.
50961 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
50963 * include/tls.h: Removed. USE___THREAD must always be defined.
50964 * bits/libc-tsd.h: Don't handle !USE___THREAD.
50965 * elf/dl-libc.c: Likewise.
50966 * elf/dl-tsd.c: Likewise.
50967 * include/errno.h: Likewise.
50968 * include/netdb.h: Likewise.
50969 * include/resolv.h: Likewise.
50970 * inet/herrno-loc.c: Likewise.
50971 * inet/herrno.c: Likewise.
50972 * malloc/arena.c: Likewise.
50973 * malloc/hooks.c: Likewise.
50974 * malloc/malloc.c: Likewise.
50975 * resolv/res-state.c: Likewise.
50976 * resolv/res_libc.c: Likewise.
50977 * sysdeps/i386/dl-machine.h: Likewise.
50978 * sysdeps/ia64/dl-machine.h: Likewise.
50979 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
50980 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
50981 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
50982 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
50983 * sysdeps/sh/dl-machine.h: Likewise.
50984 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
50985 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
50986 * sysdeps/unix/i386/sysdep.S: Likewise.
50987 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
50988 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
50989 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
50990 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
50991 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
50992 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
50993 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
50994 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
50995 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50996 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
50997 * sysdeps/unix/x86_64/sysdep.S: Likewise.
50998 * sysdeps/x86_64/dl-machine.h: Likewise.
50999 * tls.make.c: Likewise.
51001 * configure.in: Remove --with-__thread option. Make tests for
51002 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
51003 tls_model attribute fail if no support is available. Remove
51005 * Makeconfig: Adjust for dropped configure option. All features are
51007 * Makerules: Likewise.
51008 * Versions.def: Likewise.
51009 * argp/argp-fmtstream.c: Likewise.
51010 * argp/argp-fmtstream.h: Likewise.
51011 * argp/argp-help.c: Likewise.
51012 * assert/assert.c: Likewise.
51013 * config.h.in: Likewise.
51014 * config.make.in: Likewise.
51015 * configure: Likewise.
51016 * configure.in: Likewise.
51017 * csu/Versions: Likewise.
51018 * csu/init.c: Likewise.
51019 * elf/tst-audit2.c: Likewise.
51020 * elf/tst-tls10.c: Likewise.
51021 * elf/tst-tls10.h: Likewise.
51022 * elf/tst-tls11.c: Likewise.
51023 * elf/tst-tls12.c: Likewise.
51024 * elf/tst-tls14.c: Likewise.
51025 * elf/tst-tlsmod11.c: Likewise.
51026 * elf/tst-tlsmod12.c: Likewise.
51027 * elf/tst-tlsmod13.c: Likewise.
51028 * elf/tst-tlsmod13a.c: Likewise.
51029 * elf/tst-tlsmod14a.c: Likewise.
51030 * elf/tst-tlsmod15b.c: Likewise.
51031 * elf/tst-tlsmod16a.c: Likewise.
51032 * elf/tst-tlsmod16b.c: Likewise.
51033 * elf/tst-tlsmod7.c: Likewise.
51034 * elf/tst-tlsmod8.c: Likewise.
51035 * elf/tst-tlsmod9.c: Likewise.
51036 * gmon/gmon.c: Likewise.
51037 * grp/fgetgrent_r.c: Likewise.
51038 * grp/putgrent.c: Likewise.
51039 * hurd/fopenport.c: Likewise.
51040 * include/libc-symbols.h: Likewise.
51041 * include/tls.h: Likewise.
51042 * intl/gettextP.h: Likewise.
51043 * intl/loadinfo.h: Likewise.
51044 * locale/global-locale.c: Likewise.
51045 * locale/localeinfo.h: Likewise.
51046 * mach/devstream.c: Likewise.
51047 * malloc/arena.c: Likewise.
51048 * malloc/set-freeres.c: Likewise.
51049 * misc/err.c: Likewise.
51050 * misc/getttyent.c: Likewise.
51051 * misc/mntent_r.c: Likewise.
51052 * posix/getopt.c: Likewise.
51053 * posix/wordexp.c: Likewise.
51054 * pwd/fgetpwent_r.c: Likewise.
51055 * resolv/Versions: Likewise.
51056 * resolv/res_hconf.c: Likewise.
51057 * shadow/fgetspent_r.c: Likewise.
51058 * shadow/putspent.c: Likewise.
51059 * stdio-common/printf_fphex.c: Likewise.
51060 * stdio-common/tmpfile.c: Likewise.
51061 * stdlib/abort.c: Likewise.
51062 * stdlib/fmtmsg.c: Likewise.
51063 * sunrpc/auth_unix.c: Likewise.
51064 * sunrpc/clnt_perr.c: Likewise.
51065 * sunrpc/clnt_tcp.c: Likewise.
51066 * sunrpc/clnt_udp.c: Likewise.
51067 * sunrpc/clnt_unix.c: Likewise.
51068 * sunrpc/openchild.c: Likewise.
51069 * sunrpc/svc_simple.c: Likewise.
51070 * sunrpc/svc_tcp.c: Likewise.
51071 * sunrpc/svc_udp.c: Likewise.
51072 * sunrpc/svc_unix.c: Likewise.
51073 * sunrpc/xdr.c: Likewise.
51074 * sunrpc/xdr_array.c: Likewise.
51075 * sunrpc/xdr_rec.c: Likewise.
51076 * sunrpc/xdr_ref.c: Likewise.
51077 * sunrpc/xdr_stdio.c: Likewise.
51079 2011-09-09 Ulrich Drepper <drepper@gmail.com>
51081 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51083 2011-07-03 Andreas Jaeger <aj@suse.de>
51085 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
51086 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
51087 regenerate with gen-libm-tests.pl.
51089 2010-05-12 Petr Baudis <pasky@suse.cz>
51092 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
51093 around j0() zero points by switching to j1().
51094 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51095 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51096 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
51097 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51099 2011-09-09 Ulrich Drepper <drepper@gmail.com>
51101 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
51103 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
51105 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51106 Patch in part by Pavel Roskin <proski@gnu.org>.
51109 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
51111 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
51112 Free memory block if necessary.
51115 * libio/genops.c (INTDEF): For string streams the _lock pointer can
51116 be NULL. Don't lock in this case.
51118 2011-09-09 Roland McGrath <roland@hack.frob.com>
51120 * elf/elf.h (ELFOSABI_GNU): New macro.
51121 (ELFOSABI_LINUX): Define to that.
51123 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
51125 * string/strncat.c (strncat): Undef the symbol in case it has been
51126 defined in bits/string.h.
51128 2011-09-09 Ulrich Drepper <drepper@gmail.com>
51130 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
51132 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
51135 2011-08-17 Andreas Jaeger <aj@suse.de>
51137 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
51139 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
51140 Ian Lance Taylor <iant@google.com>
51142 * math/libm-test.inc (lround_test): New testcase.
51143 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
51145 2011-09-08 Ulrich Drepper <drepper@gmail.com>
51147 * Makefile: Remove support for automatic cvs check-ins.
51148 * Makerules: Likewise.
51149 * config.make.in: Likewise.
51150 * configure.in: Likewise.
51151 * intl/Makefile: Likewise.
51152 * locale/Makefile: Likewise.
51153 * po/Makefile: Likewise.
51154 * posix/Makefile: Likewise.
51155 * sysdeps/gnu/Makefile: Likewise.
51156 * sysdeps/mach/hurd/Makefile: Likewise.
51157 * sysdeps/sparc/sparc32/Makefile: Likewise.
51160 * posix/Makefile (bug-regex32-ENV): Define.
51161 Patch by John Stanley <jpsinthemix@verizon.net>.
51163 * misc/Makefile (headers): Add bits/select2.h.
51164 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
51165 * misc/bits/select2.h: New file.
51166 * include/bits/select2.h: New file.
51167 * debug/Makefile (routines): Add fdelt_chk.
51168 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
51169 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
51171 * debug/fdelt_chk.c: New file.
51173 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
51174 * wcsmbs/test-wmemcmp.c: Likewise.
51175 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
51176 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
51178 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51180 * string/Makefile (strop-tests): Add memcmp.
51181 * string/test-wmemcmp.c: New file.
51182 * string/test-memcmp.c: Add wmemcmp support.
51184 2011-09-08 Roland McGrath <roland@hack.frob.com>
51187 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
51190 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
51191 garbage value in a __mach_port_mod_refs call in the cases of the
51192 task-self and thread-self ports.
51194 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
51196 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
51198 2011-09-08 Andreas Schwab <schwab@redhat.com>
51200 * elf/dl-load.c (lose): Check for non-null L.
51202 2011-09-07 Ulrich Drepper <drepper@gmail.com>
51204 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
51206 * elf/dl-libc.c (dlerror_run): Pass back error code from
51210 * elf/dl-load.c (lose): Free l_origin if it is valid.
51212 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
51214 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
51215 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
51216 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
51217 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
51218 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
51219 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
51221 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51223 * sysdeps/powerpc/fpu/e_hypot.c: New file.
51224 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
51225 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
51226 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
51227 * sysdeps/powerpc/fpu/k_cosf.c: New file.
51228 * sysdeps/powerpc/fpu/k_sinf.c: New file.
51229 * sysdeps/powerpc/fpu/s_cosf.c: New file.
51230 * sysdeps/powerpc/fpu/s_sinf.c: New file.
51231 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
51232 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
51234 2011-08-15 Alan Modra <amodra@gmail.com>
51237 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
51238 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
51239 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
51240 ppc_mcount to static-only-routines.
51241 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
51243 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
51244 __mcount_internal with usual JUMPTARGET. Remove useless nop.
51246 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
51248 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
51249 for finite and infinity parameters.
51251 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
51253 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
51254 and add nop instructions for throughput optimization.
51255 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51257 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
51259 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
51260 aligned copy for power7 with vector-scalar instructions.
51261 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
51263 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
51265 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
51268 2011-09-07 Andreas Schwab <schwab@redhat.com>
51271 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
51274 2011-09-07 Ulrich Drepper <drepper@gmail.com>
51276 * sysdeps/unix/sysv/linux/x86_64/init-first.c
51277 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
51278 syscall wrapper around clock_gettime in __vdso_clock_gettime.
51279 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
51282 2011-09-06 Ulrich Drepper <drepper@gmail.com>
51284 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
51285 Forgot to demangle the pointer.
51287 * sysdeps/i386/sysdep.h: Define atom_text_section.
51288 * sysdeps/x86_64/sysdep.h: Likewise.
51289 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
51290 section with atom_text_section.
51291 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
51292 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
51293 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
51294 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
51295 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
51297 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
51298 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
51299 already be defined. Change to take two parameters and don't assign
51300 result to variable. Adjust all users.
51301 Define INTERNAL_GETTIME if not already defined.
51302 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
51304 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
51305 HAVE_CLOCK_GETTIME_VSYSCALL.
51306 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
51308 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
51309 gettimeofday vsyscall, just use time.
51311 2011-09-06 Andreas Schwab <schwab@redhat.com>
51313 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
51316 2011-09-06 Ulrich Drepper <drepper@gmail.com>
51318 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
51320 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
51322 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
51323 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
51324 syscall if possible.
51326 2011-09-05 Ulrich Drepper <drepper@gmail.com>
51328 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
51329 e_ident. Don't pass to find_mapsXX.
51330 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
51332 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51334 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51335 strchr-sse2-no-bsf strrchr-sse2-no-bsf
51336 * sysdeps/x86_64/multiarch/strchr.S: Update.
51337 Check bit_slow_BSF bit.
51338 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
51339 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
51340 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
51342 2011-09-05 Ulrich Drepper <drepper@gmail.com>
51345 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
51347 (tryshell): Define.
51348 (__spawni): Change last parameter to be flag. Test
51349 SPAWN_XFLAGS_USE_PATH flag to use path or not.
51350 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
51351 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
51352 * posix/spawni.c: Likewise.
51353 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
51354 * posix/spawnp.c: Likewise. Change normal version to use
51355 SPAWN_XFLAGS_USE_PATH.
51356 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
51357 SPAWN_XFLAGS_TRY_SHELL.
51360 * posix/glob.h: Remove gcc 1.x support.
51363 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
51365 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51367 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51368 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
51370 * sysdeps/i386/i686/multiarch/strchr.S: New file.
51371 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
51372 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
51373 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
51374 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
51375 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
51377 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51379 * sysdeps/x86_64/wcscmp.S: New file.
51381 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
51382 wcscmp-c wcscmp-sse2
51383 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
51384 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
51385 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
51386 * wcsmbs/wcscmp.c: Allow renaming.
51388 2011-09-05 David S. Miller <davem@davemloft.net>
51390 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
51391 stack slot, rather than the struct return pointer slot.
51392 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
51393 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
51394 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
51395 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
51397 2011-09-05 Ulrich Drepper <drepper@gmail.com>
51399 * po/ja.po: Update from translation team.
51402 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
51403 kernel in 64-bit binaries.
51405 2011-09-01 David S. Miller <davem@davemloft.net>
51407 * elf/elf.h (HWCAP_SPARC_*): Move to..
51408 * sysdeps/sparc/sysdep.h: this new file and add new values.
51409 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
51410 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
51411 _DL_HWCAP_COUNT to 24.
51412 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
51414 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
51415 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
51416 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
51417 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
51418 instead of magic constants.
51419 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51421 2011-08-31 David S. Miller <davem@davemloft.net>
51423 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
51424 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
51425 Reimplement to do errno handling inline.
51426 (SYSCALL_ERROR_HANDLER): New macro.
51427 (__SYSCALL_STRING): Do not do errno handling in asm.
51428 (__CLONE_SYSCALL_STRING): Delete.
51429 (__INTERNAL_SYSCALL_STRING): Delete.
51430 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
51431 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
51432 (PSEUDO): Reimplement to do errno handling inline.
51433 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
51434 (SYSCALL_ERROR_HANDLER): New macro.
51435 (__SYSCALL_STRING): Do not do errno handling in asm.
51436 (__CLONE_SYSCALL_STRING): Delete.
51437 (__INTERNAL_SYSCALL_STRING): Delete.
51438 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
51439 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
51441 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
51442 (inline_syscall*): Add 'err' argument.
51443 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
51444 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
51445 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
51446 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
51448 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
51449 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
51451 2011-08-30 Andreas Schwab <schwab@redhat.com>
51453 * elf/rtld.c (dl_main): Relocate objects in dependency order.
51455 2011-08-29 Jiri Olsa <jolsa@redhat.com>
51457 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
51460 2011-08-24 David S. Miller <davem@davemloft.net>
51462 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
51464 2011-08-24 Andreas Schwab <schwab@redhat.com>
51466 * elf/Makefile: Add rules to build and run unload8 test.
51467 * elf/unload8.c: New file.
51468 * elf/unload8mod1.c: New file.
51469 * elf/unload8mod1x.c: New file.
51470 * elf/unload8mod2.c: New file.
51471 * elf/unload8mod3.c: New file.
51473 * elf/dl-close.c (_dl_close_worker): Reset private search list if
51476 2011-08-23 David S. Miller <davem@davemloft.net>
51478 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
51479 subtract stack bias.
51480 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
51481 %sp not %fp in calculations.
51482 (_JMPBUF_UNWINDS_ADJ): Likewise.
51484 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
51485 (aio_suspend): Call it to force an exception region around the
51486 AIO_MISC_WAIT() invocation.
51488 2011-08-23 Andreas Schwab <schwab@redhat.com>
51490 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
51493 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
51495 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
51497 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
51498 and <dl-machine.h>.
51499 (Elf64_FuncDesc): Remove.
51501 2011-08-22 David S. Miller <davem@davemloft.net>
51503 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
51504 sigaltstack check, add missing cfi directives.
51505 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
51506 missing cfi directives, and sigaltstack handling.
51508 2011-08-16 Andreas Schwab <schwab@redhat.com>
51511 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
51512 object is seen twice.
51513 * elf/dl-fini.c (_dl_sort_fini): Likewise.
51515 * elf/Makefile (distribute): Add tst-initorder2.c.
51516 (tests): Add tst-initorder2.
51517 (modules-names): Add tst-initorder2a tst-initorder2b
51518 tst-initorder2c tst-initorder2d. Add rules to build them.
51519 ($(objpfx)tst-initorder2.out): New rule.
51520 * elf/tst-initorder2.c: New file.
51521 * elf/tst-initorder2.exp: New file.
51523 2011-08-22 Andreas Schwab <schwab@redhat.com>
51525 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
51527 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
51528 dependencies back to end of function.
51530 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
51531 $(elfobjdir)/ld.so.
51533 2011-08-21 Ulrich Drepper <drepper@gmail.com>
51535 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
51536 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
51537 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
51538 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
51539 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
51540 of __vdso_gettimeofday.
51541 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
51542 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
51544 (_libc_vdso_platform_setup): Remove initialization of
51545 __vdso_gettimeofday and __vdso_time.
51547 2011-08-20 Ulrich Drepper <drepper@gmail.com>
51549 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
51550 and fgetc_unlocked.
51551 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
51554 * elf/dl-open.c (add_to_global): Report additions to the global scope
51555 for LD_DEBUG=scopes.
51556 (dl_open_worker): Also print scope of newly loaded dependencies.
51557 (_dl_show_scope): Indicate if there is no scope.
51560 * stdio-common/Makefile (tests): Add bug24.
51561 * stdio-common/bug24.c: New file.
51563 2011-08-19 Andreas Jaeger <aj@suse.de>
51566 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
51567 non-existant file when using close-on-exec mode.
51569 2011-08-20 Ulrich Drepper <drepper@gmail.com>
51571 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
51572 the very first instruction.
51574 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
51575 the CFI state in the end.
51576 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
51577 inclusion of dl-trampoline.h.
51578 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
51580 2011-08-19 Andreas Schwab <schwab@redhat.com>
51582 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
51583 expectations for long double.
51585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
51586 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
51588 2011-08-14 David S. Miller <davem@davemloft.net>
51590 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
51591 artificual limit depends upon the system page size.
51593 2011-08-17 Ulrich Drepper <drepper@gmail.com>
51595 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
51596 * resolv/Makefile: Define CFLAGS-libresolv.
51598 2011-08-17 Andreas Schwab <schwab@redhat.com>
51600 * nss/makedb.c (compute_tables): Make variables used in nested
51603 2011-08-17 Ulrich Drepper <drepper@gmail.com>
51605 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
51606 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
51607 if buffer was too small.
51609 * elf/pldd.c (main): Attach to all threads in the process.
51610 Rewrite /proc handling to use *at functions.
51612 2011-08-16 Ulrich Drepper <drepper@gmail.com>
51614 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
51615 specifies first scope to show.
51616 (dl_open_worker): Update callers. Move printing scope of new
51617 object to before the relocation.
51618 * elf/rtld.c (dl_main): Update _dl_show_scope call.
51619 * sysdeps/generic/ldsodefs.h: Update declaration.
51621 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
51622 string for the scope number.
51624 2011-08-14 Ulrich Drepper <drepper@gmail.com>
51626 * nscd/servicescache.c (cache_addserv): Make sure written is always
51629 2011-08-14 Roland McGrath <roland@hack.frob.com>
51631 * sysdeps/i386/i486/bits/atomic.h
51632 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
51633 statement expression, so as to suppress "set but not used" warning.
51634 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
51636 * string/strncat.c (STRNCAT): Use prototype definition.
51638 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
51639 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
51641 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
51642 (localedef-modules): Add localedef.
51643 (locale-modules): Add locale.
51645 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
51646 * elf/rtld.c (dl_main): Invert order of assignment in last change,
51647 to avoid a warning.
51649 2011-08-14 David S. Miller <davem@davemloft.net>
51651 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
51652 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
51654 2011-08-13 Ulrich Drepper <drepper@gmail.com>
51656 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
51657 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
51658 * elf/rtld.c (dl_main): Set l_name of vDSO.
51659 Call _dl_show_scope when DL_DEBUG_SCOPES.
51660 (process_dl_debug): Recognize scopes flag and also set it for all.
51661 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
51662 Declare _dl_show_scope.
51664 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
51665 (do_dlopen): Pass caller_dlopen to dl_open.
51666 (__libc_dlopen_mode): Initialize caller_dlopen.
51668 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
51669 of libc. Make tolower call locale-independent. Optimize a bit by
51670 using isdigit instead of isalnum.
51671 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
51673 2011-08-12 Ulrich Drepper <drepper@gmail.com>
51675 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
51676 was a dependency or dynamically loaded.
51678 2011-08-11 Ulrich Drepper <drepper@gmail.com>
51680 * intl/l10nflist.c: Allow architecture-specific pop function.
51681 * sysdeps/x86_64/l10nflist.c: New file.
51683 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
51686 2011-08-10 Andreas Schwab <schwab@redhat.com>
51688 * include/dirent.h: Add libc_hidden_proto for scandirat and
51689 scandirat64. Don't declare __scandirat64.
51690 * dirent/scandirat.c: Add libc_hidden_def.
51691 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
51692 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
51694 2011-08-10 David S. Miller <davem@davemloft.net>
51696 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
51698 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51699 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51700 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51702 2011-08-09 Ulrich Drepper <drepper@gmail.com>
51704 * Versions.def [libc]: Add GLIBC_2.15.
51705 * dirent/Makefile (routines): Add scandirat and scandirat64.
51706 * dirent/Versions [libc]: Export scandirat and scandirat64 for
51708 * dirent/dirent.h: Declare scandirat and scandirat64.
51709 * dirent/scandirat.c: New file.
51710 * dirent/scandirat64.c: New file.
51711 * sysdeps/wordsize-64/scandirat.c: New file.
51712 * sysdeps/wordsize-64/scandirat64.c: New file.
51713 * dirent/opendir.c: Define opendirat.
51714 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
51716 * dirent/scandir64.c: Adjust for scandir.c change.
51717 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
51718 __scandirat64, and __scandir_cancel_handler.
51719 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
51720 additional parameter and use openat instead of open (outside of ld.so).
51721 Add new __opendir as wrapper around __opendirat.
51722 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
51723 here without requiring old scandirat implementation.
51725 2011-08-08 Ulrich Drepper <drepper@gmail.com>
51727 * dirent/scandir.c (cancel_handler): Renamed to
51728 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
51729 defined. Adjust users.
51730 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
51731 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
51733 2011-08-04 Ulrich Drepper <drepper@gmail.com>
51735 * string/test-string.h (IMPL): Use __STRING to expand name and then
51738 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
51741 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51743 * string/Makefile: Update.
51744 (strop-tests): Append strncat.
51745 * string/test-wcscmp.c: New file.
51746 New comprehensive test for wcscmp.
51747 * string/test-strcmp.c: Update.
51748 (WIDE): New define.
51750 2011-07-22 Andreas Schwab <schwab@redhat.com>
51752 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
51755 2011-07-26 Andreas Schwab <schwab@redhat.com>
51757 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
51758 encoding to ACE if AI_IDN.
51760 2011-08-01 Jakub Jelinek <jakub@redhat.com>
51762 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
51763 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
51765 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51767 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
51768 Fix overflow bug in strncat.
51769 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
51771 * string/test-strncat.c: Update.
51772 Add new tests for checking overflow bugs.
51774 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51776 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51777 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
51778 * sysdeps/i386/i686/multiarch/strcat.S: New file.
51779 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
51780 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
51781 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
51782 * sysdeps/i386/i686/multiarch/strncat.S: New file.
51783 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
51784 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
51786 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
51787 (USE_AS_STRCAT): Define.
51788 Add strcat and strncat support.
51789 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
51791 2011-07-25 Andreas Schwab <schwab@redhat.com>
51793 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
51794 __n bigger than INT_MAX+1.
51795 (__strncmp_g): Likewise.
51797 2011-07-23 Ulrich Drepper <drepper@gmail.com>
51799 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
51800 * libio/stido.h: Likewise.
51802 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
51804 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
51807 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
51808 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51809 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51810 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
51811 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51814 * scripts/test-installation.pl: Don't expect libnss_test1 to be
51817 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
51819 (_dl_x86_64_save_sse): Likewise.
51821 2011-07-22 Ulrich Drepper <drepper@gmail.com>
51823 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
51825 (_dl_x86_64_save_sse): Likewise.
51827 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
51829 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
51831 2011-07-21 Andreas Schwab <schwab@redhat.com>
51833 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
51835 (_dl_x86_64_save_sse): Use correct AVX check.
51837 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51839 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
51840 bug in strncpy/strncat.
51841 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
51843 2011-07-21 Ulrich Drepper <drepper@gmail.com>
51845 * string/tester.c (test_strcat): Add tests for different alignments
51846 of source and destination.
51847 (test_strncat): Likewise.
51849 2011-07-20 Ulrich Drepper <drepper@gmail.com>
51852 * posix/glob.c (glob): Check passed in values before using them in
51853 expressions to avoid some overflows.
51854 (glob_in_dir): Likewise.
51857 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
51858 check for AVX enablement so that we don't crash with old kernels and
51860 * elf/tst-audit4.c: Add same checks here.
51861 * elf/tst-audit6.c: Likewise.
51863 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
51865 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
51867 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
51869 2011-07-20 Ulrich Drepper <drepper@gmail.com>
51871 * po/cs.po: Update from translation team.
51872 * po/bg.po: Likewise.
51874 2011-07-12 Marek Polacek <mpolacek@redhat.com>
51876 * misc/sys/cdefs.h: Add support for const attribute.
51877 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
51878 to gnu_dev_{major,minor,makedev} functions.
51880 2011-07-20 Marek Polacek <mpolacek@redhat.com>
51882 * intl/dcigettext.c (get_output_charset): Add missing bracket.
51884 2011-07-20 Andreas Schwab <schwab@redhat.com>
51886 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
51889 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51891 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
51892 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
51893 register in order to avoid conflicts with the soft frame pointer
51894 being held in r11 when necessary.
51895 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
51896 (INTERNAL_VSYSCALL_NCS): Likewise.
51898 2011-07-14 Marek Polacek <mpolacek@redhat.com>
51900 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
51901 * elf/dl-fini.c (_dl_fini): Adjust caller.
51902 * elf/dl-close.c (_dl_close_worker): Likewise.
51903 * sysdeps/generic/ldsodefs.h: Adjust declaration.
51905 2011-07-15 Marek Polacek <mpolacek@redhat.com>
51907 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
51908 "aux_cache->nlibs < 0".
51910 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
51911 in the reload-count case.
51913 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51915 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51916 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
51917 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
51918 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
51919 * sysdeps/x86_64/multiarch/strcat.S: New file.
51920 * sysdeps/x86_64/multiarch/strncat.S: New file.
51921 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
51922 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
51923 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
51924 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
51925 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
51926 (USE_AS_STRCAT): Define.
51927 Add strcat and strncat support.
51928 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
51929 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
51930 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
51931 * string/strncat.c: Update.
51932 (USE_AS_STRNCAT): Define.
51933 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51934 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
51936 * sysdeps/x86_64/multiarch/init-arch.h
51937 (bit_Prefer_PMINUB_for_stringop): New.
51938 (index_Prefer_PMINUB_for_stringop): Likewise.
51939 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
51940 bit_Prefer_PMINUB_for_stringop.
51942 2011-07-19 Ulrich Drepper <drepper@gmail.com>
51944 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
51946 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
51947 of casting of buffer.
51948 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
51949 buffer32 and buffer64.
51950 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
51951 writes instead of casting of buffer.
51952 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
51954 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
51957 2011-07-19 Andreas Schwab <schwab@redhat.com>
51959 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
51961 2011-07-19 Ulrich Drepper <drepper@gmail.com>
51963 * nscd/nscd.c (termination_handler): Don't do anything for a database
51964 if it has not yet been initialized.
51966 2011-07-18 Ulrich Drepper <drepper@gmail.com>
51968 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
51970 2011-07-15 Marek Polacek <mpolacek@redhat.com>
51972 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
51974 2011-07-18 Ulrich Drepper <drepper@gmail.com>
51976 * po/nl.po: Update from translation team.
51977 * po/sv.po: Likewise.
51979 2011-07-16 Roland McGrath <roland@hack.frob.com>
51981 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
51982 now disallowed by GCC.
51984 * configure.in (use-default-link): Default to yes if a test -shared
51985 link meets our qualifications.
51986 * configure: Regenerated.
51988 * config.make.in (output-format): New variable.
51989 * configure.in: Check for ld --print-output-format support.
51990 * configure: Regenerated.
51991 * Makerules ($(common-objpfx)format.lds)
51992 [$(output-format) != unknown]: Just use $(output-format),
51993 instead of the linker-script munging.
51995 2011-07-14 Roland McGrath <roland@hack.frob.com>
51997 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
51998 of $(common-objpfx)shlib.lds.
51999 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
52001 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
52002 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
52004 * configure.in (-z relro check): Adjust test code to add a large
52005 writable data section after it.
52006 * configure: Regenerated.
52008 2011-07-11 Roland McGrath <roland@hack.frob.com>
52010 * configure.in (-z relro check): Fix test code to make the variable
52012 * configure: Regenerated.
52014 2011-07-11 Ulrich Drepper <drepper@gmail.com>
52016 * nscd/nscd.h (struct traced_file): Define.
52017 (struct database_dyn): Remove inotify_descr, reset_res, and filename
52018 elements. Add traced_files.
52019 (inotify_fd): Declare.
52020 (register_traced_file): Declare.
52021 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
52022 (inotify_fd): Export.
52023 (resolv_conf_descr): Remove.
52024 (nscd_init): Move inotify descriptor creation to main.
52025 Don't register files for notification here.
52026 (register_traced_file): New function.
52027 (invalidate_cache): Don't use reset_res to determine whether to call
52028 res_init, go through the list of registered files.
52029 (main_loop_poll): The inotify descriptors are now stored in the
52030 structures for the traced files.
52031 (main_loop_epoll): Likewise
52032 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
52033 to __nss_disable_nscd.
52034 * nscd/cache.c (prune_cache): There is no single inotify descriptor
52035 for a database anymore. Check the records for all the registered
52037 * nss/Makefile (libnss_files-routines): Add files-init.
52038 (libnss_db-routines): Add db-init.
52039 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
52040 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
52041 * nss/nss_db/db-init.c: New file.
52042 * nss/nss_files/files-init.c: New file.
52043 * nss/nsswitch.c (nss_load_library): New function. Broken out of
52044 __nss_lookup_function.
52045 (__nss_lookup_function): Call nss_load_library.
52046 (nss_load_all_libraries): New function.
52047 (__nss_disable_nscd): Take parameter with callback function for files
52048 to register. Set is_nscd. Load all the DSOs for the NSS modules
52049 used for the cached services.
52050 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
52051 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
52052 options for features to all the files in nscd.
52054 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
52056 2011-07-10 Roland McGrath <roland@hack.frob.com>
52058 * csu/elf-init.c (__libc_csu_init): Comment typo.
52060 2011-07-09 Ulrich Drepper <drepper@gmail.com>
52062 * po/pl.po: Update from translation team.
52063 * po/ja.po: Likewise.
52064 * po/ru.po: Likewise.
52065 * po/ko.po: Likewise.
52066 * po/fr.po: Likewise.
52068 2011-07-09 Roland McGrath <roland@hack.frob.com>
52070 * configure.in (.ctors/.dtors header and trailer check):
52071 Use an empirical test on a built program.
52072 * configure: Regenerated.
52074 * configure.in (-z relro check): Use an empirical test on a built DSO.
52075 Detect, but do not require, on ia64.
52076 * configure: Regenerated.
52078 * configure.in (READELF): Find it with AC_CHECK_TOOL.
52079 Update tests that use readelf to use $READELF instead.
52080 * configure: Regenerated.
52082 2011-07-08 Ulrich Drepper <drepper@gmail.com>
52084 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
52085 if the result is not used.
52087 2011-07-05 Andreas Jaeger <aj@suse.de>
52090 * stdlib/tst-strtod.c: Add testcase.
52092 2011-07-07 Ulrich Drepper <drepper@gmail.com>
52094 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
52095 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
52096 The latter has a higher limit. Take additional parameter to pass to
52098 (__pathconf): Pass file to __statfs_link_max.
52099 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
52101 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
52105 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
52106 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52108 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
52109 (__statfs_filesize_max): Likewise.
52110 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
52112 2011-07-05 Andreas Jaeger <aj@suse.de>
52114 * resolv/res_comp.c (dn_skipname): Remove unused variable.
52116 2011-07-06 Marek Polacek <mpolacek@redhat.com>
52118 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
52120 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
52123 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
52125 * Makefile (strop-tests): Add strncat.
52126 * string/test-strncat.c: New file.
52128 2011-06-30 Marek Polacek <mpolacek@redhat.com>
52130 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
52132 2011-06-21 Andreas Jaeger <aj@suse.de>
52134 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
52135 Copy rule from iconvdata/Makefile.
52137 2011-07-06 Ulrich Drepper <drepper@gmail.com>
52140 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
52141 but no long options are defined, just return 'W'.
52143 2011-06-22 Marek Polacek <mpolacek@redhat.com>
52146 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
52148 2011-07-06 Ulrich Drepper <drepper@gmail.com>
52150 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
52152 (innetgr): Likewise.
52154 2011-07-05 Roland McGrath <roland@hack.frob.com>
52156 * config.make.in (install_root): Default to $(DESTDIR).
52158 2011-07-05 Ulrich Drepper <drepper@gmail.com>
52160 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
52162 2011-07-02 Roland McGrath <roland@hack.frob.com>
52164 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
52166 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
52167 containing directory rather than embedding absolute directory names.
52169 * scripts/check-local-headers.sh: Rewritten using awk.
52170 Match by word, not by line. Print error messages for matches.
52171 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
52173 * Makerules [shlib-lds-flags empty]:
52174 ($(common-objpfx)libc_pic.opts): New target.
52175 ($(common-objpfx)libc_pic.os.clean): New target.
52176 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
52178 * config.make.in (OBJCOPY): New variable.
52179 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
52180 * configure: Regenerated.
52182 * config.make.in (use-default-link): New variable.
52183 * configure.in (use_default_link): Grok --with-default-link to set it.
52184 * configure: Regenerated.
52185 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
52186 (shlib-lds, shlib-lds-flags): Define to empty.
52188 * Makerules (shlib-lds): New variable.
52189 (shlib-lds-flags): New variable.
52190 (build-shlib, build-moduile, build-module-asneeded): Use it.
52191 ($(common-objpfx)libc.so): Use $(shlib-lds).
52192 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
52193 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
52195 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
52196 DT_FLAGS/DT_FLAGS_1 with zero flags.
52198 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
52199 linker script munging.
52201 2011-07-02 Ulrich Drepper <drepper@gmail.com>
52203 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
52205 * crypt/sha512.c (sha512_process_block): Perform total addition using
52206 128-bit if possible.
52207 (__sha512_finish_ctx): Likewise.
52208 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
52210 * crypt/sha256.c (SWAP64): Define.
52211 (sha256_process_block): Perform total addition using 64-bit if
52213 (__sha256_finish_ctx): Likewise.
52215 2011-07-01 Ulrich Drepper <drepper@gmail.com>
52217 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
52218 * nscd/initgrcache.c (addinitgroupsX): Likewise.
52219 * nscd/hstcache.c (cache_addhst): Likewise.
52220 * nscd/grpcache.c (cache_addgr): Likewise.
52221 * nscd/aicache.c (addhstaiX): Likewise
52222 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
52224 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
52226 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
52227 * nscd/initgrcache.c (addinitgroupsX): Likewise.
52228 * nscd/hstcache.c (cache_addhst): Likewise.
52229 * nscd/grpcache.c (cache_addgr): Likewise.
52230 * nscd/aicache.c (addhstaiX): Likewise
52232 2011-07-01 Andreas Schwab <schwab@redhat.com>
52234 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
52235 domain only when needed.
52237 2011-06-30 Andreas Schwab <schwab@redhat.com>
52239 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
52240 is always restored.
52242 2011-06-29 Ulrich Drepper <drepper@gmail.com>
52244 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
52245 are re-adding the entry.
52246 * nscd/servicescache.c (cache_addserv): Likewise.
52248 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
52250 * sysdeps/generic/dl-irel.h: fix protection against multiple
52252 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
52254 2011-06-28 Ulrich Drepper <drepper@gmail.com>
52257 * malloc/memusage.sh: Fix quoting in message.
52258 * debug/xtrace.sh: Likewise.
52260 * configure.in: Remove support for --experimental-malloc option, make
52262 * config.make.in: Likewise.
52263 * malloc/Makefile: Likewise.
52265 2011-06-27 Andreas Schwab <schwab@redhat.com>
52267 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
52268 two-byte characters.
52270 2011-06-27 Roland McGrath <roland@hack.frob.com>
52272 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
52273 AC_CACHE_CHECK invocation.
52274 * configure: Regenerated.
52276 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
52278 2011-06-27 Ulrich Drepper <drepper@gmail.com>
52281 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
52282 bit from old_res_options.
52284 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
52286 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
52287 value type for setfct.
52289 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
52291 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
52292 __gettimeofday instead of gettimeofday.
52294 2011-06-26 Ulrich Drepper <drepper@gmail.com>
52296 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
52298 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
52300 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
52302 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
52305 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
52307 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52308 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
52309 strcpy-sse2-unaligned strncpy-sse2-unaligned
52310 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
52311 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
52312 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
52313 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
52314 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
52315 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
52316 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
52317 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
52318 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
52319 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
52320 (STRCPY): Support SSE2 and SSSE3 versions.
52322 2011-06-24 Ulrich Drepper <drepper@gmail.com>
52325 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
52326 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
52327 kernels which artificially limit size of requests.
52329 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
52331 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52332 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
52333 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
52334 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
52335 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
52336 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
52337 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
52338 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
52339 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
52340 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
52341 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
52342 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
52343 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
52344 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
52345 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
52346 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52347 Enable unaligned load optimization for Intel Core i3, i5 and i7
52349 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
52351 (index_Fast_Unaligned_Load): Define.
52352 (HAS_FAST_UNALIGNED_LOAD): Define.
52354 2011-06-23 Marek Polacek <mpolacek@redhat.com>
52356 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
52358 2011-06-22 Ulrich Drepper <drepper@gmail.com>
52361 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
52362 until it is clear that the information is realy needed.
52363 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
52365 2011-06-22 Andreas Schwab <schwab@redhat.com>
52367 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
52369 2011-06-22 Ulrich Drepper <drepper@gmail.com>
52371 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
52372 /sys/devices/system/cpu/online if it is usable.
52374 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
52375 reading the information from the /proc filesystem to once a second.
52377 2011-06-21 Andreas Jaeger <aj@suse.de>
52379 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
52380 NULL after inclusion of kernel headers.
52382 2011-06-21 Ulrich Drepper <drepper@gmail.com>
52384 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
52385 calls to internal_setent.
52388 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
52389 addresses using gethostbyname4_r ignore IPv4 addresses.
52391 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
52392 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
52394 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
52396 2011-06-20 David S. Miller <davem@davemloft.net>
52398 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
52400 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
52402 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
52403 (elf_irel): Use it.
52404 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
52405 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
52406 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
52407 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
52408 * sysdeps/x86_64/dl-irel.h: Likewise.
52410 * elf/dl-runtime.c: Use elf_ifunc_invoke.
52411 * elf/dl-sym.c: Likewise.
52413 2011-06-15 Ulrich Drepper <drepper@gmail.com>
52415 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
52416 need to dereference resplen2.
52418 2011-06-14 Andreas Schwab <schwab@redhat.com>
52420 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
52422 2011-06-15 Ulrich Drepper <drepper@gmail.com>
52424 * Makeconfig: Define vardbdir and inst_vardbdir.
52425 * nss/Makefile: Add rules to install db-Makefile.
52427 * nss/nss_db/db-XXX.c: Cleanup.
52429 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
52430 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
52432 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
52433 * nss/makedb.c: Implement -g option to specify that value strings
52434 are generated and should not be added to table iterated over for
52436 * nss/nss_db/db-initgroups.c: New file.
52438 * nss/getent.c: Add support for initgroups lookups through getgrouplist
52441 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
52442 (internal_getgrouplist): Adjust to name change.
52443 Update use_initgroups_entry if this is not the first call.
52444 * nss/databases.def: Add initgroups entry.
52446 * nss/makedb.c (compute_tables): Check result of multiple hash table
52447 sizes to minimize maximum chain length.
52449 2011-06-14 Ulrich Drepper <drepper@gmail.com>
52451 * Versions.def: Add entry for libnss_db.
52452 * shlib-versions: Likewise.
52453 * nss/Makefile: Add rules to build libnss_db.
52454 * nss/Versions: Add libnss_db information. Organize libnss_files
52456 * nss/db-Makefile: Add gshadow support. Change rules for the new
52457 makedb progra. Some minor improvements to generate smaller files.
52458 * nss/nss_db/nss_db.h: Move NSS database header data structures to
52460 * nss/makedb.c: ...here.
52461 Improve database format to be smaller and require less memory at
52463 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
52465 * nss/nss_db/db-netgrp.c: Likewise.
52466 * nss/nss_db/db-open.c: Likewise.
52467 * nss/nss_files/flies-XXX.x: Adjust comments.
52468 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
52469 * nss/nss_files/files-grp.c: Likewise.
52470 * nss/nss_files/files-hosts.c: Likewise.
52471 * nss/nss_files/files-network.c: Likewise.
52472 * nss/nss_files/files-proto.c: Likewise.
52473 * nss/nss_files/files-pwd.c: Likewise.
52474 * nss/nss_files/files-rpc.c: Likewise.
52475 * nss/nss_files/files-service.c: Likewise.
52476 * nss/nss_files/files-sgrp.c: Likewise.
52477 * nss/nss_files/files-spwd.c: Likewise.
52478 * nss/nss_db/db-alias.c: Removed.
52479 * nss/nss_db/dummy-db.h: Removed.
52481 2011-06-02 Ulrich Drepper <drepper@gmail.com>
52483 * nss/makedb.c: Rewritten to not use database library.
52484 * nss/Makefile: Update to build new makedb program.
52486 2011-06-14 Andreas Jaeger <aj@suse.de>
52488 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
52489 memset declaration.
52491 2011-06-10 Andreas Schwab <schwab@redhat.com>
52493 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
52496 2011-06-10 Roland McGrath <roland@hack.frob.com>
52498 * Makerules (shlib.lds): Fail if the linker script comes out empty.
52499 * elf/Makefile ($(objpfx)ld.so): Likewise.
52501 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
52502 Don't list ld.so twice in dependencies.
52504 * posix/bug-regex31.c: Include <stdlib.h>.
52506 * nscd/hstcache.c (cache_addhst): Remove unused variable.
52508 * nis/nss_compat/compat-spwd.c
52509 (getspent_next_nss_netgr): Remove unused variable.
52510 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
52512 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
52513 nonmembers" output to use the right array.
52515 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
52517 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
52519 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
52520 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
52521 * catgets/gencat.c (read_input_file): Likewise.
52522 * locale/programs/locarchive.c (enlarge_archive): Likewise.
52524 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
52525 variable definition inside #if's controlling its use.
52527 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
52529 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
52531 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
52533 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
52536 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
52538 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
52539 * configure: Regenerated.
52541 * Makerules: Revert last change.
52542 * elf/Makefile: Likewise.
52544 2011-06-09 Roland McGrath <roland@hack.frob.com>
52546 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
52547 * elf/Makefile ($(objpfx)librtld.os): Likewise.
52548 (reloc-link): Likewise.
52550 2011-06-09 Ulrich Drepper <drepper@gmail.com>
52552 * elf/Makefile: Add rules to build pldd.
52553 * elf/pldd.c: New file.
52554 * elf/pldd-xx.c: New file.
52556 2011-06-07 Ulrich Drepper <drepper@gmail.com>
52558 * version.h: Update for 2.15 development version.
52560 2011-06-07 David S. Miller <davem@davemloft.net>
52562 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
52564 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
52565 elf_machine_lazy_rel): Likewise.
52566 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
52567 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
52568 elf_machine_lazy_rel): Likewise.
52569 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
52570 dl_hwcap via passed in argument.
52571 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
52574 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52576 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
52578 2011-06-06 Roland McGrath <roland@hack.frob.com>
52581 * manual/fdl-1.1.texi: New file, verbatim from:
52582 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
52583 * manual/lgpl-2.1.texi: New file, verbatim from:
52584 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
52585 * manual/Makefile (licenses): New variable, list those new file names.
52587 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
52589 * manual/fdl.texi: File removed.
52590 * manual/lesser.texi: File removed.
52591 * manual/libc.texinfo (Copying, Documentation License):
52592 Use new @include file names, put @appendix directive before @include.
52594 2011-06-04 Jakub Jelinek <jakub@redhat.com>
52597 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
52598 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
52599 (mq_open): Add __NTH.
52601 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
52603 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52604 Assume Intel Core i3/i5/i7 processor if AVX is available.
52606 2011-05-31 Ulrich Drepper <drepper@gmail.com>
52608 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
52611 2011-05-31 Andreas Schwab <schwab@redhat.com>
52613 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
52614 memory. Use alloca_account. Fix memory leak when retrying.
52616 2011-05-31 Ulrich Drepper <drepper@gmail.com>
52618 * version.h (RELEASE): Bump for 2.14 release.
52619 * include/features.h (__GLIBC_MINOR__): Bump to 14.
52621 * config.make.in (RANLIB): Remove entry.
52623 2011-05-30 Ulrich Drepper <drepper@gmail.com>
52625 * po/Makefile (po-sed-cmd): Add ksh to extensions.
52626 (libc.pot): Work around missing support for .ksh extension in xgettext.
52629 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
52630 if both request failed.
52631 (send_dg): In case of server errors clear resplen or *resplen2.
52634 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
52635 when there are multiple maps.
52636 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
52637 (_dl_fini): Remove test here.
52639 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
52641 2011-05-29 Ulrich Drepper <drepper@gmail.com>
52644 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
52645 bit from old_res_options.
52646 (gaih_inet): Likewise.
52649 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
52652 * resolv/res_init.c (res_setoptions): Make the code more compact.
52655 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
52659 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
52661 * malloc/malloc.h: Mark malloc hook variables as deprecated.
52664 * malloc/malloc.h: Declare malloc hook variables as volatile.
52666 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
52670 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
52671 raise in the comment.
52672 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
52673 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
52674 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
52676 2011-05-28 Ulrich Drepper <drepper@gmail.com>
52679 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
52680 grow the buffers more if it already has to be sufficient.
52681 (build_wcs_upper_buffer): Likewise.
52682 * posix/regexec.c (check_matching): Likewise.
52683 (clean_state_log_if_needed): Likewise.
52684 (extend_buffers): Don't enlarge buffers beyond size of the input
52686 Patches mostly by Emil Wojak <emil@wojak.eu>.
52687 * posix/bug-regex32.c: New file.
52688 * posix/Makefile (tests): Add bug-regex32.
52690 * locale/findlocale.c (_nl_find_locale): Return right away if
52691 _nl_explode_name failed.
52692 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
52694 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
52696 * debug/xtrace.sh: Unify messages.
52697 * malloc/memusage.sh: Likewise.
52700 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
52701 time symbol from vDSO. Substitute with vsyscall if not available.
52702 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
52705 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
52706 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
52707 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
52708 Add sendmmsg and internal_sendmmsg.
52709 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
52710 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
52711 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
52713 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
52714 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
52715 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
52717 2011-05-27 Ulrich Drepper <drepper@gmail.com>
52720 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
52721 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
52723 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
52727 * iconvdata/Makefile (tests): Add bug-iconv9.
52728 * iconvdata/bug-iconv9.c: New file.
52730 2011-05-27 Andreas Schwab <schwab@redhat.com>
52733 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
52735 2011-05-25 Jakub Jelinek <jakub@redhat.com>
52737 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
52738 (struct user_regs_struct): Change intcs field back to cs.
52740 2011-05-25 Ulrich Drepper <drepper@gmail.com>
52742 * po/ja.po: Update from translation team.
52744 2011-05-23 Ulrich Drepper <drepper@gmail.com>
52747 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
52748 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
52750 2011-05-20 Andreas Schwab <schwab@redhat.com>
52752 * stdlib/longlong.h: Update from GCC.
52754 2011-05-23 Andreas Schwab <schwab@redhat.com>
52756 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
52758 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
52759 Add parameter name.
52760 (__sysconf): Pass it down.
52762 2011-05-22 Ulrich Drepper <drepper@gmail.com>
52765 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
52767 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
52768 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
52769 add in in __libc_use_alloca calls. Adjust callers.
52770 (glob): Use malloc in some situations.
52772 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
52773 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
52776 2011-05-21 Ulrich Drepper <drepper@gmail.com>
52778 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
52779 and CLOCK_BOOTTIME_ALARM.
52782 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
52785 * string/_strerror.c (__strerror_r): Print negative errors as signed
52789 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
52790 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
52791 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
52793 * configure.in: Fix typo in redirection and correct removal of test
52794 files in two cases.
52797 * locale/setlocale.c (new_composite_name): Fix test to check for
52798 identical name of all categories.
52801 * libio/filedoalloc.c (local_isatty): New function.
52802 (_IO_file_doallocate): Use local_isatty.
52803 * stdio-common/perror.c (perror): In case a new stream is used
52804 forward the stream error.
52805 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
52808 2011-05-20 Ulrich Drepper <drepper@gmail.com>
52811 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
52813 * include/alloca.h (extend_alloca_account): Define.
52816 * posix/regex.h: Fix comments with documentation of user-accessible
52817 fields after compilation and describe correct free'ing of pattern
52818 after re_compile_pattern.
52819 Patch by Reuben Thomas <rrt@sc3d.org>.
52821 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
52823 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
52824 and -mno-altivec to prevent the compiler from using Altivec and/or
52825 VSX instructions when the corresponding registers are not available.
52827 2011-05-19 Andreas Schwab <schwab@redhat.com>
52829 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
52831 2011-05-19 Ulrich Drepper <drepper@gmail.com>
52833 * libio/freopen.c (freopen): Use __dup2, not dup2.
52834 * libio/freopen64.c (freopen64): Likewise.
52836 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
52839 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
52840 * math/Makefile (tests): Add test-powl.
52841 (CFLAGS-test-powl.c): Define.
52842 * math/test-powl.c: New file.
52844 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
52846 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
52848 2011-05-17 Ulrich Drepper <drepper@gmail.com>
52851 * iconvdata/gb18030.c: Update to GB18020-2005.
52853 2011-05-16 Ulrich Drepper <drepper@gmail.com>
52855 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
52856 RE_SYNTAX_POSIX_AWK): Update to match recent development.
52857 Patch by Aharon Robbins <arnold@skeeve.com>.
52860 * stdlib/putenv.c (putenv): Don't always create copy of the variable
52864 * misc/pselect.c (__pselect): Handle timeout value errors hidden
52865 through underflows.
52868 * misc/error.c (error_at_line): Ensure file_name and old_file_name
52869 point to strings before performing equality test for error_one_per_line
52873 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
52876 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
52877 (struct user_fpregs_struct): Avoid __uint*_t types.
52880 * malloc/mtrace.c (tr_where): Add additional parameter to point to
52881 symbol info. Use it instead of calling _dl_addr locally.
52882 (lock_and_info): New function.
52883 (tr_freehook): Call lock_and_info and pass symbol info as additional
52884 parameter to tr_where.
52885 (tr_mallochook): Likewise.
52886 (tr_reallochook): Likewise.
52887 (tr_memalignhook): Likewise.
52889 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
52890 used and couldn't be at all thread-safe.
52892 2011-05-15 Ulrich Drepper <drepper@gmail.com>
52894 * libio/freopen.c (freopen): Don't close old file descriptor
52895 before the new one is opened. Instead dup the new file descriptor
52896 to the old one after the new stream is created.
52897 * libio/freopen64.c (freopen64): Likewise.
52898 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
52899 * libio/fileops.c (_IO_new_file_close_it): Handle new
52900 _IO_FLAGS2_NOCLOSE flag.
52901 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
52902 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
52903 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
52904 _IO_FLAGS2_NOCLOSE flag.
52905 * include/unistd.h: Add hidden_proto for dup3.
52906 Define __have_dup3.
52907 * io/dup3.c: Define hidden symbol.
52908 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
52911 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
52912 when an incomplete long option is used.
52913 * posix/tst-getopt_long1.c: New file.
52914 * posix/Makefile (tests): Add tst-getopt_long1.
52917 * scripts/config.guess: Update from autoconf-2.68.
52918 * scripts/config.sub: Likewise.
52921 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
52923 (has_cpuclock): ...this. New function.
52924 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
52925 macro here based on has_cpuclock code.
52928 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52929 First byte (not low byte) is now always NUL.
52930 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
52932 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52933 Use non-cancelable interfaces.
52936 * locale/iso-639.def: Add entry for Sorani.
52939 * include/stdlib.h: Move include protection to the right place.
52940 Define abort_msg_s. Declare __abort_msg with it.
52941 * stdlib/abort.c (__abort_msg): Adjust type.
52942 * assert/assert.c (__assert_fail_base): New function. Majority
52943 of code from __assert_fail. Allocate memory for __abort_msg with
52945 (__assert_fail): Now call __assert_fail_base.
52946 * assert/assert-perr.c: Remove bulk of implementation. Use
52947 __assert_fail_base.
52948 * include/assert.hL Declare __assert_fail_base.
52949 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
52951 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
52953 2011-05-14 Ulrich Drepper <drepper@gmail.com>
52957 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
52958 until all modules are registered in the DTV.
52959 * elf/Makefile: Add rules to build and run tst-tls19.
52960 * elf/tst-tls19.c: New file.
52961 * elf/tst-tls19mod1.c: New file.
52962 * elf/tst-tls19mod2.c: New file.
52963 * elf/tst-tls19mod3.c: New file.
52964 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
52967 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
52971 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
52972 two-byte sequence errors.
52973 * iconvdata/Makefile (tests): Add bug-iconv8.
52974 * iconvdata/bug-iconv8.c: New file.
52977 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
52980 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
52983 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
52984 (dummy_getcfa): New function.
52985 (init): Get _Unwind_GetCFA address, use dummy if not found.
52986 (backtrace_helper): In recursion check, also check whether CFA changes.
52987 (__backtrace): Completely initialize arg.
52989 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
52990 storing incomplete byte sequence in state object. Avoid testing for
52991 guaranteed too small input if we know there is enough data available.
52993 2011-05-11 Andreas Schwab <schwab@redhat.com>
52995 * Makeconfig (+link-pie): Indent.
52996 * Rules (binaries-pie): Define if $(have-fpie) and
52998 (binaries-shared): Also filter out $(binaries-pie).
52999 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
53000 * nscd/Makefile (others-pie): Add nscd.
53001 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
53002 ($(objpfx)nscd): Remove command override.
53003 * login/Makefile (others-pie): Add pt_chown.
53004 ($(objpfx)pt_chown): Remove command override.
53005 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
53006 remove command overrides.
53008 2011-05-13 Ulrich Drepper <drepper@gmail.com>
53010 * libio/tst_putwc.c: Fix error messages.
53013 * libio/fileops.c (_IO_new_file_close_it): Always flush when
53014 currently writing and seek to current position when not.
53015 * libio/Makefile (tests): Add bug-fclose1.
53016 * libio/bug-fclose1.c: New file.
53018 2011-05-12 Ulrich Drepper <drepper@gmail.com>
53021 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
53022 don't set DF_1_NODELETE here.
53023 (do_lookup_x): When entering new entry test for copy relocation
53024 and if necessary set DF_1_NODELETE flag.
53025 * elf/tst-unique4.cc: New file.
53026 * elf/tst-unique4.h: New file.
53027 * elf/tst-unique4lib.cc: New file.
53028 * elf/Makefile: Add rules to build and run tst-unique4.
53029 Patch by Piotr Bury <pbury@goahead.com>.
53031 2011-05-11 Ulrich Drepper <drepper@gmail.com>
53034 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
53037 * misc/mntent_r.c (addmntent): Flush the stream after the output
53040 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
53041 (is_trusted_path_normalize): Skip initial colon. Append slash
53042 to empty buffer. Duplicate is_trusted_path code but allow
53043 constructed patch to be prefix.
53044 (is_dst): Allow $ORIGIN followed by /.
53045 (_dl_dst_substitute): Correct clearing of check_for_trusted.
53046 Correct testing of result of is_trusted_path_normalize
53047 (decompose_rpath): Fix warning.
53049 2011-05-10 Ulrich Drepper <drepper@gmail.com>
53052 * grp/initgroups.c (internal_getgrouplist): When we found the service
53053 list through the initgroups entry in nsswitch.conf do not always
53054 continue on a successful lookup. Don't always use the
53055 __nss_group_database value if it is set.
53056 * nss/nsswitch.conf (initgroups): Change action for successful db
53057 lookup to continue for compatibility.
53059 2011-05-09 Ulrich Drepper <drepper@gmail.com>
53062 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
53064 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
53066 * iconvdata/tst-tables.sh: Likewise.
53067 * iconvdata/cp770.c: New file.
53068 * iconvdata/cp771.c: New file.
53069 * iconvdata/cp772.c: New file.
53070 * iconvdata/cp773.c: New file.
53071 * iconvdata/cp774.c: New file.
53072 * iconvdata/testdata/CP770: New file.
53073 * iconvdata/testdata/CP770..UTF8: New file.
53074 * iconvdata/testdata/CP771: New file.
53075 * iconvdata/testdata/CP771..UTF8: New file.
53076 * iconvdata/testdata/CP772: New file.
53077 * iconvdata/testdata/CP772..UTF8: New file.
53078 * iconvdata/testdata/CP773: New file.
53079 * iconvdata/testdata/CP773..UTF8: New file.
53080 * iconvdata/testdata/CP774: New file.
53081 * iconvdata/testdata/CP774..UTF8: New file.
53083 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
53085 * iconvdata/gen-8bit-gap.sh: Likewise.
53086 * iconvdata/gen-8bit.sh: Likewise.
53088 * locale/iso-639.def: Add ary entry.
53091 * locale/C-translit.h.in: Add U20A1 transliteration.
53094 * locale/iso-639.def: Add wae entry.
53095 Patch by Kevin Bortis <bortis@translate-wae.ch>.
53098 * locale/programs/localedef.c (construct_output_path): Use ssize_t
53102 * locale/C-translit.h.in: Add entry for U20B9.
53103 Patch by pravin.d.s@gmail.com.
53105 2011-05-08 Ulrich Drepper <drepper@gmail.com>
53108 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
53109 ENAMETOOLONG use generic getcwd.
53110 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
53111 in rtld. Use *stat64.
53112 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
53113 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
53114 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
53115 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
53116 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
53117 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
53118 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
53119 __fstatat64 macros.
53120 * include/dirent.h: Add libc_hidden_proto for rewinddir.
53121 * dirent/rewinddir.c: Add libc_hidden_def.
53122 * sysdeps/mach/hurd/rewinddir.c: Likewise.
53123 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
53125 * include/dirent.h (__alloc_dir): Add flags parameter.
53126 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
53127 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
53129 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
53130 from fdopendir if O_CLOEXEC is already set.
53132 2011-03-15 Alan Modra <amodra@gmail.com>
53134 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
53135 l_tls_firstbyte_offset non-zero. Save padding offset in
53136 l_tls_firstbyte_offset for later use.
53137 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
53138 freeing static tls block.
53140 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
53142 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
53143 where #ifdef was intended. The intent is to prevent ARG_MAX from
53144 being defined by the kernel headers.
53146 2011-05-07 Ulrich Drepper <drepper@gmail.com>
53149 * resolv/resolv.h: Define RES_NOTLDQUERY.
53150 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
53151 no-tld-query and set RES_NOTLDQUERY.
53152 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
53153 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
53154 modern BIND to search name as TLD unless forbidden.
53156 2011-05-07 Petr Baudis <pasky@suse.cz>
53157 Ulrich Drepper <drepper@gmail.com>
53160 * elf/dl-load.c (fillin_rpath): Move trusted path check...
53161 (is_trusted_path): ...to here.
53162 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
53163 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
53164 using is_trusted_path_normalize() in setuid scripts.
53166 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
53168 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
53169 __BEGIN/__END_DECLS.
53171 2011-05-06 Ulrich Drepper <drepper@gmail.com>
53173 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
53174 NSS_STATUS_NOTFOUND if no record was found.
53176 2011-05-05 Andreas Schwab <schwab@redhat.com>
53178 * sunrpc/Makefile (headers): Add rpc/netdb.h.
53179 (headers-not-in-tirpc): Remove rpc/netdb.h
53180 * resolv/netdb.h: Revert last change.
53182 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
53184 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
53185 circular dependency between libgcc.a and libc.a.
53187 2011-05-05 Andreas Schwab <schwab@redhat.com>
53189 * resolv/netdb.h: Don't include <rpc/netdb.h>.
53190 * nis/Makefile: Don't install rpcsvc/*.
53191 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
53192 instead of <rpc/types.h>.
53193 (MAXHOSTNAMELEN): Define.
53195 2011-05-03 Andreas Schwab <schwab@redhat.com>
53197 * elf/ldconfig.c (add_dir): Don't crash on empty path.
53199 2011-04-28 Maciej Babinski <mbabinski@google.com>
53202 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
53203 gethostbyname4_r when IPv6 results are possible.
53205 2011-05-02 Ulrich Drepper <drepper@gmail.com>
53208 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
53209 _PC_PIPE_BUF handling.
53211 2011-04-30 Bruno Haible <bruno@clisp.org>
53214 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
53215 * resolv/netdb.h (getnameinfo): Change type of flags parameter
53217 * inet/getnameinfo.c (getnameinfo): Likewise.
53219 2011-04-29 Ulrich Drepper <drepper@gmail.com>
53221 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
53222 to groups setting in database lookup.
53223 * nss/nsswitch.conf: Add initgroups entry.
53225 2011-04-22 Ulrich Drepper <drepper@gmail.com>
53228 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
53230 Patch by Eric Blake <eblake@redhat.com>.
53232 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
53234 * sunrpc/Makefile (need-export-routines): Add svc_run.
53235 (routines): Remove svc_run.
53236 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
53237 * sunrpc/clnt_perr.c (clnt_perrno): Export.
53238 * sunrpc/svc_run.c (svc_run): Likewise.
53239 * sunrpc/svc_udp.c (svcudp_create): Likewise.
53241 2011-04-21 Ulrich Drepper <drepper@gmail.com>
53243 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
53244 problem in reallocation in last patch.
53246 2011-04-20 Ulrich Drepper <drepper@gmail.com>
53248 * sunrpc/Makefile: Move inclusion of Rules.
53250 2011-04-19 Ulrich Drepper <drepper@gmail.com>
53252 * nss/nss_files/files-initgroups.c: New file.
53253 * nss/Makefile (libnss_files-routines): Add files-initgroups.
53254 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
53255 _nss_files_initgroups_dyn.
53257 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
53259 * elf/elf.h (R_ARM_IRELATIVE): Define.
53261 2011-04-19 Ulrich Drepper <drepper@gmail.com>
53263 * po/ru.po: Update from translation team.
53265 2011-04-17 Ulrich Drepper <drepper@gmail.com>
53267 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
53270 2011-02-06 Mike Frysinger <vapier@gentoo.org>
53273 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
53274 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
53275 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
53276 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
53277 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
53279 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
53281 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
53283 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
53284 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
53285 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53287 2011-04-17 Ulrich Drepper <drepper@gmail.com>
53290 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
53292 * stdlib/bug-getcontext.c: New file.
53293 * stdlib/Makefile: Add rules to build and run bug-getcontext.
53295 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53297 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
53298 instructions into .machine "z9-109".
53299 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
53300 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
53302 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53304 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
53305 between environment variables and auxiliary vector.
53307 2011-04-16 Ulrich Drepper <drepper@gmail.com>
53309 * Makefile: Add rules to build linkobj/libc.so.
53310 * include/libc-symbols.h: Define libc_hidden_nolink.
53311 * include/rpc/auth.h: Mark functions which are to be hidden.
53312 * include/rpc/auth_des.h: Likewise.
53313 * include/rpc/auth_unix.h: Likewise.
53314 * include/rpc/clnt.h: Likewise.
53315 * include/rpc/des_crypt.h: Likewise.
53316 * include/rpc/key_prot.h: Likewise.
53317 * include/rpc/pmap_clnt.h: Likewise.
53318 * include/rpc/pmap_prot.h: Likewise.
53319 * include/rpc/pmap_rmt.h: Likewise.
53320 * include/rpc/rpc_msg.h: Likewise.
53321 * include/rpc/svc.h: Likewise.
53322 * include/rpc/svc_auth.h: Likewise.
53323 * include/rpc/xdr.h: Likewise.
53324 * nis/Makefile: Link all DSOs against linkobj/libc.so.
53325 * nss/Makefile: Likewise.
53326 * sunrpc/Makefile: Don't install headers. Build library with normal
53327 entry points. Don't build rpcinfo. Link RPC tests appropriately.
53328 * sunrpc/auth_des.c: Hide exported symbols by default, export some
53329 for the compat linking library. Remove use of INTDEF/INTUSE.
53330 * sunrpc/auth_none.c: Likewise.
53331 * sunrpc/auth_unix.c: Likewise.
53332 * sunrpc/authdes_prot.c: Likewise.
53333 * sunrpc/authuxprot.c: Likewise.
53334 * sunrpc/clnt_gen.c: Likewise.
53335 * sunrpc/clnt_perr.c: Likewise.
53336 * sunrpc/clnt_raw.c: Likewise.
53337 * sunrpc/clnt_simp.c: Likewise.
53338 * sunrpc/clnt_tcp.c: Likewise.
53339 * sunrpc/clnt_udp.c: Likewise.
53340 * sunrpc/clnt_unix.c: Likewise.
53341 * sunrpc/des_crypt.c: Likewise.
53342 * sunrpc/des_soft.c: Likewise.
53343 * sunrpc/get_myaddr.c: Likewise.
53344 * sunrpc/key_call.c: Likewise.
53345 * sunrpc/key_prot.c: Likewise.
53346 * sunrpc/netname.c: Likewise.
53347 * sunrpc/pm_getmaps.c: Likewise.
53348 * sunrpc/pm_getport.c: Likewise.
53349 * sunrpc/pmap_clnt.c: Likewise.
53350 * sunrpc/pmap_prot.c: Likewise.
53351 * sunrpc/pmap_prot2.c: Likewise.
53352 * sunrpc/pmap_rmt.c: Likewise.
53353 * sunrpc/publickey.c: Likewise.
53354 * sunrpc/rpc_cmsg.c: Likewise.
53355 * sunrpc/rpc_common.c: Likewise.
53356 * sunrpc/rpc_dtable.c: Likewise.
53357 * sunrpc/rpc_prot.c: Likewise.
53358 * sunrpc/rpc_thread.c: Likewise.
53359 * sunrpc/rtime.c: Likewise.
53360 * sunrpc/svc.c: Likewise.
53361 * sunrpc/svc_auth.c: Likewise.
53362 * sunrpc/svc_authux.c: Likewise.
53363 * sunrpc/svc_raw.c: Likewise.
53364 * sunrpc/svc_run.c: Likewise.
53365 * sunrpc/svc_simple.c: Likewise.
53366 * sunrpc/svc_tcp.c: Likewise.
53367 * sunrpc/svc_udp.c: Likewise.
53368 * sunrpc/svc_unix.c: Likewise.
53369 * sunrpc/svcauth_des.c: Likewise.
53370 * sunrpc/xcrypt.c: Likewise.
53371 * sunrpc/xdr.c: Likewise.
53372 * sunrpc/xdr_array.c: Likewise.
53373 * sunrpc/xdr_float.c: Likewise.
53374 * sunrpc/xdr_intXX_t.c: Likewise.
53375 * sunrpc/xdr_mem.c: Likewise.
53376 * sunrpc/xdr_rec.c: Likewise.
53377 * sunrpc/xdr_ref.c: Likewise.
53378 * sunrpc/xdr_sizeof.c: Likewise.
53379 * sunrpc/xdr_stdio.c: Likewise.
53381 2011-04-10 Ulrich Drepper <drepper@gmail.com>
53384 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
53385 * sysdeps/ia64/dl-tls.h: Likewise.
53386 * sysdeps/powerpc/dl-tls.h: Likewise.
53387 * sysdeps/s390/dl-tls.h: Likewise.
53388 * sysdeps/sh/dl-tls.h: Likewise.
53389 * sysdeps/sparc/dl-tls.h: Likewise.
53390 * sysdeps/x86_64/dl-tls.h: Likewise.
53391 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
53393 2011-03-14 Andreas Schwab <schwab@redhat.com>
53395 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
53396 rpath element also skip the following colon.
53397 (expand_dynamic_string_token): Add is_path parameter and pass
53398 down to DL_DST_REQUIRED and _dl_dst_substitute.
53399 (decompose_rpath): Call expand_dynamic_string_token with
53400 non-zero is_path. Ignore empty rpaths.
53401 (_dl_map_object_from_fd): Call expand_dynamic_string_token
53404 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
53406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
53409 2011-04-09 Ulrich Drepper <drepper@gmail.com>
53412 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
53413 Patch by Filipe David Manana <fdmanana@apache.org>.
53415 2011-04-07 Andreas Schwab <schwab@redhat.com>
53417 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
53418 Maintain aligned stack.
53419 (CHECK_RSP): Remove unused macro.
53421 2011-04-03 Ulrich Drepper <drepper@gmail.com>
53423 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
53424 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
53426 2011-04-02 Ulrich Drepper <drepper@gmail.com>
53428 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
53430 * include/features.h: Mention __USE_XOPEN2K8 in comment.
53432 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
53435 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
53436 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
53437 * sysdeps/x86_64/memmove.c: New file.
53438 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
53439 (memcpy): Renamed to ...
53440 (__new_memcpy): This.
53441 (memcpy): Provide GLIBC_2_14 memcpy.
53442 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
53443 (memcpy): Provide GLIBC_2_2_5 memcpy.
53445 2011-04-01 Ulrich Drepper <drepper@gmail.com>
53448 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
53450 2011-03-30 Andreas Schwab <schwab@redhat.com>
53452 * misc/syncfs.c: New file.
53453 * misc/Makefile (routines): Add syncfs.
53454 * posix/unistd.h: Declare syncfs.
53455 * sysdeps/unix/syscalls.list: Add syncfs.
53457 2011-04-01 Andreas Schwab <schwab@redhat.com>
53459 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
53461 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
53462 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53463 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53464 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53465 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53466 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
53467 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53469 2011-04-01 Ulrich Drepper <drepper@gmail.com>
53471 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
53472 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53473 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
53474 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53475 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53476 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53477 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53479 * io/Makefile: Compile fallocate.c, fallocate64.c, and
53480 sync_file_range.c with -fexceptions.
53481 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
53482 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
53483 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
53484 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
53485 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
53486 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
53487 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
53488 sync_file_range as cancellation point
53489 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
53490 now a wrapper around __call_sync_file_range with cancellation handling.
53491 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
53492 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
53493 function name to __call_sync_file_range.
53494 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
53495 Add call_sync_file_range.
53497 2011-04-01 Andreas Schwab <schwab@redhat.com>
53499 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53502 2011-04-01 Ulrich Drepper <drepper@gmail.com>
53504 * iconv/iconv.h: Fix typo in comment.
53505 * io/fcntl.h: Likewise.
53506 * libio/stdio.h: Likewise.
53507 * posix/spawn.h: Likewise.
53508 * posix/unistd.h: Likewise.
53509 * stdlib/stdlib.h: Likewise.
53510 * time/time.h: Likewise.
53511 * wcsmbs/wchar.h: Likewise.
53513 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
53514 open_by_handle): Add.
53515 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
53516 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
53517 Augment a few comments.
53518 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53519 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53520 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53521 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53522 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53523 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
53526 * io/fcntl.h (AT_EMPTY_PATH): Define.
53528 2011-03-30 Ulrich Drepper <drepper@gmail.com>
53530 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
53531 * sysdeps/unix/sysv/linux/bits/time.h: New file.
53532 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
53534 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
53535 * Versions.def: Add GLIBC_2.14.
53536 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
53539 2011-03-22 Ulrich Drepper <drepper@gmail.com>
53541 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
53543 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
53545 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
53548 * string/test-strncmp.c (do_page_test): New function.
53549 (check2): Likewise.
53550 (test_main): Call check2.
53551 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
53553 2011-03-20 Ulrich Drepper <drepper@gmail.com>
53556 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
53557 Handle cache information in CPU leaf 4.
53558 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
53560 2011-03-18 Ulrich Drepper <drepper@gmail.com>
53563 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
53564 character representation.
53565 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
53567 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
53569 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
53570 END(__isnan) to END(__isnanf) to match function entry point/label
53571 EALIGN(__isnanf,...).
53573 2011-03-10 Jakub Jelinek <jakub@redhat.com>
53575 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
53577 2011-03-10 Ulrich Drepper <drepper@gmail.com>
53580 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
53581 copy from the symbol referenced in the relocation to initialize the
53583 Patch by Piotr Bury <pbury@goahead.com>.
53584 * elf/Makefile: Add rules to build and tst-unique3.
53585 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
53586 * elf/tst-unique3.cc: New file.
53587 * elf/tst-unique3.h: New file.
53588 * elf/tst-unique3lib.cc: New file.
53589 * elf/tst-unique3lib2.cc: New file.
53591 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
53593 2011-03-10 Mike Frysinger <vapier@gentoo.org>
53595 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
53596 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
53599 2011-03-06 Ulrich Drepper <drepper@gmail.com>
53601 * elf/dl-load.c (_dl_map_object): If we are looking for the first
53602 to-be-loaded object along a path to loader is ld.so.
53604 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
53605 Ulrich Drepper <drepper@gmail.com>
53607 * sysdeps/x86_64/memset.S: After aligning destination, code
53608 branches to different locations depending on the value of
53609 misalignment, when multiarch is enabled. Fix this.
53611 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
53613 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
53614 Set _x86_64_preferred_memory_instruction for AMD processsors.
53615 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53616 Set bit_Prefer_SSE_for_memop for AMD processors.
53618 2011-03-04 Ulrich Drepper <drepper@gmail.com>
53620 * libio/fmemopen.c (fmemopen): Optimize a bit.
53622 2011-03-03 Andreas Schwab <schwab@redhat.com>
53624 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
53626 2011-03-03 Roland McGrath <roland@redhat.com>
53628 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
53630 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
53632 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
53633 __bzero_ultra1 instead of __memset_ultra1.
53635 2011-02-23 Andreas Schwab <schwab@redhat.com>
53636 Ulrich Drepper <drepper@gmail.com>
53639 * include/link.h (struct link_map): Add l_orig_initfini.
53640 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
53641 returning unsuccessfully.
53642 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
53643 close of a file loaded at startup, restore the original l_initfini
53645 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
53646 list, store the pointer.
53647 * elf/Makefile ($(objpfx)noload-mem): New rule.
53648 (noload-ENV): Define.
53649 (tests): Add $(objpfx)noload-mem.
53650 * elf/noload.c: Include <memcheck.h>.
53651 (main): Call mtrace. Close all opened handles.
53653 2011-02-17 Andreas Schwab <schwab@redhat.com>
53656 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
53657 dependencies are missing.
53659 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
53661 Fix __if_freereq crash: Unlike the generic version which uses free,
53663 * sysdeps/mach/hurd/ifreq.h: New file.
53665 2011-01-27 Petr Baudis <pasky@suse.cz>
53666 Ulrich Drepper <drepper@gmail.com>
53669 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
53670 to extend_alloca().
53671 * stdio-common/bug23.c: New file.
53672 * stdio-common/Makefile (tests): Add bug23.
53674 2010-09-28 Andreas Schwab <schwab@redhat.com>
53675 Ulrich Drepper <drepper@gmail.com>
53678 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
53679 before performing relro protection. At old place add assertion
53680 to make sure nothing changed.
53682 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
53683 Glauber de Oliveira Costa <glommer@gmail.com>
53685 * elf/elf.h: Add new ARM TLS relocs.
53687 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
53689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
53690 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
53692 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
53694 * sysdeps/wordsize-64/tst-writev.c: New file.
53696 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
53698 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
53699 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
53700 insns in _dl_start to prevent a TOC reference before relocs are
53703 2011-02-15 Ulrich Drepper <drepper@gmail.com>
53706 * Makeconfig: Remove RANLIB definition.
53707 * Makerules: Don't use RANLIB.
53708 * aclocal.m4: Remove ranlib test.
53709 * configure.in: No need to check for ranlib.
53710 * elf/rtld-Rules: Don't use RANLIB.
53712 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
53714 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
53716 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
53717 inclusion protection macro.
53719 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
53720 SIGRTMIN and SIGRTMAX and print information in that case only when
53721 SIGRTMIN is defined.
53723 2011-02-11 Jakub Jelinek <jakub@redhat.com>
53725 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
53726 arginfo fn returning -1.
53728 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
53729 and thousands string is zero terminated.
53731 2011-02-03 Andreas Schwab <schwab@redhat.com>
53733 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
53734 sysdeps/unix/sysv/linux/bits/socket.h.
53736 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
53738 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
53739 (__CPU_COUNT): Remove old macros.
53740 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
53741 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
53742 (__CPU_ALLOC, __CPU_FREE): Add macros.
53743 (__sched_cpualloc, __sched_cpufree): Add declarations.
53745 2011-02-05 Ulrich Drepper <drepper@gmail.com>
53747 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
53748 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
53749 * nscd/aicache.c (addhstaiX): Return timeout of added value.
53750 (readdhstai): Return value of addhstaiX call.
53751 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
53752 (addgrbyX): Return value returned by cache_addgr.
53753 (readdgrbyname): Return value returned by addgrbyX.
53754 (readdgrbygid): Likewise.
53755 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
53756 (addpwbyX): Return value returned by cache_addpw.
53757 (readdpwbyname): Return value returned by addhstbyX.
53758 (readdpwbyuid): Likewise.
53759 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
53760 (addservbyX): Return value returned by cache_addserv.
53761 (readdservbyname): Return value returned by addservbyX:
53762 (readdservbyport): Likewise.
53763 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
53764 (addhstbyX): Return value returned by cache_addhst.
53765 (readdhstbyname): Return value returned by addhstbyX.
53766 (readdhstbyaddr): Likewise.
53767 (readdhstbynamev6): Likewise.
53768 (readdhstbyaddrv6): Likewise.
53769 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
53770 (readdinitgroups): Return value returned by addinitgroupsX.
53771 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
53772 (prune_cache): Keep track of timeout value of re-added entries.
53773 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
53774 * nscd/nscd.h: Adjust prototypes of readd* functions.
53776 2011-02-04 Roland McGrath <roland@redhat.com>
53778 * nis/nis_server.c (nis_servstate): Use the right name for 0.
53779 (nis_stats): Likewise.
53780 * nis/nis_modify.c (nis_modify): Likewise.
53781 * nis/nis_remove.c (nis_remove): Likewise.
53782 * nis/nis_add.c (nis_add): Likewise.
53784 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
53786 * posix/fnmatch_loop.c: Add some consts.
53788 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
53790 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
53793 * config.make.in (config-cflags-novzeroupper): Define.
53794 * configure.in: Substitute libc_cv_cc_novzeroupper.
53795 * elf/Makefile (AVX-CFLAGS): Define.
53796 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
53797 (CFLAGS-tst-auditmod4a.c): Likewise.
53798 (CFLAGS-tst-auditmod4b.c): Likewise.
53799 (CFLAGS-tst-auditmod6b.c): Likewise.
53800 (CFLAGS-tst-auditmod6c.c): Likewise.
53801 (CFLAGS-tst-auditmod7b.c): Likewise.
53802 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
53804 2011-02-02 Ulrich Drepper <drepper@gmail.com>
53806 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
53807 function to the callback.
53808 Patch partly by Jiri Olsa <jolsa@redhat.com>.
53810 2011-02-02 Andreas Schwab <schwab@redhat.com>
53812 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
53815 2011-01-19 Ulrich Drepper <drepper@gmail.com>
53818 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
53820 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
53822 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
53825 * elf/Makefile: Add rules to build and run new test.
53826 * elf/tst-initorder.c: New file.
53827 * elf/tst-initorder.exp: New file.
53828 * elf/tst-initordera1.c: New file.
53829 * elf/tst-initordera2.c: New file.
53830 * elf/tst-initordera3.c: New file.
53831 * elf/tst-initordera4.c: New file.
53832 * elf/tst-initorderb1.c: New file.
53833 * elf/tst-initorderb2.c: New file.
53834 * elf/tst-order-a1.c: New file.
53835 * elf/tst-order-a2.c: New file.
53836 * elf/tst-order-a3.c: New file.
53837 * elf/tst-order-a4.c: New file.
53838 * elf/tst-order-b1.c: New file.
53839 * elf/tst-order-b2.c: New file.
53840 * elf/tst-order-main.c: New file.
53841 New test case by George Gensure <werkt0@gmail.com>.
53843 2010-10-01 Andreas Schwab <schwab@redhat.com>
53845 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
53846 decoding ACE if AI_CANONIDN.
53848 2011-01-18 Ulrich Drepper <drepper@gmail.com>
53850 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
53852 2011-01-17 Ulrich Drepper <drepper@gmail.com>
53854 * version.h (RELEASE): Bump for 2.13 release.
53855 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
53857 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
53859 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
53861 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
53862 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
53863 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
53864 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
53865 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
53866 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
53868 * posix/getconf.c: Update copyright year.
53869 * catgets/gencat.c: Likewise.
53870 * csu/version.c: Likewise.
53871 * debug/catchsegv.sh: Likewise.
53872 * debug/xtrace.sh: Likewise.
53873 * elf/ldconfig.c: Likewise.
53874 * elf/ldd.bash.in: Likewise.
53875 * elf/sprof.c (print_version): Likewise.
53876 * iconv/iconv_prog.c: Likewise.
53877 * iconv/iconvconfig.c: Likewise.
53878 * locale/programs/locale.c: Likewise.
53879 * locale/programs/localedef.c: Likewise.
53880 * malloc/memusage.sh: Likewise.
53881 * malloc/mtrace.pl: Likewise.
53882 * nscd/nscd.c (print_version): Likewise.
53883 * nss/getent.c: Likewise.
53885 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
53886 PF_CAIF, and PF_ALG.
53887 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53889 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
53891 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
53892 (modules-names): Use them.
53893 (ifunc-test-modules, ifunc-pie-tests): Define.
53894 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
53895 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
53896 (test-extras): Likewise.
53897 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
53898 $(compile-command.c).
53899 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
53900 (all-built-dso): Define.
53901 (check-textrel.out, check-execstack.out): Depend on it.
53903 * configure.in: Don't override --enable-multi-arch.
53905 2011-01-15 Ulrich Drepper <drepper@gmail.com>
53908 * nscd/hstcache.c (tryagain): Define.
53909 (cache_addhst): Return tryagain not notfound for temporary errors.
53910 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
53913 2011-01-14 Ulrich Drepper <drepper@gmail.com>
53916 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
53917 to make the syscall.
53918 * sysdeps/unix/sysv/linux/setgroups.c: New file.
53921 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
53922 and fall back to matching as normal character if the string ends before
53923 the matching ']' is found. This is what POSIX requires.
53924 * posix/testfnm.c: Adjust test result.
53925 * posix/globtest.sh: Adjust test result. Add new test.
53926 * posix/tst-fnmatch.input: Likewise.
53927 * posix/tst-fnmatch2.c: Add new test.
53929 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
53931 * elf/Makefile (check-execstack): Revert last change. Depend on
53933 (check-execstack.h): New target.
53934 (generated): Add check-execstack.h.
53935 * elf/check-execstack.c: Include "check-execstack.h".
53936 (main): Revert last change.
53937 (handle_file): Return zero if GNU_STACK is absent and
53938 DEFAULT_STACK_PERMS doesn't include PF_X.
53940 2011-01-13 Ulrich Drepper <drepper@gmail.com>
53942 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
53943 in child fails because the descriptor is already closed.
53944 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
53945 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
53946 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
53949 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
53953 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
53954 temporary buffer used to handle multi lookups locally.
53955 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
53957 2011-01-12 Ulrich Drepper <drepper@gmail.com>
53959 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
53962 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
53964 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
53965 alignment for SSE2.
53967 2011-01-12 Ulrich Drepper <drepper@gmail.com>
53970 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
53971 characters. When rounding increased number of integer digits recompute
53973 * stdio-common/tst-grouping.c: New file.
53974 * stdio-common/Makefile: Add rules to build and run tst-grouping.
53976 2011-01-09 Ulrich Drepper <drepper@gmail.com>
53978 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
53979 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
53981 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
53983 * bits/select.h: Likewise.
53985 2011-01-08 Ulrich Drepper <drepper@gmail.com>
53987 * po/ja.po: Update from translation team.
53989 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
53992 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
53993 implementation just like for lxstat, fxstatat, et al.
53995 2010-12-27 Jim Meyering <meyering@redhat.com>
53998 * posix/regexec.c (build_trtable): Return failure indication upon
53999 calloc failure. Otherwise, re_search_internal could infloop on OOM.
54001 2010-12-25 Ulrich Drepper <drepper@gmail.com>
54004 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
54005 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
54006 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
54007 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
54010 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
54013 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
54014 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
54016 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
54018 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
54019 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
54020 script has SORT_BY_INIT_PRIORITY.
54021 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
54022 NO_CTORS_DTORS_SECTIONS is defined.
54023 * elf/soinit.c: Likewise.
54024 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
54025 NO_CTORS_DTORS_SECTIONS is defined.
54026 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
54027 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
54028 * sysdeps/sh/init-first.c: Likewise.
54029 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
54031 2010-12-24 Ulrich Drepper <drepper@gmail.com>
54033 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
54034 always use the slow path.
54036 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
54038 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
54039 similar rule which adds the sysdep directories to the header search in
54040 order to pick up the correct platform stackinfo.h.
54041 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
54042 perform test if it is, otherwise return successfully without testing.
54043 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
54044 DEFAULT_STACK_PERMS define in stackinfo.h.
54045 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
54046 defined in stackinfo.h.
54047 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
54048 DEFAULT_STACK_PERMS defined in stackinfo.h.
54049 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
54050 * sysdeps/ia64/stackinfo.h: Likewise.
54051 * sysdeps/s390/stackinfo.h: Likewise.
54052 * sysdeps/sh/stackinfo.h: Likewise.
54053 * sysdeps/sparc/stackinfo.h: Likewise.
54054 * sysdeps/x86_64/stackinfo.h: Likewise.
54055 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
54056 PF_X for powerpc64. Retain PF_X for powerpc32.
54058 2010-12-19 Ulrich Drepper <drepper@gmail.com>
54060 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
54062 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
54063 GETDENTS_64BIT_ALIGNED.
54065 2010-12-14 Ulrich Drepper <dreper@gmail.com>
54067 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
54069 2010-12-10 Andreas Schwab <schwab@redhat.com>
54071 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
54074 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
54075 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
54077 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
54078 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
54080 2010-12-09 Ulrich Drepper <drepper@gmail.com>
54083 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
54086 2010-12-09 Jakub Jelinek <jakub@redhat.com>
54088 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
54090 2010-12-03 Ulrich Drepper <drepper@gmail.com>
54092 * po/it.po: Update from translation team.
54094 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
54096 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
54099 2010-11-30 Ulrich Drepper <drepper@gmail.com>
54101 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
54103 2010-11-24 Andreas Schwab <schwab@redhat.com>
54105 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
54107 (gaih_getanswer_slice): Likewise.
54109 2010-10-20 Jakub Jelinek <jakub@redhat.com>
54111 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
54113 2010-05-31 Petr Baudis <pasky@suse.cz>
54116 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
54117 silently even in the chroot mode.
54119 2010-11-22 Ulrich Drepper <drepper@gmail.com>
54121 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
54122 last patch a bit. Pretty printing
54124 2010-05-31 Petr Baudis <pasky@suse.cz>
54127 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
54128 initialization of skip_initgroups_dyn.
54130 2010-11-19 Ulrich Drepper <drepper@gmail.com>
54132 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
54133 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
54135 2010-11-16 Ulrich Drepper <drepper@gmail.com>
54137 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
54139 2010-11-11 Andreas Schwab <schwab@redhat.com>
54141 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
54142 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
54143 (tst-fnmatch-ENV): Set MALLOC_TRACE.
54144 ($(objpfx)tst-fnmatch-mem): New rule.
54145 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
54146 * posix/tst-fnmatch.c (main): Call mtrace.
54148 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
54150 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54151 Support Intel processor model 6 and model 0x2c.
54153 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
54155 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
54158 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
54161 * string/test-strncasecmp.c (check_result): New function.
54162 (do_one_test): Use it.
54163 (check1): New function.
54164 (test_main): Use it.
54165 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
54166 Support strcasecmp and strncasecmp.
54168 2010-11-08 Ulrich Drepper <drepper@gmail.com>
54171 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
54172 * sysdeps/x86_64/bits/byteswap.h: Likewise.
54174 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
54176 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
54178 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54180 * sysdeps/x86_64/multiarch/bzero.S: New file.
54181 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
54182 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
54183 * sysdeps/x86_64/multiarch/memset.S: New file.
54184 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
54185 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54186 Set bit_Prefer_SSE_for_memop for Intel processors.
54187 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
54189 (index_Prefer_SSE_for_memop): Define.
54190 (HAS_PREFER_SSE_FOR_MEMOP): Define.
54192 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
54194 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
54195 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
54197 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
54200 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
54201 (__x86_64_raw_data_cache_size_half): Likewise.
54202 (__x86_64_raw_shared_cache_size): Likewise.
54203 (__x86_64_raw_shared_cache_size_half): Likewise.
54205 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
54206 (__x86_64_raw_data_cache_size_half): Likewise.
54207 (__x86_64_raw_shared_cache_size): Likewise.
54208 (__x86_64_raw_shared_cache_size_half): Likewise.
54209 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
54210 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
54211 and __x86_64_raw_shared_cache_size_half. Round
54212 __x86_64_data_cache_size_half, __x86_64_data_cache_size
54213 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
54214 to multiple of 256 bytes.
54216 2010-11-03 Ulrich Drepper <drepper@gmail.com>
54219 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
54220 of inacessible symlinks. Verify result of symlink before returning it.
54221 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
54222 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
54224 2010-10-28 Erich Ritz <erichritz@gmail.com>
54226 * math/math.h (isinf): Fix typo in comment.
54228 2010-11-01 Ulrich Drepper <drepper@gmail.com>
54230 * po/da.po: Update from translation team.
54232 2010-10-26 Ulrich Drepper <drepper@gmail.com>
54234 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
54235 is added to the list.
54237 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54238 Ulrich Drepper <drepper@gmail.com>
54240 * elf/dl-object.c (_dl_new_object): Don't append the new object to
54241 the global list here. Move code to...
54242 (_dl_add_to_namespace_list): ...here. New function.
54243 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
54244 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
54245 * elf/dl-load.c (lose): Don't remove the element from the list.
54246 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
54247 (_dl_map_object): Likewise.
54249 2010-10-25 Ulrich Drepper <drepper@gmail.com>
54252 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
54253 into all bytes of SSE register.
54254 Patch by Richard Li <richardpku@gmail.com>.
54256 2010-10-24 Ulrich Drepper <drepper@gmail.com>
54259 * malloc/malloc.c (_int_free): Fill correct number of bytes when
54262 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
54264 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
54265 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
54266 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
54267 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
54268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
54270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
54272 2010-10-22 Andreas Schwab <schwab@redhat.com>
54274 * include/dlfcn.h (__RTLD_SECURE): Define.
54275 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
54276 mode & __RTLD_SECURE instead.
54277 (open_path): Rename preloaded parameter to secure.
54278 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
54279 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
54280 * elf/dl-deps.c (openaux): Likewise.
54281 * elf/rtld.c (struct map_args): Remove is_preloaded.
54282 (map_doit): Don't use it.
54283 (dl_main): Likewise.
54284 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
54285 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
54287 2010-09-09 Andreas Schwab <schwab@redhat.com>
54289 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
54290 (sysd-rules-targets): Remove duplicates.
54291 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
54292 rtld-%.$o dependency.
54294 2010-10-18 Andreas Schwab <schwab@redhat.com>
54296 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
54297 _dl_map_object do it.
54299 2010-10-19 Ulrich Drepper <drepper@gmail.com>
54301 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
54302 fast fma builtins, define the macros in the C99 standard.
54303 (FP_FAST_FMAF): Likewise.
54304 (FP_FAST_FMAL): Likewise.
54305 * sysdeps/x86_64/bits/mathdef.h: Likewise.
54307 * bits/mathdef.h: Update copyright year.
54308 * sysdeps/powerpc/bits/mathdef.h: Likewise.
54310 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
54312 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
54313 builtins, define the macros in the C99 standard.
54314 (FP_FAST_FMAF): Likewise.
54315 (FP_FAST_FMAL): Likewise.
54316 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
54318 (FP_FAST_FMAF): Likewise.
54320 2010-10-15 Jakub Jelinek <jakub@redhat.com>
54323 * math/libm-test.inc (fma_test): Some new testcases.
54324 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
54325 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
54326 y and infinite z. Do multiplication by C already in long double.
54327 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
54328 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
54329 y and infinite z. Do bitwise or of inexact bit into u.d.
54330 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
54331 * sysdeps/i386/fpu/s_fmaf.S: Removed.
54332 * sysdeps/i386/fpu/s_fma.S: Removed.
54333 * sysdeps/i386/fpu/s_fmal.S: Removed.
54335 2010-10-16 Jakub Jelinek <jakub@redhat.com>
54338 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
54339 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
54340 computation is not scheduled after fetestexcept. Fix value
54341 of minimum denormal long double.
54343 2010-10-14 Jakub Jelinek <jakub@redhat.com>
54346 * math/libm-test.inc (fma_test): Add some more tests.
54347 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
54350 2010-10-15 Andreas Schwab <schwab@redhat.com>
54352 * scripts/data/localplt-s390-linux-gnu.data: New file.
54353 * scripts/data/localplt-s390x-linux-gnu.data: New file.
54355 2010-10-13 Jakub Jelinek <jakub@redhat.com>
54358 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
54359 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
54361 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
54363 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
54364 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
54365 if one of x and y is very large and the other is subnormal.
54366 * sysdeps/s390/fpu/s_fmaf.c: New file.
54367 * sysdeps/s390/fpu/s_fma.c: New file.
54368 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
54369 * sysdeps/powerpc/fpu/s_fma.S: New file.
54370 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
54371 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
54372 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
54374 2010-10-12 Jakub Jelinek <jakub@redhat.com>
54377 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
54379 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
54380 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
54381 * sysdeps/i386/i686/multiarch/s_fma.c: Include
54382 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
54383 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
54384 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
54385 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
54387 2010-10-12 Ulrich Drepper <drepper@redhat.com>
54390 * posix/regcomp.c (parse_branch): One more memory leak plugged.
54391 * posix/bug-regex31.input: Add test case.
54393 2010-10-11 Ulrich Drepper <drepper@gmail.com>
54395 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
54396 * posix/bug-regex31.input: New file.
54399 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
54400 (parse_sub_exp): Fix last change, use postorder.
54402 * posix/bug-regex31.c: New file.
54403 * posix/Makefile: Add rules to build and run bug-regex31.
54405 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
54408 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
54411 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
54412 to have entries in sys_siglist.
54415 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
54418 2010-10-07 Jakub Jelinek <jakub@redhat.com>
54421 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
54422 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
54423 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
54424 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
54425 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
54426 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
54427 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
54428 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
54429 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
54430 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
54431 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
54432 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
54433 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
54434 * math/ftestexcept.c (fetestexcept): Likewise.
54435 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
54436 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
54437 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
54438 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
54439 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
54440 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
54441 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
54443 2010-10-11 Ulrich Drepper <drepper@gmail.com>
54446 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
54449 2010-10-06 Ulrich Drepper <drepper@gmail.com>
54451 * string/bug-strstr1.c: New file.
54452 * string/Makefile: Add rules to build and run bug-strstr1.
54454 2010-10-05 Eric Blake <eblake@redhat.com>
54457 * string/str-two-way.h (two_way_long_needle): Always clear memory
54458 when skipping input due to the shift table.
54460 2010-10-03 Ulrich Drepper <drepper@gmail.com>
54463 * malloc/mcheck.c: Handle large requests.
54466 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
54467 for strncmp and strncasecmp.
54468 * string/stratcliff.c: Add tests for strcmp and strncmp.
54469 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
54471 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
54473 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
54476 2010-09-30 Andreas Jaeger <aj@suse.de>
54478 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
54479 (CGROUP_SUPER_MAGIC): Define.
54480 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54481 Handle btrfs and cgroup file systems.
54482 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
54485 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
54487 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
54488 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
54490 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54493 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
54494 trying to locate the ELF header.
54496 2010-09-27 Andreas Schwab <schwab@redhat.com>
54499 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
54500 Mask out sign-bit copies when constructing f_fsid.
54502 2010-09-24 Petr Baudis <pasky@suse.cz>
54504 * debug/stack_chk_fail_local.c: Add missing licence exception.
54505 * debug/warning-nop.c: Likewise.
54507 2010-09-15 Joseph Myers <joseph@codesourcery.com>
54509 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
54510 implementing getdents64 using getdents syscall, set d_type if
54511 __ASSUME_GETDENTS32_D_TYPE.
54513 2010-09-16 Andreas Schwab <schwab@redhat.com>
54515 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
54516 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
54518 2010-09-21 Ulrich Drepper <drepper@redhat.com>
54521 * posix/unistd.h: Undo change of feature selection for ftruncate from
54524 2010-09-20 Ulrich Drepper <drepper@redhat.com>
54526 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
54529 2010-09-20 Andreas Schwab <schwab@redhat.com>
54531 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
54533 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
54535 2010-09-14 Andreas Schwab <schwab@redhat.com>
54537 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
54538 variables after CHECK_SP call.
54539 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
54541 2010-09-13 Andreas Schwab <schwab@redhat.com>
54542 Ulrich Drepper <drepper@redhat.com>
54544 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
54545 re-relocationg ld.so.
54546 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
54547 _dl_init_paths call.
54548 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
54551 2010-09-14 Ulrich Drepper <drepper@redhat.com>
54553 * resolv/res_init.c (__res_vinit): Count the default server we added.
54555 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
54556 Ulrich Drepper <drepper@redhat.com>
54559 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
54560 (____longjmp_chk): Use %ebx for saving value across system call.
54563 2010-09-06 Andreas Schwab <schwab@redhat.com>
54565 * manual/Makefile: Don't mix pattern rules with normal rules.
54567 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
54569 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
54571 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
54572 * libio/iofopncook.c (_IO_cookie_init): Likewise.
54573 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
54574 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
54575 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
54578 2010-09-04 Ulrich Drepper <drepper@redhat.com>
54581 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
54582 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
54584 2010-09-02 Ulrich Drepper <drepper@redhat.com>
54586 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
54587 * sysdeps/x86_64/addmul_1.S: Likewise.
54588 * sysdeps/x86_64/lshift.S: Likewise.
54589 * sysdeps/x86_64/mul_1.S: Likewise.
54590 * sysdeps/x86_64/rshift.S: Likewise.
54591 * sysdeps/x86_64/sub_n.S: Likewise.
54592 * sysdeps/x86_64/submul_1.S: Likewise.
54594 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
54596 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
54597 Define __sched_param instead of SCHED_* and sched_param when
54598 <bits/sched.h> is included with __need_schedparam defined.
54599 * bits/sched.h [__need_schedparam]
54600 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
54601 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
54602 (__defined_schedparam): Define to 1.
54603 (__sched_param): New structure, identical to sched_param.
54604 (__need_schedparam): Undefine.
54606 2010-08-31 Mike Frysinger <vapier@gentoo.org>
54608 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
54609 (epoll_create1): Declare.
54611 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
54613 2010-08-31 Andreas Schwab <schwab@redhat.com>
54616 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
54617 shifting retval into place.
54619 2010-09-01 Ulrich Drepper <drepper@redhat.com>
54621 * nis/rpcsvc/nis.h: Update copyright notice.
54622 * nis/rpcsvc/nis.x: Likewise.
54623 * nis/rpcsvc/nis_callback.h: Likewise.
54624 * nis/rpcsvc/nis_callback.x: Likewise.
54625 * nis/rpcsvc/nis_object.x: Likewise.
54626 * nis/rpcsvc/nis_tags.h: Likewise.
54627 * nis/rpcsvc/yp.h: Likewise.
54628 * nis/rpcsvc/yp.x: Likewise.
54629 * nis/rpcsvc/ypupd.h: Likewise.
54630 * nis/yp_xdr.c: Likewise.
54631 * nis/ypupdate_xdr.c: Likewise.
54633 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
54634 mainly the body of pmap_getport. Add parameters to specify timeouts.
54635 (pmap_getport): Use __libc_rpc_getport.
54636 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
54637 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
54638 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
54640 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
54642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
54645 2010-08-27 Roland McGrath <roland@redhat.com>
54647 * sysdeps/i386/i686/multiarch/Makefile
54648 (CFLAGS-varshift.c): New variable.
54650 2010-08-27 Ulrich Drepper <drepper@redhat.com>
54652 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
54653 * sysdeps/i386/i686/multiarch/varshift.c: New file.
54655 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
54657 * sysdeps/x86_64/strlen.S: Minimal code improvement.
54659 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
54661 * sysdeps/x86_64/strlen.S: Unroll the loop.
54662 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54663 strlen-sse2 strlen-sse2-bsf.
54664 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
54665 __strlen_no_bsf if bit_Slow_BSF is set.
54666 (__strlen_sse42): Removed.
54667 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
54668 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
54670 2010-08-25 Roland McGrath <roland@redhat.com>
54672 * sysdeps/x86_64/multiarch/varshift.S: File removed.
54673 * sysdeps/x86_64/multiarch/varshift.c: New file.
54674 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
54675 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
54676 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
54677 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
54679 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
54681 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54682 strlen-sse2 strlen-sse2-bsf.
54683 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
54684 __strlen_sse2_bsf if bit_Slow_BSF is unset.
54685 (__strlen_sse2): Removed.
54686 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
54687 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
54688 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
54689 bit_Slow_BSF for Atom.
54690 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
54691 (index_Slow_BSF): Define.
54692 (HAS_SLOW_BSF): Define.
54694 2010-08-25 Ulrich Drepper <drepper@redhat.com>
54697 * resolv/res_init.c (__res_vinit): When no server address at all
54698 is given default to loopback.
54700 2010-08-24 Roland McGrath <roland@redhat.com>
54702 * configure.in: Remove config-name.h generation.
54703 * configure: Regenerated.
54704 * config-name.in: File removed.
54705 * scripts/config-uname.sh: New file.
54706 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
54707 ($(objdir)config-name.h): New target.
54709 * sunrpc/rpc_parse.h: Avoid nested comment.
54711 2010-08-24 Richard Henderson <rth@redhat.com>
54712 Ulrich Drepper <drepper@redhat.com>
54713 H.J. Lu <hongjiu.lu@intel.com>
54715 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
54716 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
54717 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
54718 Replace _mm_srli_si128 with __m128i_shift_right. Replace
54719 _mm_alignr_epi8 with _mm_loadu_si128.
54720 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
54721 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
54722 (__m128i_shift_right): Removed.
54723 * sysdeps/i386/i686/multiarch/varshift.h: New file.
54724 * sysdeps/i386/i686/multiarch/varshift.S: New file.
54725 * sysdeps/x86_64/multiarch/varshift.h: New file.
54726 * sysdeps/x86_64/multiarch/varshift.S: New file.
54728 2010-08-21 Mike Frysinger <vapier@gentoo.org>
54730 * configure.in: Move assembler checks to before sysdep dir checking.
54732 2010-08-20 Petr Baudis <pasky@suse.cz>
54734 * LICENSES: Sync the sunrpc license.
54736 2010-08-19 Ulrich Drepper <drepper@redhat.com>
54738 * sunrpc/auth_des.c: Update copyright notice once again.
54739 * sunrpc/auth_none.c: Likewise.
54740 * sunrpc/auth_unix.c: Likewise.
54741 * sunrpc/authdes_prot.c: Likewise.
54742 * sunrpc/authuxprot.c: Likewise.
54743 * sunrpc/bindrsvprt.c: Likewise.
54744 * sunrpc/clnt_gen.c: Likewise.
54745 * sunrpc/clnt_perr.c: Likewise.
54746 * sunrpc/clnt_raw.c: Likewise.
54747 * sunrpc/clnt_simp.c: Likewise.
54748 * sunrpc/clnt_tcp.c: Likewise.
54749 * sunrpc/clnt_udp.c: Likewise.
54750 * sunrpc/clnt_unix.c: Likewise.
54751 * sunrpc/des_crypt.c: Likewise.
54752 * sunrpc/des_soft.c: Likewise.
54753 * sunrpc/get_myaddr.c: Likewise.
54754 * sunrpc/getrpcport.c: Likewise.
54755 * sunrpc/key_call.c: Likewise.
54756 * sunrpc/key_prot.c: Likewise.
54757 * sunrpc/openchild.c: Likewise.
54758 * sunrpc/pm_getmaps.c: Likewise.
54759 * sunrpc/pm_getport.c: Likewise.
54760 * sunrpc/pmap_clnt.c: Likewise.
54761 * sunrpc/pmap_prot.c: Likewise.
54762 * sunrpc/pmap_prot2.c: Likewise.
54763 * sunrpc/pmap_rmt.c: Likewise.
54764 * sunrpc/rpc/auth.h: Likewise.
54765 * sunrpc/rpc/auth_unix.h: Likewise.
54766 * sunrpc/rpc/clnt.h: Likewise.
54767 * sunrpc/rpc/des_crypt.h: Likewise.
54768 * sunrpc/rpc/key_prot.h: Likewise.
54769 * sunrpc/rpc/netdb.h: Likewise.
54770 * sunrpc/rpc/pmap_clnt.h: Likewise.
54771 * sunrpc/rpc/pmap_prot.h: Likewise.
54772 * sunrpc/rpc/pmap_rmt.h: Likewise.
54773 * sunrpc/rpc/rpc.h: Likewise.
54774 * sunrpc/rpc/rpc_des.h: Likewise.
54775 * sunrpc/rpc/rpc_msg.h: Likewise.
54776 * sunrpc/rpc/svc.h: Likewise.
54777 * sunrpc/rpc/svc_auth.h: Likewise.
54778 * sunrpc/rpc/types.h: Likewise.
54779 * sunrpc/rpc/xdr.h: Likewise.
54780 * sunrpc/rpc_clntout.c: Likewise.
54781 * sunrpc/rpc_cmsg.c: Likewise.
54782 * sunrpc/rpc_common.c: Likewise.
54783 * sunrpc/rpc_cout.c: Likewise.
54784 * sunrpc/rpc_dtable.c: Likewise.
54785 * sunrpc/rpc_hout.c: Likewise.
54786 * sunrpc/rpc_main.c: Likewise.
54787 * sunrpc/rpc_parse.c: Likewise.
54788 * sunrpc/rpc_parse.h: Likewise.
54789 * sunrpc/rpc_prot.c: Likewise.
54790 * sunrpc/rpc_sample.c: Likewise.
54791 * sunrpc/rpc_scan.c: Likewise.
54792 * sunrpc/rpc_scan.h: Likewise.
54793 * sunrpc/rpc_svcout.c: Likewise.
54794 * sunrpc/rpc_tblout.c: Likewise.
54795 * sunrpc/rpc_util.c: Likewise.
54796 * sunrpc/rpc_util.h: Likewise.
54797 * sunrpc/rpcinfo.c: Likewise.
54798 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
54799 * sunrpc/rpcsvc/key_prot.x: Likewise.
54800 * sunrpc/rpcsvc/klm_prot.x: Likewise.
54801 * sunrpc/rpcsvc/mount.x: Likewise.
54802 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
54803 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
54804 * sunrpc/rpcsvc/rex.x: Likewise.
54805 * sunrpc/rpcsvc/rstat.x: Likewise.
54806 * sunrpc/rpcsvc/rusers.x: Likewise.
54807 * sunrpc/rpcsvc/sm_inter.x: Likewise.
54808 * sunrpc/rpcsvc/spray.x: Likewise.
54809 * sunrpc/rpcsvc/yppasswd.x: Likewise.
54810 * sunrpc/rtime.c: Likewise.
54811 * sunrpc/svc.c: Likewise.
54812 * sunrpc/svc_auth.c: Likewise.
54813 * sunrpc/svc_authux.c: Likewise.
54814 * sunrpc/svc_raw.c: Likewise.
54815 * sunrpc/svc_run.c: Likewise.
54816 * sunrpc/svc_simple.c: Likewise.
54817 * sunrpc/svc_tcp.c: Likewise.
54818 * sunrpc/svc_udp.c: Likewise.
54819 * sunrpc/svc_unix.c: Likewise.
54820 * sunrpc/svcauth_des.c: Likewise.
54821 * sunrpc/xcrypt.c: Likewise.
54822 * sunrpc/xdr.c: Likewise.
54823 * sunrpc/xdr_array.c: Likewise.
54824 * sunrpc/xdr_float.c: Likewise.
54825 * sunrpc/xdr_mem.c: Likewise.
54826 * sunrpc/xdr_rec.c: Likewise.
54827 * sunrpc/xdr_ref.c: Likewise.
54828 * sunrpc/xdr_sizeof.c: Likewise.
54829 * sunrpc/xdr_stdio.c: Likewise.
54831 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
54834 2010-08-19 Andreas Schwab <schwab@redhat.com>
54836 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
54838 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
54840 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
54841 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
54842 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
54843 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
54844 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
54845 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
54846 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
54847 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
54848 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
54849 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
54850 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
54851 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
54852 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
54853 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
54855 2010-07-26 Anton Blanchard <anton@samba.org>
54857 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
54858 * malloc/arena.c (heap_trim): Likewise.
54860 2010-08-16 Ulrich Drepper <drepper@redhat.com>
54862 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
54864 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
54865 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
54867 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
54869 * sysdeps/i386/elf/Makefile: New file.
54871 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
54873 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
54874 from fanotify_init.
54875 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
54876 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
54878 2010-08-15 Ulrich Drepper <drepper@redhat.com>
54880 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
54882 * sysdeps/multiarch/strcmp.S: Likewise.
54884 2010-08-14 Ulrich Drepper <drepper@redhat.com>
54886 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
54887 strncase_l-nonascii.
54888 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
54889 Add strncase_l-ssse3.
54890 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
54891 * sysdeps/x86_64/strcmp.S: Likewise.
54892 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
54893 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
54894 * sysdeps/x86_64/strncase.S: New file.
54895 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
54896 * sysdeps/x86_64/strncase_l.S: New file.
54897 * string/Makefile (strop-tests): Add strncasecmp.
54898 * string/test-strncasecmp.c: New file.
54900 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
54903 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
54904 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
54906 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
54908 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
54910 2010-08-12 Ulrich Drepper <drepper@redhat.com>
54912 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
54913 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
54914 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
54916 2010-05-01 Alan Modra <amodra@gmail.com>
54918 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
54919 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
54920 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
54921 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
54922 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
54923 tidying. Don't tail-call __sigjmp_save for static lib.
54924 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
54926 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
54927 (CALL_MCOUNT): Add eh info, and nop after bl.
54928 (TAIL_CALL_SYSCALL_ERROR): New macro.
54929 (PSEUDO_RET): Use it.
54930 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
54931 Correct save location of integer regs and cr.
54932 (_dl_profile_resolve): Correct cr save location. Delete nops
54933 after bl when SHARED. Reduce cfi size a little by better
54934 placement of cfi directives.
54935 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
54936 make a stack frame. Instead use parm save area as a temp.
54937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
54938 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
54939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
54940 Don't make a stack frame for parent, use parm save area.
54941 Increase child stack frame to 112 bytes. Don't save unused reg,
54942 and adjust reg usage. Set up cfi on error recovery and
54943 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
54944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
54945 (__makecontext): Add dummy nop after jump to exit.
54946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
54947 Use correct parm save area and cr save, reduce stack frame.
54948 Correct cfi for possible PSEUDO_RET frame setup.
54949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
54950 Branch to local label emitted by PSEUDO_RET rather than
54953 2010-08-12 Andreas Schwab <schwab@redhat.com>
54956 * locale/programs/locale.c (print_assignment): New function.
54957 (show_locale_vars): Use it.
54959 2010-08-11 Ulrich Drepper <drepper@redhat.com>
54961 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
54963 (struct statfs64): Likewise.
54964 (_STATFS_F_FLAGS): Define.
54965 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
54966 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54967 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
54968 (ST_VALID): Define locally.
54969 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
54970 __statvfs_getflags, use the provided value.
54971 * sysdeps/unix/sysv/linux/kernel-features.h: Define
54972 __ASSUME_STATFS_F_FLAGS.
54974 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
54976 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
54977 Add sys/fanotify.h.
54978 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
54979 fanotify_mask for GLIBC_2.13.
54980 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
54981 fanotify_init and fanotify_mark.
54982 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
54983 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
54985 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
54987 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
54988 prlimit64 for GLIBC_2.13.
54989 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
54991 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
54993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
54994 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
54995 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
54996 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
54997 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
54999 * sysdeps/unix/sysv/linux/prlimit.c: New file.
55002 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
55003 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
55005 * nss/Makefile: Add rules to build and run tst-nss-test1.
55006 * shlib-versions: Add entry for libnss_test1.
55007 * nss/nss_test1.c: New file.
55008 * nss/tst-nss-test1.c: New file.
55010 * nss/nsswitch.c (__nss_database_custom): Define new variable.
55011 (__nss_configure_lookup): Set appropriate entry in
55012 __nss_configure_lookup to true.
55013 * nss/nsswitch.h: Define enum with indeces of databases in
55014 databases and __nss_database_custom arrays. Declare
55015 __nss_database_custom.
55016 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
55017 to avoid using nscd when custom rules are installed.
55018 * nss/getXXbyYY_r.c: Likewise.
55019 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
55021 * nss/nss_files/files-parse.c: Whitespace fixes.
55023 2010-08-09 Ulrich Drepper <drepper@redhat.com>
55026 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
55027 * posix/fnmatch_loop.c: Likewise.
55029 2010-07-17 Andi Kleen <ak@linux.intel.com>
55031 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
55032 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
55033 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
55034 * Versions.def [GLIBC_2.13]: Add.
55036 2010-08-06 Ulrich Drepper <drepper@redhat.com>
55038 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
55039 Also fail if tpwd after pwuid call is NULL.
55041 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
55043 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
55044 when converting to ms.
55046 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
55048 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
55049 EOPNOTSUPP errors with ENOTTY.
55050 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
55051 EOPNOTSUPP errors with ENOTTY.
55053 2010-07-31 Ulrich Drepper <drepper@redhat.com>
55055 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
55056 Add strcasecmp_l-ssse3.
55057 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
55059 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
55060 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
55061 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
55063 2010-07-30 Ulrich Drepper <drepper@redhat.com>
55065 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
55067 * string/Makefile (strop-tests): Add strcasecmp.
55068 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
55069 strcasecmp_l-nonascii.
55070 (gen-as-const-headers): Add locale-defines.sym.
55071 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
55072 * sysdeps/x86_64/strcasecmp.S: New file.
55073 * sysdeps/x86_64/strcasecmp_l.S: New file.
55074 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
55075 * sysdeps/x86_64/locale-defines.sym: New file.
55076 * string/test-strcasecmp.c: New file.
55078 * string/test-strcasestr.c: Test both ends of the range of characters.
55079 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
55081 2010-07-29 Roland McGrath <roland@redhat.com>
55084 * manual/locale.texi (Yes-or-No Questions): Fix example code.
55086 2010-07-27 Ulrich Drepper <drepper@redhat.com>
55088 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
55091 2010-07-27 Andreas Schwab <schwab@redhat.com>
55093 * manual/memory.texi (Malloc Tunable Parameters): Document
55096 2010-07-26 Roland McGrath <roland@redhat.com>
55099 * configure.in (-fgnu89-inline check): Set and substitute
55100 gnu89_inline, not libc_cv_gnu89_inline.
55101 * configure: Regenerated.
55102 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
55104 2010-07-26 Ulrich Drepper <drepper@redhat.com>
55106 * string/test-strnlen.c: New file.
55107 * string/Makefile (strop-tests): Add strnlen.
55108 * string/tester.c (test_strnlen): Add a few more test cases.
55109 * string/tst-strlen.c: Better error reporting.
55111 * sysdeps/x86_64/strnlen.S: New file.
55113 2010-07-24 Ulrich Drepper <drepper@redhat.com>
55115 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
55116 lower-latency instructions.
55118 2010-07-23 Ulrich Drepper <drepper@redhat.com>
55120 * string/test-strcasestr.c: New file.
55121 * string/test-strstr.c: New file.
55122 * string/Makefile (strop-tests): Add strstr and strcasestr.
55123 * string/str-two-way.h: Don't undefine MAX.
55124 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
55126 2010-07-21 Andreas Schwab <schwab@redhat.com>
55128 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55129 strcasestr-nonascii.
55130 (CFLAGS-strcasestr-nonascii.c): Define.
55131 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
55132 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
55133 Remove unused attribute.
55135 2010-07-20 Roland McGrath <roland@redhat.com>
55137 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
55138 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
55139 ld.so.cache was broken. With it, there is no way to disable dsocaps
55140 like LD_HWCAP_MASK can disable hwcaps.
55142 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
55144 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
55146 2010-07-16 Ulrich Drepper <drepper@redhat.com>
55148 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
55149 call in strcasestr.
55150 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
55151 __strcasestr_sse42_nonascii.
55152 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
55153 strcasestr-nonascii.c.
55154 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
55156 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
55158 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
55159 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
55160 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
55161 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
55163 2010-07-09 Ulrich Drepper <drepper@redhat.com>
55165 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
55168 2010-07-06 Andreas Schwab <schwab@redhat.com>
55171 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
55174 2010-07-06 Ulrich Drepper <drepper@redhat.com>
55176 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
55177 _PC_PIPE_BUF using F_GETPIPE_SZ.
55179 2010-07-05 Roland McGrath <roland@redhat.com>
55181 * manual/arith.texi (Rounding Functions): Fix rint description
55182 implicit in round description.
55184 2010-07-02 Ulrich Drepper <drepper@redhat.com>
55186 * elf/Makefile: Fix linking for a few tests to make recent linker
55189 2010-06-30 Andreas Schwab <schwab@redhat.com>
55191 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
55192 $(common-objpfx)libc_nonshared.a.
55194 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
55196 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
55197 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
55198 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
55199 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
55200 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
55201 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
55202 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
55203 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
55204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
55205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
55206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
55207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
55208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
55209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
55210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
55211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
55212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
55213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
55214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
55215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
55216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
55217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
55218 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
55219 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
55220 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
55221 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
55222 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
55223 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
55224 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
55225 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
55226 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
55227 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
55228 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
55229 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
55230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
55231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
55232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
55233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
55234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
55235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
55236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
55237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
55238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
55239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
55240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
55241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
55242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
55243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
55245 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
55247 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
55248 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
55249 * string/memmove.c (memmove): Renamed to ...
55250 (MEMMOVE): ...this. Default to memmove.
55251 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
55252 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
55254 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55255 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
55256 mempcpy-ssse3-back memmove-ssse3-back.
55257 * sysdeps/x86_64/multiarch/bcopy.S: New file .
55258 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
55259 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
55260 * sysdeps/x86_64/multiarch/memcpy.S: New file.
55261 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
55262 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
55263 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
55264 * sysdeps/x86_64/multiarch/memmove.c: New file.
55265 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
55266 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
55267 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
55268 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
55269 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
55270 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
55272 (index_Fast_Copy_Backward): Define.
55273 (HAS_ARCH_FEATURE): Define.
55274 (HAS_FAST_REP_STRING): Define.
55275 (HAS_FAST_COPY_BACKWARD): Define.
55277 2010-06-21 Andreas Schwab <schwab@redhat.com>
55279 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
55280 Restore proper fallback handling.
55282 2010-06-19 Ulrich Drepper <drepper@redhat.com>
55285 * posix/group_member.c (__group_member): Correct checking loop.
55287 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
55288 OOM in getpwuid_r correctly. Return error number when the caller
55289 should return, otherwise -1.
55290 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
55291 call returning > 0 value.
55292 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
55294 2010-06-07 Andreas Schwab <schwab@redhat.com>
55296 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
55297 libc_nonshared.a from targets in modules-names.
55299 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
55301 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
55304 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
55306 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
55307 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
55308 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
55309 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
55311 2010-06-02 Andreas Schwab <schwab@redhat.com>
55313 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
55315 2010-06-14 Ulrich Drepper <drepper@redhat.com>
55317 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
55319 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
55320 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55321 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55322 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55323 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55324 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
55326 2010-06-14 Roland McGrath <roland@redhat.com>
55328 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
55330 2010-06-07 Jakub Jelinek <jakub@redhat.com>
55332 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
55333 __REDIRECT followed by __THROW.
55334 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
55335 * posix/getopt.h (getopt): Likewise.
55337 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
55339 * hurd/lookup-at.c (__file_name_lookup_at): Accept
55340 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
55341 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
55343 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
55344 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
55346 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
55348 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
55350 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
55353 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55354 Properly check family and model.
55356 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
55358 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
55360 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
55362 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
55364 2010-05-21 Ulrich Drepper <drepper@redhat.com>
55366 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
55369 2010-05-19 Andreas Schwab <schwab@redhat.com>
55371 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
55374 2010-05-21 Andreas Schwab <schwab@redhat.com>
55376 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
55377 and internal_recvmmsg.
55378 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
55379 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
55380 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
55381 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
55383 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
55384 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
55385 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
55387 2010-05-20 Andreas Schwab <schwab@redhat.com>
55389 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
55391 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
55393 POWER7 optimizations.
55394 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
55395 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
55397 2010-05-19 Ulrich Drepper <drepper@redhat.com>
55399 * version.h: Update for 2.13 development version.
55401 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
55403 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
55404 exceptions. Return 0.
55406 2010-05-07 Roland McGrath <roland@redhat.com>
55408 * elf/ldconfig.c (main): Add a const.
55410 2010-05-06 Ulrich Drepper <drepper@redhat.com>
55412 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
55413 (args_options): Add no-idn option.
55414 (ahosts_keys_int): Add idn_flags to ai_flags.
55415 (parse_option): Handle 'i' option to clear idn_flags.
55417 * malloc/malloc.c (_int_free): Possible race in the most recently
55418 added check. Only act on the data if no current modification
55421 See ChangeLog.17 for earlier changes.